|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Macros | |
| #define | EFMASK_CHEAP (EF_ADDITIVE | EF_DOUBLESIDED | EF_FULLBRIGHT | EF_NODEPTHTEST | EF_NODRAW | EF_NOGUNBOB | EF_NOSHADOW | EF_LOWPRECISION | EF_SELECTABLE | EF_TELEPORT_BIT) |
| #define EFMASK_CHEAP (EF_ADDITIVE | EF_DOUBLESIDED | EF_FULLBRIGHT | EF_NODEPTHTEST | EF_NODRAW | EF_NOGUNBOB | EF_NOSHADOW | EF_LOWPRECISION | EF_SELECTABLE | EF_TELEPORT_BIT) |
Definition at line 107 of file constants.qh.
Referenced by buffs_BuffModel_Think(), CL_ExteriorWeaponentity_Think(), SpectateCopy(), and viewmodel_draw().
Definition at line 11 of file constants.qh.
Definition at line 12 of file constants.qh.
Definition at line 10 of file constants.qh.
| const int EF_SHOCK = 262144 |
Definition at line 103 of file constants.qh.
Referenced by CSQCModel_Effects_Apply(), DEF(), and SUB().
| const int FL_CLIENT = 8 |
Definition at line 72 of file constants.qh.
Referenced by ClientConnect(), ClientDisconnect(), find_bot_by_number(), ObserverOrSpectatorThink(), PutObserverInServer(), and PutPlayerInServer().
Definition at line 89 of file constants.qh.
Referenced by CSQCModel_Hook_PreDraw(), CSQCPlayer_SetCamera(), and viewloc_PlayerPhysics().
| const int FL_FLY = 1 |
Definition at line 70 of file constants.qh.
Referenced by Monster_CheckDanger(), Monster_Dead(), Monster_Move(), Monster_Spawn(), and Monster_WanderTarget().
| const int FL_GODMODE = 64 |
Definition at line 75 of file constants.qh.
Referenced by bot_think(), CheatCommand(), Damage(), instagib_ammocheck(), PlayerDamage(), and PlayerFrame().
| const int FL_INWATER = 16 |
Definition at line 73 of file constants.qh.
Referenced by CreatureFrame_Liquids().
| const int FL_ITEM = 256 |
Definition at line 77 of file constants.qh.
Referenced by buff_Init(), ctf_FlagSetup(), ctf_Handle_Throw(), ctf_RespawnFlag(), dom_controlpoint_setup(), Drag_Finish(), DropToFloor_QC(), ka_SpawnBalls(), kh_Key_Detach(), NET_HANDLE(), StartItem(), tka_SpawnBalls(), and W_Porto_Fail().
| const int FL_JUMPRELEASED = 4096 |
Definition at line 81 of file constants.qh.
Referenced by ObserverOrSpectatorThink().
| const int FL_MONSTER = 32 |
Definition at line 74 of file constants.qh.
Referenced by _Movetype_ContentsMask(), Monster_Appear_Check(), and Monster_Spawn().
| const int FL_NOTARGET = 128 |
Definition at line 76 of file constants.qh.
Referenced by bot_shouldattack(), CheatCommand(), ctf_FlagSetup(), ctf_Handle_Throw(), ctf_RespawnFlag(), hk_is_valid_target(), Monster_Enemy_Check(), Monster_ValidTarget(), ObserverOrSpectatorThink(), PutObserverInServer(), PutPlayerInServer(), spawnfunc(), turret_projectile(), turret_validate_target(), vehicles_enter(), vehicles_exit(), vehicles_projectile(), and vehicles_spawn().
| const int FL_ONGROUND = 512 |
Definition at line 78 of file constants.qh.
Referenced by CSQCPlayer_SetCamera(), Movetype_Physics_MatchTicrate(), Projectile_Draw(), and WarpZone_TeleportPlayer().
Definition at line 90 of file constants.qh.
| const int FL_PARTIALGROUND = 1024 |
Definition at line 79 of file constants.qh.
Referenced by navigation_routerating().
Definition at line 88 of file constants.qh.
Referenced by Item_Touch(), and PutPlayerInServer().
Definition at line 84 of file constants.qh.
Definition at line 85 of file constants.qh.
Referenced by CreatureFrame_FallDamage(), CreatureFrame_hotliquids(), door_trigger_touch(), FireGrapplingHook(), GrapplingHookThink(), hk_is_valid_target(), isPushable(), jumppad_push(), M_Golem_Attack_Lightning(), M_Mage_Attack_Spike(), M_Spider_Attack_Web(), MUTATOR_HOOKFUNCTION(), nade_napalm_ball(), nade_napalm_boom(), NET_HANDLE(), reset_map(), toss_nade(), turret_projectile(), turret_targetscore_generic(), turret_validate_target(), vehicles_projectile(), W_Arc_Attack_Bolt(), W_Blaster_Attack(), W_Blaster_Touch(), W_Crylink_Attack(), W_Crylink_Attack2(), W_Devastator_Attack(), W_Electro_Attack_Bolt(), W_Electro_Attack_Orb(), W_Fireball_Attack1(), W_Fireball_Attack2(), W_Hagar_Attack(), W_Hagar_Attack2(), W_Hagar_Attack2_Load_Release(), W_HLAC_Attack(), W_HLAC_Attack2(), W_Hook_Attack2(), W_MineLayer_Attack(), W_Mortar_Attack(), W_Mortar_Attack2(), W_Nexball_Attack2(), W_OverkillRocketPropelledChainsaw_Attack(), W_Porto_Attack(), W_RocketMinsta_Attack(), W_Seeker_Fire_Flac(), W_Seeker_Fire_Missile(), W_Seeker_Fire_Tag(), walker_fire_rocket(), and WarpZone_PostTeleportPlayer_Callback().
Definition at line 87 of file constants.qh.
Referenced by ObserverOrSpectatorThink().
| const int FL_SWIM = 2 |
Definition at line 71 of file constants.qh.
Referenced by Monster_CheckDanger(), Monster_Dead(), Monster_Move(), Monster_Spawn(), and Monster_WanderTarget().
Definition at line 86 of file constants.qh.
Referenced by W_ThrowNewWeapon().
| const int FL_WATERJUMP = 2048 |
Definition at line 80 of file constants.qh.
Referenced by _Movetype_FlyMove(), _Movetype_Physics_Walk(), CheckWaterJump(), and sys_phys_update().
Definition at line 83 of file constants.qh.
| const int FRAGS_PLAYER = 0 |
Definition at line 3 of file constants.qh.
Referenced by lms_RemovePlayer(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), PutPlayerInServer(), and WinningCondition_LMS().
| const int FRAGS_PLAYER_OUT_OF_GAME = -616 |
Definition at line 5 of file constants.qh.
Referenced by ca_isEliminated(), entcs_GetSpecState(), lms_RemovePlayer(), lms_UpdateLeaders(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and surv_isEliminated().
| const int FRAGS_SPECTATOR = -666 |
Definition at line 4 of file constants.qh.
Referenced by Damage(), entcs_GetSpecState(), Heal(), lms_RemovePlayer(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), PlayerScore_Sort(), PutObserverInServer(), PutPlayerInServer(), SetPlayerTeam(), and XonoticPlayerList_drawListBoxItem().
| const int GTV_AVAILABLE = 1 |
Definition at line 64 of file constants.qh.
Referenced by GameTypeVote_AvailabilityStatus(), GameTypeVote_DrawGameTypeItem(), GameTypeVote_SendOption(), GameTypeVote_Start(), MapVote_AddVotable(), MapVote_CheckRules_count(), MapVote_CheckRules_decide(), MapVote_DrawMapItem(), MapVote_DrawSuggester(), MapVote_Finished(), MapVote_FormatMapItem(), MapVote_MoveDown(), MapVote_MoveLeft(), MapVote_MoveRight(), MapVote_MoveUp(), MapVote_ranked_cmp(), MapVote_ReadMask(), MapVote_ReadOption(), MapVote_RGB(), MapVote_SendEntity(), MapVote_Tick(), MapVote_UpdateVotes(), and MapVote_WriteMask().
| const int GTV_CUSTOM = 2 |
Definition at line 65 of file constants.qh.
Referenced by GameTypeVote_AvailabilityStatus(), GameTypeVote_Finished(), GameTypeVote_ReadOption(), and GameTypeVote_SendOption().
| const int GTV_FORBIDDEN = 0 |
Definition at line 63 of file constants.qh.
Referenced by GameTypeVote_AvailabilityStatus().
| const int HUD_BUMBLEBEE_GUN = 25 |
Definition at line 48 of file constants.qh.
Referenced by HUD_Crosshair_Vehicle(), HUD_Vehicle(), NET_HANDLE(), and View_EventChase().
| const int HUD_NORMAL = 0 |
Definition at line 47 of file constants.qh.
Referenced by bumblebee_gunner_exit(), crosshair_getcolor(), CSQCVehicleSetup(), DrawReticle(), HUD_Ammo(), HUD_Crosshair(), HUD_HealthArmor(), HUD_Vehicle(), HUD_Weapons(), IsZooming(), NET_HANDLE(), PutObserverInServer(), PutPlayerInServer(), sys_phys_override(), turret_draw2d(), vehicles_exit(), and View_EventChase().
| const int INITPRIO_DROPTOFLOOR = 20 |
Definition at line 97 of file constants.qh.
Referenced by DropToFloor_QC_DelayedInit(), g_clientmodel_init(), and g_model_init().
| const int INITPRIO_FINDTARGET = 10 |
Definition at line 96 of file constants.qh.
Referenced by buffs_Initialize(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), readplayerstartcvars(), relocate_spawnpoint(), SetBrushEntityModel(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), StartItem(), target_checkpoint_setup(), and turret_initialize().
| const int INITPRIO_FIRST = 0 |
Definition at line 93 of file constants.qh.
| const int INITPRIO_GAMETYPE = 0 |
Definition at line 94 of file constants.qh.
Referenced by ctf_Initialize(), dom_Initialize(), invasion_Initialize(), nb_Initialize(), ons_Initialize(), tdm_Initialize(), and tmayhem_Initialize().
| const int INITPRIO_GAMETYPE_FALLBACK = 1 |
Definition at line 95 of file constants.qh.
Referenced by InitGameplayMode().
| const int INITPRIO_LAST = 99 |
Definition at line 100 of file constants.qh.
Referenced by spawnfunc().
| const int INITPRIO_LINKDOORS = 91 |
Definition at line 99 of file constants.qh.
Referenced by spawnfunc(), and spawnfunc().
| const int INITPRIO_SETLOCATION = 90 |
Definition at line 98 of file constants.qh.
Referenced by ctf_FlagSetup(), ons_ControlPoint_Setup(), ons_GeneratorSetup(), REGISTER_MUTATOR(), spawnfunc(), and spawnfunc().
Definition at line 41 of file constants.qh.
Referenced by GetPressedKeys(), HUD_PressedKeys(), and PM_dodging_GetPressedKeys().
Definition at line 42 of file constants.qh.
Referenced by GetPressedKeys(), HUD_PressedKeys(), and PM_dodging_GetPressedKeys().
Definition at line 36 of file constants.qh.
Referenced by GetPressedKeys(), HUD_PressedKeys(), PM_dodging_GetPressedKeys(), StrafeHUD_DetermineForwardKeys(), and StrafeHUD_DetermineWishAngle().
Definition at line 40 of file constants.qh.
Referenced by GetPressedKeys(), HUD_PressedKeys(), and PM_dodging_GetPressedKeys().
Definition at line 35 of file constants.qh.
Referenced by GetPressedKeys(), HUD_PressedKeys(), PM_dodging_GetPressedKeys(), StrafeHUD_DetermineForwardKeys(), and StrafeHUD_DetermineWishAngle().
Definition at line 39 of file constants.qh.
Referenced by GetPressedKeys(), HUD_PressedKeys(), PM_dodging_GetPressedKeys(), and StrafeHUD_DetermineJumpHeld().
Definition at line 37 of file constants.qh.
Referenced by GetPressedKeys(), HUD_PressedKeys(), PM_dodging_GetPressedKeys(), and StrafeHUD_DetermineWishAngle().
Definition at line 38 of file constants.qh.
Referenced by GetPressedKeys(), HUD_PressedKeys(), PM_dodging_GetPressedKeys(), and StrafeHUD_DetermineWishAngle().
| const int MAPVOTE_COUNT = 20 |
Definition at line 52 of file constants.qh.
Referenced by GameTypeVote_GetMask(), GameTypeVote_Start(), MapVote_Init(), and MapVote_Suggest().
| const float PL_CORPSE_SCALE = 0.235 |
Definition at line 60 of file constants.qh.
Referenced by CSQCPlayer_SetMinsMaxs(), and EndFrame().
| const vector PL_CROUCH_MAX_CONST = '16 16 25' |
Definition at line 57 of file constants.qh.
Referenced by spawnfunc(), waypoint_spawn(), and waypoint_think().
| const vector PL_CROUCH_MIN_CONST = '-16 -16 -24' |
Definition at line 58 of file constants.qh.
Referenced by spawnfunc(), waypoint_spawn(), and waypoint_think().
| const vector PL_MAX_CONST = '16 16 45' |
Definition at line 55 of file constants.qh.
Referenced by botframe_autowaypoints_fixdown(), func_ladder_init(), GameCommand_trace(), havocbot_movetogoal(), nade_translocate_boom(), navigation_checkladders(), navigation_routetogoal(), navigation_waypoint_will_link(), NET_HANDLE(), Portal_FindSafeOrigin(), relocate_spawnpoint(), set_tracewalk_dest(), spawnfunc(), target_checkpoint_setup(), teleport_findtarget(), trigger_push_get_push_time(), trigger_push_test(), vehicles_findgoodexit(), WarpZone_PostInitialize_Callback(), waypoint_fixorigin_down_dir(), waypoint_spawn(), waypoint_spawn_fromeditor(), waypoint_spawnforteleporter(), waypoint_think(), and waypoint_unreachable().
| const vector PL_MIN_CONST = '-16 -16 -24' |
Definition at line 56 of file constants.qh.
Referenced by botframe_autowaypoints_fixdown(), func_ladder_init(), GameCommand_trace(), havocbot_movetogoal(), nade_translocate_boom(), navigation_checkladders(), navigation_routetogoal(), navigation_waypoint_will_link(), NET_HANDLE(), Portal_FindSafeOrigin(), relocate_spawnpoint(), set_tracewalk_dest(), spawnfunc(), target_checkpoint_setup(), teleport_findtarget(), trigger_push_get_push_time(), trigger_push_get_start_point(), trigger_push_test(), vehicles_findgoodexit(), W_Porto_Touch(), WarpZone_PostInitialize_Callback(), waypoint_fixorigin_down_dir(), waypoint_spawn(), waypoint_spawn_fromeditor(), waypoint_spawnforteleporter(), waypoint_think(), and waypoint_unreachable().
| const int RANKINGS_CNT = 99 |
Definition at line 31 of file constants.qh.
Referenced by getrankings(), race_CheckName(), race_deleteTime(), race_readPos(), race_send_rankings_cnt(), race_SendAll(), race_setTime(), race_writeTime(), and Scoreboard_Rankings_Draw().
Definition at line 16 of file constants.qh.
Referenced by readlevelcvars(), and View_NightVision().
Definition at line 20 of file constants.qh.
Referenced by HUD_Pickup(), and readlevelcvars().
Definition at line 18 of file constants.qh.
Referenced by HUD_Vote(), PlayerStats_GameReport_Init(), XonoticServerInfoDialog_loadServerInfo(), and XonoticServerList_drawListBoxItem().
Definition at line 19 of file constants.qh.
Referenced by PlayerStats_GameReport_Init(), XonoticServerInfoDialog_loadServerInfo(), and XonoticServerList_drawListBoxItem().
Definition at line 17 of file constants.qh.
Referenced by GameRules_teams().
| const int SPECIES_ALIEN = 2 |
Definition at line 24 of file constants.qh.
Referenced by get_model_parameters(), and species_prefix().
| const int SPECIES_ANIMAL = 3 |
Definition at line 25 of file constants.qh.
Referenced by get_model_parameters(), and species_prefix().
| const int SPECIES_HUMAN = 0 |
Definition at line 22 of file constants.qh.
Referenced by get_model_parameters(), player_getspecies(), and species_prefix().
| const int SPECIES_RESERVED = 15 |
Definition at line 28 of file constants.qh.
Referenced by get_model_parameters(), and species_prefix().
| const int SPECIES_ROBOT_RUSTY = 4 |
Definition at line 26 of file constants.qh.
Referenced by get_model_parameters(), Gib_setmodel(), and species_prefix().
| const int SPECIES_ROBOT_SHINY = 5 |
Definition at line 27 of file constants.qh.
Referenced by get_model_parameters(), Gib_setmodel(), and species_prefix().
| const int SPECIES_ROBOT_SOLID = 1 |
Definition at line 23 of file constants.qh.
Referenced by get_model_parameters(), Gib_setmodel(), and species_prefix().