|
|
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.3 ! root 8: // This source is available for distribution and/or modification
! 9: // only under the terms of the DOOM Source Code License as
! 10: // published by id Software. All rights reserved.
1.1 root 11: //
1.1.1.3 ! root 12: // The source is distributed in the hope that it will be useful,
1.1 root 13: // but WITHOUT ANY WARRANTY; without even the implied warranty of
1.1.1.3 ! root 14: // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
! 15: // for more details.
1.1 root 16: //
17: // DESCRIPTION:
18: // Duh.
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: // GAME
33: //
34: void G_DeathMatchSpawnPlayer (int playernum);
35:
36: void G_InitNew (skill_t skill, int episode, int map);
37:
38: // Can be called by the startup code or M_Responder.
39: // A normal game starts at map 1,
40: // but a warp test can start elsewhere
41: void G_DeferedInitNew (skill_t skill, int episode, int map);
42:
43: void G_DeferedPlayDemo (char* demo);
44:
1.1.1.3 ! root 45: boolean G_DeferedPlayDemo_II (char* demo);
! 46:
1.1 root 47: // Can be called by the startup code or M_Responder,
48: // calls P_SetupLevel or W_EnterWorld.
49: void G_LoadGame (char* name);
50:
51: void G_DoLoadGame (void);
52:
53: // Called by M_Responder.
54: void G_SaveGame (int slot, char* description);
55:
56: // Only called by startup code.
57: void G_RecordDemo (char* name);
58: void G_BeginRecording (void);
59:
1.1.1.3 ! root 60: // Combined save-game and demo
! 61: void G_RecordDemo_II(char* name);
! 62: void G_BeginRecording_II(void);
! 63: void G_EndDemo_II(void);
! 64:
1.1 root 65: void G_PlayDemo (char* name);
66: void G_TimeDemo (char* name);
1.1.1.3 ! root 67:
! 68: boolean G_TimeDemo_II(char* name);
! 69:
1.1 root 70: boolean G_CheckDemoStatus (void);
1.1.1.3 ! root 71: void G_EndDemo(void);
1.1 root 72:
73: void G_ExitLevel (void);
74: void G_SecretExitLevel (void);
75:
76: void G_WorldDone (void);
77:
78: void G_Ticker (void);
79: boolean G_Responder (event_t* ev);
80:
81: void G_ScreenShot (void);
82:
83:
84: #endif
85: //-----------------------------------------------------------------------------
86: //
87: // $Log:$
88: //
89: //-----------------------------------------------------------------------------
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.