DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
sizebuf_t Struct Reference

#include <common.h>

Collaboration diagram for sizebuf_t:

Data Fields

qbool allowoverflow
 if false, do a Sys_Error
qbool badread
int cursize
unsigned char * data
int maxsize
qbool overflowed
 set to true if the buffer size failed
int readcount

Detailed Description

Definition at line 48 of file common.h.

Field Documentation

◆ allowoverflow

qbool sizebuf_t::allowoverflow

if false, do a Sys_Error

Definition at line 50 of file common.h.

Referenced by EntityFrameCSQC_WriteFrame(), SV_ConnectClient(), and SV_SendClientDatagram().

◆ badread

◆ cursize

int sizebuf_t::cursize

Definition at line 54 of file common.h.

Referenced by CL_VM_Parse_CenterPrint(), CL_VM_Parse_Print(), CL_VM_Parse_StuffCmd(), CLVM_ExecuteProgram(), EntityFrame4_WriteFrame(), EntityFrame5_WriteFrame(), EntityFrameCSQC_WriteFrame(), EntityFrameQuake_WriteFrame(), FS_Inflate(), Mod_BSP_LoadSubmodels(), Mod_Q1BSP_Load(), Mod_Q1BSP_LoadClipnodes(), Mod_Q1BSP_LoadEdges(), Mod_Q1BSP_LoadEntities(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadLeaffaces(), Mod_Q1BSP_LoadLeafs(), Mod_Q1BSP_LoadLighting(), Mod_Q1BSP_LoadNodes(), Mod_Q1BSP_LoadPlanes(), Mod_Q1BSP_LoadSurfedges(), Mod_Q1BSP_LoadTexinfo(), Mod_Q1BSP_LoadTextures(), Mod_Q1BSP_LoadVertexes(), Mod_Q1BSP_LoadVisibility(), Mod_Q2BSP_Load(), Mod_Q2BSP_LoadAreaPortals(), Mod_Q2BSP_LoadAreas(), Mod_Q2BSP_LoadBrushes(), Mod_Q2BSP_LoadBrushSides(), Mod_Q2BSP_LoadLeafBrushes(), Mod_Q2BSP_LoadLeafs(), Mod_Q2BSP_LoadLighting(), Mod_Q2BSP_LoadNodes(), Mod_Q2BSP_LoadPOP(), Mod_Q2BSP_LoadTexinfo(), Mod_Q2BSP_LoadVisibility(), Mod_VBSP_Load(), Mod_VBSP_LoadEdges(), Mod_VBSP_LoadEntities(), Mod_VBSP_LoadFaces(), Mod_VBSP_LoadPlanes(), Mod_VBSP_LoadSurfedges(), Mod_VBSP_LoadTexinfo(), Mod_VBSP_LoadVertexes(), MSG_ReadBigFloat(), MSG_ReadBigLong(), MSG_ReadBigShort(), MSG_ReadLittleFloat(), MSG_ReadLittleLong(), MSG_ReadLittleShort(), NetConn_Open(), NetConn_SendUnreliableMessage(), PRVM_ConsoleCommand(), PRVM_GameCommand(), PRVM_GetString(), PRVM_Prog_Reset(), PRVM_SetTempString(), SV_FlushBroadcastMessages(), SV_Impact(), SV_ReadClientMessage(), SV_SendClientDatagram(), SV_WriteDemoMessage(), SV_WriteEntitiesToClient(), SV_WriteUnreliableMessages(), SVVM_ExecuteProgram(), and W_ConvertWAD3TextureBGRA().

◆ data

◆ maxsize

◆ overflowed

qbool sizebuf_t::overflowed

set to true if the buffer size failed

Definition at line 51 of file common.h.

Referenced by EntityFrameCSQC_WriteFrame(), and NetConn_SendUnreliableMessage().

◆ readcount


The documentation for this struct was generated from the following file: