]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/scroll16.h
fucking show page i need to make a very special version of it wwww
[16.git] / src / lib / scroll16.h
index 9dc7b4a51337a706fa668b3b6e9fc456583f9eae..c251148a719ad1fed1ca815770157b032848860a 100755 (executable)
@@ -33,7 +33,7 @@
 #include "src/lib/16render.h"\r
 //#include "src/lib/16_map.h"  //new map stuff\r
 #include "src/lib/16_timer.h"\r
-#include "src/lib/wcpu/wcpu.h"\r
+#include "src/lib/wcpu/16_wcpu.h"\r
 \r
 #include <hw/cpu/cpu.h>\r
 #include <hw/dos/dos.h>\r
@@ -60,6 +60,7 @@ typedef struct {
        word dyThresh; //Threshold for physical tile switch\r
        video_t *video; //pointer to game variables of the video\r
        pan_t *pan;             //pointer the the page panning debug system\r
+//newer vars!\r
        int dx, dy, delta, d;\r
 } map_view_t;\r
 /* Map is presumed to:\r
@@ -75,11 +76,6 @@ typedef struct {
  *     should have a sprite too. Map is drawn left-to-right, top-to-bottom.\r
  */\r
 \r
-typedef struct\r
-{\r
-       map_view_t *mv;\r
-} map_view_db_t;\r
-\r
 //for null map!\r
 #define MAPW   40\r
 #define MAPH   30\r
@@ -126,7 +122,11 @@ extern char global_temp_status_text[512];
 //map_t allocMap(int w, int h);\r
 //void initMap(map_t *map);\r
 void walk(map_view_t *pip, player_t *player, word pn);\r
-void panpagemanual(map_view_t *pip,  player_t *player, word pn);\r
+void panPageManual(map_view_t *pip,  player_t *player, word pn);\r
+void ZC_MVSetup(map_view_t *pip, map_t *map, pan_t *pan, global_game_variables_t *gv);\r
+void ZC_MVInit(map_view_t *pip, int tx, int ty);\r
+void ZC_MVSync(map_view_t *pip);\r
+void ZC_panPageManual(map_view_t *pip, player_t *player, word pn);\r
 void near mapScrollRight(map_view_t *mv, player_t *player, word id, word plid);\r
 void near mapScrollLeft(map_view_t *mv, player_t *player, word id, word plid);\r
 void near mapScrollUp(map_view_t *mv, player_t *player, word id, word plid);\r
@@ -135,8 +135,10 @@ 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);\r
 void near ScrollUp(map_view_t *mv, player_t *player, word id, word plid);\r
 void near ScrollDown(map_view_t *mv, player_t *player, word id, word plid);\r
+void playerXYpos(int x, int y, player_t *player, map_view_t *pip, nibble pn);\r
 sword chkmap(map_t *map, word q);\r
 void mapGoTo(map_view_t *mv, int tx, int ty);\r
+void mapinitmapview(map_view_t *mv, int tx, int ty);\r
 void near mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y);\r
 void near mapDrawRow(map_view_t *mv, int tx, int ty, word y, player_t *p, word poopoffset);\r
 void near mapDrawCol(map_view_t *mv, int tx, int ty, word x, player_t *p, word poopoffset);\r