Commit graph

982 commits

Author SHA1 Message Date
smallmodel
6082e0abe1
Workaround to fix crash on mohaa fx 2023-07-23 13:46:32 +02:00
smallmodel
23cf561405
Fixed infinite loop in VSS_CalcRepulsionForces 2023-07-23 13:46:15 +02:00
smallmodel
a6c7f7d4e0
Fixed animation map 2023-07-23 13:44:30 +02:00
smallmodel
74f230077d
Fixed ClientGameCommandManager::BeginTagSpawnLinked incorrectly working
Implemented ClientGameCommandManager::IsBlockCommand
Support for T_WAVE in ClientGameCommandManager::UpdateEmitter
2023-07-22 21:34:18 +02:00
smallmodel
c2cc57fa6b
Made model check case-insensitive (this fixes thing like recaching, and this fixes cgame crashing with m_spawnthing being null during model parsing) 2023-07-22 21:27:56 +02:00
smallmodel
7b1ab5fea6
Fixed wrong emitter being used
Free temp model if it has no dlight and no model name
2023-07-22 20:36:11 +02:00
smallmodel
3161f28da6
Initialize pEvent to 0 2023-07-22 20:06:16 +02:00
smallmodel
403e98fba6
Implemented ClientGameCommandManager::BeginTagSpawnLinked 2023-07-22 17:45:27 +02:00
smallmodel
3e657679a0
Replaced calls to SpawnTempModel by calls to SpawnEffect call
Set m_spawnthing to m_localemitter if the current SFX is null
2023-07-22 17:35:06 +02:00
smallmodel
7c2cdd52b0
Using SFX enum to spawn SFX 2023-07-22 17:35:02 +02:00
smallmodel
6c46c5d5c0
Fixed life_random not working 2023-07-22 15:49:44 +02:00
smallmodel
930784bdf3
Don't initialize the spawnthing if there is a current SFX 2023-07-22 15:33:31 +02:00
smallmodel
92efd2a4bb
Using RF_FLAGS_NOT_INHERITED for CG_AttachEyeEntity 2023-07-22 15:23:12 +02:00
smallmodel
751283aeb5
AllocateTempModel will just return null if there are no free tempmodels
Removed timealive parameter
Using T_SPHERE instead of T_INWARDSPHERE
Using T2_RELATIVEANGLES
2023-07-22 15:22:54 +02:00
smallmodel
e97250875c
Added relative angles from mohta
Calling SpawnEffect instead of SpawnTempModel
2023-07-22 15:21:57 +02:00
smallmodel
c5f853aa1f
Added relative angles from mohta 2023-07-22 15:20:51 +02:00
smallmodel
00c07b4e10
Implemented CG_AttachEyeEntity and CG_UpdateForceModels, which fixes turrets, and entity attachment to player 2023-07-21 23:43:57 +02:00
smallmodel
783cefacf9
Fixed surfaces crash 2023-07-21 23:42:09 +02:00
smallmodel
832067d967
Fixed (a little bit) R_RealDlightPatch 2023-07-21 23:36:02 +02:00
smallmodel
8e60786307
Added Q_clamp_int and Q_clamp_float 2023-07-21 23:35:44 +02:00
smallmodel
7172f480eb
Added "wrongver" connectionless packet command response
Fixed disconnect not returning to main menu
Implemented CL_AbnormalDisconnect
Removed CL_Disconnect parameter
Using short version for version when connecting
2023-07-21 20:37:45 +02:00
smallmodel
b1c732eeb9
Fixed MSG string reading functions returning bad strings 2023-07-21 20:35:41 +02:00
smallmodel
4aad275e3b
Removed buffer from Message_Key 2023-07-21 20:35:26 +02:00
smallmodel
2a34e54000
Fixed MSG_ReadGameStateChar not returning correctly 2023-07-21 20:35:13 +02:00
smallmodel
f725192d7d
Removed float warning 2023-07-21 20:34:59 +02:00
smallmodel
3682d3b799
Export UI_FocusMenuIfExists 2023-07-21 20:34:50 +02:00
smallmodel
24b22392ff
Removed CL_Disconnect parameter 2023-07-21 20:34:42 +02:00
smallmodel
035ed1fe24
Added com_target_version and removed CL_Disconnect parameter 2023-07-21 20:32:58 +02:00
smallmodel
129e3bfe6e
Removed comment 2023-07-21 20:32:43 +02:00
smallmodel
134873cc51
Removed CL_Disconnect parameter
Added com_target_version
2023-07-21 20:32:33 +02:00
smallmodel
d3bda17814
Fixed vertice steps 2023-07-21 20:30:44 +02:00
smallmodel
29c321d2cc
Added S_TriggeredMusic_PlayIntroMusic 2023-07-21 20:30:11 +02:00
smallmodel
7106396b3e
Implemented R_RecursiveDlightPatch, R_RealDlightPatch and R_RealDlightTerrain 2023-07-20 23:59:52 +02:00
smallmodel
ea7ee996a0
Make sure to zero out value at index 3 of static normal and xyz 2023-07-20 23:59:27 +02:00
smallmodel
a2808a0dbf
Fixed dlightmap being wrong 2023-07-20 23:58:33 +02:00
smallmodel
d0a8ac91a7
ParseFace: skip if surface shader has nodraw flags 2023-07-20 23:58:17 +02:00
smallmodel
58b88201dd
Using LIGHTMAP_SIZE instead of a constant value 2023-07-19 22:41:14 +02:00
smallmodel
eceef48267
Made lightmap_buffer access self-explanatory 2023-07-19 22:40:58 +02:00
smallmodel
f32d32f720
Made lightmap_buffer variable 1D 2023-07-19 22:40:40 +02:00
smallmodel
c269a4f034
Fixed missing semicolon 2023-07-19 20:59:04 +02:00
smallmodel
9189538410
Fixed LIGHTMAP_SIZE usage 2023-07-19 20:37:05 +02:00
smallmodel
00b028b381
Fixed texture env
Fixed wrong dlight image being used
2023-07-19 20:30:43 +02:00
smallmodel
7d309553cc
Fixed dlight byte 2023-07-19 20:30:22 +02:00
smallmodel
8c7dd5fad6
Set DLIGHT_SIZE to 32 instead of 16 2023-07-19 20:21:06 +02:00
smallmodel
a5ff63cd01
Fixed env values 2023-07-19 20:20:16 +02:00
smallmodel
5e55e72b5c
Set tess.dlightMap to 0 in RB_AddQuadStampExt
Clear dynamic light bits when surface is a sky or has nodlight set
2023-07-19 20:19:54 +02:00
smallmodel
01fbba74ef
Code cleanup 2023-07-19 00:40:25 +02:00
smallmodel
c7de9048e5
Fixed index mistake 2023-07-19 00:40:14 +02:00
smallmodel
6faded773c
Removed (int) useless cast 2023-07-19 00:39:54 +02:00
smallmodel
ca4e55fad8
Using LIGHTMAP_SIZE 2023-07-19 00:08:49 +02:00