word rx, ry;\r
//word textx=0, texty=0;\r
//if(i==0) i=2;\r
+// printf("%02d ", i); if(x >= page->width - t->tileWidth) printf("\n");\r
switch(i)\r
{\r
case 0:\r
default:\r
rx = (((i-1) % ((t->pcximg->width)/t->tileWidth)) * t->tileWidth);\r
ry = (((i-1) / ((t->pcximg->height)/t->tileHeight)) * t->tileHeight);\r
-////0000 printf("i=%d\n", i);\r
#ifndef TILERENDER\r
if(!pagenorendermap) modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, i+1);\r
- //sprintf(global_temp_status_text2, "%c", i); modexprint(page, x+3, y-1, 1, 1, 2, global_temp_status_text2);\r
#else\r
modexDrawBmpRegion (page, x, y, rx, ry, t->tileWidth, t->tileHeight, i);\r
//draw_vrl1_vgax_modex(x-rx,y-ry,vrl_header,vrl_lineoffs,buffer+sizeof(*vrl_header),bufsz-sizeof(*vrl_header));\r
#endif*/\r
break;\r
}\r
+ //sprintf(global_temp_status_text2, "%d", i); modexprint(page, x+3, y-1, 1, 1, 2, global_temp_status_text2);\r
}\r
\r
void near mapDrawRow(map_view_t *mv, int tx, int ty, word y, player_t *player, word poopoffset)\r