Commit graph

3194 commits

Author SHA1 Message Date
smallmodel
725561b655
Fix the usage of memory, strings, constant and parameters 2024-09-08 23:54:47 +02:00
smallmodel
b84fbf452e
Pass a vec4_t to GL_SetFogColor() rather than a vec3_t 2024-09-08 23:49:48 +02:00
smallmodel
eb7af2bce9
Implement basic test emitter functions 2024-09-08 23:33:55 +02:00
smallmodel
7c57c4b131
Fix wrong secondary ammo type being picked up 2024-09-08 20:20:58 +02:00
smallmodel
4460466cb3
Implement RE_SetRenderTime 2024-09-08 19:43:37 +02:00
smallmodel
eea19d733d
Add R_UpdateGhostTextures (unimplemented) 2024-09-08 19:43:29 +02:00
smallmodel
abc97dcab3
Implement R_AddTerrainMarkSurfaces and RE_AddTerrainMarkToScene 2024-09-08 19:40:00 +02:00
smallmodel
065c791a10
Implement CG_ResetEffectCommandCvars 2024-09-08 19:29:40 +02:00
smallmodel
6b902e7f5d
Remove "unimplemented" comment 2024-09-08 18:49:45 +02:00
smallmodel
df0cb87b35
Implement CG_AddLightShow (cg_acidtrip) 2024-09-08 18:48:15 +02:00
smallmodel
0b9687fea4
Implement functions for printing content types, surface properties and surface types 2024-09-08 18:39:39 +02:00
smallmodel
99fbe092bc
Use correct names for surface flags 2024-09-08 18:34:02 +02:00
smallmodel
7a7849ae83
Remove comment 2024-09-08 18:25:10 +02:00
smallmodel
47830bb330
Update version number 2024-09-08 18:24:59 +02:00
smallmodel
0dfb1a3a2a
Use Com_DPrintf for TIKI/alias warnings/errors
This prevent the console from getting spammed with developer errors in production
2024-09-08 18:22:12 +02:00
smallmodel
e2e1ab0275
Fix status command column length breaking some programs 2024-09-08 18:09:54 +02:00
smallmodel
4249cacf2f
Support token dollar in variable name
This fixes mods like trapshooting not working because of a '$' in a variable name
2024-09-08 18:03:43 +02:00
smallmodel
4e3ec52673
Fix a crash due to NULL string being appended 2024-09-08 18:02:57 +02:00
smallmodel
98991a4a7a
Fix file ordering with uppercase/lowercase file names 2024-09-08 17:59:30 +02:00
smallmodel
bca6d656b6
Fix bad verts value passed to CG_AddFragmentToScene 2024-09-08 17:53:35 +02:00
smallmodel
ffc3580d43
Implement CG_CheckCaptureKey 2024-09-08 16:31:19 +02:00
smallmodel
c18cdc78ea
Fix Cgame key catching 2024-09-08 15:48:46 +02:00
smallmodel
77ecc73631
Implement lens flare / sun flares
Some maps like mohdm1 have a sun flares, now when you look up the sky towards the sun direction, you will see the flare of the sun
2024-09-08 15:31:18 +02:00
smallmodel
3834f51d74
Fix GetNamedWidget() always returning the last valid widget
This is problematic when doing different logic when a widget doesn't exist, for example when loading a map, if the continue button doesn't exist then the game should continue automatically
2024-09-08 15:06:43 +02:00
smallmodel
86ddec3f76
Clear the world to prevent crashes 2024-09-08 14:59:10 +02:00
smallmodel
4d12bcb184
Export s_sun 2024-09-08 00:52:03 +02:00
smallmodel
8e1a52bbb7
Implement VIS debugging 2024-09-07 23:58:50 +02:00
smallmodel
cd9b1a741f
Match CG_PermanentMark parameters
This fixes #355
2024-09-07 23:57:17 +02:00
smallmodel
cefe331e0c
Remove useless surface flags 2024-09-07 23:51:52 +02:00
smallmodel
14d1fae54a
Implement all treadmark functions 2024-09-06 22:10:22 +02:00
smallmodel
a1601be7a6
Implement code to make tread mark decals 2024-09-05 23:54:01 +02:00
smallmodel
b7f0f32878
Fix DCL signature on big-endian architectures 2024-09-05 01:14:42 +02:00
smallmodel
58e39add5b
Implemented treadmarks update functions 2024-09-05 01:04:53 +02:00
smallmodel
61725c95df
Add MASK_TREADMARKS 2024-09-05 00:43:36 +02:00
smallmodel
71a1df661a
Fix current mark's alpha component not updating properly 2024-09-04 21:54:49 +02:00
smallmodel
9eed0eab5f
Implement CG_PermanentMark 2024-09-04 21:51:42 +02:00
smallmodel
e42b6fe0a9
Fix current mark not updating if it has a rotation 2024-09-04 21:51:16 +02:00
smallmodel
b1e640ad1d
Implement CG_PermanentMark 2024-09-04 21:41:16 +02:00
smallmodel
2fc091fdf7
Skip loading if the file length is less than the dcl header length 2024-09-04 20:56:41 +02:00
smallmodel
47ba241e7d
Fix file being closed but still used afterwards 2024-09-04 20:50:22 +02:00
smallmodel
c0d37c504a
Fix infinite loop in R_TerrainHeightForPoly 2024-09-04 20:46:10 +02:00
smallmodel
1e0195f6e3
Add variables that will be used in unimplemented functions 2024-09-04 20:29:29 +02:00
smallmodel
e806c1ddf1
Move MAX_MARK values to tr_types_new.h 2024-09-04 20:23:20 +02:00
smallmodel
78f0072c59
Update the SFX datasize when downsampling
This fixes #349 where the size of the AL buffer didn't match the real downsampled size, which would cause AL to read way past of end of the data buffer
2024-09-04 20:12:46 +02:00
smallmodel
1022ce531a
Fix AL buffers having sound data past end of the sound buffer 2024-09-04 20:10:56 +02:00
smallmodel
7f08a7bca8
Remove register keyword as it's deprecated since C++17 2024-09-04 20:10:21 +02:00
smallmodel
4123bef60d
Implement R_ApplyLevelDecal 2024-09-04 20:05:48 +02:00
smallmodel
c6464efa07
Implement level mark loading and updating 2024-09-04 00:02:07 +02:00
smallmodel
3733761696
Fix the reloading sound in 2.0, the behavior is different in 2.0 and 2.30 2024-09-02 19:52:32 +02:00
smallmodel
cde7cbc3a3
Implement G_ClientDrawTags 2024-09-02 19:52:32 +02:00