From: Mario Date: Sat, 24 Jan 2015 11:32:53 +0000 (+1100) Subject: Begin fixing the monster (only 700 more lines to go, yay) X-Git-Tag: xonotic-v0.8.1~133^2~39 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=970990eef261aa17d785b0b40c188bd787a64999;p=xonotic%2Fxonotic-data.pk3dir.git Begin fixing the monster (only 700 more lines to go, yay) --- diff --git a/qcsrc/server/autocvars.qh b/qcsrc/server/autocvars.qh index 168045bd0..648d11297 100644 --- a/qcsrc/server/autocvars.qh +++ b/qcsrc/server/autocvars.qh @@ -1,9 +1,9 @@ -float autocvar__notarget; -float autocvar__independent_players; -float autocvar__campaign_testrun; -float autocvar__campaign_index; +bool autocvar__notarget; +bool autocvar__independent_players; +bool autocvar__campaign_testrun; +int autocvar__campaign_index; string autocvar__campaign_name; -float autocvar__sv_init; +bool autocvar__sv_init; float autocvar_bot_ai_aimskill_blendrate; float autocvar_bot_ai_aimskill_firetolerance_distdegrees; float autocvar_bot_ai_aimskill_firetolerance_maxdegrees; @@ -43,63 +43,63 @@ float autocvar_bot_ai_navigation_jetpack; float autocvar_bot_ai_navigation_jetpack_mindistance; float autocvar_bot_ai_strategyinterval; float autocvar_bot_ai_thinkinterval; -float autocvar_bot_ai_weapon_combo; +bool autocvar_bot_ai_weapon_combo; float autocvar_bot_ai_weapon_combo_threshold; string autocvar_bot_config_file; -float autocvar_bot_god; -float autocvar_bot_ignore_bots; -float autocvar_bot_join_empty; -float autocvar_bot_navigation_ignoreplayers; -float autocvar_bot_nofire; +bool autocvar_bot_god; +bool autocvar_bot_ignore_bots; +bool autocvar_bot_join_empty; +bool autocvar_bot_navigation_ignoreplayers; +bool autocvar_bot_nofire; #define autocvar_bot_number cvar("bot_number") #define autocvar_bot_prefix cvar_string("bot_prefix") -float autocvar_bot_sound_monopoly; +bool autocvar_bot_sound_monopoly; #define autocvar_bot_suffix cvar_string("bot_suffix") -float autocvar_bot_usemodelnames; -float autocvar_bot_vs_human; -float autocvar_bot_debug; -float autocvar_bot_debug_tracewalk; -float autocvar_bot_debug_goalstack; -float autocvar_bot_wander_enable; -float autocvar_captureleadlimit_override; +bool autocvar_bot_usemodelnames; +int autocvar_bot_vs_human; +int autocvar_bot_debug; +bool autocvar_bot_debug_tracewalk; +bool autocvar_bot_debug_goalstack; +bool autocvar_bot_wander_enable; +int autocvar_captureleadlimit_override; #define autocvar_capturelimit_override cvar("capturelimit_override") #define autocvar_developer cvar("developer") float autocvar_ekg; #define autocvar_fraglimit cvar("fraglimit") #define autocvar_fraglimit_override cvar("fraglimit_override") -float autocvar_g_allow_oldvortexbeam; -float autocvar_g_antilag; +bool autocvar_g_allow_oldvortexbeam; +int autocvar_g_antilag; float autocvar_g_antilag_nudge; float autocvar_g_balance_armor_blockpercent; -float autocvar_g_balance_armor_limit; +int autocvar_g_balance_armor_limit; float autocvar_g_balance_armor_regen; -float autocvar_g_balance_armor_regenlinear; -float autocvar_g_balance_armor_regenstable; +float autocvar_g_balance_armor_regenlinear; // TODO: int/bool? +int autocvar_g_balance_armor_regenstable; float autocvar_g_balance_armor_rot; float autocvar_g_balance_armor_rotlinear; -float autocvar_g_balance_armor_rotstable; -float autocvar_g_balance_armor_start; +int autocvar_g_balance_armor_rotstable; +int autocvar_g_balance_armor_start; float autocvar_g_balance_cloaked_alpha; float autocvar_g_balance_contents_damagerate; float autocvar_g_balance_contents_drowndelay; -float autocvar_g_balance_contents_playerdamage_drowning; -float autocvar_g_balance_contents_playerdamage_lava; -float autocvar_g_balance_contents_playerdamage_slime; -float autocvar_g_balance_contents_projectiledamage; +int autocvar_g_balance_contents_playerdamage_drowning; +int autocvar_g_balance_contents_playerdamage_lava; +int autocvar_g_balance_contents_playerdamage_slime; +int autocvar_g_balance_contents_projectiledamage; float autocvar_g_balance_damagepush_speedfactor; float autocvar_g_balance_falldamage_deadminspeed; float autocvar_g_balance_falldamage_factor; -float autocvar_g_balance_falldamage_maxdamage; +int autocvar_g_balance_falldamage_maxdamage; float autocvar_g_balance_falldamage_minspeed; -float autocvar_g_balance_firetransfer_damage; -float autocvar_g_balance_firetransfer_time; +int autocvar_g_balance_firetransfer_damage; +int autocvar_g_balance_firetransfer_time; float autocvar_g_balance_fuel_limit; float autocvar_g_balance_fuel_regen; float autocvar_g_balance_fuel_regenlinear; -float autocvar_g_balance_fuel_regenstable; +int autocvar_g_balance_fuel_regenstable; float autocvar_g_balance_fuel_rot; float autocvar_g_balance_fuel_rotlinear; -float autocvar_g_balance_fuel_rotstable; +int autocvar_g_balance_fuel_rotstable; float autocvar_g_balance_grapplehook_airfriction; float autocvar_g_balance_grapplehook_force_rubber; float autocvar_g_balance_grapplehook_force_rubber_overstretch;