|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "progname.qh"Go to the source code of this file.
Macros | |
| #define | __SOURCELOC__ (sprintf("^7%s^9(^9%s^7:^9%s^7)\n", __FUNC__, __FILE__, STR(__LINE__))) |
| #define | _assert(f, expr, then) |
| #define | _backtrace() |
| #define | _LOG(func_header, level, func_msg, s) |
| #define | _LOG_DEBUG(s) |
| #define | _LOG_FATAL(s) |
| #define | _LOG_HEADER(level, full) |
| #define | _LOG_HELP(s) |
| #define | _LOG_INFO(s) |
| #define | _LOG_SEVERE(s) |
| #define | _LOG_TRACE(s) |
| #define | _LOG_WARN(s) |
| #define | assert(expr, ...) |
| #define | ASSERT_LESS(name, var, const) |
| #define | assert_once(expr, ...) |
| #define | backtrace(msg) |
| #define | demand(expr, ...) |
| #define | devassert(...) |
| #define | devassert_once(...) |
| #define | devdemand(...) |
| #define | LOG_DEBUG(...) |
| #define | LOG_DEBUGF(...) |
| #define | LOG_FATAL(...) |
| #define | LOG_FATALF(...) |
| #define | LOG_HELP(...) |
| #define | LOG_HELPF(...) |
| #define | LOG_INFO(...) |
| #define | LOG_INFOF(...) |
| #define | LOG_SEVERE(...) |
| #define | LOG_SEVEREF(...) |
| #define | LOG_TRACE(...) |
| #define | LOG_TRACEF(...) |
| #define | LOG_WARN(...) |
| #define | LOG_WARNF(...) |
Functions | |
| void | print_assertfailed_fatal (string expr) |
| void | print_assertfailed_severe (string expr) |
Variables | |
| noref int | autocvar_developer |
| noref bool | autocvar_prvm_backtraceforwarnings |
| #define __SOURCELOC__ (sprintf("^7%s^9(^9%s^7:^9%s^7)\n", __FUNC__, __FILE__, STR(__LINE__))) |
| #define _assert | ( | f, | |
| expr, | |||
| then ) |
| #define _backtrace | ( | ) |
| #define _LOG | ( | func_header, | |
| level, | |||
| func_msg, | |||
| s ) |
Definition at line 47 of file log.qh.
| #define _LOG_DEBUG | ( | s | ) |
| #define _LOG_FATAL | ( | s | ) |
| #define _LOG_HEADER | ( | level, | |
| full ) |
| #define _LOG_HELP | ( | s | ) |
| #define _LOG_INFO | ( | s | ) |
Definition at line 67 of file log.qh.
| #define _LOG_SEVERE | ( | s | ) |
| #define _LOG_TRACE | ( | s | ) |
| #define _LOG_WARN | ( | s | ) |
| #define assert | ( | expr, | |
| ... ) |
Definition at line 8 of file log.qh.
Referenced by ClientConnect(), ClientData_Send(), ClientDisconnect(), CS(), Draw_ShowNames_All(), entcs_attach(), IL_CONTAINS(), IL_INIT(), IL_POP(), IL_PUSH(), IL_REMOVE(), IL_SHIFT(), IL_UNSHIFT(), LL_POP(), LL_PUSH(), TeamScore_SendEntity(), and WriteByte().
| #define ASSERT_LESS | ( | name, | |
| var, | |||
| const ) |
| #define assert_once | ( | expr, | |
| ... ) |
Definition at line 11 of file log.qh.
Referenced by RegisterTeam().
| #define backtrace | ( | msg | ) |
Definition at line 99 of file log.qh.
Referenced by _GlobalSound(), Deathtype_Name(), EliminatedPlayers_Init(), InitializeEntitiesRun(), Local_Notification(), Mutator_Add(), Mutator_Remove(), NET_HANDLE(), Obituary(), Obituary_SpecialDeath(), Portal_TeleportPlayer(), RadiusDamageForSource(), round_handler_Spawn(), SurvivalStatuses_Init(), trigger_gravity_remove(), W_DecreaseAmmo(), waypoint_spawn(), WaypointSprite_Disown(), and weapon_thinkf().
| #define demand | ( | expr, | |
| ... ) |
| #define devassert | ( | ... | ) |
| #define devassert_once | ( | ... | ) |
| #define devdemand | ( | ... | ) |
| #define LOG_DEBUG | ( | ... | ) |
Definition at line 80 of file log.qh.
Referenced by _Movetype_Physics_ClientFrame(), autoskill(), CampaignPostIntermission(), compressShotOrigin(), havocbot_goalrating_ons_controlpoints_attack(), havocbot_goalrating_ons_generator_attack(), havocbot_role_ons_setrole(), Map_Check(), MapInfo_Get_ByName_NoFallbacks(), MaplistMethod_Iterate(), minigame_autoclean_entity(), MoveToRandomLocationWithinBounds(), navigation_goalrating_end(), navigation_shortenpath(), navigation_unstuck(), NET_HANDLE(), ons_DelayedLinkSetup(), onslaught_updatelinks(), pathlib_astar(), pathlib_makenode_adaptive(), pathlib_walknode(), PlayerStats_GameReport_Handler(), PlayerStats_PlayerBasic(), PlayerStats_PlayerBasic_Handler(), PlayerStats_PlayerDetail(), PlayerStats_PlayerDetail_AddItem(), PlayerStats_PlayerDetail_Handler(), QueuedPlayersReady(), turret_tag_fire_update(), vehicle_initialize(), vehicle_use(), and vehicles_spawn().
| #define LOG_DEBUGF | ( | ... | ) |
Definition at line 81 of file log.qh.
Referenced by _Movetype_UnstickEntity(), CSQCModel_server2csqc(), CSQCPlayer_FallbackFrame(), CTX(), IL_REMOVE(), Maplist_Init(), NET_HANDLE(), PlayerStats_PlayerBasic_CheckUpdate(), and unref().
| #define LOG_FATAL | ( | ... | ) |
Definition at line 53 of file log.qh.
Referenced by CheckEngineExtensions(), draw_ClearClip(), Player_SetForcedTeamIndex(), print_assertfailed_fatal(), PutObserverInServer(), REGISTRY_END(), STATIC_INIT(), TeamBalance_CompareTeams(), TeamBalance_FindBestTeam(), TeamBalance_FindBestTeams(), TeamBalance_GetAllowedTeams(), TeamBalance_GetNumberOfPlayers(), TeamBalance_GetTeamCounts(), and TeamBalance_IsTeamAllowed().
| #define LOG_FATALF | ( | ... | ) |
Definition at line 54 of file log.qh.
Referenced by _impCheck(), _regCheck(), CSQC_Ent_Update(), CSQCPlayer_Unpredict(), db_dump(), Item_Initialise(), STATIC_INIT(), STATIC_INIT_LATE(), Team_GetTeam(), Team_GetTeamFromIndex(), TeamBalance_CompareTeams(), TeamBalance_FindBestTeam(), TeamBalance_GetNumberOfPlayers(), TeamBalance_GetTeamFromIndex(), and TeamBalance_IsTeamAllowed().
| #define LOG_HELP | ( | ... | ) |
Definition at line 85 of file log.qh.
Referenced by BanCommand_ban(), BanCommand_banlist(), BanCommand_kickban(), BanCommand_mute(), BanCommand_playban(), BanCommand_unban(), BanCommand_unmute(), BanCommand_unplayban(), BanCommand_unvoteban(), BanCommand_voteban(), bot_cmdhelp(), bot_list_commands(), ClearCheckpointSplits(), Cmd_Scoreboard_Help(), DumpStats(), GameCommand(), GameCommand(), GameCommand_adminmsg(), GameCommand_allready(), GameCommand_allspec(), GameCommand_animbench(), GameCommand_anticheat(), GameCommand_bbox(), GameCommand_bot_cmd(), GameCommand_cointoss(), GameCommand_database(), GameCommand_defer_clear(), GameCommand_defer_clear_all(), GameCommand_delrec(), GameCommand_effectindexdump(), GameCommand_extendmatchtime(), GameCommand_gametype(), GameCommand_gettaginfo(), GameCommand_gotomap(), GameCommand_lockteams(), GameCommand_make_mapinfo(), GameCommand_moveplayer(), GameCommand_nextmap(), GameCommand_nospectators(), GameCommand_printstats(), GameCommand_radarmap(), GameCommand_reducematchtime(), GameCommand_resetmatch(), GameCommand_setbots(), GameCommand_shuffleteams(), GameCommand_stuffto(), GameCommand_trace(), GameCommand_unlockteams(), GameCommand_warp(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GenericCommand_addtolist(), GenericCommand_maplist(), GenericCommand_nextframe(), GenericCommand_qc_curl(), GenericCommand_removefromlist(), GenericCommand_restartnotifs(), GenericCommand_rpn(), GenericCommand_runtest(), GenericCommand_settemp(), GenericCommand_settemp_restore(), LocalCommand_blurtest(), LocalCommand_boxparticles(), LocalCommand_create_scrshot_ent(), LocalCommand_debugmodel(), LocalCommand_handlevote(), LocalCommand_hud(), LocalCommand_localprint(), LocalCommand_mv_download(), LocalCommand_print_cptimes(), LocalCommand_sendcvar(), RUN_ALL_TESTS(), and write_String_To_File().
| #define LOG_HELPF | ( | ... | ) |
Definition at line 86 of file log.qh.
Referenced by GameCommand_adminmsg(), GameCommand_allready(), GameCommand_allspec(), GameCommand_animbench(), GameCommand_anticheat(), GameCommand_bot_cmd(), GameCommand_cointoss(), GameCommand_database(), GameCommand_defer_clear(), GameCommand_defer_clear_all(), GameCommand_delrec(), GameCommand_extendmatchtime(), GameCommand_gametype(), GameCommand_gettaginfo(), GameCommand_gotomap(), GameCommand_lockteams(), GameCommand_macro_help(), GameCommand_moveplayer(), GameCommand_nospectators(), GameCommand_printstats(), GameCommand_radarmap(), GameCommand_reducematchtime(), GameCommand_resetmatch(), GameCommand_setbots(), GameCommand_shuffleteams(), GameCommand_stuffto(), GameCommand_trace(), GameCommand_unlockteams(), GameCommand_warp(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GenericCommand_macro_help(), LocalCommand_macro_help(), RUN_ALL_TESTS(), and TEST_Run().
| #define LOG_INFO | ( | ... | ) |
Definition at line 65 of file log.qh.
Referenced by _MapInfo_Generate(), _MapInfo_ParseArena(), _mutPrintFail(), Accuracy_LoadLevels(), Ban_Insert(), Ban_View(), BanCommand_kickban(), BanCommand_mute(), BanCommand_playban(), BanCommand_unmute(), BanCommand_unplayban(), BanCommand_unvoteban(), BanCommand_voteban(), bd_close_editor(), bd_load_level(), bd_move(), bd_save_level(), bot_cmd_debug_assert_canfire(), bot_cmd_eval(), bot_cmd_if(), bot_decodecommand(), bot_execute_commands_once(), bot_getplace(), botframe_autowaypoints_fix(), botframe_autowaypoints_fix_from(), CampaignBailout(), CheatImpulse(), Cmd_MapVote_MapDownload(), Cmd_Scoreboard_SetFields(), CommonCommand_editmob(), CSQCPlayer_PredictTo(), Curl_URI_Get_Callback(), GameCommand(), GameCommand_adminmsg(), GameCommand_allready(), GameCommand_allspec(), GameCommand_animbench(), GameCommand_anticheat(), GameCommand_bot_cmd(), GameCommand_database(), GameCommand_defer_clear(), GameCommand_defer_clear_all(), GameCommand_effectindexdump(), GameCommand_gettaginfo(), GameCommand_gotomap(), GameCommand_moveplayer(), GameCommand_printstats(), GameCommand_stuffto(), GameCommand_trace(), GameCommand_warp(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GenericCommand_maplist(), GenericCommand_qc_curl(), GenericCommand_restartnotifs(), GenericCommand_rpn(), GetCvars(), GotoFirstMap(), HUD_Vote(), InitGameplayMode(), LocalCommand_blurtest(), LocalCommand_create_scrshot_ent(), make_mapinfo_Think(), MapInfo_LoadMap(), MapList_LoadMap(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), OnlineBanList_URI_Get_Callback(), PlayerStats_GameReport_Handler(), PlayerStats_PlayerBasic_Handler(), PlayerStats_PlayerDetail_Handler(), Portal_FindSafeOrigin(), Portal_TeleportPlayer(), print_Effect_Index(), QuickMenu_Default(), QuickMenu_Open(), RadarMap_Make(), RedirectionThink(), REGISTER_MUTATOR(), REGISTER_MUTATOR(), relocate_spawnpoint(), RemoveTeam(), rpn_get(), rpn_pop(), rpn_push(), rpn_set(), sandbox_Database_Load(), Say(), GameItem::show(), shuffleteams(), Shutdown(), spawnfunc(), spawnfunc(), SpecialCommand(), StartFrame(), SV_Shutdown(), target_spawn_edit_entity(), teleport_findtarget(), translate_weaponarena(), trigger_disablerelay_use(), UpdateNotification_URI_Get_Callback(), URI_Get_Callback(), url_fclose(), url_multi_fopen(), url_multi_ready(), url_single_fopen(), url_URI_Get_Callback(), viewloc_init(), VoteCommand_checkargs(), W_SetupProjVelocity_Explicit(), W_SetupShot_Dir_ProjectileSize_Range(), WarpZone_InitStep_UpdateTransform(), WarpZone_PostTeleportPlayer_Callback(), WarpZone_Teleport(), waypoint_clear_start_wp_globals(), waypoint_load_hardwiredlinks(), waypoint_loadall(), waypoint_remove_fromeditor(), waypoint_spawn(), waypoint_spawn_fromeditor(), waypoint_start_hardwiredlink(), waypoint_unreachable(), WeaponStats_ready(), and XonoticSkinList_getSkins().
| #define LOG_INFOF | ( | ... | ) |
Definition at line 66 of file log.qh.
Referenced by _Movetype_PushMove(), Ban_MaybeEnforceBan(), BanCommand_ban(), BanCommand_kickban(), BanCommand_mute(), BanCommand_playban(), BanCommand_unmute(), BanCommand_voteban(), BGMScript_InitEntity(), bot_decodecommand(), bot_execute_commands_once(), bot_setnameandstuff(), CheckSendCvars(), Close_Clicked(), Cmd_Scoreboard_SetFields(), Create_Notification_Entity(), Create_Notification_Entity_Annce(), Create_Notification_Entity_Choice(), Create_Notification_Entity_InfoCenter(), Create_Notification_Entity_Multi(), CSQC_Ent_Remove(), CSQC_Ent_Update(), CSQC_Parse_CenterPrint(), CSQC_Parse_Print(), CSQC_Parse_StuffCmd(), CSQC_Parse_TempEntity(), CSQCPlayer_ModelAppearance_PostUpdate(), cvar_settemp(), cvar_settemp_restore(), damage_explosion_calcpush(), Draw_WaypointSprite(), Dump_Notifications(), Dump_Turret_Settings(), Dump_Weapon_Settings(), GameCommand_bbox(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GENERIC_COMMAND(), GenericCommand_addtolist(), GenericCommand_maplist(), GenericCommand_removefromlist(), GenericCommand_restartnotifs(), GenericCommand_settemp(), HUD_Panel_ExportCfg(), LocalCommand_boxparticles(), LocalCommand_handlevote(), LocalCommand_hud(), LocalCommand_localprint(), LocalCommand_mv_download(), LocalCommand_sendcvar(), NET_HANDLE(), PlayerStats_PlayerDetail_CheckUpdate(), PlayerStats_PlayerDetail_Handler(), Process_Notif_Args(), Process_Notif_Line(), QuickMenu_Default(), QuickMenu_Open(), RadiusDamageForSource(), relocate_nexball(), relocate_spawnpoint(), Pickup::show(), SL_ProcessCategoryOverrides(), spawnfunc(), TEST(), turret_draw2d(), URI_Get_Callback(), URI_Get_Callback(), url_URI_Get_Callback(), View_Ortho(), waypoint_loadall(), waypoint_remove_fromeditor(), waypoint_save_links(), waypoint_saveall(), waypoint_spawn_fromeditor(), waypoint_start_hardwiredlink(), and waypoint_unreachable().
| #define LOG_SEVERE | ( | ... | ) |
Definition at line 57 of file log.qh.
Referenced by MapInfo_LoadMapSettings(), print_assertfailed_severe(), Promise_reject(), Promise_resolve(), and REGISTRY_END().
| #define LOG_SEVEREF | ( | ... | ) |
Definition at line 58 of file log.qh.
Referenced by MapInfo_LoadMapSettings(), Net_ClientCommand(), Promise_reject(), and Promise_resolve().
| #define LOG_TRACE | ( | ... | ) |
Definition at line 76 of file log.qh.
Referenced by _MapInfo_FilterGametype(), _MapInfo_Generate(), _MapInfo_Parse_Settemp(), activate_minigame(), Ban_Insert(), bot_aim(), bot_clearqueue(), bumblebee_gunner_enter(), CommonCommand_timein(), CSQCModel_AutoTagIndex_Apply(), ctf_DelayedInit(), ctf_FlagThink(), ctf_Handle_Pickup(), cvar_settemp(), DistributeEvenly_Init(), dom_DelayedInit(), draw_Text(), end_minigame(), ewheel_findtarget(), GameCommand_adminmsg(), GenericCommand_settemp(), GenericCommand_settemp_restore(), havocbot_chooserole(), havocbot_moveto(), havocbot_movetogoal(), havocbot_role_ctf_setrole(), havocbot_role_ft_freeing(), havocbot_role_ft_offense(), havocbot_role_kh_carrier(), havocbot_role_kh_defense(), havocbot_role_kh_freelancer(), havocbot_role_kh_offense(), HUD_Main(), invasion_SpawnChosenMonster(), Item_FindTeam(), ItemSend(), LinkDoors(), m_keydown(), m_keyup(), MapHasRightSize(), MaplistMethod_Iterate(), MaplistMethod_Random(), MaplistMethod_Repeat(), MapReadSizes(), minigame_read_owner(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nb_spawnteam(), NET_HANDLE(), nmm_server_event(), OnlineBanList_URI_Get_Callback(), pathlib_astar(), pathlib_close_node(), pathlib_expandnode_star(), pathlib_walknode(), pathlib_waypointpath(), pathlib_waypointpath_step(), PlayerJump(), prandom(), psrandom(), REGISTER_MUTATOR(), ResetBall(), Shutdown(), skeleton_loadinfo(), Spawn_Score(), start_minigame(), STATIC_INIT(), SUB_NoImpactCheck(), superspec_save_client_conf(), tdm_DelayedInit(), tmayhem_DelayedInit(), tracebox_inverted(), turret_checkpoint_init(), turret_findtarget(), turret_use(), turret_validate_target(), updateConwidths(), UpdateNotification_URI_Get_Callback(), vehicles_exit(), viewloc_SetViewLocation(), W_Reload(), walker_findtarget(), WarpZone_Touch(), WarpZone_TraceBox_ThroughZone(), WarpZone_TraceToss_ThroughZone(), WarpZoneLib_BoxTouchesBrush_Recurse(), waypoint_load_hardwiredlinks(), waypoint_load_links(), waypoint_loadall(), waypoint_save_hardwiredlinks(), waypoint_spawn(), WinningCondition_LMS(), XonoticResolutionSlider_loadResolutions(), and XonoticStatsList_getStats().
| #define LOG_TRACEF | ( | ... | ) |
Definition at line 77 of file log.qh.
Referenced by CategoryForEntry(), CSQC_Init(), Curl_URI_Get_Callback(), ItemSetModel(), Label_recalcPositionWithText(), LoadPlayerSounds(), m_init(), MapReadSizes(), Mutator_Add(), Mutator_Remove(), Obituary_WeaponDeath(), profile(), SetTeam(), STATIC_INIT(), SUB_NoImpactCheck(), sys_phys_land(), and UpdateNotification_URI_Get_Callback().
| #define LOG_WARN | ( | ... | ) |
Definition at line 61 of file log.qh.
Referenced by _MapInfo_Generate(), _MapInfo_Parse_Settemp(), CheckEngineExtensions(), CSQC_Ent_Remove(), DropToFloor_QC(), IL_INIT(), MapInfo_Get_ByName_NoFallbacks(), Net_LinkEntity(), PlayerScore_Add(), PlayerScore_Set(), PRECACHE(), Send_Notification(), spawnfunc(), spawnfunc(), and updateCompression().
| #define LOG_WARNF | ( | ... | ) |
Definition at line 62 of file log.qh.
Referenced by _MapInfo_Map_ApplyGametypeEx(), _Sound_fixpath(), CL_WeaponEntity_SetModel(), Create_Notification_Entity_InfoCenter(), db_save(), defrag_waypointsprites(), DropToFloor_QC(), Get_Notif_BroadcastName(), Get_Notif_Ent(), Get_Notif_TypeName(), GetAmmoItem(), GetAmmoResource(), GetField_fullspawndata(), ItemSetModel(), Kill_Notification(), LoadPlayerSounds(), Local_Notification(), Duel::m_isForcedSupported(), MapInfo_LoadMapSettings(), MapInfo_Type_FromString(), Model::model_precache(), MX_Messages_(), MX_Sync_(), Net_ClientCommand(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), PrecachePlayerSounds(), QuickMenu_Open(), QuickMenu_Page_Load(), RandomItems_GetItemReplacementClassNames(), RandomItems_GetRandomInstagibItemClassName(), RandomItems_GetRandomItemClassNameWithProperty(), RandomItems_GetRandomOverkillItemClassName(), RandomItems_GetRandomVanillaItemClassName(), Send_Notification(), StartItem(), and W_WeaponFrame().
Definition at line 112 of file log.qh.
References LOG_SEVERE.
| noref int autocvar_developer |
Definition at line 96 of file log.qh.
Referenced by DebugPrintToChat(), DebugPrintToChatAll(), DebugPrintToChatTeam(), Shutdown(), STATIC_INIT(), and waypoint_spawn().