Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
63fe03b
Revert "Issue #123 - Removing Macros (#369) (#371)"
SaintWish Sep 15, 2026
4d93d14
fix nopush by @therenderman1337 (Dravus)
SaintWish Sep 16, 2026
ada656a
properly shutdown music and AS system on client
SaintWish Sep 16, 2026
ddd69ae
fix forgetfulness pot menu items
SaintWish Sep 19, 2026
cd79c77
attempt to fix steam xbow crash - Dravus
SaintWish Sep 21, 2026
ce46f18
add error logging for popups
SaintWish Sep 29, 2026
47c14a4
Fshard/turn in quest crash fixes (#377)
therenderman1337 Sep 30, 2026
f039c58
Possible fix for invisible armor/floating head bug (#379)
therenderman1337 Sep 30, 2026
752d605
Add fullbright support on models from BlueNightHawk, closes #192 (#378)
SaintWish Sep 30, 2026
a8296b8
farewell sweet prince, you won't be missed.
SaintWish Oct 1, 2026
25bdd0e
fix possible client crash
SaintWish Oct 1, 2026
2b06190
maybe fix character name cutoff at a space
SaintWish Oct 1, 2026
00d7f82
attempt to fix inventory double click bug
SaintWish Oct 1, 2026
4c1fa56
fix broken texture on character preview
SaintWish Oct 1, 2026
b81011a
remove old func define
SaintWish Oct 1, 2026
471cb51
fix possible crash with disconnect and chat again
SaintWish Oct 1, 2026
808de16
Update vgui_choosecharacter.cpp
SaintWish Oct 1, 2026
8350c3f
fix possible crash with logging
SaintWish Sep 30, 2026
9895dcc
fix possible client crash
SaintWish Oct 1, 2026
dc9cc62
QoL 1 Hotkey for dualwield and Potential Submodel Bug Fix - Dravus (#…
therenderman1337 Oct 4, 2026
43e4f87
fix linux compile error
SaintWish Oct 5, 2026
cd48b3a
standardize to Vector
SaintWish Oct 6, 2026
e0e338a
fix FireTargets to work with GM
SaintWish Oct 6, 2026
f8047ab
put AS stuff behind macro
SaintWish Oct 6, 2026
d3f2400
get rid of old cvars
SaintWish Oct 6, 2026
4017516
Rewrite character save format and remove client side character saving…
SaintWish Oct 8, 2026
649d940
syntax
SaintWish Oct 8, 2026
bdcfde6
remove forget steal for char
SaintWish Oct 8, 2026
b63223a
char: remove helptips field
SaintWish Oct 8, 2026
b672894
add fixed containers from HL featureful
SaintWish Oct 8, 2026
f958e04
change quickslots container
SaintWish Oct 8, 2026
98d2b53
redo help popup window
SaintWish Oct 8, 2026
5ab7896
minor refactor
SaintWish Oct 8, 2026
815b8e3
char: clean up some stuff
SaintWish Oct 8, 2026
5a826d8
AS_DISABLE
SaintWish Oct 8, 2026
93ab94d
fix party system
SaintWish Oct 9, 2026
fd3b39c
decrease max quickslots to 24
SaintWish Oct 9, 2026
ee1dd5a
party stuff
SaintWish Oct 9, 2026
9079e53
char: make body it's own field
SaintWish Oct 9, 2026
5a9278a
cleanup a bunch of render stuff
SaintWish Oct 10, 2026
708ea30
fix fog not working with sprites
SaintWish Oct 10, 2026
a737c06
implement particleman
SaintWish Oct 10, 2026
720cd46
add back opengl info printing
SaintWish Oct 10, 2026
146253b
Update cdll_int.cpp
SaintWish Oct 10, 2026
02cb925
draw script particles with particleman
SaintWish Oct 10, 2026
41c873a
make particle rendering part of CEnvMgr
SaintWish Oct 11, 2026
f80788e
change fog rendering order to fix env_beam
SaintWish Oct 11, 2026
d6fe0fa
fixes #213
SaintWish Oct 11, 2026
86b0a6a
Big amount of changes part 2! - Dravus (#383)
therenderman1337 Oct 11, 2026
f9ac796
fix retro hud background
SaintWish Oct 11, 2026
3f7ed6f
remove errant include
SaintWish Oct 11, 2026
a20ddd9
manually upload files cause git
SaintWish Oct 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion lib/include/vgui/VGUI_Dar.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ template<class ELEMTYPE> class VGUIAPI Dar
}
_count=count;
}
unsigned int getCount()
int getCount()
{
return _count;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/include/vgui/VGUI_String.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class VGUIAPI String

public:

unsigned int getCount();
int getCount();
String operator+(String text);
String operator+(const char* text);
bool operator==(String text);
Expand Down
6 changes: 3 additions & 3 deletions src/common/beamdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ struct beam_s
BEAM *next;
int type;
int flags;
vec3_t source;
vec3_t target;
vec3_t delta;
Vector source;
Vector target;
Vector delta;
float t; // 0 .. 1 over lifetime of beam
float freq;
float die;
Expand Down
14 changes: 7 additions & 7 deletions src/common/cl_entity.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ typedef struct
float prevanimtime;
float sequencetime;
byte prevseqblending[2];
vec3_t prevorigin;
vec3_t prevangles;
Vector prevorigin;
Vector prevangles;

int prevsequence;
float prevframe;
Expand All @@ -54,8 +54,8 @@ typedef struct
// Time stamp for this movement
float animtime;

vec3_t origin;
vec3_t angles;
Vector origin;
Vector angles;
} position_history_t;

typedef struct cl_entity_s cl_entity_t;
Expand Down Expand Up @@ -93,11 +93,11 @@ struct cl_entity_s
float lastmove;

// Actual render position and angles
vec3_t origin;
vec3_t angles;
Vector origin;
Vector angles;

// Attachment points
vec3_t attachment[4];
Vector attachment[4];

// Other entity local information
int trivial_accept;
Expand Down
14 changes: 7 additions & 7 deletions src/common/com_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ typedef struct
// 'model.h' and 'gl_model.h'
typedef struct mplane_s
{
vec3_t normal; // surface normal
Vector normal; // surface normal
float dist; // closest appoach to origin
byte type; // for texture axis selection and fast side tests
byte signbits; // signx + signy<<1 + signz<<1
Expand All @@ -96,7 +96,7 @@ typedef struct mplane_s

typedef struct
{
vec3_t position;
Vector position;
} mvertex_t;

// 06/23/2002 MAH
Expand Down Expand Up @@ -387,8 +387,8 @@ typedef struct hull_s
mplane_t *planes;
int firstclipnode;
int lastclipnode;
vec3_t clip_mins;
vec3_t clip_maxs;
Vector clip_mins;
Vector clip_maxs;
} hull_t;

#if !defined(CACHE_USER) && !defined(QUAKEDEF_H)
Expand All @@ -413,7 +413,7 @@ typedef struct model_s
//
// volume occupied by the model
//
vec3_t mins, maxs; // +0x054, +060
Vector mins, maxs; // +0x054, +060
float radius; // +0x06C

//
Expand Down Expand Up @@ -478,7 +478,7 @@ typedef struct alight_s
{
int ambientlight; // clip at 128
int shadelight; // clip at 192 - ambientlight
vec3_t color;
Vector color;
float *plightvec;
} alight_t;

Expand Down Expand Up @@ -523,7 +523,7 @@ typedef struct player_info_s
int gaitsequence;
float gaitframe;
float gaityaw;
vec3_t prevgaitorigin;
Vector prevgaitorigin;

customization_t customdata;
} player_info_t;
Expand Down
5 changes: 3 additions & 2 deletions src/common/const.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// Most came from server.h

#include "Platform.h"
#include "vector.h"

// edict->flags
#define FL_FLY (1 << 0) // Changes the SV_Movestep() behavior to not need to be on ground
Expand Down Expand Up @@ -760,7 +761,7 @@ typedef struct edict_s edict_t;

typedef struct
{
vec3_t normal;
Vector normal;
float dist;
} plane_t;

Expand All @@ -770,7 +771,7 @@ typedef struct
qboolean startsolid; // if true, the initial point was in a solid area
qboolean inopen, inwater;
float fraction; // time completed, 1.0 = didn't hit anything
vec3_t endpos; // final position
Vector endpos; // final position
plane_t plane; // surface normal at impact
edict_t *ent; // entity the surface is on
int hitgroup; // 0 == generic, non zero is specific body part
Expand Down
2 changes: 1 addition & 1 deletion src/common/dlight.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

typedef struct dlight_s
{
vec3_t origin;
Vector origin;
float radius;
color24 color;
float die; // stop lighting after this time
Expand Down
40 changes: 20 additions & 20 deletions src/common/entity_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ struct entity_state_s
int messagenum;

// Fields which can be transmitted and reconstructed over the network stream
vec3_t origin;
vec3_t angles;
Vector origin;
Vector angles;

int modelindex;
int sequence;
Expand All @@ -64,11 +64,11 @@ struct entity_state_s
int body;
byte controller[4];
byte blending[4];
vec3_t velocity;
Vector velocity;

// Send bbox down to client for use during prediction.
vec3_t mins;
vec3_t maxs;
Vector mins;
Vector maxs;

int aiment;
// If owned by a player, the index of that player ( for projectiles ).
Expand All @@ -87,7 +87,7 @@ struct entity_state_s
int weaponmodel;
int gaitsequence;
// If standing on conveyor, e.g.
vec3_t basevelocity;
Vector basevelocity;
// Use the crouched hull, or the regular player hull.
int usehull;
// Latched buttons last time state updated.
Expand All @@ -102,8 +102,8 @@ struct entity_state_s
int weaponanim;

// Parametric movement overrides
vec3_t startpos;
vec3_t endpos;
Vector startpos;
Vector endpos;
float impacttime; //MS - Used for model scale
float starttime;

Expand All @@ -116,25 +116,25 @@ struct entity_state_s
float fuser2;
float fuser3;
float fuser4;
vec3_t vuser1;
vec3_t vuser2;
vec3_t vuser3;
vec3_t vuser4; //MS - vuser4.x used to store idx of extra info (including all current bone positions)
Vector vuser1;
Vector vuser2;
Vector vuser3;
Vector vuser4; //MS - vuser4.x used to store idx of extra info (including all current bone positions)
};

#include "pm_info.h"

typedef struct clientdata_s
{
vec3_t origin;
vec3_t velocity;
Vector origin;
Vector velocity;

int viewmodel;
vec3_t punchangle;
Vector punchangle;
int flags;
int waterlevel;
int watertype;
vec3_t view_ofs;
Vector view_ofs;
float health;

int bInDuck;
Expand Down Expand Up @@ -175,10 +175,10 @@ typedef struct clientdata_s
float fuser2;
float fuser3;
float fuser4;
vec3_t vuser1;
vec3_t vuser2;
vec3_t vuser3;
vec3_t vuser4;
Vector vuser1;
Vector vuser2;
Vector vuser3;
Vector vuser4;
} clientdata_t;

#include "weaponinfo.h"
Expand Down
2 changes: 1 addition & 1 deletion src/common/mathlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#pragma once

#include <cmath>
#include "hl/vector.h"
#include "vector.h"

typedef float vec_t;
typedef vec_t vec4_t[4]; // x,y,z,w
Expand Down
4 changes: 2 additions & 2 deletions src/common/particledef.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ typedef enum
typedef struct particle_s
{
// driver-usable fields
vec3_t org;
Vector org;
short color;
short packedColor;
// drivers never touch the following fields
struct particle_s *next;
vec3_t vel;
Vector vel;
float ramp;
float die;
ptype_t type;
Expand Down
6 changes: 3 additions & 3 deletions src/common/pmtrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

typedef struct
{
vec3_t normal;
Vector normal;
float dist;
} pmplane_t;

Expand All @@ -32,10 +32,10 @@ struct pmtrace_s
qboolean startsolid; // if true, the initial point was in a solid area
qboolean inopen, inwater; // End point is in empty space or in water
float fraction; // time completed, 1.0 = didn't hit anything
vec3_t endpos; // final position
Vector endpos; // final position
pmplane_t plane; // surface normal at impact
int ent; // entity at impact
vec3_t deltavelocity; // Change in player's velocity caused by impact.
Vector deltavelocity; // Change in player's velocity caused by impact.
// Only run on server.
int hitgroup;
};
Expand Down
2 changes: 1 addition & 1 deletion src/common/r_efx.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ typedef struct tempent_s
// if COLLIDEALL, this is the index of the client to ignore
// TENTS with FTENT_PLYRATTACHMENT MUST set the clientindex!

vec3_t tentOffset; // if attached, client origin + tentOffset = tent origin.
Vector tentOffset; // if attached, client origin + tentOffset = tent origin.
cl_entity_t entity;

// baseline.origin - velocity
Expand Down
4 changes: 2 additions & 2 deletions src/common/r_studioint.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ typedef struct sv_blending_interface_s
void (*SV_StudioSetupBones)(struct model_s *pModel,
float frame,
int sequence,
const vec3_t angles,
const vec3_t origin,
const Vector angles,
const Vector origin,
const byte *pcontroller,
const byte *pblending,
int iBone,
Expand Down
2 changes: 1 addition & 1 deletion src/common/triangleapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ typedef struct triangleapi_s
void (*Color4f)(float r, float g, float b, float a);
void (*Color4ub)(unsigned char r, unsigned char g, unsigned char b, unsigned char a);
void (*TexCoord2f)(float u, float v);
void (*Vertex3fv)(float *worldPnt);
void (*Vertex3fv)(const float *worldPnt);
void (*Vertex3f)(float x, float y, float z);
void (*Brightness)(float brightness);
void (*CullFace)(TRICULLSTYLE style);
Expand Down
4 changes: 2 additions & 2 deletions src/common/usercmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ typedef struct usercmd_s
{
short lerp_msec; // Interpolation time on client
byte msec; // Duration in ms of command
vec3_t viewangles; // Command view angles.
Vector viewangles; // Command view angles.

// intended velocities
float forwardmove; // Forward velocity.
Expand All @@ -35,7 +35,7 @@ typedef struct usercmd_s

// Experimental player impact stuff.
int impact_index;
vec3_t impact_position;
Vector impact_position;
} usercmd_t;

#endif // USERCMD_H
Loading
Loading