X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fscroll16.h;h=0cf17b2487bb9693788c75741971553d9e0b5bd3;hb=3a088e0a4a5306da276a61c89567a48710b1e721;hp=f7db2a7a016b04ef08c9a74ceb50e52d69f7fe37;hpb=e646dd0bd9df6a064b2c7192eb675c2a4191c3b8;p=16.git diff --git a/src/lib/scroll16.h b/src/lib/scroll16.h index f7db2a7a..0cf17b24 100755 --- a/src/lib/scroll16.h +++ b/src/lib/scroll16.h @@ -42,8 +42,7 @@ #define SPRITE //#define TILERENDER -//0000 -#define SHOWFPS +//0000#define SHOWFPS //#define OLDWALKSHOWPAGESTUFF @@ -57,15 +56,23 @@ //row and colum drawing routines #define FULLRCREND +//#ifdef FULLRCREND #define DRAWCOLNUM mv->page[id].dx #define DRAWROWNUM mv->page[id].dy -//#define DRAWCOLNUM pl[plid].enti.q -//#define DRAWROLNUM pl[plid].enti.q +//#else +//#define DRAWCOLNUM player[plid].enti.q +//#define DRAWROWNUM player[plid].enti.q +//#endif //for null map! #define MAPW 40 #define MAPH 30 +extern struct glob_game_vars *ggvv; +#ifdef __DEBUG_RF__ +#define DBG_RFDELAYMETHOD delay(500); +#endif + //===========================================================================// //if(gvar.player[0].enti.hp==0) printf("%d wwww\n", gvar.player[0].enti.y+8); @@ -126,8 +133,8 @@ void mapGoTo(map_view_t *mv, int tx, int ty); void ZC_mapinitMV(map_view_t *mv, int tx, int ty); void ZC_mapredraw(map_view_t *mv, int tx, int ty); void near mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y); -void near mapDrawRow(map_view_t *mv, int tx, int ty, word y, player_t *player, word poopoffset); -void near mapDrawCol(map_view_t *mv, int tx, int ty, word x, player_t *player, word poopoffset); +void near mapDrawRow(map_view_t *mv, int tx, int ty, word y, player_t *player); +void near mapDrawCol(map_view_t *mv, int tx, int ty, word x, player_t *player); void mapDrawWRow(map_view_t *mv, int tx, int ty, word y); void mapDrawWCol(map_view_t *mv, int tx, int ty, word x); inline void near ScrollRight(map_view_t *mv, player_t *pl, word id, word plid)