]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/scroll16.h
joncambell321 please help test.exe creates garbage if the 2nd rendering page is written
[16.git] / src / lib / scroll16.h
index 7a4f24a0adea501c06d1611b189bfde04fe3a5fc..669237b47e92803a1c07910639a3bab2b4ced065 100755 (executable)
@@ -52,7 +52,8 @@ typedef struct {
        int ty; //appears to be the top left tile position on the viewable screen map
        word dxThresh; //????
        word dyThresh; //????
-       video_t *video;
+       video_t *video; //pointer to game variables of the video
+       pan_t *pan;             //pointer the the page panning debug system
 } map_view_t;
 
 typedef struct
@@ -69,10 +70,15 @@ extern boolean pageflipflop;
 //map_t allocMap(int w, int h);
 //void initMap(map_t *map);
 void walk(map_view_t *pip, player_t *player, word pn);
+void panpagemanual(map_view_t *pip,  player_t *player, word pn);
 void near mapScrollRight(map_view_t *mv, player_t *player, word id, word plid);
 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 near ScrollRight(map_view_t *mv, player_t *player, word id, word plid);
+void near ScrollLeft(map_view_t *mv, player_t *player, word id, word plid);
+void near ScrollUp(map_view_t *mv, player_t *player, word id, word plid);
+void near ScrollDown(map_view_t *mv, player_t *player, word id, word plid);
 sword chkmap(map_t *map, word q);
 void mapGoTo(map_view_t *mv, int tx, int ty);
 void near mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y);