# BASEDIRNAME
const BASEDIRNAME = "baseq2"Defines the basedirname constant used by the miniquake2 qcommon constants module.
src/miniquake2/qcommon/constants.mlProvides miniquake2 qcommon constants facilities for this project.
const BASEDIRNAME = "baseq2"Defines the basedirname constant used by the miniquake2 qcommon constants module.
const BUTTON_ANY = 128Defines the button any constant used by the miniquake2 qcommon constants module.
const BUTTON_ATTACK = 1Defines the button attack constant used by the miniquake2 qcommon constants module.
const BUTTON_USE = 2Defines the button use constant used by the miniquake2 qcommon constants module.
const CLC_BAD = 0client-to-server protocol opcodes (clc_ops_e)
const CLC_MOVE = 2Defines the clc move constant used by the miniquake2 qcommon constants module.
const CLC_NOP = 1Defines the clc nop constant used by the miniquake2 qcommon constants module.
const CLC_STRINGCMD = 4Defines the clc stringcmd constant used by the miniquake2 qcommon constants module.
const CLC_USERINFO = 3Defines the clc userinfo constant used by the miniquake2 qcommon constants module.
const CM_ANGLE1 = 1 << 0usercmd_t delta flags
const CM_ANGLE2 = 1 << 1Defines the cm angle2 constant used by the miniquake2 qcommon constants module.
const CM_ANGLE3 = 1 << 2Defines the cm angle3 constant used by the miniquake2 qcommon constants module.
const CM_BUTTONS = 1 << 6Defines the cm buttons constant used by the miniquake2 qcommon constants module.
const CM_FORWARD = 1 << 3Defines the cm forward constant used by the miniquake2 qcommon constants module.
const CM_IMPULSE = 1 << 7Defines the cm impulse constant used by the miniquake2 qcommon constants module.
const CM_SIDE = 1 << 4Defines the cm side constant used by the miniquake2 qcommon constants module.
const CM_UP = 1 << 5Defines the cm up constant used by the miniquake2 qcommon constants module.
const CONTENTS_AREAPORTAL = 32768Defines the contents areaportal constant used by the miniquake2 qcommon constants module.
const CONTENTS_AUX = 4Defines the contents aux constant used by the miniquake2 qcommon constants module.
const CONTENTS_CURRENT_0 = 262144Defines the contents current 0 constant used by the miniquake2 qcommon constants module.
const CONTENTS_CURRENT_180 = 1048576Defines the contents current 180 constant used by the miniquake2 qcommon constants module.
const CONTENTS_CURRENT_270 = 2097152Defines the contents current 270 constant used by the miniquake2 qcommon constants module.
const CONTENTS_CURRENT_90 = 524288Defines the contents current 90 constant used by the miniquake2 qcommon constants module.
const CONTENTS_CURRENT_DOWN = 8388608Defines the contents current down constant used by the miniquake2 qcommon constants module.
const CONTENTS_CURRENT_UP = 4194304Defines the contents current up constant used by the miniquake2 qcommon constants module.
const CONTENTS_DEADMONSTER = 67108864Defines the contents deadmonster constant used by the miniquake2 qcommon constants module.
const CONTENTS_DETAIL = 134217728Defines the contents detail constant used by the miniquake2 qcommon constants module.
const CONTENTS_LADDER = 536870912Defines the contents ladder constant used by the miniquake2 qcommon constants module.
const CONTENTS_LAVA = 8Defines the contents lava constant used by the miniquake2 qcommon constants module.
const CONTENTS_MIST = 64Defines the contents mist constant used by the miniquake2 qcommon constants module.
const CONTENTS_MONSTER = 33554432Defines the contents monster constant used by the miniquake2 qcommon constants module.
const CONTENTS_MONSTERCLIP = 131072Defines the contents monsterclip constant used by the miniquake2 qcommon constants module.
const CONTENTS_ORIGIN = 16777216Defines the contents origin constant used by the miniquake2 qcommon constants module.
const CONTENTS_PLAYERCLIP = 65536Defines the contents playerclip constant used by the miniquake2 qcommon constants module.
const CONTENTS_SLIME = 16Defines the contents slime constant used by the miniquake2 qcommon constants module.
const CONTENTS_SOLID = 1Defines the contents solid constant used by the miniquake2 qcommon constants module.
const CONTENTS_TRANSLUCENT = 268435456Defines the contents translucent constant used by the miniquake2 qcommon constants module.
const CONTENTS_WATER = 32Defines the contents water constant used by the miniquake2 qcommon constants module.
const CONTENTS_WINDOW = 2Defines the contents window constant used by the miniquake2 qcommon constants module.
const CS_AIRACCEL = 29Defines the cs airaccel constant used by the miniquake2 qcommon constants module.
const CS_CDTRACK = 1Defines the cs cdtrack constant used by the miniquake2 qcommon constants module.
const CS_GENERAL = CS_PLAYERSKINS + MAX_CLIENTSDefines the cs general constant used by the miniquake2 qcommon constants module.
const CS_IMAGES = CS_SOUNDS + MAX_SOUNDSDefines the cs images constant used by the miniquake2 qcommon constants module.
const CS_ITEMS = CS_LIGHTS + MAX_LIGHTSTYLESDefines the cs items constant used by the miniquake2 qcommon constants module.
const CS_LIGHTS = CS_IMAGES + MAX_IMAGESDefines the cs lights constant used by the miniquake2 qcommon constants module.
const CS_MAPCHECKSUM = 31Defines the cs mapchecksum constant used by the miniquake2 qcommon constants module.
const CS_MAXCLIENTS = 30Defines the cs maxclients constant used by the miniquake2 qcommon constants module.
const CS_MODELS = 32Defines the cs models constant used by the miniquake2 qcommon constants module.
const CS_NAME = 0Defines the cs name constant used by the miniquake2 qcommon constants module.
const CS_PLAYERSKINS = CS_ITEMS + MAX_ITEMSDefines the cs playerskins constant used by the miniquake2 qcommon constants module.
const CS_SKY = 2Defines the cs sky constant used by the miniquake2 qcommon constants module.
const CS_SKYAXIS = 3Defines the cs skyaxis constant used by the miniquake2 qcommon constants module.
const CS_SKYROTATE = 4Defines the cs skyrotate constant used by the miniquake2 qcommon constants module.
const CS_SOUNDS = CS_MODELS + MAX_MODELSDefines the cs sounds constant used by the miniquake2 qcommon constants module.
const CS_STATUSBAR = 5Defines the cs statusbar constant used by the miniquake2 qcommon constants module.
const CVAR_ARCHIVE = 1Defines the cvar archive constant used by the miniquake2 qcommon constants module.
const CVAR_LATCH = 16Defines the cvar latch constant used by the miniquake2 qcommon constants module.
const CVAR_NOSET = 8Defines the cvar noset constant used by the miniquake2 qcommon constants module.
const CVAR_SERVERINFO = 4Defines the cvar serverinfo constant used by the miniquake2 qcommon constants module.
const CVAR_USERINFO = 2Defines the cvar userinfo constant used by the miniquake2 qcommon constants module.
const DEFAULT_SOUND_PACKET_ATTENUATION = 1.Defines the default sound packet attenuation constant used by the miniquake2 qcommon constants module.
const DEFAULT_SOUND_PACKET_VOLUME = 1.Defines the default sound packet volume constant used by the miniquake2 qcommon constants module.
const ERR_DISCONNECT = 2Defines the err disconnect constant used by the miniquake2 qcommon constants module.
const ERR_DROP = 1Defines the err drop constant used by the miniquake2 qcommon constants module.
const ERR_FATAL = 0Defines the err fatal constant used by the miniquake2 qcommon constants module.
const LAST_VISIBLE_CONTENTS = 64Defines the last visible contents constant used by the miniquake2 qcommon constants module.
const MASK_ALL = -1Defines the mask all constant used by the miniquake2 qcommon constants module.
const MASK_CURRENT = CONTENTS_CURRENT_0 | CONTENTS_CURRENT_90 | CONTENTS_CURRENT_180 | CONTENTS_CURRENT_270 | CONTENTS_CURRENT_UP | CONTENTS_CURRENT_DOWNDefines the mask current constant used by the miniquake2 qcommon constants module.
const MASK_DEADSOLID = CONTENTS_SOLID | CONTENTS_PLAYERCLIP | CONTENTS_WINDOWDefines the mask deadsolid constant used by the miniquake2 qcommon constants module.
const MASK_MONSTERSOLID = CONTENTS_SOLID | CONTENTS_MONSTERCLIP | CONTENTS_WINDOW | CONTENTS_MONSTERDefines the mask monstersolid constant used by the miniquake2 qcommon constants module.
const MASK_OPAQUE = CONTENTS_SOLID | CONTENTS_SLIME | CONTENTS_LAVADefines the mask opaque constant used by the miniquake2 qcommon constants module.
const MASK_PLAYERSOLID = CONTENTS_SOLID | CONTENTS_PLAYERCLIP | CONTENTS_WINDOW | CONTENTS_MONSTERDefines the mask playersolid constant used by the miniquake2 qcommon constants module.
const MASK_SHOT = CONTENTS_SOLID | CONTENTS_MONSTER | CONTENTS_WINDOW | CONTENTS_DEADMONSTERDefines the mask shot constant used by the miniquake2 qcommon constants module.
const MASK_SOLID = CONTENTS_SOLID | CONTENTS_WINDOWDefines the mask solid constant used by the miniquake2 qcommon constants module.
const MASK_WATER = CONTENTS_WATER | CONTENTS_LAVA | CONTENTS_SLIMEDefines the mask water constant used by the miniquake2 qcommon constants module.
const MAX_CLIENTS = 256Defines the max clients constant used by the miniquake2 qcommon constants module.
const MAX_CONFIGSTRINGS = CS_GENERAL + MAX_GENERALDefines the max configstrings constant used by the miniquake2 qcommon constants module.
const MAX_EDICTS = 1024Defines the max edicts constant used by the miniquake2 qcommon constants module.
const MAX_GENERAL = 512Defines the max general constant used by the miniquake2 qcommon constants module.
const MAX_IMAGES = 256Defines the max images constant used by the miniquake2 qcommon constants module.
const MAX_INFO_KEY = 64Defines the max info key constant used by the miniquake2 qcommon constants module.
const MAX_INFO_STRING = 512Defines the max info string constant used by the miniquake2 qcommon constants module.
const MAX_INFO_VALUE = 64Defines the max info value constant used by the miniquake2 qcommon constants module.
const MAX_ITEMS = 256Defines the max items constant used by the miniquake2 qcommon constants module.
const MAX_LIGHTSTYLES = 256Defines the max lightstyles constant used by the miniquake2 qcommon constants module.
const MAX_MODELS = 256Defines the max models constant used by the miniquake2 qcommon constants module.
const MAX_MSGLEN = 1400Defines the max msglen constant used by the miniquake2 qcommon constants module.
const MAX_OSPATH = 128Defines the max ospath constant used by the miniquake2 qcommon constants module.
const MAX_QPATH = 64Defines the max qpath constant used by the miniquake2 qcommon constants module.
const MAX_SOUNDS = 256Defines the max sounds constant used by the miniquake2 qcommon constants module.
const MAX_STRING_CHARS = 1024Defines the max string chars constant used by the miniquake2 qcommon constants module.
const MAX_STRING_TOKENS = 80Defines the max string tokens constant used by the miniquake2 qcommon constants module.
const MAX_TOKEN_CHARS = 128Defines the max token chars constant used by the miniquake2 qcommon constants module.
const MAXTOUCH = 32Defines the maxtouch constant used by the miniquake2 qcommon constants module.
const PACKET_HEADER = 10Defines the packet header constant used by the miniquake2 qcommon constants module.
const PITCH = 0Defines the pitch constant used by the miniquake2 qcommon constants module.
const PM_DEAD = 2Defines the pm dead constant used by the miniquake2 qcommon constants module.
const PM_FREEZE = 4Defines the pm freeze constant used by the miniquake2 qcommon constants module.
const PM_GIB = 3Defines the pm gib constant used by the miniquake2 qcommon constants module.
const PM_NORMAL = 0Defines the pm normal constant used by the miniquake2 qcommon constants module.
const PM_SPECTATOR = 1Defines the pm spectator constant used by the miniquake2 qcommon constants module.
const PMF_DUCKED = 1Defines the pmf ducked constant used by the miniquake2 qcommon constants module.
const PMF_JUMP_HELD = 2Defines the pmf jump held constant used by the miniquake2 qcommon constants module.
const PMF_NO_PREDICTION = 64Defines the pmf no prediction constant used by the miniquake2 qcommon constants module.
const PMF_ON_GROUND = 4Defines the pmf on ground constant used by the miniquake2 qcommon constants module.
const PMF_TIME_LAND = 16Defines the pmf time land constant used by the miniquake2 qcommon constants module.
const PMF_TIME_TELEPORT = 32Defines the pmf time teleport constant used by the miniquake2 qcommon constants module.
const PMF_TIME_WATERJUMP = 8Defines the pmf time waterjump constant used by the miniquake2 qcommon constants module.
const PORT_ANY = -1Defines the port any constant used by the miniquake2 qcommon constants module.
const PORT_CLIENT = 27901Defines the port client constant used by the miniquake2 qcommon constants module.
const PORT_MASTER = 27900Defines the port master constant used by the miniquake2 qcommon constants module.
const PORT_SERVER = 27910Defines the port server constant used by the miniquake2 qcommon constants module.
const PRINT_CHAT = 3Defines the print chat constant used by the miniquake2 qcommon constants module.
const PRINT_HIGH = 2Defines the print high constant used by the miniquake2 qcommon constants module.
const PRINT_LOW = 0Defines the print low constant used by the miniquake2 qcommon constants module.
const PRINT_MEDIUM = 1Defines the print medium constant used by the miniquake2 qcommon constants module.
const PROTOCOL_VERSION = 34Defines the protocol version constant used by the miniquake2 qcommon constants module.
const PS_BLEND = 1 << 10Defines the ps blend constant used by the miniquake2 qcommon constants module.
const PS_FOV = 1 << 11Defines the ps fov constant used by the miniquake2 qcommon constants module.
const PS_KICKANGLES = 1 << 9Defines the ps kickangles constant used by the miniquake2 qcommon constants module.
const PS_M_DELTA_ANGLES = 1 << 6Defines the ps m delta angles constant used by the miniquake2 qcommon constants module.
const PS_M_FLAGS = 1 << 4Defines the ps m flags constant used by the miniquake2 qcommon constants module.
const PS_M_GRAVITY = 1 << 5Defines the ps m gravity constant used by the miniquake2 qcommon constants module.
const PS_M_ORIGIN = 1 << 1Defines the ps m origin constant used by the miniquake2 qcommon constants module.
const PS_M_TIME = 1 << 3Defines the ps m time constant used by the miniquake2 qcommon constants module.
const PS_M_TYPE = 1 << 0player_state_t delta flags
const PS_M_VELOCITY = 1 << 2Defines the ps m velocity constant used by the miniquake2 qcommon constants module.
const PS_RDFLAGS = 1 << 14Defines the ps rdflags constant used by the miniquake2 qcommon constants module.
const PS_VIEWANGLES = 1 << 8Defines the ps viewangles constant used by the miniquake2 qcommon constants module.
const PS_VIEWOFFSET = 1 << 7Defines the ps viewoffset constant used by the miniquake2 qcommon constants module.
const PS_WEAPONFRAME = 1 << 13Defines the ps weaponframe constant used by the miniquake2 qcommon constants module.
const PS_WEAPONINDEX = 1 << 12Defines the ps weaponindex constant used by the miniquake2 qcommon constants module.
const ROLL = 2Defines the roll constant used by the miniquake2 qcommon constants module.
const SND_ATTENUATION = 1 << 1Defines the snd attenuation constant used by the miniquake2 qcommon constants module.
const SND_ENT = 1 << 3Defines the snd ent constant used by the miniquake2 qcommon constants module.
const SND_OFFSET = 1 << 4Defines the snd offset constant used by the miniquake2 qcommon constants module.
const SND_POS = 1 << 2Defines the snd pos constant used by the miniquake2 qcommon constants module.
const SND_VOLUME = 1 << 0sound packet flags
const SURF_FLOWING = 64Defines the surf flowing constant used by the miniquake2 qcommon constants module.
const SURF_LIGHT = 1Defines the surf light constant used by the miniquake2 qcommon constants module.
const SURF_NODRAW = 128Defines the surf nodraw constant used by the miniquake2 qcommon constants module.
const SURF_SKY = 4Defines the surf sky constant used by the miniquake2 qcommon constants module.
const SURF_SLICK = 2Defines the surf slick constant used by the miniquake2 qcommon constants module.
const SURF_TRANS33 = 16Defines the surf trans33 constant used by the miniquake2 qcommon constants module.
const SURF_TRANS66 = 32Defines the surf trans66 constant used by the miniquake2 qcommon constants module.
const SURF_WARP = 8Defines the surf warp constant used by the miniquake2 qcommon constants module.
const SVC_BAD = 0server-to-client protocol opcodes (svc_ops_e)
const SVC_CENTERPRINT = 15Defines the svc centerprint constant used by the miniquake2 qcommon constants module.
const SVC_CONFIGSTRING = 13Defines the svc configstring constant used by the miniquake2 qcommon constants module.
const SVC_DELTAPACKETENTITIES = 19Defines the svc deltapacketentities constant used by the miniquake2 qcommon constants module.
const SVC_DISCONNECT = 7Defines the svc disconnect constant used by the miniquake2 qcommon constants module.
const SVC_DOWNLOAD = 16Defines the svc download constant used by the miniquake2 qcommon constants module.
const SVC_FRAME = 20Defines the svc frame constant used by the miniquake2 qcommon constants module.
const SVC_INVENTORY = 5Defines the svc inventory constant used by the miniquake2 qcommon constants module.
const SVC_LAYOUT = 4Defines the svc layout constant used by the miniquake2 qcommon constants module.
const SVC_MUZZLEFLASH = 1Defines the svc muzzleflash constant used by the miniquake2 qcommon constants module.
const SVC_MUZZLEFLASH2 = 2Defines the svc muzzleflash2 constant used by the miniquake2 qcommon constants module.
const SVC_NOP = 6Defines the svc nop constant used by the miniquake2 qcommon constants module.
const SVC_PACKETENTITIES = 18Defines the svc packetentities constant used by the miniquake2 qcommon constants module.
const SVC_PLAYERINFO = 17Defines the svc playerinfo constant used by the miniquake2 qcommon constants module.
const SVC_PRINT = 10Defines the svc print constant used by the miniquake2 qcommon constants module.
const SVC_RECONNECT = 8Defines the svc reconnect constant used by the miniquake2 qcommon constants module.
const SVC_SERVERDATA = 12Defines the svc serverdata constant used by the miniquake2 qcommon constants module.
const SVC_SOUND = 9Defines the svc sound constant used by the miniquake2 qcommon constants module.
const SVC_SPAWNBASELINE = 14Defines the svc spawnbaseline constant used by the miniquake2 qcommon constants module.
const SVC_STUFFTEXT = 11Defines the svc stufftext constant used by the miniquake2 qcommon constants module.
const SVC_TEMP_ENTITY = 3Defines the svc temp entity constant used by the miniquake2 qcommon constants module.
const U_ANGLE1 = 1 << 10Defines the u angle1 constant used by the miniquake2 qcommon constants module.
const U_ANGLE2 = 1 << 2Defines the u angle2 constant used by the miniquake2 qcommon constants module.
const U_ANGLE3 = 1 << 3Defines the u angle3 constant used by the miniquake2 qcommon constants module.
const U_EFFECTS16 = 1 << 19Defines the u effects16 constant used by the miniquake2 qcommon constants module.
const U_EFFECTS8 = 1 << 14Defines the u effects8 constant used by the miniquake2 qcommon constants module.
const U_EVENT = 1 << 5Defines the u event constant used by the miniquake2 qcommon constants module.
const U_FRAME16 = 1 << 17Defines the u frame16 constant used by the miniquake2 qcommon constants module.
const U_FRAME8 = 1 << 4Defines the u frame8 constant used by the miniquake2 qcommon constants module.
const U_MODEL = 1 << 11Defines the u model constant used by the miniquake2 qcommon constants module.
const U_MODEL2 = 1 << 20Defines the u model2 constant used by the miniquake2 qcommon constants module.
const U_MODEL3 = 1 << 21Defines the u model3 constant used by the miniquake2 qcommon constants module.
const U_MODEL4 = 1 << 22Defines the u model4 constant used by the miniquake2 qcommon constants module.
const U_MOREBITS1 = 1 << 7Defines the u morebits1 constant used by the miniquake2 qcommon constants module.
const U_MOREBITS2 = 1 << 15Defines the u morebits2 constant used by the miniquake2 qcommon constants module.
const U_MOREBITS3 = 1 << 23Defines the u morebits3 constant used by the miniquake2 qcommon constants module.
const U_NUMBER16 = 1 << 8Defines the u number16 constant used by the miniquake2 qcommon constants module.
const U_OLDORIGIN = 1 << 24Defines the u oldorigin constant used by the miniquake2 qcommon constants module.
const U_ORIGIN1 = 1 << 0entity_state_t delta flags. The missing bit 13 is intentional in protocol 34.
const U_ORIGIN2 = 1 << 1Defines the u origin2 constant used by the miniquake2 qcommon constants module.
const U_ORIGIN3 = 1 << 9Defines the u origin3 constant used by the miniquake2 qcommon constants module.
const U_REMOVE = 1 << 6Defines the u remove constant used by the miniquake2 qcommon constants module.
const U_RENDERFX16 = 1 << 18Defines the u renderfx16 constant used by the miniquake2 qcommon constants module.
const U_RENDERFX8 = 1 << 12Defines the u renderfx8 constant used by the miniquake2 qcommon constants module.
const U_SKIN16 = 1 << 25Defines the u skin16 constant used by the miniquake2 qcommon constants module.
const U_SKIN8 = 1 << 16Defines the u skin8 constant used by the miniquake2 qcommon constants module.
const U_SOLID = 1 << 27Defines the u solid constant used by the miniquake2 qcommon constants module.
const U_SOUND = 1 << 26Defines the u sound constant used by the miniquake2 qcommon constants module.
const UPDATE_BACKUP = 16Defines the update backup constant used by the miniquake2 qcommon constants module.
const UPDATE_MASK = 15Defines the update mask constant used by the miniquake2 qcommon constants module.
const VERSION = 3.19Defines the version constant used by the miniquake2 qcommon constants module.
const YAW = 1Defines the yaw constant used by the miniquake2 qcommon constants module.