X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fscroll16.h;h=784e7cf7ecaaf7c04be5196ddd21d0d99afabe82;hb=63a6c9058ef704a718e623a317a7626b509cdfd1;hp=6a36737c52772ecc9396d95fb37be1f5e1fc3d97;hpb=856e2f26da3f862e9db2ee66074e0c88554ac3d2;p=16.git diff --git a/src/lib/scroll16.h b/src/lib/scroll16.h index 6a36737c..784e7cf7 100755 --- a/src/lib/scroll16.h +++ b/src/lib/scroll16.h @@ -41,7 +41,7 @@ #define SPRITE //#define TILERENDER -#define SHOWFPS +//0000#define SHOWFPS //#define OLDWALKSHOWPAGESTUFF #define PLAYERBMPDATAVAR gvar.player[pn].data @@ -115,7 +115,7 @@ void near mapScrollLeft(map_view_t *mv, player_t *player, word id, word plid); void near mapScrollUp(map_view_t *mv, player_t *player, word id, word plid); void near mapScrollDown(map_view_t *mv, player_t *player, word id, word plid); void ZC_mapScroll(map_view_t *mv, player_t *player, word pn); -void ZC_PlayerXYpos(int x, int y, player_t *player, map_view_t *pip, nibble pn, boolean defaultsw); +void ZC_PlayerXYpos(int x, int y, player_t *player, map_view_t *pip, boolean defaultsw); sword chkmap(map_t *map, word q); void mapGoTo(map_view_t *mv, int tx, int ty); void ZC_mapinitMV(map_view_t *mv, int tx, int ty); @@ -208,4 +208,6 @@ void walk_player(player_t *player, map_view_t *map_v); // Scroll map in one direction (assumed from gvar.player's movement) void mapScroll(map_view_t *mv, player_t *player); +void ZC_GirdChk (global_game_variables_t *gvar, player_t *player); + #endif /*__SCROLL16_H_*/