]> 4ch.mooo.com Git - 16.git/commitdiff
made a new function modexMVSetup() and made scroller use dx and dy on page[0].dx...
authorsparky4 <sparky4@cock.li>
Tue, 10 Jan 2017 20:03:20 +0000 (14:03 -0600)
committersparky4 <sparky4@cock.li>
Tue, 10 Jan 2017 20:03:20 +0000 (14:03 -0600)
src/lib/scroll16.c

index f0945ee27f304a3f2e95600ef2cfb6800cf6405d..cbc9793eb11749a42fc63aa68ee7f25b6207e0ad 100755 (executable)
@@ -285,7 +285,8 @@ void panVmemManual(map_view_t *pip, player_t *player, word pn)
                                if(player[pn].q<=player[pn].spt)\r
                                {\r
                                        pip[pip[0].pan->pn].page->dx+=4;\r
-                                       modexShowPageVsync(pip[pip[0].pan->pn].page);\r
+                                       //modexShowPageVsync(pip[pip[0].pan->pn].page);\r
+                                       modexShowPage(pip[pip[0].pan->pn].page);\r
                                        player[pn].q++;\r
                                } else { player[pn].q = 1; player[pn].d = 2; pip[pip[0].pan->pn].tx++; }\r
                        }\r
@@ -298,7 +299,8 @@ void panVmemManual(map_view_t *pip, player_t *player, word pn)
                                if(player[pn].q<=player[pn].spt)\r
                                {\r
                                        pip[pip[0].pan->pn].page->dx-=4;\r
-                                       modexShowPageVsync(pip[pip[0].pan->pn].page);\r
+                                       //modexShowPageVsync(pip[pip[0].pan->pn].page);\r
+                                       modexShowPage(pip[pip[0].pan->pn].page);\r
                                        player[pn].q++;\r
                                } else { player[pn].q = 1; player[pn].d = 2; pip[pip[0].pan->pn].tx--; }\r
                        }\r
@@ -311,7 +313,8 @@ void panVmemManual(map_view_t *pip, player_t *player, word pn)
                                if(player[pn].q<=player[pn].spt)\r
                                {\r
                                        pip[pip[0].pan->pn].page->dy+=4;\r
-                                       modexShowPageVsync(pip[pip[0].pan->pn].page);\r
+                                       //modexShowPageVsync(pip[pip[0].pan->pn].page);\r
+                                       modexShowPage(pip[pip[0].pan->pn].page);\r
                                        player[pn].q++;\r
                                } else { player[pn].q = 1; player[pn].d = 2; pip[pip[0].pan->pn].ty++; }\r
                        }\r
@@ -324,7 +327,8 @@ void panVmemManual(map_view_t *pip, player_t *player, word pn)
                                if(player[pn].q<=player[pn].spt)\r
                                {\r
                                        pip[pip[0].pan->pn].page->dy-=4;\r
-                                       modexShowPageVsync(pip[pip[0].pan->pn].page);\r
+                                       //modexShowPageVsync(pip[pip[0].pan->pn].page);\r
+                                       modexShowPage(pip[pip[0].pan->pn].page);\r
                                        player[pn].q++;\r
                                } else { player[pn].q = 1; player[pn].d = 2; pip[pip[0].pan->pn].ty--; }\r
                        }\r