/* Project 16 Source Code~\r
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
#include <stdio.h>\r
#include <dos.h>\r
#include <string.h>\r
-#include "src/lib/modex16.h"\r
+#include "src/lib/16_vl.h"\r
#include "src/lib/bitmap.h"\r
//----#include "src/lib/planar.h"\r
\r
-global_game_variables_t gvar;\r
+static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
\r
/*\r
void\r
*/\r
\r
void main() {\r
+ static global_game_variables_t gvar;\r
bitmap_t bmp;\r
//---- planar_buf_t *p;\r
int i;\r
}\r
\r
//0000 bmp = bitmapLoadPcx("data/koishi~~.pcx");\r
- bmp = bitmapLoadPcx("data/chikyuu.pcx");\r
+ bmp = bitmapLoadPcx("data/chikyuu.pcx", &gvar);\r
// bmp = bitmapLoadPcx("data/koishi^^.pcx");\r
// bmp = bitmapLoadPcx("16/PCX_LIB/chikyuu.pcx");\r
//---- p = planar_buf_from_bitmap(&bmp);\r