]> 4ch.mooo.com Git - 16.git/commitdiff
palllist not being worked on right now... i will work on sprite animation VERY soon
authorsparky4 <sparky4@cock.li>
Tue, 17 Jan 2017 19:12:01 +0000 (13:12 -0600)
committersparky4 <sparky4@cock.li>
Tue, 17 Jan 2017 19:12:01 +0000 (13:12 -0600)
src/lib/scroll16.c
src/lib/scroll16.h

index 4c72239cdca0efa437ea8d52dab780819fe24a84..7dd71342986882da77e2d47db62931b7e588ac85 100755 (executable)
@@ -1196,7 +1196,6 @@ void near animatePlayer(map_view_t *pip, player_t *player, word pn, sword scroll
 }\r
 \r
 /*\r
-void animate_spri(struct sprite *spri, global_game_variables_t *gv)\r
 {\r
 #define VMEMPAGESIZE2  gv->video.page[0].pagesize+gv->video.page[1].pagesize\r
 #define VMEMPAGEDATA2  gv->video.page[2].data\r
@@ -1292,7 +1291,8 @@ void animate_spri(struct sprite *spri, global_game_variables_t *gv)
        }\r
 }\r
 */\r
-void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch)\r
+//void animate_spri(struct sprite *spri, global_game_variables_t *gv)\r
+void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch, global_game_variables_t *gv)\r
 {\r
        sword x = player[pn].enti.x;\r
        sword y = player[pn].enti.y;\r
index f514f416fdad892379a01109582ef9446e242051..382b385750c55aa981a6a47d92b6208e23dc37c9 100755 (executable)
@@ -163,7 +163,7 @@ void mapDrawWCol(map_view_t *mv, int tx, int ty, word x);
 //void qclean();\r
 void shinku(global_game_variables_t *gv);\r
 void near animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch);\r
-void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch);\r
+void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch, global_game_variables_t *gv);\r
 \r
 // Move an entity around. Should actually be in 16_entity\r
 boolean ZC_walk2(entity_t *ent, map_view_t *map_v);\r