OSDN Git Service

Merge branch 'master' of github.com:sparky4/16
[proj16/16.git] / src / pcxtest.c
index 1360cb6..07e8dfd 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2021 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
 #include <string.h>\r
 #include "src/lib/16_vl.h"\r
 #include "src/lib/bitmap.h"\r
-#include "src/lib/16render.h"\r
+#include "16/src/lib/16render.h"\r
 #include "src/lib/16_in.h"\r
 \r
 #include "src/lib/16_tail.h"\r
 \r
 static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
 \r
-#define PCXBMPVAR              player[0].data\r
+#define PCXBMPVAR              gvar.player[0].data\r
 #define PCXBMP                 *PCXBMPVAR\r
 #define PCXBMPPTR              PCXBMPVAR\r
 \r
 void main() {\r
        static global_game_variables_t gvar;\r
-       static player_t player[MaxPlayers];\r
 //---- planar_buf_t *p;\r
        word start;\r
        float t1, t2;\r