From b070d62525540bfa0792d019e0b14fa08c96b987 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 17 Jan 2017 13:12:01 -0600 Subject: [PATCH] palllist not being worked on right now... i will work on sprite animation VERY soon --- src/lib/scroll16.c | 4 ++-- src/lib/scroll16.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index 4c72239c..7dd71342 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -1196,7 +1196,6 @@ void near animatePlayer(map_view_t *pip, player_t *player, word pn, sword scroll } /* -void animate_spri(struct sprite *spri, global_game_variables_t *gv) { #define VMEMPAGESIZE2 gv->video.page[0].pagesize+gv->video.page[1].pagesize #define VMEMPAGEDATA2 gv->video.page[2].data @@ -1292,7 +1291,8 @@ void animate_spri(struct sprite *spri, global_game_variables_t *gv) } } */ -void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch) +//void animate_spri(struct sprite *spri, global_game_variables_t *gv) +void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch, global_game_variables_t *gv) { sword x = player[pn].enti.x; sword y = player[pn].enti.y; diff --git a/src/lib/scroll16.h b/src/lib/scroll16.h index f514f416..382b3857 100755 --- a/src/lib/scroll16.h +++ b/src/lib/scroll16.h @@ -163,7 +163,7 @@ void mapDrawWCol(map_view_t *mv, int tx, int ty, word x); //void qclean(); void shinku(global_game_variables_t *gv); void near animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch); -void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch); +void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch, global_game_variables_t *gv); // Move an entity around. Should actually be in 16_entity boolean ZC_walk2(entity_t *ent, map_view_t *map_v); -- 2.39.5