Occupancy stuff - very strange

develop
Petr Mrázek 2010-04-12 15:29:01 +02:00
parent 6ba2804b68
commit 08658373d6
2 changed files with 12 additions and 0 deletions

@ -72,6 +72,7 @@ Maps::Maps(APIPrivate* _d)
off.z_count_offset = mem->getAddress ("z_count_block");
off.tile_type_offset = mem->getOffset ("type");
off.designation_offset = mem->getOffset ("designation");
off.occupancy_offset = mem->getOffset("occupancy");
off.biome_stuffs = mem->getOffset ("biome_stuffs");
off.veinvector = mem->getOffset ("v_vein");

@ -587,6 +587,17 @@ main(int argc, char *argv[])
}
}
*/
if(i == 0 && j == 0)
{
for(int x = 0; x < 16; x++) for(int y = 0; y < 16; y++)
{
if((Block->designation[x][y].whole & twiddle) == 1)
{
putch(x + 16,y + 16,'@',COLOR_WHITE);
}
}
}
}
gotoxy(0,48);
cprintf("arrow keys, PGUP, PGDN = navigate");