static unsigned short *Index[4][HEIGHT];
static unsigned short Array[4][HEIGHT][WIDTH];
+extern unsigned int screen_x;
+extern unsigned int screen_y;
+
void game_init_vars(void)
{
int x, y;
readjoy(action);
+ UpdateEngineValues(screen_x / TILEX, screen_y / TILEY);
+
if (frame == 7)
{
synchro_1();
if (action & JOY_BUTTON_1)
fire = 1;
+#if 1
ply1.joy_fire = fire;
if (ply1.joy_stick || (north | east | south | west))
{
ply1.joy_s = south;
ply1.joy_w = west;
}
+#else
+ ply2.joy_fire = fire;
+ if (ply2.joy_stick || (north | east | south | west))
+ {
+ ply2.joy_n = north;
+ ply2.joy_e = east;
+ ply2.joy_s = south;
+ ply2.joy_w = west;
+ }
+#endif
}