unsigned int RandomEM;
-struct LEVEL lev;
+struct CAVE cav;
+struct LOGIC lev;
struct PLAYER ply[MAX_PLAYERS];
extern int screen_x;
struct EngineSnapshotInfo_EM engine_snapshot_em;
-void game_init_vars(void)
+void game_init_random(void)
{
- int x, y;
-
RandomEM = 1684108901;
+}
+
+void game_init_cave_buffers(void)
+{
+ int x, y;
for (y = 0; y < CAVE_BUFFER_HEIGHT; y++)
for (x = 0; x < CAVE_BUFFER_WIDTH; x++)
if (frame == 7)
{
- logic_1();
- logic_2();
+ logic_players();
+ logic_objects();
}
if (frame == 6)
{
- logic_3();
+ logic_globals();
UpdateGameDoorValues_EM();
}