float QuickMenu_IsLastPage;
// each quickmenu entry (submenu or command) is composed of 2 entries in the buffer
#define QUICKMENU_BUFFER_MAXENTRIES 2*QUICKMENU_MAXENTRIES
-var float QuickMenu_Buffer = -1;
+float QuickMenu_Buffer = -1;
float QuickMenu_Buffer_Size;
float QuickMenu_Buffer_Index;
string QuickMenu_CurrentSubMenu;
float QuickMenu_CurrentPage_FirstEntry;
-var float QuickMenu_Entries;
+float QuickMenu_Entries;
float QuickMenu_TimeOut;
void HUD_QuickMenu_load_entry(float i, string s, string s1)
{
#include "../../server/mutators/base.qh"
float autocvar_g_monster_afrit_health;
-var float autocvar_g_monster_afrit_damageforcescale = 0.3;
+float autocvar_g_monster_afrit_damageforcescale = 0.3;
float autocvar_g_monster_afrit_attack_fireball_damage;
float autocvar_g_monster_afrit_attack_fireball_edgedamage;
float autocvar_g_monster_afrit_attack_fireball_damagetime;
#else
#ifdef SVQC
float autocvar_g_monster_creeper_health;
-var float autocvar_g_monster_creeper_damageforcescale = 0.0001; // hehehe
+float autocvar_g_monster_creeper_damageforcescale = 0.0001; // hehehe
float autocvar_g_monster_creeper_attack_explode_damage;
float autocvar_g_monster_creeper_attack_explode_edgedamage;
float autocvar_g_monster_creeper_attack_explode_radius;
#else
#ifdef SVQC
float autocvar_g_monster_demon_health;
-var float autocvar_g_monster_demon_damageforcescale = 0.35;
+float autocvar_g_monster_demon_damageforcescale = 0.35;
float autocvar_g_monster_demon_attack_melee_damage;
float autocvar_g_monster_demon_attack_melee_delay;
float autocvar_g_monster_demon_attack_leap_damage;
#else
#ifdef SVQC
float autocvar_g_monster_enforcer_health;
-var float autocvar_g_monster_enforcer_damageforcescale = 0.7;
+float autocvar_g_monster_enforcer_damageforcescale = 0.7;
float autocvar_g_monster_enforcer_attack_plasma_damage;
float autocvar_g_monster_enforcer_attack_plasma_edgedamage;
float autocvar_g_monster_enforcer_attack_plasma_force;
#include "../../effects.qh"
float autocvar_g_monster_mage_health;
-var float autocvar_g_monster_mage_damageforcescale = 0.5;
+float autocvar_g_monster_mage_damageforcescale = 0.5;
float autocvar_g_monster_mage_attack_spike_damage;
float autocvar_g_monster_mage_attack_spike_radius;
float autocvar_g_monster_mage_attack_spike_delay;
#include "../../effects.qh"
float autocvar_g_monster_ogre_health;
-var float autocvar_g_monster_ogre_damageforcescale = 0.4;
+float autocvar_g_monster_ogre_damageforcescale = 0.4;
float autocvar_g_monster_ogre_attack_machinegun_spread;
float autocvar_g_monster_ogre_attack_machinegun_solidpenetration;
float autocvar_g_monster_ogre_attack_machinegun_damage;
#else
#ifdef SVQC
float autocvar_g_monster_rotfish_health;
-var float autocvar_g_monster_rotfish_damageforcescale = 0.8;
+float autocvar_g_monster_rotfish_damageforcescale = 0.8;
float autocvar_g_monster_rotfish_attack_range;
float autocvar_g_monster_rotfish_attack_melee_damage;
float autocvar_g_monster_rotfish_attack_melee_delay;
#else
#ifdef SVQC
float autocvar_g_monster_rottweiler_health;
-var float autocvar_g_monster_rottweiler_damageforcescale = 0.7;
+float autocvar_g_monster_rottweiler_damageforcescale = 0.7;
float autocvar_g_monster_rottweiler_attack_melee_damage;
float autocvar_g_monster_rottweiler_attack_melee_delay;
float autocvar_g_monster_rottweiler_speed_stop;
#else
#ifdef SVQC
float autocvar_g_monster_scrag_health;
-var float autocvar_g_monster_scrag_damageforcescale = 0.55;
+float autocvar_g_monster_scrag_damageforcescale = 0.55;
float autocvar_g_monster_scrag_attack_spike_damage;
float autocvar_g_monster_scrag_attack_spike_edgedamage;
float autocvar_g_monster_scrag_attack_spike_force;
#include "../../effects.qh"
float autocvar_g_monster_shambler_health;
-var float autocvar_g_monster_shambler_damageforcescale = 0.1;
+float autocvar_g_monster_shambler_damageforcescale = 0.1;
float autocvar_g_monster_shambler_attack_smash_damage;
float autocvar_g_monster_shambler_attack_smash_range;
float autocvar_g_monster_shambler_attack_claw_damage;
#include "../../effects.qh"
float autocvar_g_monster_spawn_health;
-var float autocvar_g_monster_spawn_damageforcescale = 0.6;
+float autocvar_g_monster_spawn_damageforcescale = 0.6;
float autocvar_g_monster_spawn_attack_explode_damage;
float autocvar_g_monster_spawn_attack_explode_edgedamage;
float autocvar_g_monster_spawn_attack_explode_radius;
#include "../../effects.qh"
float autocvar_g_monster_spider_health;
-var float autocvar_g_monster_spider_damageforcescale = 0.6;
+float autocvar_g_monster_spider_damageforcescale = 0.6;
float autocvar_g_monster_spider_attack_bite_damage;
float autocvar_g_monster_spider_attack_bite_delay;
float autocvar_g_monster_spider_attack_web_damagetime;
#include "../../effects.qh"
float autocvar_g_monster_vore_health;
-var float autocvar_g_monster_vore_damageforcescale = 0.4;
+float autocvar_g_monster_vore_damageforcescale = 0.4;
float autocvar_g_monster_vore_attack_spike_damage;
float autocvar_g_monster_vore_attack_spike_radius;
float autocvar_g_monster_vore_attack_spike_delay;
#include "../../effects.qh"
float autocvar_g_monster_wyvern_health;
-var float autocvar_g_monster_wyvern_damageforcescale = 0.6;
+float autocvar_g_monster_wyvern_damageforcescale = 0.6;
float autocvar_g_monster_wyvern_attack_fireball_damage;
float autocvar_g_monster_wyvern_attack_fireball_edgedamage;
float autocvar_g_monster_wyvern_attack_fireball_damagetime;
#else
#ifdef SVQC
float autocvar_g_monster_zombie_health;
-var float autocvar_g_monster_zombie_damageforcescale = 0.55;
+float autocvar_g_monster_zombie_damageforcescale = 0.55;
float autocvar_g_monster_zombie_attack_melee_damage;
float autocvar_g_monster_zombie_attack_melee_delay;
float autocvar_g_monster_zombie_attack_leap_damage;
vector upmove = self.move_origin + '0 0 1';
vector downmove = self.move_origin - '0 0 1';
int type;
- if (self.move_movetype == MOVETYPE_FLYMISSILE) type = MOVE_MISSILE; else if (self.move_movetype == MOVETYPE_FLY_WORLDONLY)
+ if (self.move_movetype == MOVETYPE_FLYMISSILE)
+ type = MOVE_MISSILE;
+ else if (self.move_movetype == MOVETYPE_FLY_WORLDONLY)
type = MOVE_WORLDONLY;
else if (self.solid == SOLID_TRIGGER || self.solid == SOLID_NOT)
type = MOVE_NOMONSTERS;
- else type = MOVE_NORMAL;
+ else type = MOVE_NORMAL;
tracebox(upmove, self.mins, self.maxs, downmove, type, self);
if (trace_fraction < 1 && trace_plane_normal.z > 0.7)
clip |= 1; // but we HAVE found a floor