/* Project 16 Source Code~\r
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123\r
+ * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
*/\r
\r
#include <stdio.h>\r
-#include "src/lib/modex16.h"\r
+#include "src/lib/16_vl.h"\r
#include "src/lib/16_in.h"\r
-#include "src/lib/scroll16.h"\r
+#include "src/lib/16_scr.h"\r
#include "src/lib/bakapee.h"\r
\r
-global_game_variables_t gvar;\r
+static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
player_t player[MaxPlayers];\r
map_view_t mv[4];\r
pan_t pan;\r
\r
void main(int argc, char *argv[])\r
{\r
+ static global_game_variables_t gvar;\r
int i, j;\r
word startclk, endclk;\r
word k;\r
if(IN_KeyDown(2+1)){ pan.pn=1; }\r
if(IN_KeyDown(3+1)){ pan.pn=2; }\r
if(IN_KeyDown(4+1)){ pan.pn=3; }\r
+ if(IN_KeyDown(12)) modexClearRegion(&gvar.video.page[0], (gvar.video.page[0].width/2)-4, (gvar.video.page[0].height/2)-16, 24, 32, 15);\r
+ if(IN_KeyDown(13)) modexClearRegion(&gvar.video.page[1], (gvar.video.page[1].width/2)-4, (gvar.video.page[1].height/2)-16, 24, 32, 15);\r
if(IN_KeyDown(7)){\r
for(i=0;i<3;i++)\r
{\r