6 void traceline_inverted (
vector v1,
vector v2,
float nomonsters,
entity forent,
float stopatentity,
entity ignorestopatentity);
26 const int MAX_CONFIG_SETTINGS = 70;
27 string config_queue[MAX_CONFIG_SETTINGS];
40 void wordwrap_sprint(
entity to,
string s,
float l);
42 void wordwrap_cb(
string s,
float l,
void(
string) callback);
53 #define TIME_TO_NTHS(t,n) floor((t) * (n) + 0.5) 57 #define TIME_ENCODED_TOSTRING(n) mmssth(n) 58 #define RACE_RECORD "/race100record/" 59 #define CTS_RECORD "/cts100record/" 60 #define CTF_RECORD "/ctf100record/" 61 #define TIME_ENCODE(t) TIME_TO_NTHS(t, TIME_FACTOR) 62 #define TIME_DECODE(n) ((n) / TIME_FACTOR) 65 string ScoreString(
float vflags,
float value);
75 string fixPriorityList(
string pl,
float from,
float to,
float subtract,
float complete);
90 void get_mi_min_max(
float mode);
98 void get_mi_min_max_texcoords(
float mode);
121 string rankings_reply, ladder_reply, lsmaps_reply, maplist_reply, monsterlist_reply;
122 string records_reply[10];
126 vector healtharmor_maxdamage(
float h,
float a,
float armorblock,
int deathtype);
127 vector healtharmor_applydamage(
float a,
float armorblock,
int deathtype,
float damage);
132 float matchacl(
string acl,
string str);
166 string strtolower(
string s);
173 .float skeleton_bones;
174 void Skeleton_SetBones(
entity e);
176 #define FOR_EACH_TAG(v) float tagnum; Skeleton_SetBones(v); for(tagnum = 0; tagnum < v.skeleton_bones; tagnum++, gettaginfo(v, tagnum)) 188 #define XPD(...) __VA_ARGS__ 191 #define fprintf(file, ...) fputs(file, sprintf(__VA_ARGS__)) 192 #define bprintf(...) bprint(sprintf(__VA_ARGS__)) 196 bool autocvar_cl_gentle;
197 int autocvar_cl_gentle_messages;
198 #define GENTLE (autocvar_cl_gentle || autocvar_cl_gentle_messages) 200 int autocvar_sv_gentle;
201 #define GENTLE autocvar_sv_gentle 203 #define normal_or_gentle(normal, gentle) ((GENTLE && (gentle != "")) ? gentle : normal) 211 const int CNT_NORMAL = 1;
212 const int CNT_GAMESTART = 2;
214 const int CNT_KILL = 4;
215 const int CNT_RESPAWN = 5;
216 const int CNT_ROUNDSTART = 6;
217 entity Announcer_PickNumber(
int type,
int num);
221 int Mod_Q1BSP_SuperContentsFromNativeContents(
int nativecontents);
222 int Mod_Q1BSP_NativeContentsFromSuperContents(
int supercontents);
225 #define APPEND_TO_STRING(list,sep,add) ((list) = (((list) != "") ? strcat(list, sep, add) : (add))) 228 #define COMPARE_INCREASING(to,from) (to < from ? from + to + 2 : to - from) 232 void detach_sameorigin(
entity e);
236 void UnsetMovetypeFollow(
entity ent);
237 int LostMovetypeFollow(
entity ent);
241 string playername(
string thename,
int teamid,
bool team_colorize);
243 float trace_hits_box_1d(
float end,
float thmi,
float thma);
254 float blink_synced(
float base,
float range,
float freq,
float start_time,
int start_blink);
256 float blink(
float base,
float range,
float freq);
float get_model_parameters_weight
string fixPriorityList(string pl, float from, float to, float subtract, float complete)
vector decompressShortVector(float data)
void FindConnectedComponent(entity e,.entity fld, findNextEntityNearFunction_t nxt, isConnectedFunction_t iscon, entity pass)
string getWrappedLineLen(float w, textLengthUpToLength_lenFunction_t tw)
string get_model_parameters_desc
string getWrappedLine(float w, vector size, textLengthUpToWidth_widthFunction_t tw)
string getWrappedLine_remaining
ERASEABLE string translate_key(string key)
float textLengthUpToWidth(string theText, float maxWidth, vector size, textLengthUpToWidth_widthFunction_t tw)
string textShortenToWidth(string theText, float maxWidth, vector size, textLengthUpToWidth_widthFunction_t tw)
string draw_UseSkinFor(string pic)
float get_model_parameters(string mod, float skn)
float(entity a, entity b, entity pass) isConnectedFunction_t
string get_model_parameters_description
STATIC_INIT(g_saved_cvars)
entity(entity cur, entity near, entity pass) findNextEntityNearFunction_t
float textLengthUpToLength(string theText, float maxWidth, textLengthUpToLength_lenFunction_t tw)
limitations: NULL cannot be present elements can only be present once a maximum of IL_MAX lists can e...
float get_model_parameters_fixbone
float cvar_settemp(string pKey, string pValue)
vector decompressShotOrigin(float f)
string swapInPriorityList(string order, float i, float j)
string get_model_parameters_sex
float(string s, vector size) textLengthUpToWidth_widthFunction_t
float get_model_parameters_age
float get_model_parameters_modelskin
float get_model_parameters_species
string wordwrap(string s, float l)
string get_model_parameters_modelname
float blink_synced(float base, float range, float freq, float start_time, int start_blink)
float cvar_or(string cv, float v)
string get_model_parameters_bone_aim[MAX_AIM_BONES]
void wordwrap_cb(string s, float l, void(string) callback)
float matchacl(string acl, string str)
string get_model_datafilename(string mod, float skn, string fil)
void write_String_To_File(int fh, string str, bool alsoprint)
void execute_next_frame()
string textShortenToLength(string theText, float maxWidth, textLengthUpToLength_lenFunction_t tw)
string get_model_parameters_bone_weapon
float isGametypeInFilter(entity gt, float tp, float ts, string pattern)
vector(float skel, float bonenum) _skel_get_boneabs_hidden
string get_model_parameters_bone_upperbody
vector get_shotvelocity(vector myvel, vector mydir, float spd, float newton_style, float mi, float ma)
void queue_to_execute_next_frame(string s)
void depthfirst(entity start,.entity up,.entity downleft,.entity right, void(entity, entity) funcPre, void(entity, entity) funcPost, entity pass)
float blink(float base, float range, float freq)
IntrusiveList g_saved_cvars
float(string s) textLengthUpToLength_lenFunction_t
float compressShortVector(vector vec)
bool get_model_parameters_hidden
float get_model_parameters_bone_aimweight[MAX_AIM_BONES]
float cvar_settemp_restore()
#define pass(name, colormin, colormax)
vector solve_shotdirection(vector myorg, vector myvel, vector eorg, vector evel, float spd, float newton_style)
string mapPriorityList(string order, string(string) mapfunc)
float compressShotOrigin(vector v)
string get_model_parameters_name