42void wordwrap_cb(
string s,
float l,
void(
string) callback);
45string draw_currentSkin;
46string draw_UseSkinFor(
string pic);
48string icon_path_from_HUDskin(
string theIcon);
50string icon_path_from_menuskin(
string theIcon);
55const int MUT_DODGING = 0;
56const int MUT_INSTAGIB = 1;
57const int MUT_NEW_TOYS = 2;
59const int MUT_ROCKET_FLYING = 4;
60const int MUT_INVINCIBLE_PROJECTILES = 5;
61const int MUT_GRAVITY = 6;
62const int MUT_CLOAKED = 7;
63const int MUT_GRAPPLING_HOOK = 8;
64const int MUT_MIDAIR = 9;
65const int MUT_MELEE_ONLY = 10;
66const int MUT_VAMPIRE = 11;
67const int MUT_PINATA = 12;
68const int MUT_WEAPON_STAY = 13;
69const int MUT_BLOODLOSS = 14;
70const int MUT_JETPACK = 15;
71const int MUT_BUFFS = 16;
72const int MUT_OVERKILL = 17;
73const int MUT_NO_POWERUPS = 18;
74const int MUT_POWERUPS = 19;
75const int MUT_TOUCHEXPLODE = 20;
76const int MUT_WALLJUMP = 21;
77const int MUT_NO_START_WEAPONS = 22;
78const int MUT_NADES = 23;
79const int MUT_OFFHAND_BLASTER = 24;
81const int MUT_MAX = 47;
83int active_mutators[2];
84bool mut_is_active(
int mut);
85string build_mutator_list(
string s);
92#define TIME_TO_NTHS(t,n) floor((t) * (n) + 0.5)
96#define TIME_ENCODED_TOSTRING(n, compact) mmssth(n, compact)
97#define RACE_RECORD "/race100record/"
98#define CTS_RECORD "/cts100record/"
99#define CTF_RECORD "/ctf100record/"
100#define TIME_ENCODE(t) TIME_TO_NTHS(t, TIME_FACTOR)
101#define TIME_DECODE(n) ((n) / TIME_FACTOR)
114string fixPriorityList(
string pl,
float from,
float to,
float subtract,
float complete);
172float matchacl(
string acl,
string str);
216#define FOR_EACH_TAG(v) float tagnum; Skeleton_SetBones(v); for(tagnum = 0; tagnum < v.skeleton_bones; tagnum++, gettaginfo(v, tagnum))
228#define XPD(...) __VA_ARGS__
231#define fprintf(file, ...) fputs(file, sprintf(__VA_ARGS__))
232#define bprintf(...) bprint(sprintf(__VA_ARGS__))
238 #define GENTLE (autocvar_cl_gentle || autocvar_cl_gentle_messages)
240 int autocvar_sv_gentle;
241 #define GENTLE autocvar_sv_gentle
243 #define normal_or_gentle(normal, gentle) ((GENTLE && (gentle != "")) ? gentle : normal)
265#define APPEND_TO_STRING(list,sep,add) ((list) = (((list) != "") ? strcat(list, sep, add) : (add)))
268#define COMPARE_INCREASING(to,from) (to < from ? from + to + 2 : to - from)
281string playername(
string thename,
int teamid,
bool team_colorize);
292float cvar_or(
string cv,
float v);
294float blink_synced(
float base,
float range,
float freq,
float start_time,
int start_blink);
296float blink(
float base,
float range,
float freq);
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
limitations: NULL cannot be present elements can only be present once a maximum of IL_MAX lists can e...
float CheckWireframeBox(entity forent, vector v0, vector dvx, vector dvy, vector dvz)
string get_model_datafilename(string mod, float skn, string fil)
ERASEABLE string translate_key(string key)
string getWrappedLineLen(float w, textLengthUpToLength_lenFunction_t tw)
void SetMovetypeFollow(entity ent, entity e)
string playername(string thename, int teamid, bool team_colorize)
void FindConnectedComponent(entity e,.entity fld, findNextEntityNearFunction_t nxt, isConnectedFunction_t iscon, entity pass)
float(string s) textLengthUpToLength_lenFunction_t
void queue_to_execute_next_frame(string s)
void execute_next_frame()
void get_mi_min_max_texcoords(float mode)
void wordwrap_cb(string s, float l, void(string) callback)
entity Announcer_PickNumber(int type, int num)
float compressShortVector(vector vec)
int Mod_Q1BSP_SuperContentsFromNativeContents(int nativecontents)
float get_model_parameters_weight
float tracebox_inverted(vector v1, vector mi, vector ma, vector v2, float nomonsters, entity forent, float stopatentity, entity ignorestopatentity)
float get_model_parameters_fixbone
float tracebox_hits_box(vector start, vector mi, vector ma, vector end, vector thmi, vector thma)
string get_model_parameters_sex
vector healtharmor_maxdamage(float h, float a, float armorblock, int deathtype)
vector decompressShotOrigin(float f)
float textLengthUpToWidth(string theText, float maxWidth, vector size, textLengthUpToWidth_widthFunction_t tw)
void depthfirst(entity start,.entity up,.entity downleft,.entity right, void(entity, entity) funcPre, void(entity, entity) funcPost, entity pass)
float textLengthUpToLength(string theText, int maxLength, textLengthUpToLength_lenFunction_t tw)
vector healtharmor_applydamage(float a, float armorblock, int deathtype, float damage)
string config_queue[MAX_CONFIG_SETTINGS]
float cvar_settemp(string pKey, string pValue)
float matchacl(string acl, string str)
float(entity a, entity b, entity pass) isConnectedFunction_t
string ScoreString(float vflags, float value, int rounds_played)
vector solve_shotdirection(vector myorg, vector myvel, vector eorg, vector evel, float spd, float newton_style)
float get_model_parameters_species
string find_last_color_code(string s)
string fixPriorityList(string pl, float from, float to, float subtract, float complete)
int Mod_Q1BSP_NativeContentsFromSuperContents(int supercontents)
string textShortenToLength(string theText, int maxLength, textLengthUpToLength_lenFunction_t tw)
string getWrappedLine_remaining
float isGametypeInFilter(entity gt, float tp, float ts, string pattern)
vector decompressShortVector(float data)
float get_model_parameters_bone_aimweight[MAX_AIM_BONES]
string getWrappedLine(float w, vector size, textLengthUpToWidth_widthFunction_t tw)
float compressShotOrigin(vector v)
float blink_synced(float base, float range, float freq, float start_time, int start_blink)
float get_model_parameters_modelskin
void get_mi_min_max(float mode)
string get_model_parameters_name
float cvar_settemp_restore()
string get_model_parameters_bone_weapon
string strtolower(string s)
vector real_origin(entity ent)
float trace_hits_box_1d(float end, float thmi, float thma)
string get_model_parameters_description
void UnsetMovetypeFollow(entity ent)
string textShortenToWidth(string theText, float maxWidth, vector size, textLengthUpToWidth_widthFunction_t tw)
int LostMovetypeFollow(entity ent)
bool get_model_parameters_hidden
int autocvar_cl_gentle_messages
string get_model_parameters_modelname
string get_model_parameters_bone_upperbody
entity(entity cur, entity near, entity pass) findNextEntityNearFunction_t
string get_model_parameters_bone_aim[MAX_AIM_BONES]
vector get_shotvelocity(vector myvel, vector mydir, float spd, float newton_style, float mi, float ma)
float(string s, vector size) textLengthUpToWidth_widthFunction_t
float trace_hits_box(vector start, vector end, vector thmi, vector thma)
string swapInPriorityList(string order, float i, float j)
void attach_sameorigin(entity e, entity to, string tag)
IntrusiveList g_saved_cvars
float get_model_parameters_age
const int MAX_CONFIG_SETTINGS
void Skeleton_SetBones(entity e)
void detach_sameorigin(entity e)
string wordwrap(string s, float l)
void follow_sameorigin(entity e, entity to)
vector findbetterlocation(vector org, float mindist)
string mapPriorityList(string order, string(string) mapfunc)
void write_String_To_File(int fh, string str, bool alsoprint)
void traceline_inverted(vector v1, vector v2, float nomonsters, entity forent, float stopatentity, entity ignorestopatentity)
float blink(float base, float range, float freq)
float get_model_parameters(string mod, float skn)
string get_model_parameters_desc
vector animfixfps(entity e, vector a, vector b)
float cvar_or(string cv, float v)
void wordwrap_sprint(entity to, string s, float l)
#define pass(name, colormin, colormax)
#define STATIC_INIT(func)
during worldspawn