|
XenevaOS
|
#include <string.h>#include <stdlib.h>#include <math.h>#include "doomdef.h"#include "doomkeys.h"#include "doomstat.h"#include "deh_main.h"#include "deh_misc.h"#include "z_zone.h"#include "f_finale.h"#include "m_argv.h"#include "m_controls.h"#include "m_misc.h"#include "m_menu.h"#include "m_random.h"#include "i_system.h"#include "i_timer.h"#include "i_video.h"#include "p_setup.h"#include "p_saveg.h"#include "p_tick.h"#include "d_main.h"#include "wi_stuff.h"#include "hu_stuff.h"#include "st_stuff.h"#include "am_map.h"#include "statdump.h"#include "v_video.h"#include "w_wad.h"#include "p_local.h"#include "s_sound.h"#include "dstrings.h"#include "sounds.h"#include "r_data.h"#include "r_sky.h"#include "g_game.h"
Macros | |
| #define | SAVEGAMESIZE 0x2c000 |
| #define | MAXPLMOVE (forwardmove[1]) |
| #define | TURBOTHRESHOLD 0x32 |
| #define | SLOWTURNTICS 6 |
| #define | NUMKEYS 256 |
| #define | MAX_JOY_BUTTONS 20 |
| #define | BODYQUESIZE 32 |
| #define | VERSIONSIZE 16 |
| #define | DEMOMARKER 0x80 |
Functions | |
| void | G_ReadDemoTiccmd (ticcmd_t *cmd) |
| void | G_WriteDemoTiccmd (ticcmd_t *cmd) |
| void | G_PlayerReborn (int player) |
| void | G_DoReborn (int playernum) |
| void | G_DoLoadLevel (void) |
| void | G_DoNewGame (void) |
| void | G_DoPlayDemo (void) |
| void | G_DoCompleted (void) |
| void | G_DoVictory (void) |
| void | G_DoWorldDone (void) |
| void | G_DoSaveGame (void) |
| int | G_CmdChecksum (ticcmd_t *cmd) |
| void | G_BuildTiccmd (ticcmd_t *cmd, int maketic) |
| boolean | G_Responder (event_t *ev) |
| void | G_Ticker (void) |
| void | G_InitPlayer (int player) |
| void | G_PlayerFinishLevel (int player) |
| void | P_SpawnPlayer (mapthing_t *mthing) |
| boolean | G_CheckSpot (int playernum, mapthing_t *mthing) |
| void | G_DeathMatchSpawnPlayer (int playernum) |
| void | G_ScreenShot (void) |
| void | G_ExitLevel (void) |
| void | G_SecretExitLevel (void) |
| void | G_WorldDone (void) |
| void | R_ExecuteSetViewSize (void) |
| void | G_LoadGame (char *name) |
| void | G_DoLoadGame (void) |
| void | G_SaveGame (int slot, char *description) |
| void | G_DeferedInitNew (skill_t skill, int episode, int map) |
| void | G_InitNew (skill_t skill, int episode, int map) |
| void | G_RecordDemo (char *name) |
| int | G_VanillaVersionCode (void) |
| void | G_BeginRecording (void) |
| void | G_DeferedPlayDemo (char *name) |
| void | G_TimeDemo (char *name) |
| boolean | G_CheckDemoStatus (void) |
| #define BODYQUESIZE 32 |
| #define DEMOMARKER 0x80 |
| #define MAX_JOY_BUTTONS 20 |
| #define MAXPLMOVE (forwardmove[1]) |
| #define NUMKEYS 256 |
| #define SAVEGAMESIZE 0x2c000 |
| #define SLOWTURNTICS 6 |
| #define TURBOTHRESHOLD 0x32 |
| #define VERSIONSIZE 16 |
| void G_BeginRecording | ( | void | ) |
| void G_BuildTiccmd | ( | ticcmd_t * | cmd, |
| int | maketic | ||
| ) |
| boolean G_CheckDemoStatus | ( | void | ) |
| boolean G_CheckSpot | ( | int | playernum, |
| mapthing_t * | mthing | ||
| ) |
| int G_CmdChecksum | ( | ticcmd_t * | cmd | ) |
| void G_DeathMatchSpawnPlayer | ( | int | playernum | ) |
| void G_DeferedInitNew | ( | skill_t | skill, |
| int | episode, | ||
| int | map | ||
| ) |
| void G_DeferedPlayDemo | ( | char * | name | ) |
| void G_DoCompleted | ( | void | ) |
| void G_DoLoadGame | ( | void | ) |
| void G_DoLoadLevel | ( | void | ) |
| void G_DoNewGame | ( | void | ) |
| void G_DoPlayDemo | ( | void | ) |
| void G_DoReborn | ( | int | playernum | ) |
| void G_DoSaveGame | ( | void | ) |
| void G_DoVictory | ( | void | ) |
| void G_DoWorldDone | ( | void | ) |
| void G_ExitLevel | ( | void | ) |
| void G_InitNew | ( | skill_t | skill, |
| int | episode, | ||
| int | map | ||
| ) |
| void G_InitPlayer | ( | int | player | ) |
| void G_LoadGame | ( | char * | name | ) |
| void G_PlayerFinishLevel | ( | int | player | ) |
| void G_PlayerReborn | ( | int | player | ) |
| void G_ReadDemoTiccmd | ( | ticcmd_t * | cmd | ) |
| void G_RecordDemo | ( | char * | name | ) |
| void G_SaveGame | ( | int | slot, |
| char * | description | ||
| ) |
| void G_ScreenShot | ( | void | ) |
| void G_SecretExitLevel | ( | void | ) |
| void G_Ticker | ( | void | ) |
| void G_TimeDemo | ( | char * | name | ) |
| int G_VanillaVersionCode | ( | void | ) |
| void G_WorldDone | ( | void | ) |
| void G_WriteDemoTiccmd | ( | ticcmd_t * | cmd | ) |
| void P_SpawnPlayer | ( | mapthing_t * | mthing | ) |
| void R_ExecuteSetViewSize | ( | void | ) |
| fixed_t angleturn[3] = {640, 1280, 320} |
| mobj_t* bodyque[BODYQUESIZE] |
| int bodyqueslot |
| byte consistancy[MAXPLAYERS][BACKUPTICS] |
| int consoleplayer |
| int cpars[32] |
| int d_episode |
| int d_map |
| skill_t d_skill |
| int deathmatch |
| char* defdemoname |
| byte* demo_p |
| byte* demobuffer |
| byte* demoend |
| char* demoname |
| boolean demoplayback |
| boolean demorecording |
| int displayplayer |
| fixed_t forwardmove[2] = {0x19, 0x32} |
| gameaction_t gameaction |
| int gameepisode |
| int gamemap |
| skill_t gameskill |
| gamestate_t gamestate |
| int levelstarttic |
| boolean longtics |
| boolean lowres_turn |
| int mousex |
| int mousey |
| boolean netdemo |
| boolean netgame |
| boolean nodrawers |
| gamestate_t oldgamestate |
|
extern |
| int pars[4][10] |
| boolean paused |
| boolean playeringame[MAXPLAYERS] |
| player_t players[MAXPLAYERS] |
| boolean respawnmonsters |
| char savename[256] |
| boolean secretexit |
| boolean sendpause |
| boolean sendsave |
|
extern |
| fixed_t sidemove[2] = {0x18, 0x28} |
| boolean singledemo |
| int starttime |
| int testcontrols_mousespeed |
| int timelimit |
| boolean timingdemo |
| int totalitems |
| int totalkills |
| int totalsecret |
| boolean turbodetected[MAXPLAYERS] |
| boolean usergame |
| int vanilla_demo_limit = 1 |
| int vanilla_savegame_limit = 1 |
| boolean viewactive |
| weapontype_t weapon |
| weapontype_t weapon_num |
| wbstartstruct_t wminfo |