Commit graph

473 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
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
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
415a5e60da
Fixed uninitialized variables 2023-07-18 21:19:01 +02:00
smallmodel
ae8d26ce18
Use crandom() instead of random() 2023-07-18 00:09:02 +02:00
smallmodel
2866bfdd04
Fix for DrawStretchRaw and const params 2023-07-17 20:44:09 +02:00
smallmodel
800ccaf020
Fixed animation crossblend not working correctly 2023-07-17 19:24:53 +02:00
smallmodel
f227fcdcaa
Implemented most mark functions 2023-07-15 20:41:52 +02:00
smallmodel
3a27275cb2
Implemented CG_GetBrushEntitiesInBounds 2023-07-15 20:41:27 +02:00
smallmodel
c05403d5d3
Set fov sin/cos
Implemented CG_FrustumCullSphere (from BT code)
2023-07-15 20:41:14 +02:00
smallmodel
89b2c9be9d
Added fov sin/cos variables 2023-07-15 20:40:26 +02:00
smallmodel
e288272c4a
Added CG_FrustumCullSphere and CG_GetBrushEntitiesInBounds 2023-07-15 20:19:08 +02:00
smallmodel
fc362fbe6b
Made pointBuffer const 2023-07-15 20:18:47 +02:00
smallmodel
113e3c3d87
Added CG_GetBrushEntitiesInBounds 2023-07-15 20:18:33 +02:00
smallmodel
1ae812af96
Added CG_FrustumCullSphere 2023-07-15 20:18:20 +02:00
smallmodel
7458077346
Added more marks variables and struct fields
Reimplemented CG_InitMarks, CG_AllocMark
Implemented CG_FreeMarkPoly, CG_FreeMarkObj, CG_FreeBestMarkObj
2023-07-12 23:53:30 +02:00
smallmodel
483df8ef87
Implemented CG_MakeBulletHoleSound 2023-07-10 23:58:05 +02:00
smallmodel
608b8bec30
Implemented CG_CheckMakeMarkOnEntity, CG_InitTestTreadMark
Added CG_AssembleFinalMarks
2023-07-10 23:28:17 +02:00
smallmodel
ac8f34a40c
Implemented CG_MakeBubbleTrail, CG_BulletTracerEffect and CG_AddBulletImpacts 2023-07-10 23:08:27 +02:00
smallmodel
7cc687e110
Fixed beam const vec3_t parameter 2023-07-10 23:07:57 +02:00
smallmodel
819fe53eaa
Implemented CG_MakeBulletTracerInternal 2023-07-10 21:11:01 +02:00
smallmodel
a2e7a4b4a6
CG_ImpactMark parameters modification 2023-07-10 21:09:56 +02:00
smallmodel
f164bc638b
Put variables in CG_MakeBulletTracerInternal 2023-07-09 23:36:21 +02:00
smallmodel
2dc43f9104
Fixed wrong view model animations for mohta and mohtt weapons 2023-07-09 21:24:57 +02:00
smallmodel
84f785a872
Fixed TIKI autosteps flags (this fixes footsteps) 2023-07-09 20:36:42 +02:00
smallmodel
f930d39a42
Used clang-format on cgame module 2023-07-05 21:24:23 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces 2023-07-05 20:52:55 +02:00
OM
942bc9e523 Removed TARGET_GAME_TYPE definition 2023-07-02 20:06:35 +02:00
OM
7db4d1a3f4 Newline fix 2023-07-02 19:18:37 +02:00
OM
36dce22071 Moved cgi.protocol to a new variable called cg_protocol instead, due to issues like GetCGameAPI being loaded before having client imports (cgi) 2023-07-02 19:16:48 +02:00
OM
9603f8e38a Parse the fog info depending on the game version 2023-07-01 21:20:15 +02:00
OM
cb95284d0c Draw spectator view depending on the protocol version 2023-07-01 21:18:58 +02:00
OM
00b926db29 Init the client game export for scores and CG message 2023-07-01 21:18:30 +02:00
OM
cf009a4628 Parse CG message based on game protocol version 2023-07-01 21:17:59 +02:00
OM
e456964be4 Parse the scores based on the game version 2023-07-01 21:17:42 +02:00
OM
8418da422c Stopwatch: checking protocol at runtime instead 2023-07-01 21:17:30 +02:00
OM
e33a562c04 CG_PlayerTeamIcon: Removed TARGET_GAME_PROTOCOL check 2023-06-29 21:29:57 +02:00
OM
e8a9eb775e Added protocol/targetGame variables 2023-06-29 21:28:43 +02:00