]> 4ch.mooo.com Git - 16.git/commitdiff
dang it./wbuild.sh vga_state.vga_graphics_ram = video->omemptr; causes it to not...
authorsparky4 <sparky4@cock.li>
Mon, 23 Jan 2017 14:58:17 +0000 (08:58 -0600)
committersparky4 <sparky4@cock.li>
Mon, 23 Jan 2017 14:58:17 +0000 (08:58 -0600)
src/lib/scroll16.c

index 07ee27141aeb5e36067516dcb79a61fcc49d973d..082e48eb86d5b8e6ec6470af27fabdbcd6076458 100755 (executable)
@@ -50,6 +50,9 @@ void ZC_walk(map_view_t *pip, player_t *player, word pn)
                                        mapScrollRight(pip, player, (pip[0].video->p), pn);\r
                                        player[pn].enti.q++;\r
                                        //0000pip[0].video->clk = ((*clockw)-pip[0].video->startclk)/18.2;\r
+                                       sprintf(global_temp_status_text, "%u", player[pn].enti.persist_aniframe);\r
+                                       modexprint(&(pip[0].video->page[0]), player[pn].enti.x+(8*player[pn].enti.persist_aniframe), player[pn].enti.y-TILEWH-8, 1, 8, 1, global_temp_status_text);\r
+                                       sleep(1);\r
                                } else { player[pn].enti.q = 1; player[pn].enti.d = 2; player[pn].enti.tx++; }\r
                        }\r
                        else if(player[pn].enti.tx < pip[0].map->width && !(pip[0].map->data[(player[pn].enti.tx)+(pip[0].map->width*(player[pn].enti.ty-1))] == 0))//!(player[pn].enti.tx+1 == TRIGGX && player[pn].enti.ty == TRIGGY))\r
@@ -60,6 +63,7 @@ void ZC_walk(map_view_t *pip, player_t *player, word pn)
                                        player[pn].enti.x+=(player[pn].enti.speed);\r
                                        ANIMATESPRIFUN(pip, player, pn, 0);\r
                                        player[pn].enti.q++;\r
+                                       sleep(1);\r
                                } else { player[pn].enti.q = 1; player[pn].enti.d = 2; player[pn].enti.tx++; }\r
                        }\r
                        else\r