|
|
1.1 root 1: // Emacs style mode select -*- C++ -*-
2: //-----------------------------------------------------------------------------
3: //
4: // $Id:$
5: //
6: // Copyright (C) 1993-1996 by id Software, Inc.
7: //
1.1.1.2 ! root 8: // This program is free software; you can redistribute it and/or
! 9: // modify it under the terms of the GNU General Public License
! 10: // as published by the Free Software Foundation; either version 2
! 11: // of the License, or (at your option) any later version.
1.1 root 12: //
1.1.1.2 ! root 13: // This program is distributed in the hope that it will be useful,
1.1 root 14: // but WITHOUT ANY WARRANTY; without even the implied warranty of
1.1.1.2 ! root 15: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 16: // GNU General Public License for more details.
1.1 root 17: //
18: // DESCRIPTION:
19: // Duh.
20: //
21: //-----------------------------------------------------------------------------
22:
23:
24: #ifndef __G_GAME__
25: #define __G_GAME__
26:
27: #include "doomdef.h"
28: #include "d_event.h"
29:
30:
31:
32: //
33: // GAME
34: //
35: void G_DeathMatchSpawnPlayer (int playernum);
36:
37: void G_InitNew (skill_t skill, int episode, int map);
38:
39: // Can be called by the startup code or M_Responder.
40: // A normal game starts at map 1,
41: // but a warp test can start elsewhere
42: void G_DeferedInitNew (skill_t skill, int episode, int map);
43:
44: void G_DeferedPlayDemo (char* demo);
45:
46: // Can be called by the startup code or M_Responder,
47: // calls P_SetupLevel or W_EnterWorld.
48: void G_LoadGame (char* name);
49:
50: void G_DoLoadGame (void);
51:
52: // Called by M_Responder.
53: void G_SaveGame (int slot, char* description);
54:
55: // Only called by startup code.
56: void G_RecordDemo (char* name);
57:
58: void G_BeginRecording (void);
59:
60: void G_PlayDemo (char* name);
61: void G_TimeDemo (char* name);
62: boolean G_CheckDemoStatus (void);
63:
64: void G_ExitLevel (void);
65: void G_SecretExitLevel (void);
66:
67: void G_WorldDone (void);
68:
69: void G_Ticker (void);
70: boolean G_Responder (event_t* ev);
71:
72: void G_ScreenShot (void);
73:
74:
75: #endif
76: //-----------------------------------------------------------------------------
77: //
78: // $Log:$
79: //
80: //-----------------------------------------------------------------------------
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.