Commit bf094df0 authored by TimePath's avatar TimePath

s/#ifndef MENUQC/#ifdef GAMEQC/g

parent 4ee2807b
Pipeline #3999302 failed with stage
in 7 minutes and 55 seconds
......@@ -26,11 +26,11 @@ set_source_files_properties(
)
add_executable(csprogs qcsrc/client/progs.inc)
target_compile_definitions(csprogs PRIVATE -DCSQC)
target_compile_definitions(csprogs PRIVATE -DGAMEQC -DCSQC)
add_dependencies(csprogs gmqcc)
add_executable(progs qcsrc/server/progs.inc)
target_compile_definitions(progs PRIVATE -DSVQC)
target_compile_definitions(progs PRIVATE -DGAMEQC -DSVQC)
add_dependencies(progs gmqcc)
add_executable(menu qcsrc/menu/progs.inc)
......
float autocvar_net_connecttimeout = 30;
#ifndef MENUQC
#ifdef GAMEQC
#include "anim.qc"
#include "animdecide.qc"
#include "ent_cs.qc"
......@@ -19,13 +19,13 @@ float autocvar_net_connecttimeout = 30;
#include "campaign_setup.qc"
#endif
#ifndef MENUQC
#ifdef GAMEQC
#include "physics/all.inc"
#include "triggers/include.qc"
#include "viewloc.qc"
#endif
#ifndef MENUQC
#ifdef GAMEQC
#include "minigames/minigames.qc"
#endif
......@@ -33,7 +33,7 @@ float autocvar_net_connecttimeout = 30;
#include "command/_mod.inc"
#ifndef MENUQC
#ifdef GAMEQC
#include "deathtypes/all.qc"
#include "effects/all.qc"
#include "impulses/all.qc"
......
......@@ -6,7 +6,7 @@
#include "../mapinfo.qh"
#ifndef MENUQC
#ifdef GAMEQC
#include "../notifications/all.qh"
#endif
......@@ -372,7 +372,7 @@ void GenericCommand_restartnotifs(float request)
{
case CMD_REQUEST_COMMAND:
{
#ifndef MENUQC
#ifdef GAMEQC
int NOTIF_ANNCE_COUNT = 0; FOREACH(Notifications, it.nent_type == MSG_ANNCE, { ++NOTIF_ANNCE_COUNT; });
int NOTIF_INFO_COUNT = 0; FOREACH(Notifications, it.nent_type == MSG_INFO, { ++NOTIF_INFO_COUNT; });
int NOTIF_CENTER_COUNT = 0; FOREACH(Notifications, it.nent_type == MSG_CENTER, { ++NOTIF_CENTER_COUNT; });
......
......@@ -126,7 +126,7 @@ const int SFL_SORT_PRIO_MASK = 12;
* Score indices
*/
#ifndef MENUQC
#ifdef GAMEQC
#define IS_INCREASING(x) ( (x) & SFL_LOWER_IS_BETTER )
#define IS_DECREASING(x) ( !((x) & SFL_LOWER_IS_BETTER) )
......
......@@ -4,7 +4,7 @@
.entity tag_entity;
#endif
#ifndef MENUQC
#ifdef GAMEQC
.bool debug;
.int sv_entnum;
REGISTER_NET_TEMP(net_debug)
......@@ -47,7 +47,7 @@ REGISTER_NET_TEMP(net_debug)
}
#endif
#ifndef MENUQC
#ifdef GAMEQC
/**
* 0: off
* 1: on
......
#ifndef DAMAGEEFFECTS_H
#define DAMAGEEFFECTS_H
#ifdef CSQC
#include <common/deathtypes/all.qh>
#include <common/physics/movetypes/movetypes.qh>
#include <client/mutators/events.qh>
#include <common/vehicles/all.qh>
#include <common/weapons/_all.qh>
#endif
#endif
#include "damageeffects.qh"
#ifdef IMPLEMENTATION
......
#pragma once
#ifdef CSQC
#include <common/deathtypes/all.qh>
#include <common/physics/movetypes/movetypes.qh>
#include <client/mutators/events.qh>
#include <common/vehicles/all.qh>
#include <common/weapons/_all.qh>
#endif
......@@ -29,6 +29,6 @@ GENERIC_COMMAND(dumpitems, "Dump all items to the console") {
}
}
#ifndef MENUQC
#ifdef GAMEQC
string Item_Model(string item_mdl);
#endif
......@@ -13,12 +13,12 @@ ENDCLASS(Ammo)
#include <common/t_items.qh>
#endif
#ifndef MENUQC
#ifdef GAMEQC
MODEL(Bullets_ITEM, Item_Model("a_bullets.mdl"));
#endif
REGISTER_ITEM(Bullets, Ammo) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_Bullets_ITEM;
#endif
this.m_name = "bullets";
......@@ -29,12 +29,12 @@ REGISTER_ITEM(Bullets, Ammo) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(Cells_ITEM, Item_Model("a_cells.md3"));
#endif
REGISTER_ITEM(Cells, Ammo) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_Cells_ITEM;
#endif
this.m_name = "cells";
......@@ -45,12 +45,12 @@ REGISTER_ITEM(Cells, Ammo) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(Plasma_ITEM, Item_Model("a_cells.md3"));
#endif
REGISTER_ITEM(Plasma, Ammo) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_Plasma_ITEM;
#endif
this.m_name = "plasma";
......@@ -61,12 +61,12 @@ REGISTER_ITEM(Plasma, Ammo) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(Rockets_ITEM, Item_Model("a_rockets.md3"));
#endif
REGISTER_ITEM(Rockets, Ammo) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_Rockets_ITEM;
#endif
this.m_name = "rockets";
......@@ -77,12 +77,12 @@ REGISTER_ITEM(Rockets, Ammo) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(Shells_ITEM, Item_Model("a_shells.md3"));
#endif
REGISTER_ITEM(Shells, Ammo) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_Shells_ITEM;
#endif
this.m_name = "shells";
......
......@@ -13,13 +13,13 @@ ENDCLASS(Armor)
#include <common/t_items.qh>
#endif
#ifndef MENUQC
#ifdef GAMEQC
MODEL(ArmorSmall_ITEM, Item_Model("item_armor_small.md3"));
SOUND(ArmorSmall, "misc/armor1");
#endif
REGISTER_ITEM(ArmorSmall, Armor) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_ArmorSmall_ITEM;
this.m_sound = SND_ArmorSmall;
#endif
......@@ -33,13 +33,13 @@ REGISTER_ITEM(ArmorSmall, Armor) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(ArmorMedium_ITEM, Item_Model("item_armor_medium.md3"));
SOUND(ArmorMedium, "misc/armor10");
#endif
REGISTER_ITEM(ArmorMedium, Armor) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_ArmorMedium_ITEM;
this.m_sound = SND_ArmorMedium;
#endif
......@@ -53,13 +53,13 @@ REGISTER_ITEM(ArmorMedium, Armor) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(ArmorLarge_ITEM, Item_Model("item_armor_big.md3"));
SOUND(ArmorLarge, "misc/armor17_5");
#endif
REGISTER_ITEM(ArmorLarge, Armor) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_ArmorLarge_ITEM;
this.m_sound = SND_ArmorLarge;
#endif
......@@ -75,13 +75,13 @@ REGISTER_ITEM(ArmorLarge, Armor) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(ArmorMega_ITEM, Item_Model("item_armor_large.md3"));
SOUND(ArmorMega, "misc/armor25");
#endif
REGISTER_ITEM(ArmorMega, Armor) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_ArmorMega_ITEM;
this.m_sound = SND_ArmorMega;
#endif
......
......@@ -13,13 +13,13 @@ ENDCLASS(Health)
#include <common/t_items.qh>
#endif
#ifndef MENUQC
#ifdef GAMEQC
MODEL(HealthSmall_ITEM, Item_Model("g_h1.md3"));
SOUND(HealthSmall, "misc/minihealth");
#endif
REGISTER_ITEM(HealthSmall, Health) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_HealthSmall_ITEM;
this.m_sound = SND_HealthSmall;
#endif
......@@ -33,13 +33,13 @@ REGISTER_ITEM(HealthSmall, Health) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(HealthMedium_ITEM, Item_Model("g_h25.md3"));
SOUND(HealthMedium, "misc/mediumhealth");
#endif
REGISTER_ITEM(HealthMedium, Health) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_HealthMedium_ITEM;
this.m_sound = SND_HealthMedium;
#endif
......@@ -53,13 +53,13 @@ REGISTER_ITEM(HealthMedium, Health) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(HealthLarge_ITEM, Item_Model("g_h50.md3"));
SOUND(HealthLarge, "misc/mediumhealth");
#endif
REGISTER_ITEM(HealthLarge, Health) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_HealthLarge_ITEM;
this.m_sound = SND_HealthLarge;
#endif
......@@ -75,13 +75,13 @@ REGISTER_ITEM(HealthLarge, Health) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(HealthMega_ITEM, Item_Model("g_h100.md3"));
SOUND(HealthMega, "misc/megahealth");
#endif
REGISTER_ITEM(HealthMega, Health) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_HealthMega_ITEM;
this.m_sound = SND_HealthMega;
#endif
......
......@@ -11,12 +11,12 @@
.int m_itemid;
#endif
#ifndef MENUQC
#ifdef GAMEQC
MODEL(Jetpack_ITEM, Item_Model("g_jetpack.md3"));
#endif
REGISTER_ITEM(Jetpack, Powerup) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_Jetpack_ITEM;
this.m_itemid = IT_JETPACK;
#endif
......@@ -31,12 +31,12 @@ REGISTER_ITEM(Jetpack, Powerup) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(JetpackFuel_ITEM, Item_Model("g_fuel.md3"));
#endif
REGISTER_ITEM(JetpackFuel, Ammo) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_JetpackFuel_ITEM;
#endif
this.m_name = "Fuel";
......@@ -47,12 +47,12 @@ REGISTER_ITEM(JetpackFuel, Ammo) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(JetpackRegen_ITEM, Item_Model("g_fuelregen.md3"));
#endif
REGISTER_ITEM(JetpackRegen, Powerup) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_JetpackRegen_ITEM;
#endif
this.m_name = "Fuel regenerator";
......
......@@ -27,7 +27,7 @@ const int BOT_PICKUP_RATING_HIGH = 10000;
#include <common/t_items.qh>
CLASS(Pickup, GameItem)
#ifndef MENUQC
#ifdef GAMEQC
ATTRIB(Pickup, m_model, Model);
ATTRIB(Pickup, m_sound, Sound, SND_ITEMPICKUP);
#endif
......
......@@ -17,13 +17,13 @@ CLASS(Powerup, Pickup)
#endif
ENDCLASS(Powerup)
#ifndef MENUQC
#ifdef GAMEQC
MODEL(Strength_ITEM, Item_Model("g_strength.md3"));
SOUND(Strength, "misc/powerup");
#endif
REGISTER_ITEM(Strength, Powerup) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_Strength_ITEM;
this.m_sound = SND_Strength;
#endif
......@@ -35,13 +35,13 @@ REGISTER_ITEM(Strength, Powerup) {
this.m_itemid = IT_STRENGTH;
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(Shield_ITEM, Item_Model("g_invincible.md3"));
SOUND(Shield, "misc/powerup_shield");
#endif
REGISTER_ITEM(Shield, Powerup) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_Shield_ITEM;
this.m_sound = SND_Shield;
#endif
......
......@@ -1298,7 +1298,7 @@ int MapInfo_ForbiddenFlags()
{
int f = MAPINFO_FLAG_FORBIDDEN;
#ifndef MENUQC
#ifdef GAMEQC
if (!cvar("g_maplist_allow_hidden"))
#endif
f |= MAPINFO_FLAG_HIDDEN;
......
......@@ -11,7 +11,7 @@
#include <lib/warpzone/server.qh>
#endif
#ifndef MENUQC
#ifdef GAMEQC
#include "../animdecide.qh"
#include "../anim.qh"
vector animfixfps(entity e, vector a, vector b);
......
#ifndef MAGE_H
#define MAGE_H
#ifndef MENUQC
#ifdef GAMEQC
MODEL(MON_MAGE, M_Model("mage.dpm"));
#endif
......@@ -9,7 +9,7 @@ CLASS(Mage, Monster)
ATTRIB(Mage, spawnflags, int, MON_FLAG_MELEE | MON_FLAG_RANGED);
ATTRIB(Mage, mins, vector, '-36 -36 -24');
ATTRIB(Mage, maxs, vector, '36 36 50');
#ifndef MENUQC
#ifdef GAMEQC
ATTRIB(Mage, m_model, Model, MDL_MON_MAGE);
#endif
ATTRIB(Mage, netname, string, "mage");
......@@ -17,7 +17,7 @@ CLASS(Mage, Monster)
ENDCLASS(Mage)
REGISTER_MONSTER(MAGE, NEW(Mage)) {
#ifndef MENUQC
#ifdef GAMEQC
this.mr_precache(this);
#endif
}
......@@ -459,7 +459,7 @@ METHOD(Mage, mr_death, bool(Mage this, entity actor))
}
#endif
#ifndef MENUQC
#ifdef GAMEQC
METHOD(Mage, mr_anim, bool(Mage this, entity actor))
{
TC(Mage, this);
......
#ifndef SHAMBLER_H
#define SHAMBLER_H
#ifndef MENUQC
#ifdef GAMEQC
MODEL(MON_SHAMBLER, M_Model("shambler.mdl"));
#endif
......@@ -9,7 +9,7 @@ CLASS(Shambler, Monster)
ATTRIB(Shambler, spawnflags, int, MONSTER_SIZE_BROKEN | MON_FLAG_SUPERMONSTER | MON_FLAG_MELEE | MON_FLAG_RANGED);
ATTRIB(Shambler, mins, vector, '-41 -41 -31');
ATTRIB(Shambler, maxs, vector, '41 41 65');
#ifndef MENUQC
#ifdef GAMEQC
ATTRIB(Shambler, m_model, Model, MDL_MON_SHAMBLER);
#endif
ATTRIB(Shambler, netname, string, "shambler");
......@@ -17,7 +17,7 @@ CLASS(Shambler, Monster)
ENDCLASS(Shambler)
REGISTER_MONSTER(SHAMBLER, NEW(Shambler)) {
#ifndef MENUQC
#ifdef GAMEQC
this.mr_precache(this);
#endif
}
......@@ -250,7 +250,7 @@ METHOD(Shambler, mr_death, bool(Shambler this, entity actor))
return true;
}
#endif
#ifndef MENUQC
#ifdef GAMEQC
METHOD(Shambler, mr_anim, bool(Shambler this, entity actor))
{
TC(Shambler, this);
......
#ifndef SPIDER_H
#define SPIDER_H
#ifndef MENUQC
#ifdef GAMEQC
MODEL(MON_SPIDER, M_Model("spider.dpm"));
#endif
......@@ -9,7 +9,7 @@ CLASS(Spider, Monster)
ATTRIB(Spider, spawnflags, int, MON_FLAG_MELEE | MON_FLAG_RANGED | MON_FLAG_RIDE);
ATTRIB(Spider, mins, vector, '-18 -18 -25');
ATTRIB(Spider, maxs, vector, '18 18 30');
#ifndef MENUQC
#ifdef GAMEQC
ATTRIB(Spider, m_model, Model, MDL_MON_SPIDER);
#endif
ATTRIB(Spider, netname, string, "spider");
......@@ -17,7 +17,7 @@ CLASS(Spider, Monster)
ENDCLASS(Spider)
REGISTER_MONSTER(SPIDER, NEW(Spider)) {
#ifndef MENUQC
#ifdef GAMEQC
this.mr_precache(this);
#endif
}
......@@ -249,7 +249,7 @@ METHOD(Spider, mr_death, bool(Spider this, entity actor))
return true;
}
#endif
#ifndef MENUQC
#ifdef GAMEQC
METHOD(Spider, mr_anim, bool(Spider this, entity actor))
{
TC(Spider, this);
......
#ifndef WYVERN_H
#define WYVERN_H
#ifndef MENUQC
#ifdef GAMEQC
MODEL(MON_WYVERN, M_Model("wizard.mdl"));
#endif
......@@ -9,7 +9,7 @@ CLASS(Wyvern, Monster)
ATTRIB(Wyvern, spawnflags, int, MONSTER_TYPE_FLY | MONSTER_SIZE_BROKEN | MON_FLAG_RANGED | MON_FLAG_RIDE);
ATTRIB(Wyvern, mins, vector, '-20 -20 -58');
ATTRIB(Wyvern, maxs, vector, '20 20 20');
#ifndef MENUQC
#ifdef GAMEQC
ATTRIB(Wyvern, m_model, Model, MDL_MON_WYVERN);
#endif
ATTRIB(Wyvern, netname, string, "wyvern");
......@@ -17,7 +17,7 @@ CLASS(Wyvern, Monster)
ENDCLASS(Wyvern)
REGISTER_MONSTER(WYVERN, NEW(Wyvern)) {
#ifndef MENUQC
#ifdef GAMEQC
this.mr_precache(this);
#endif
}
......@@ -170,7 +170,7 @@ METHOD(Wyvern, mr_death, bool(Wyvern this, entity actor))
return true;
}
#endif
#ifndef MENUQC
#ifdef GAMEQC
METHOD(Wyvern, mr_anim, bool(Wyvern this, entity actor))
{
TC(Wyvern, this);
......
#ifndef ZOMBIE_H
#define ZOMBIE_H
#ifndef MENUQC
#ifdef GAMEQC
MODEL(MON_ZOMBIE, M_Model("zombie.dpm"));
#endif
......@@ -9,7 +9,7 @@ CLASS(Zombie, Monster)
ATTRIB(Zombie, spawnflags, int, MON_FLAG_MELEE | MON_FLAG_RIDE);
ATTRIB(Zombie, mins, vector, '-18 -18 -25');
ATTRIB(Zombie, maxs, vector, '18 18 47');
#ifndef MENUQC
#ifdef GAMEQC
ATTRIB(Zombie, m_model, Model, MDL_MON_ZOMBIE);
#endif
ATTRIB(Zombie, netname, string, "zombie");
......@@ -17,7 +17,7 @@ CLASS(Zombie, Monster)
ENDCLASS(Zombie)
REGISTER_MONSTER(ZOMBIE, NEW(Zombie)) {
#ifndef MENUQC
#ifdef GAMEQC
this.mr_precache(this);
#endif
}
......@@ -180,7 +180,7 @@ METHOD(Zombie, mr_death, bool(Zombie this, entity actor))
return true;
}
#endif
#ifndef MENUQC
#ifdef GAMEQC
METHOD(Zombie, mr_anim, bool(Zombie this, entity actor))
{
TC(Zombie, this);
......
#ifndef MUTATORS_BASE_H
#define MUTATORS_BASE_H
#pragma once
const int CBC_ORDER_FIRST = 1;
const int CBC_ORDER_LAST = 2;
......@@ -168,7 +167,7 @@ bool Mutator_Add(Mutator mut);
void Mutator_Remove(Mutator mut);
bool mutator_log = false;
#ifndef MENUQC
#ifdef GAMEQC
/** server mutators activate corresponding client mutators for all clients */
REGISTER_NET_LINKED(Mutator)
......@@ -322,5 +321,3 @@ STATIC_INIT_LATE(Mutators) {
} MACRO_END
#include "events.qh"
#endif
#ifndef COMMON_MUTATORS_EVENTS_H
#define COMMON_MUTATORS_EVENTS_H
#pragma once
#define EV_NO_ARGS(i, o)
......@@ -104,5 +103,3 @@ MUTATOR_HOOKABLE(PM_Physics, EV_PM_Physics);
/**/ o(string, MUTATOR_ARGV_1_string) \
/**/
MUTATOR_HOOKABLE(WeaponModel, EV_WeaponModel);
#endif
......@@ -3,7 +3,7 @@
#include <common/teams.qh>
#include <common/util.qh>
#ifndef MENUQC
#ifdef GAMEQC
REGISTER_WAYPOINT(Buff, _("Buff"), '1 0.5 0', 1);
REGISTER_RADARICON(Buff, 1);
#endif
......
#include "bugrigs.qh"
#ifndef MENUQC
#ifdef GAMEQC
#ifdef SVQC
#include <server/antilag.qh>
......
#include "doublejump.qh"
#ifndef MENUQC
#ifdef GAMEQC
#ifdef SVQC
#include <server/antilag.qh>
#endif
......
......@@ -9,13 +9,13 @@ float instagib_respawntimejitter_ammo = 0;
GETTER(float, instagib_respawntime_ammo)
GETTER(float, instagib_respawntimejitter_ammo)
#ifndef MENUQC
#ifdef GAMEQC
MODEL(VaporizerCells_ITEM, Item_Model("a_cells.md3"));
SOUND(VaporizerCells, "misc/itempickup");
#endif
REGISTER_ITEM(VaporizerCells, Ammo) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_VaporizerCells_ITEM;
this.m_sound = SND_VaporizerCells;
#endif
......@@ -29,13 +29,13 @@ REGISTER_ITEM(VaporizerCells, Ammo) {
#endif
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(ExtraLife_ITEM, Item_Model("g_h100.md3"));
SOUND(ExtraLife, "misc/megahealth");
#endif
REGISTER_ITEM(ExtraLife, Powerup) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_ExtraLife_ITEM;
this.m_sound = SND_ExtraLife;
#endif
......@@ -47,13 +47,13 @@ REGISTER_ITEM(ExtraLife, Powerup) {
this.m_itemid = IT_NAILS;
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(Invisibility_ITEM, Item_Model("g_strength.md3"));
SOUND(Invisibility, "misc/powerup");
#endif
REGISTER_ITEM(Invisibility, Powerup) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_Invisibility_ITEM;
this.m_sound = SND_Invisibility;
#endif
......@@ -65,13 +65,13 @@ REGISTER_ITEM(Invisibility, Powerup) {
this.m_itemid = IT_STRENGTH;
}
#ifndef MENUQC
#ifdef GAMEQC
MODEL(Speed_ITEM, Item_Model("g_invincible.md3"));
SOUND(Speed, "misc/powerup_shield");
#endif
REGISTER_ITEM(Speed, Powerup) {
#ifndef MENUQC
#ifdef GAMEQC
this.m_model = MDL_Speed_ITEM;
this.m_sound = SND_Speed;
#endif
......
#include "multijump.qh"
#ifndef MENUQC
#ifdef GAMEQC
#ifdef SVQC
#include <server/antilag.qh>
......
#ifndef MENUQC
#ifdef GAMEQC
#define NADE_PROJECTILE(i, projectile, trail) MACRO_BEGIN { \
this.m_projectile[i] = projectile; \
this.m_trail[i] = trail; \
......
......@@ -7,7 +7,7 @@ float autocvar_g_nades_spread = 0.04;
REGISTER_STAT(NADES_SMALL, int, autocvar_g_nades_nade_small)