Rename a few vars

svn-id: r10927
This commit is contained in:
Travis Howell 2003-10-21 10:14:42 +00:00
parent 87fb27d02c
commit 54fc5335c0
4 changed files with 59 additions and 59 deletions

View file

@ -61,23 +61,23 @@ void SimonEngine::print_char_helper_6(uint i) {
}
}
void SimonEngine::render_string(uint num_1, uint color, uint width, uint height, const char *txt) {
void SimonEngine::render_string(uint vga_struct_id, uint color, uint width, uint height, const char *txt) {
VgaPointersEntry *vpe = &_vga_buffer_pointers[2];
byte *src, *dst, *p, *dst_org, chr;
uint count;
if (num_1 >= 100) {
num_1 -= 100;
if (vga_struct_id >= 100) {
vga_struct_id -= 100;
vpe++;
}
src = dst = vpe->vgaFile2;
count = 4000;
if (num_1 == 1)
if (vga_struct_id == 1)
count *= 2;
p = dst + num_1 * 8;
p = dst + vga_struct_id * 8;
*(uint16 *)(p + 4) = TO_BE_16(height);
*(uint16 *)(p + 6) = TO_BE_16(width);