diff options
| author | 2026-10-25 02:03:03 +0000 | |
|---|---|---|
| committer | 2026-10-25 02:15:02 +0000 | |
| commit | 7a0fab54b28240c09e7992ffa8ac89be01454da6 (patch) | |
| tree | 55bd850b7291deaceed1f6eb34a7645ee5a3195e /src | |
| parent | ac133cc9f509a32f90882db5801557d805d59261 (diff) | |
| download | sst-7a0fab54b28240c09e7992ffa8ac89be01454da6.tar.gz sst-7a0fab54b28240c09e7992ffa8ac89be01454da6.zip | |
Add a partial struct definition for CGlobalVars
Diffstat (limited to 'src')
| -rw-r--r-- | src/engineapi.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/engineapi.h b/src/engineapi.h index f644a0c..5b3a23e 100644 --- a/src/engineapi.h +++ b/src/engineapi.h @@ -67,6 +67,18 @@ struct edict { float freetime; }; +struct CGlobalVars { + float realtime; + int framecount; + float absoluteframetime; + float curtime; + float frametime; + int maxclients; + int tickcount; + float tickinterval; + // other members differ after this point +}; + struct vec3f { float x, y, z; }; /* an RGBA colour, used for colour console messages as well as VGUI/HUD stuff */ |
