#include "g_local.h"
Go to the source code of this file.
Functions | |
void | SpawnEntities (const char *mapname, const char *entities, const char *spawnpoint) |
void | ClientThink (edict_t *ent, usercmd_t *cmd) |
qboolean | ClientConnect (edict_t *ent, char *userinfo) |
void | ClientUserinfoChanged (edict_t *ent, char *userinfo) |
void | ClientDisconnect (edict_t *ent) |
void | ClientBegin (edict_t *ent) |
void | ClientCommand (edict_t *ent) |
void | RunEntity (edict_t *ent) |
void | WriteGame (const char *filename, qboolean autosave) |
void | ReadGame (const char *filename) |
void | WriteLevel (const char *filename) |
void | ReadLevel (const char *filename) |
void | InitGame (void) |
void | G_RunFrame (void) |
void | ShutdownGame (void) |
q_exported game_export_t * | GetGameAPI (game_import_t *import) |
void | Com_LPrintf (print_type_t type, const char *fmt,...) |
void | Com_Error (error_type_t type, const char *fmt,...) |
void | ClientEndServerFrames (void) |
edict_t * | CreateTargetChangeLevel (char *map) |
void | EndDMLevel (void) |
void | CheckNeedPass (void) |
void | CheckDMRules (void) |
void | ExitLevel (void) |
Variables | |
game_locals_t | game |
level_locals_t | level |
game_import_t | gi |
game_export_t | globals |
spawn_temp_t | st |
int | sm_meat_index |
int | snd_fry |
int | meansOfDeath |
edict_t * | g_edicts |
cvar_t * | deathmatch |
cvar_t * | coop |
cvar_t * | dmflags |
cvar_t * | skill |
cvar_t * | fraglimit |
cvar_t * | timelimit |
cvar_t * | password |
cvar_t * | spectator_password |
cvar_t * | needpass |
cvar_t * | maxclients |
cvar_t * | maxspectators |
cvar_t * | maxentities |
cvar_t * | g_select_empty |
cvar_t * | dedicated |
cvar_t * | nomonsters |
cvar_t * | filterban |
cvar_t * | sv_maxvelocity |
cvar_t * | sv_gravity |
cvar_t * | sv_rollspeed |
cvar_t * | sv_rollangle |
cvar_t * | gun_x |
cvar_t * | gun_y |
cvar_t * | gun_z |
cvar_t * | run_pitch |
cvar_t * | run_roll |
cvar_t * | bob_up |
cvar_t * | bob_pitch |
cvar_t * | bob_roll |
cvar_t * | sv_cheats |
cvar_t * | flood_msgs |
cvar_t * | flood_persecond |
cvar_t * | flood_waitdelay |
cvar_t * | sv_maplist |
cvar_t * | sv_features |
cvar_t * | sv_flaregun |
void ClientBegin | ( | edict_t * | ent | ) |
void ClientCommand | ( | edict_t * | ent | ) |
qboolean ClientConnect | ( | edict_t * | ent, |
char * | userinfo | ||
) |
void ClientDisconnect | ( | edict_t * | ent | ) |
void ClientThink | ( | edict_t * | ent, |
usercmd_t * | cmd | ||
) |
void ClientUserinfoChanged | ( | edict_t * | ent, |
char * | userinfo | ||
) |
Definition at line 1325 of file p_client.c.
Referenced by ClientConnect(), GetGameAPI(), and PutClientInServer().
void Com_Error | ( | error_type_t | type, |
const char * | fmt, | ||
... | |||
) |
Definition at line 258 of file g_main.c.
Referenced by _os_get_io(), Action_Init(), add_msg_packet(), BSP_ClusterVis(), BSP_Free(), BSP_InlineModel(), BSP_Load(), bsp_mesh_create_from_bsp(), CalcSurfaceExtents(), CL_CheckTimeout(), CL_ConnectionlessPacket(), CL_Disconnect_f(), CL_FinishDownload(), CL_GetEntitySoundOrigin(), CL_HandleDownload(), CL_Init(), CL_InitRefresh(), CL_ParseBaseline(), CL_ParseConfigstring(), CL_ParseDeltaEntity(), CL_ParseDownload(), CL_ParseFrame(), CL_ParseMuzzleFlashPacket(), CL_ParsePacketEntities(), CL_ParsePlayerSkin(), CL_ParseReconnect(), CL_ParseServerData(), CL_ParseServerMessage(), CL_ParseStartSoundPacket(), CL_ParseTEnt(), CL_ParseTEntPacket(), CL_ParseZPacket(), CL_QueueDownload(), CL_RegisterBspModels(), CL_RequestNextDownload(), CL_SeekDemoMessage(), CL_UpdateConfigstring(), CM_FatPVS(), collect_surfaces(), COM_BlockSequenceCRCByte(), Com_Error_f(), Com_ErrorDrop_f(), COM_FileExtension(), COM_SkipPath(), Con_RegisterMedia(), Cvar_Get(), D_SCAlloc(), file_for_handle(), find_handle(), finish_demo(), FloodArea_r(), free_msg_packet(), FS_FOpenFile(), fs_game_changed(), FS_LoadFileEx(), FS_Write(), GL_DrawEntities(), GL_LoadWorld(), hq2x_blend(), hq4x_blend(), Hunk_Alloc(), Hunk_Begin(), Hunk_End(), Hunk_Free(), IMG_Find(), IMG_ForHandle(), IMG_GetPalette(), IMG_Init(), IMG_ResampleTexture(), inflate_udp_download(), init_vulkan(), Key_Event(), Keybind_Init(), Menu_AddItem(), Menu_Draw(), Menu_Init(), MOD_ForHandle(), MOD_Init(), MOD_Reference(), MOD_Reference_GL(), MOD_Reference_RTX(), MSG_PackEntity(), MSG_ReadBits(), MSG_ReadData(), MSG_ReadDir(), MSG_WriteByte(), MSG_WriteChar(), MSG_WriteDeltaEntity(), MSG_WriteDeltaPlayerstate_Default(), MSG_WriteDeltaPlayerstate_Enhanced(), MSG_WriteShort(), MVD_ParseEntityString(), NET_BaseAdrToString(), NET_OpenServer(), NET_SendPacket(), Netchan_Setup(), NetchanOld_TransmitNextFragment(), os_add_io(), os_get_io(), os_net_init(), pack_put(), PF_AreasConnected(), PF_configstring(), PF_cprintf(), PF_error(), PF_FindIndex(), PF_FreeTags(), PF_inVIS(), PF_PositionedSound(), PF_SetAreaPortalState(), PF_setmodel(), PF_TagMalloc(), PF_WriteFloat(), Q_strlcat(), Q_vsnprintf(), R_BeginRegistration(), R_BeginRegistration_RTX(), R_BuildLightMap(), R_BuildPolygonFromSurface(), R_ClipAndDrawPoly(), R_DrawBEntitiesOnList(), R_DrawEntities(), R_Init_RTX(), R_RecursiveClipBPoly(), R_RegisterModel(), R_RenderFrame(), R_RenderFrame_GL(), read_level_file(), read_server_file(), S_PickChannel(), S_SfxForHandle(), SCR_ExecuteLayoutString(), SCR_ReadNextFrame(), SCR_UpdateScreen(), start_udp_download(), Static_Init(), SV_HullForEntity(), SV_InitGame(), SV_InitGameProgs(), SV_Multicast(), SV_PointContents(), SV_Trace(), SWimp_ModeChanged(), Sys_FreeLibrary(), SZ_GetSpace(), TH_DrawLayoutString(), UI_OpenMenu(), UI_PopMenu(), V_CalcFov(), VID_EndFrame(), Win_Init(), Z_Realloc(), Z_ReservedAlloc(), Z_TagMalloc(), and Z_Validate().
void Com_LPrintf | ( | print_type_t | type, |
const char * | fmt, | ||
... | |||
) |
Definition at line 242 of file g_main.c.
Referenced by CL_ConnectionlessPacket(), CL_ParseBaseline(), CL_ParseDeltaEntity(), CL_ParseFrame(), CL_ParsePrint(), CL_ParseServerMessage(), CL_SeekDemoMessage(), finish_download(), PF_cprintf(), SV_ConSay_f(), and Sys_GetAntiCheatAPI().
edict_t* CreateTargetChangeLevel | ( | char * | map | ) |
q_exported game_export_t* GetGameAPI | ( | game_import_t * | import | ) |
void ReadGame | ( | const char * | filename | ) |
void ReadLevel | ( | const char * | filename | ) |
void RunEntity | ( | edict_t * | ent | ) |
void SpawnEntities | ( | const char * | mapname, |
const char * | entities, | ||
const char * | spawnpoint | ||
) |
Definition at line 568 of file g_spawn.c.
Referenced by GetGameAPI().
void WriteGame | ( | const char * | filename, |
qboolean | autosave | ||
) |
void WriteLevel | ( | const char * | filename | ) |
cvar_t* bob_pitch |
Definition at line 63 of file g_main.c.
Referenced by InitGame(), and SV_CalcViewOffset().
cvar_t* bob_roll |
Definition at line 64 of file g_main.c.
Referenced by InitGame(), and SV_CalcViewOffset().
cvar_t* bob_up |
Definition at line 62 of file g_main.c.
Referenced by InitGame(), and SV_CalcViewOffset().
cvar_t* coop |
Definition at line 34 of file g_main.c.
Referenced by ai_run(), BeginIntermission(), ClientObituary(), Cmd_Score_f(), FetchClientEntData(), InitGame(), Killed(), MoveClientToIntermission(), Pickup_Key(), Pickup_Powerup(), Pickup_Weapon(), player_die(), respawn(), rocket_touch(), SaveClientData(), SelectSpawnPoint(), SP_info_player_coop(), SP_info_player_start(), SpawnItem(), T_Damage(), Touch_Item(), trigger_key_use(), and use_target_changelevel().
cvar_t* deathmatch |
Definition at line 33 of file g_main.c.
Referenced by BeginIntermission(), bfg_think(), Chaingun_Fire(), CheckDMRules(), ClientBegin(), ClientBeginServerFrame(), ClientConnect(), ClientObituary(), ClientUserinfoChanged(), Cmd_Give_f(), Cmd_God_f(), Cmd_Help_f(), Cmd_Noclip_f(), Cmd_Notarget_f(), Cmd_Score_f(), drop_make_touchable(), G_SetStats(), InitGame(), Machinegun_Fire(), MegaHealth_think(), monster_start(), MoveClientToIntermission(), P_FallingDamage(), Pickup_Adrenaline(), Pickup_Ammo(), Pickup_AncientHead(), Pickup_Armor(), Pickup_Bandolier(), Pickup_Health(), Pickup_Pack(), Pickup_PowerArmor(), Pickup_Powerup(), Pickup_Weapon(), player_die(), PlayerNoise(), PlayerTrail_Init(), PutClientInServer(), respawn(), rocket_touch(), SelectSpawnPoint(), SP_func_door(), SP_func_explosive(), SP_info_player_deathmatch(), SP_item_health(), SP_item_health_large(), SP_item_health_mega(), SP_item_health_small(), SP_light(), SP_misc_actor(), SP_misc_deadsoldier(), SP_misc_explobox(), SP_misc_insane(), SP_monster_berserk(), SP_monster_boss2(), SP_monster_boss3_stand(), SP_monster_brain(), SP_monster_chick(), SP_monster_flipper(), SP_monster_floater(), SP_monster_flyer(), SP_monster_gladiator(), SP_monster_gunner(), SP_monster_hover(), SP_monster_infantry(), SP_monster_jorg(), SP_monster_makron(), SP_monster_medic(), SP_monster_mutant(), SP_monster_parasite(), SP_monster_soldier(), SP_monster_soldier_light(), SP_monster_soldier_ss(), SP_monster_supertank(), SP_monster_tank(), SP_point_combat(), SP_target_goal(), SP_target_help(), SP_target_lightramp(), SP_target_secret(), SP_turret_driver(), SP_worldspawn(), SpawnEntities(), SpawnItem(), T_Damage(), TossClientWeapon(), use_target_changelevel(), weapon_bfg_fire(), Weapon_Blaster_Fire(), Weapon_HyperBlaster_Fire(), weapon_railgun_fire(), and weapon_shotgun_fire().
cvar_t* dedicated |
Definition at line 46 of file g_main.c.
Referenced by InitGame().
cvar_t* dmflags |
Definition at line 35 of file g_main.c.
Referenced by Chaingun_Fire(), ClientBeginServerFrame(), ClientTeam(), ClientUserinfoChanged(), Cmd_Say_f(), Drop_Weapon(), EndDMLevel(), InitGame(), Machinegun_Fire(), OnSameTeam(), P_FallingDamage(), Pickup_Ammo(), Pickup_Powerup(), Pickup_Weapon(), PutClientInServer(), SelectDeathmatchSpawnPoint(), SP_item_health(), SP_item_health_large(), SP_item_health_mega(), SP_item_health_small(), SpawnItem(), T_Damage(), TossClientWeapon(), use_target_changelevel(), weapon_bfg_fire(), weapon_grenade_fire(), weapon_grenadelauncher_fire(), Weapon_HyperBlaster_Fire(), weapon_railgun_fire(), Weapon_RocketLauncher_Fire(), weapon_shotgun_fire(), and weapon_supershotgun_fire().
cvar_t* filterban |
Definition at line 49 of file g_main.c.
Referenced by InitGame(), SV_FilterPacket(), and SVCmd_WriteIP_f().
cvar_t* flood_msgs |
Definition at line 68 of file g_main.c.
Referenced by Cmd_Say_f(), and InitGame().
cvar_t* flood_persecond |
Definition at line 69 of file g_main.c.
Referenced by Cmd_Say_f(), and InitGame().
cvar_t* flood_waitdelay |
Definition at line 70 of file g_main.c.
Referenced by Cmd_Say_f(), and InitGame().
cvar_t* fraglimit |
Definition at line 37 of file g_main.c.
Referenced by CheckDMRules(), and InitGame().
edict_t* g_edicts |
Definition at line 31 of file g_main.c.
Referenced by actor_pain(), AI_SetSightClient(), BeginIntermission(), Blaster_Fire(), Chaingun_Fire(), ChangeWeapon(), ChaseNext(), ChasePrev(), CheckDMRules(), ClientBegin(), ClientBeginDeathmatch(), ClientConnect(), ClientDisconnect(), ClientEndServerFrames(), ClientThink(), ClientUserinfoChanged(), Cmd_PlayerList_f(), Cmd_Say_f(), CopyToBodyQue(), DeathmatchScoreboardMessage(), ExitLevel(), findradius(), flare_sparks(), G_CheckChaseStats(), G_Find(), G_FindTeams(), G_FreeEdict(), G_InitEdict(), G_RunFrame(), G_SetSpectatorStats(), G_Spawn(), GetChaseTarget(), InitGame(), Machinegun_Fire(), medic_cable_attack(), monster_fire_bfg(), monster_fire_blaster(), monster_fire_bullet(), monster_fire_grenade(), monster_fire_railgun(), monster_fire_rocket(), monster_fire_shotgun(), parasite_drain_attack(), PlayersRangeFromSpot(), PutClientInServer(), read_field(), ReadGame(), ReadLevel(), SaveClientData(), SpawnEntities(), spectator_respawn(), SV_Physics_Toss(), SV_Push(), SV_TestEntityPosition(), target_actor_touch(), target_earthquake_think(), trigger_key_use(), use_target_changelevel(), weapon_bfg_fire(), weapon_flaregun_fire(), weapon_grenadelauncher_fire(), weapon_railgun_fire(), Weapon_RocketLauncher_Fire(), weapon_shotgun_fire(), weapon_supershotgun_fire(), write_field(), and WriteLevel().
cvar_t* g_select_empty |
Definition at line 45 of file g_main.c.
Referenced by InitGame(), and Use_Weapon().
game_locals_t game |
Definition at line 21 of file g_main.c.
Referenced by AI_SetSightClient(), BeginIntermission(), CheckDMRules(), ClientBegin(), ClientConnect(), Cmd_Give_f(), Cmd_Help_f(), Cmd_Players_f(), Cmd_Say_f(), CopyToBodyQue(), DeathmatchScoreboardMessage(), ED_CallSpawn(), FindItem(), FindItemByClassname(), G_SetClientSound(), G_Spawn(), GetItemByIndex(), HelpComputer(), InitGame(), InitItems(), player_die(), PlayerSort(), PutClientInServer(), read_field(), ReadGame(), ReadLevel(), SaveClientData(), SelectCoopSpawnPoint(), SelectSpawnPoint(), SetItemNames(), SpawnEntities(), SV_LoadGameLibrary(), SVCmd_WriteIP_f(), target_actor_touch(), target_crosslevel_target_think(), trigger_crosslevel_trigger_use(), trigger_key_use(), use_target_changelevel(), Use_Target_Help(), write_field(), and WriteGame().
game_import_t gi |
Definition at line 23 of file g_main.c.
Referenced by actor_dead(), actor_pain(), actor_use(), ai_run(), BecomeExplosion1(), BecomeExplosion2(), berserk_dead(), berserk_die(), berserk_fidget(), berserk_pain(), berserk_search(), berserk_sight(), berserk_swing(), bfg_explode(), bfg_think(), bfg_touch(), Blaster_Fire(), blaster_touch(), body_die(), Boss2_CheckAttack(), boss2_dead(), boss2_die(), boss2_pain(), boss2_search(), BossExplode(), brain_chest_open(), brain_dead(), brain_die(), brain_duck_down(), brain_duck_up(), brain_hit_left(), brain_hit_right(), brain_idle(), brain_pain(), brain_search(), brain_sight(), brain_swing_left(), brain_swing_right(), brain_tentacle_attack(), button_fire(), CanDamage(), Chaingun_Fire(), ChangeWeapon(), check_dodge(), CheckDMRules(), CheckNeedPass(), chick_dead(), chick_die(), chick_duck_down(), chick_duck_up(), chick_pain(), Chick_PreAttack1(), chick_sight(), ChickMoan(), ChickReload(), ChickSlash(), ClientBegin(), ClientBeginDeathmatch(), ClientCommand(), ClientConnect(), ClientDisconnect(), ClientEndServerFrame(), ClientObituary(), ClientThink(), ClientUserinfoChanged(), Cmd_Drop_f(), Cmd_Give_f(), Cmd_God_f(), Cmd_InvDrop_f(), Cmd_Inven_f(), Cmd_InvUse_f(), Cmd_Noclip_f(), Cmd_Notarget_f(), Cmd_PlayerList_f(), Cmd_Players_f(), Cmd_Say_f(), Cmd_Use_f(), Cmd_Wave_f(), Com_Error(), Com_LPrintf(), commander_body_think(), commander_body_use(), CopyToBodyQue(), DeathmatchScoreboard(), DeathmatchScoreboardMessage(), door_go_down(), door_go_up(), door_hit_bottom(), door_hit_top(), door_touch(), door_use_areaportals(), DoRespawn(), Drop_Ammo(), Drop_Item(), Drop_Weapon(), droptofloor(), ED_CallSpawn(), ED_NewString(), ED_ParseEdict(), ED_ParseField(), ExitLevel(), FindTarget(), fire_bfg(), fire_blaster(), fire_flaregun(), fire_grenade(), fire_grenade2(), fire_hit(), fire_lead(), fire_rail(), fire_rocket(), flare_sparks(), flipper_dead(), flipper_die(), flipper_pain(), flipper_preattack(), flipper_sight(), floater_dead(), floater_die(), floater_idle(), floater_pain(), floater_sight(), floater_wham(), floater_zap(), flyer_die(), flyer_idle(), flyer_pain(), flyer_pop_blades(), flyer_sight(), flyer_slash_left(), flyer_slash_right(), flymonster_start_go(), FoundTarget(), func_explosive_spawn(), func_train_find(), func_wall_use(), G_CopyString(), G_FindTeams(), G_FreeEdict(), G_PickTarget(), G_RunEntity(), G_SetClientSound(), G_SetStats(), G_Spawn(), G_TouchSolids(), G_TouchTriggers(), G_UseTargets(), GaldiatorMelee(), GetChaseTarget(), GetGameAPI(), gib_touch(), gladiator_attack(), gladiator_cleaver_swing(), gladiator_dead(), gladiator_die(), gladiator_idle(), gladiator_pain(), gladiator_search(), gladiator_sight(), Grenade_Explode(), Grenade_Touch(), gunner_dead(), gunner_die(), gunner_duck_down(), gunner_duck_up(), gunner_idlesound(), gunner_opengun(), gunner_pain(), gunner_search(), gunner_sight(), HelpComputer(), hover_dead(), hover_die(), hover_pain(), hover_search(), hover_sight(), hurt_touch(), hurt_use(), infantry_cock_gun(), infantry_dead(), infantry_die(), infantry_duck_down(), infantry_duck_up(), infantry_fidget(), infantry_pain(), infantry_sight(), infantry_smack(), infantry_swing(), InitGame(), InitTrigger(), insane_dead(), insane_die(), insane_fist(), insane_moan(), insane_pain(), insane_scream(), insane_shake(), jorg_attack(), Jorg_CheckAttack(), jorg_dead(), jorg_death_hit(), jorg_die(), jorg_idle(), jorg_pain(), jorg_search(), jorg_step_left(), jorg_step_right(), jorgBFG(), KillBox(), light_use(), M_CatagorizePosition(), M_CheckAttack(), M_CheckBottom(), M_CheckGround(), M_droptofloor(), M_FliesOn(), M_WorldEffects(), Machinegun_Fire(), makron_brainsplorch(), Makron_CheckAttack(), makron_dead(), makron_die(), makron_hit(), makron_pain(), makron_popup(), makron_prerailgun(), makron_step_left(), makron_step_right(), makron_taunt(), makron_torso(), makronBFG(), MakronPrecache(), medic_cable_attack(), medic_dead(), medic_die(), medic_duck_down(), medic_duck_up(), medic_hook_launch(), medic_hook_retract(), medic_idle(), medic_pain(), medic_search(), medic_sight(), misc_deadsoldier_die(), monster_fire_bfg(), monster_fire_blaster(), monster_fire_bullet(), monster_fire_grenade(), monster_fire_railgun(), monster_fire_rocket(), monster_fire_shotgun(), monster_start(), monster_start_go(), monster_triggered_spawn(), MoveClientToIntermission(), mutant_check_landing(), mutant_dead(), mutant_die(), mutant_hit_left(), mutant_hit_right(), mutant_idle(), mutant_jump_takeoff(), mutant_pain(), mutant_search(), mutant_sight(), mutant_step(), mutant_swing(), P_DamageFeedback(), P_WorldEffects(), parasite_dead(), parasite_die(), parasite_drain_attack(), parasite_launch(), parasite_pain(), parasite_reel_in(), parasite_scratch(), parasite_search(), parasite_sight(), parasite_tap(), plat_go_down(), plat_go_up(), plat_hit_bottom(), plat_hit_top(), plat_spawn_inside_trigger(), player_die(), PlayerNoise(), PM_trace(), point_combat_touch(), PrecacheItem(), PutClientInServer(), read_data(), read_field(), read_index(), read_pointer(), read_string(), read_zstring(), ReadGame(), ReadLevel(), respawn(), rocket_touch(), SelectSpawnPoint(), ServerCommand(), SetItemNames(), SetRespawn(), ShutdownGame(), soldier_cock(), soldier_dead(), soldier_die(), soldier_duck_down(), soldier_duck_up(), soldier_idle(), soldier_pain(), soldier_sight(), SP_func_button(), SP_func_clock(), SP_func_conveyor(), SP_func_door(), SP_func_door_rotating(), SP_func_door_secret(), SP_func_explosive(), SP_func_killbox(), SP_func_object(), SP_func_plat(), SP_func_rotating(), SP_func_timer(), SP_func_train(), SP_func_wall(), SP_func_water(), SP_item_health(), SP_item_health_large(), SP_item_health_mega(), SP_item_health_small(), SP_light(), SP_light_mine1(), SP_light_mine2(), SP_misc_actor(), SP_misc_banner(), SP_misc_bigviper(), SP_misc_blackhole(), SP_misc_deadsoldier(), SP_misc_easterchick(), SP_misc_easterchick2(), SP_misc_eastertank(), SP_misc_explobox(), SP_misc_gib_arm(), SP_misc_gib_head(), SP_misc_gib_leg(), SP_misc_insane(), SP_misc_satellite_dish(), SP_misc_strogg_ship(), SP_misc_teleporter(), SP_misc_teleporter_dest(), SP_misc_viper(), SP_misc_viper_bomb(), SP_monster_berserk(), SP_monster_boss2(), SP_monster_boss3_stand(), SP_monster_brain(), SP_monster_chick(), SP_monster_commander_body(), SP_monster_flipper(), SP_monster_floater(), SP_monster_flyer(), SP_monster_gladiator(), SP_monster_gunner(), SP_monster_hover(), SP_monster_infantry(), SP_monster_jorg(), SP_monster_makron(), SP_monster_medic(), SP_monster_mutant(), SP_monster_parasite(), SP_monster_soldier(), SP_monster_soldier_light(), SP_monster_soldier_ss(), SP_monster_soldier_x(), SP_monster_supertank(), SP_monster_tank(), SP_path_corner(), SP_point_combat(), SP_target_actor(), SP_target_blaster(), SP_target_changelevel(), SP_target_character(), SP_target_earthquake(), SP_target_goal(), SP_target_help(), SP_target_lightramp(), SP_target_secret(), SP_target_speaker(), SP_trigger_gravity(), SP_trigger_hurt(), SP_trigger_key(), SP_trigger_multiple(), SP_trigger_once(), SP_trigger_push(), SP_turret_base(), SP_turret_breach(), SP_turret_driver(), SP_viewthing(), SP_worldspawn(), SpawnDamage(), SpawnEntities(), SpawnItem(), spectator_respawn(), StringToFilter(), supertank_dead(), supertank_die(), supertank_pain(), supertank_search(), SV_CalcBlend(), SV_FlyMove(), SV_movestep(), SV_Physics_Noclip(), SV_Physics_Pusher(), SV_Physics_Step(), SV_Physics_Toss(), SV_Push(), SV_PushEntity(), SV_RunThink(), SV_StepDirection(), SV_TestEntityPosition(), SVCmd_AddIP_f(), SVCmd_ListIP_f(), SVCmd_RemoveIP_f(), Svcmd_Test_f(), SVCmd_WriteIP_f(), T_Damage(), tank_dead(), tank_die(), tank_footstep(), tank_idle(), tank_pain(), tank_sight(), tank_thud(), tank_windup(), TankStrike(), target_actor_touch(), target_earthquake_think(), target_explosion_explode(), target_laser_start(), target_laser_think(), target_lightramp_think(), target_lightramp_use(), teleporter_touch(), Think_SpawnDoorTrigger(), ThrowClientHead(), ThrowDebris(), ThrowGib(), ThrowHead(), Touch_Item(), train_next(), train_wait(), TreadSound(), trigger_counter_use(), trigger_elevator_init(), trigger_elevator_use(), trigger_enable(), trigger_key_use(), trigger_push_touch(), turret_breach_finish_init(), turret_breach_fire(), UpdateChaseCam(), Use_Areaportal(), Use_Boss3(), Use_Invulnerability(), Use_Item(), Use_PowerArmor(), Use_Quad(), use_target_blaster(), use_target_changelevel(), use_target_goal(), use_target_secret(), use_target_spawner(), Use_Target_Speaker(), use_target_splash(), Use_Target_Tent(), Use_Weapon(), visible(), walkmonster_start_go(), weapon_bfg_fire(), weapon_flaregun_fire(), Weapon_Generic(), Weapon_Grenade(), weapon_grenadelauncher_fire(), Weapon_HyperBlaster_Fire(), weapon_railgun_fire(), Weapon_RocketLauncher_Fire(), weapon_shotgun_fire(), weapon_supershotgun_fire(), write_data(), write_field(), write_index(), write_pointer(), WriteGame(), and WriteLevel().
game_export_t globals |
Definition at line 24 of file g_main.c.
Referenced by findradius(), G_Find(), G_FindTeams(), G_RunFrame(), G_Spawn(), GetGameAPI(), InitGame(), ReadGame(), ReadLevel(), SpawnEntities(), SV_Push(), target_earthquake_think(), and WriteLevel().
cvar_t* gun_x |
Definition at line 56 of file g_main.c.
Referenced by InitGame(), and SV_CalcGunOffset().
cvar_t* gun_y |
Definition at line 57 of file g_main.c.
Referenced by InitGame().
cvar_t* gun_z |
Definition at line 58 of file g_main.c.
Referenced by InitGame().
level_locals_t level |
Definition at line 22 of file g_main.c.
Referenced by actor_attack(), actor_fire(), actor_pain(), actor_run(), actor_stand(), ai_checkattack(), ai_run(), AI_SetSightClient(), ai_stand(), ai_walk(), AngleMove_Begin(), AngleMove_Calc(), AngleMove_Final(), AttackFinished(), barrel_delay(), BeginIntermission(), berserk_pain(), bfg_explode(), bfg_think(), bfg_touch(), Boss2_CheckAttack(), boss2_pain(), BossExplode(), brain_dodge(), brain_duck_hold(), brain_pain(), buddy_allocator_allocate(), buddy_allocator_free(), button_wait(), Chaingun_Fire(), ChangeWeapon(), CheckDMRules(), CheckPowerArmor(), chick_duck_down(), chick_duck_hold(), chick_pain(), CL_ParsePrint(), ClientBegin(), ClientBeginDeathmatch(), ClientBeginServerFrame(), ClientCommand(), ClientEndServerFrame(), ClientThink(), Cmd_Kill_f(), Cmd_PlayerList_f(), Cmd_Say_f(), commander_body_think(), commander_body_use(), CopyToBodyQue(), CreateTargetChangeLevel(), DeathmatchScoreboardMessage(), door_go_up(), door_hit_top(), door_secret_blocked(), door_secret_move1(), door_secret_move3(), door_secret_move5(), door_touch(), Drop_Item(), drop_make_touchable(), droptofloor(), EndDMLevel(), ExitLevel(), FindTarget(), finish_download(), fire_bfg(), fire_blaster(), fire_flaregun(), fire_grenade(), fire_grenade2(), fire_rocket(), flare_sparks(), flare_think(), flipper_pain(), floater_pain(), flyer_pain(), FoundTarget(), func_clock_think(), func_timer_think(), func_timer_use(), func_train_find(), G_FreeEdict(), G_RunFrame(), G_SetClientEffects(), G_SetClientSound(), G_SetSpectatorStats(), G_SetStats(), G_Spawn(), G_UseTargets(), get_level_offset(), gib_think(), gib_touch(), gladiator_pain(), gunner_duck_down(), gunner_duck_hold(), gunner_pain(), HelpComputer(), hover_dead(), hover_deadthink(), hover_pain(), hurt_touch(), infantry_cock_gun(), infantry_duck_down(), infantry_duck_hold(), infantry_fire(), infantry_pain(), InitBodyQue(), InitClientResp(), insane_pain(), Jorg_CheckAttack(), jorg_pain(), Killed(), M_CheckAttack(), M_FliesOn(), M_FlyCheck(), M_MoveFrame(), M_SetEffects(), M_WorldEffects(), Machinegun_Fire(), Makron_CheckAttack(), makron_pain(), makron_torso(), makron_torso_think(), MakronSpawn(), MakronToss(), medic_cable_attack(), medic_duck_down(), medic_duck_hold(), medic_pain(), MegaHealth_think(), merge_blocks(), misc_banner_think(), misc_blackhole_think(), misc_easterchick2_think(), misc_easterchick_think(), misc_eastertank_think(), misc_satellite_dish_think(), misc_satellite_dish_use(), misc_viper_bomb_prethink(), misc_viper_bomb_use(), monster_start(), monster_start_go(), monster_triggered_spawn(), monster_triggered_spawn_use(), Move_Begin(), Move_Calc(), Move_Final(), MoveClientToIntermission(), multi_trigger(), mutant_check_landing(), mutant_jump_takeoff(), mutant_pain(), MVD_BroadcastPrintf(), MVD_ParsePrint(), MVD_UnicastPrint(), os_getsockopt(), os_setsockopt(), P_DamageFeedback(), P_FallingDamage(), P_WorldEffects(), parasite_pain(), path_corner_touch(), PF_bprintf(), PF_cprintf(), Pickup_Health(), Pickup_Powerup(), plat_hit_top(), player_die(), PlayerNoise(), PlayerTrail_Add(), point_combat_touch(), PutClientInServer(), ReadLevel(), remove_block_from_free_list(), respawn(), S_Activate(), SetRespawn(), soldier_attack3_refire(), soldier_dodge(), soldier_duck_down(), soldier_duck_hold(), soldier_fire(), soldier_pain(), SP_CreateCoopSpots(), SP_func_clock(), SP_func_door(), SP_func_door_rotating(), SP_func_object(), SP_func_timer(), SP_func_train(), SP_info_player_coop(), SP_info_player_start(), SP_misc_banner(), SP_misc_blackhole(), SP_misc_easterchick(), SP_misc_easterchick2(), SP_misc_eastertank(), SP_misc_explobox(), SP_misc_gib_arm(), SP_misc_gib_head(), SP_misc_gib_leg(), SP_misc_strogg_ship(), SP_misc_viper(), SP_monster_boss3_stand(), SP_monster_commander_body(), SP_monster_flyer(), SP_target_changelevel(), SP_target_crosslevel_target(), SP_target_goal(), SP_target_laser(), SP_target_secret(), SP_trigger_elevator(), SP_turret_breach(), SP_turret_driver(), SP_viewthing(), SP_worldspawn(), SpawnEntities(), SpawnItem(), spectator_respawn(), supertank_pain(), SV_BroadcastPrintf(), SV_CalcBlend(), SV_CalcViewOffset(), SV_ClientPrintf(), SV_MvdBroadcastPrint(), SV_RunThink(), T_Damage(), tank_attack(), tank_pain(), target_actor_touch(), target_earthquake_think(), target_earthquake_use(), target_laser_think(), target_lightramp_think(), target_lightramp_use(), TH_viewthing(), Think_AccelMove(), Think_Boss3Stand(), Think_Weapon(), ThrowDebris(), ThrowGib(), ThrowHead(), TossClientWeapon(), Touch_DoorTrigger(), Touch_Item(), Touch_Plat_Center(), train_blocked(), train_wait(), trigger_key_use(), trigger_push_touch(), turret_breach_think(), turret_driver_link(), turret_driver_think(), Use_Breather(), Use_Envirosuit(), Use_Invulnerability(), Use_Quad(), use_target_changelevel(), use_target_explosion(), use_target_goal(), use_target_secret(), walkmonster_start_go(), weapon_bfg_fire(), Weapon_Generic(), Weapon_Grenade(), weapon_grenade_fire(), Weapon_HyperBlaster_Fire(), write_free_block_to_list(), and WriteLevel().
cvar_t* maxclients |
Definition at line 42 of file g_main.c.
Referenced by BeginIntermission(), ChaseNext(), ChasePrev(), CheckDMRules(), ClientConnect(), ClientEndServerFrames(), ClientThink(), Cmd_PlayerList_f(), Cmd_Players_f(), ExitLevel(), G_CheckChaseStats(), G_FreeEdict(), GetChaseTarget(), InitGame(), MVD_AutoFollow_f(), MVD_MostFollowed(), MVD_PlayerToEntityStates(), MVD_SetPlayer(), MVD_UpdateConfigstring(), PlayersRangeFromSpot(), ReadGame(), ReadLevel(), SP_worldspawn(), spectator_respawn(), SV_EmitPacketEntities(), and UI_StatusEvent().
cvar_t* maxentities |
Definition at line 44 of file g_main.c.
Referenced by InitGame().
cvar_t* maxspectators |
Definition at line 43 of file g_main.c.
Referenced by ClientConnect(), InitGame(), and spectator_respawn().
int meansOfDeath |
Definition at line 29 of file g_main.c.
Referenced by ClientObituary(), Cmd_Kill_f(), and T_Damage().
cvar_t* needpass |
Definition at line 41 of file g_main.c.
Referenced by InitGame().
cvar_t* nomonsters |
Definition at line 47 of file g_main.c.
Referenced by InitGame(), and SpawnEntities().
cvar_t* password |
Definition at line 39 of file g_main.c.
Referenced by auth_client(), CheckNeedPass(), ClientConnect(), InitGame(), MVD_Connect_f(), parse_hello(), and spectator_respawn().
cvar_t* run_pitch |
Definition at line 60 of file g_main.c.
Referenced by InitGame(), and SV_CalcViewOffset().
cvar_t* run_roll |
Definition at line 61 of file g_main.c.
Referenced by InitGame(), and SV_CalcViewOffset().
cvar_t* skill |
Definition at line 36 of file g_main.c.
Referenced by berserk_pain(), brain_pain(), brain_tentacle_attack(), check_dodge(), chick_pain(), flipper_pain(), floater_pain(), flyer_pain(), gladiator_pain(), gunner_duck_down(), gunner_pain(), HelpComputer(), hover_pain(), infantry_pain(), InitGame(), insane_pain(), jorg_pain(), M_CheckAttack(), makron_pain(), medic_pain(), mutant_check_refire(), mutant_pain(), parasite_pain(), Pickup_Powerup(), soldier_attack1_refire1(), soldier_attack1_refire2(), soldier_attack2_refire1(), soldier_attack2_refire2(), soldier_attack6_refire(), soldier_dodge(), soldier_pain(), soldier_sight(), SpawnEntities(), supertank_pain(), T_Damage(), tank_pain(), tank_reattack_blaster(), tank_refire_rocket(), turret_breach_fire(), and turret_driver_think().
int sm_meat_index |
Definition at line 27 of file g_main.c.
Referenced by gib_touch(), and SP_worldspawn().
int snd_fry |
Definition at line 28 of file g_main.c.
Referenced by G_SetClientSound(), and SP_worldspawn().
cvar_t* spectator_password |
Definition at line 40 of file g_main.c.
Referenced by CheckNeedPass(), ClientConnect(), InitGame(), and spectator_respawn().
spawn_temp_t st |
Definition at line 25 of file g_main.c.
Referenced by Cmd_PlayerList_f(), ED_ParseEdict(), get_fp_info(), get_path_info(), monster_start(), plat_spawn_inside_trigger(), SP_func_button(), SP_func_door(), SP_func_door_rotating(), SP_func_plat(), SP_func_timer(), SP_func_train(), SP_func_water(), SP_target_actor(), SP_target_goal(), SP_target_secret(), SP_target_speaker(), SP_trigger_gravity(), SP_trigger_key(), SP_trigger_monsterjump(), SP_turret_breach(), SP_turret_driver(), and SP_worldspawn().
cvar_t* sv_cheats |
Definition at line 66 of file g_main.c.
Referenced by Cmd_Give_f(), Cmd_God_f(), Cmd_Noclip_f(), Cmd_Notarget_f(), and InitGame().
cvar_t* sv_features |
Definition at line 74 of file g_main.c.
Referenced by InitGame().
cvar_t* sv_flaregun |
Definition at line 76 of file g_main.c.
Referenced by InitClientPersistant(), and InitGame().
cvar_t* sv_gravity |
Definition at line 52 of file g_main.c.
Referenced by ClientThink(), InitGame(), SV_AddGravity(), and SV_Physics_Step().
cvar_t* sv_maplist |
Definition at line 72 of file g_main.c.
Referenced by EndDMLevel(), and InitGame().
cvar_t* sv_maxvelocity |
Definition at line 51 of file g_main.c.
Referenced by InitGame(), and SV_CheckVelocity().
cvar_t* sv_rollangle |
Definition at line 55 of file g_main.c.
Referenced by InitGame(), and SV_CalcRoll().
cvar_t* sv_rollspeed |
Definition at line 54 of file g_main.c.
Referenced by InitGame(), and SV_CalcRoll().
cvar_t* timelimit |
Definition at line 38 of file g_main.c.
Referenced by CheckDMRules(), and InitGame().