#include "pch.h"#include "cube.h"

Functions | |
| void | renderent (entity &e) |
| void | renderclip (entity &e) |
| void | renderentities () |
| void | pickupeffects (int n, playerent *d) |
| void | trypickup (int n, playerent *d) |
| void | trypickupflag (int flag, playerent *d) |
| void | checkitems (playerent *d) |
| void | putitems (ucharbuf &p) |
| void | resetspawns () |
| void | setspawn (int i, bool on) |
| bool | selectnextprimary (int num) |
| VARFP (nextprimary, 0, GUN_ASSAULT, NUMGUNS,{if(!selectnextprimary(nextprimary)) selectnextprimary((nextprimary=GUN_ASSAULT));}) | |
| void | flagpickup (int fln) |
| void | tryflagdrop (bool manual) |
| void | flagreturn (int fln) |
| void | flagscore (int fln) |
| void | flagstolen (int flag, int act) |
| void | flagdropped (int flag, float x, float y, float z) |
| void | flaginbase (int flag) |
| void | flagidle (int flag) |
Variables | |
| vector< entity > | ents |
| const char * | entnames [] |
| const char * | entmdlnames [] |
| int | flagdropmillis = 0 |
| void checkitems | ( | playerent * | d | ) |
| void flagdropped | ( | int | flag, | |
| float | x, | |||
| float | y, | |||
| float | z | |||
| ) |
| void flagidle | ( | int | flag | ) |
| void flaginbase | ( | int | flag | ) |
| void flagpickup | ( | int | fln | ) |
| void flagreturn | ( | int | fln | ) |
| void flagscore | ( | int | fln | ) |
| void flagstolen | ( | int | flag, | |
| int | act | |||
| ) |
| void pickupeffects | ( | int | n, | |
| playerent * | d | |||
| ) |
| void putitems | ( | ucharbuf & | p | ) |
| void renderclip | ( | entity & | e | ) |
| void renderent | ( | entity & | e | ) |
| void renderentities | ( | ) |
| void resetspawns | ( | ) |
| bool selectnextprimary | ( | int | num | ) |
| void setspawn | ( | int | i, | |
| bool | on | |||
| ) |
| void tryflagdrop | ( | bool | manual | ) |
| void trypickup | ( | int | n, | |
| playerent * | d | |||
| ) |
| void trypickupflag | ( | int | flag, | |
| playerent * | d | |||
| ) |
| VARFP | ( | nextprimary | , | |
| 0 | , | |||
| GUN_ASSAULT | , | |||
| NUMGUNS | ||||
| ) |
| const char* entmdlnames[] |
Initial value:
{
"pickups/pistolclips", "pickups/ammobox", "pickups/nades", "pickups/health", "pickups/kevlar", "pickups/akimbo",
}
| const char* entnames[] |
Initial value:
{
"none?", "light", "playerstart",
"pistol", "ammobox","grenades",
"health", "armour", "akimbo",
"mapmodel", "trigger",
"ladder", "ctf-flag",
"sound", "clip", "", ""
}
| int flagdropmillis = 0 |
1.5.7.1