doom

a minimalistic implementation of doom
git clone git://ssnf.xyz/doom
Log | Files | Refs

g_game.h (764B)


      1 
      2 
      3 
      4 
      5 
      6 
      7 
      8 
      9 
     10 
     11 
     12 
     13 
     14 
     15 
     16 
     17 
     18 
     19 
     20 
     21 
     22 
     23 #ifndef __G_GAME__
     24 #define __G_GAME__
     25 
     26 #include "doomdef.h"
     27 #include "d_event.h"
     28 
     29 
     30 
     31 
     32 
     33 
     34 void G_DeathMatchSpawnPlayer (int playernum);
     35 
     36 void G_InitNew (skill_t skill, int episode, int map);
     37 
     38 
     39 
     40 
     41 void G_DeferedInitNew (skill_t skill, int episode, int map);
     42 
     43 void G_DeferedPlayDemo (char* demo);
     44 
     45 
     46 
     47 void G_LoadGame (char* name);
     48 
     49 void G_DoLoadGame (void);
     50 
     51 
     52 void G_SaveGame (int slot, char* description);
     53 
     54 
     55 void G_RecordDemo (char* name);
     56 
     57 void G_BeginRecording (void);
     58 
     59 void G_PlayDemo (char* name);
     60 void G_TimeDemo (char* name);
     61 boolean G_CheckDemoStatus (void);
     62 
     63 void G_ExitLevel (void);
     64 void G_SecretExitLevel (void);
     65 
     66 void G_WorldDone (void);
     67 
     68 void G_Ticker (void);
     69 boolean G_Responder (event_t*	ev);
     70 
     71 void G_ScreenShot (void);
     72 
     73 
     74 #endif
     75 
     76 
     77 
     78 
     79