Commit graph

3100 commits

Author SHA1 Message Date
smallmodel
dca9709b12
Fixes MASK_PLAYERSOLID incorrectly using CONTENTS_WEAPONCLIP instead of CONTENTS_PLAYERCLIP for invisible player collision
This fixes #317, fixes #319 and fixes #320 where the player would bypass clip/playerclip
2024-07-02 18:51:53 +02:00
smallmodel
d6571820fe
Fixes g_pVert/g_pTris being freed even when they are NULL 2024-07-02 18:46:27 +02:00
smallmodel
a0d3333ebb
Fixes chan->bufferdata not being set to NULL when released 2024-07-02 18:45:51 +02:00
smallmodel
9615fafc1e
Fixes incorrect usage of DotProduct result in an integer 2024-07-01 19:03:21 +02:00
smallmodel
5fc2425f3a
Set the mindist/maxdist for 3D sounds 2024-07-01 18:52:04 +02:00
smallmodel
eefe8ee2d1
Allow 3D / pan with streamed or MP3 sounds 2024-07-01 18:17:04 +02:00
smallmodel
edb1cb0ebe
Renamed SFX_FLAG_NO_DATA to SFX_FLAG_STREAMED 2024-07-01 18:05:24 +02:00
smallmodel
140242a761
Fixes MP3 files like dialog improperly working 2024-07-01 18:00:20 +02:00
smallmodel
ae13be0c37
Fixes OpenAL errors 2024-07-01 17:39:47 +02:00
smallmodel
74ff3b920e
Fixes OpenAL 2D origin 2024-07-01 17:39:32 +02:00
smallmodel
2cd6b981f1
Puts the volume gain constant in a variable 2024-07-01 16:46:54 +02:00
smallmodel
f866dcbcfc
Adds triggered music support
This allows the main menu music to play, as well as single-player musics
2024-07-01 16:10:42 +02:00
smallmodel
0d394a7e67
Fixes strings printing on the same line 2024-07-01 14:15:58 +02:00
smallmodel
7059f32ecc
Don't timeout if the client hosts the game 2024-07-01 01:09:39 +02:00
smallmodel
87baa69d7c
Fixes incorrect lighting color normalization
This fixes #314 where mark colors would have their values warped back to 0, making holes blue
2024-07-01 00:20:33 +02:00
smallmodel
408c901342
Fixes skyboxSpeed using an integer rather than a float
This fixes #313 where the skybox would be misplaced
2024-07-01 00:19:50 +02:00
smallmodel
d709dda87a
Use shader's distance range instead of the portal range 2024-06-30 23:57:32 +02:00
smallmodel
cda6225659
Adds a workaround against a bit that was lost on x86 with FP87.
This fixes #312 where a rounding error caused facets to be removed due to windings points being outside of the epsilon
2024-06-23 17:26:07 +02:00
smallmodel
563182c14c
Added FloatRoundedBitError() (currently unused) 2024-06-23 17:25:23 +02:00
smallmodel
303ed30a38
Don't remove the facet is there is no border planeCM_PlaneEqual 2024-06-23 17:19:52 +02:00
smallmodel
0a6c745ffb
Use VectorNormalize() instead of VectorNormalize2() 2024-06-23 17:10:58 +02:00
smallmodel
9d654faa3d
As m_BlockedPaths is an array of pathway_ref, the proper delete call must be used 2024-06-23 00:24:20 +02:00
smallmodel
9407b64fe3
Q_strncpyz: don't copy if the src is the same as the dest 2024-06-23 00:18:22 +02:00
smallmodel
1f0f5764a8
Added PathInfo() constructor initialization 2024-06-22 21:41:28 +02:00
smallmodel
13197acb3a
Uses a signed char instead of a char for opcode stack offset. On some platforms like ARM, char is unsigned by default
This fixes #311 where a memory corruption that occurred in ARM was caused because of insufficient ScriptVM stack size. The stack size was incorrectly calculated because the stack offset was using unsigned values instead of signed in ARM.
2024-06-22 19:18:08 +02:00
smallmodel
2f48ca6adb
Adds assertion check to check if top stack is out of bounds 2024-06-22 19:03:27 +02:00
smallmodel
01d938b5ba
Fixes some variables being uninitialized 2024-06-22 19:03:04 +02:00
smallmodel
186d7a12e5
typo 2024-06-22 16:51:20 +02:00
smallmodel
5192d36f81
Fixes gametype incorrectly checked in G_InitWorldSession 2024-06-22 16:43:03 +02:00
smallmodel
dfb6c37c9e
Don't copy the server name if it's from the same string address 2024-06-22 16:42:39 +02:00
smallmodel
cb208b9ad2
Initialize the message buffer to avoid leaking private data 2024-06-22 16:39:26 +02:00
smallmodel
e4d20c3fa1
Initialize explosion flash 2024-06-22 16:39:08 +02:00
smallmodel
0b747bf1c5
Use memmove rather than strcpy for removing key values 2024-06-22 16:39:00 +02:00
smallmodel
e207715b5e
Initialize m_iLastTiresUpdate 2024-06-22 16:12:29 +02:00
smallmodel
bef1b456e1
Initialize all Ammo members 2024-06-22 16:11:03 +02:00
smallmodel
11349f9ad5
Fixes the source pos access for ENUM_if_statement (out of bounds index) 2024-06-22 16:08:33 +02:00
smallmodel
2a485a6b69
Fixes the endianness when loading LOD from file 2024-06-22 15:34:38 +02:00
smallmodel
f41e92de6e
Fixes possible memory corruption when generating a LOD curve 2024-06-22 15:34:00 +02:00
smallmodel
835c0b0d9a
Adds constants for LOD curve values 2024-06-22 15:30:59 +02:00
smallmodel
d9dc34f06d
Checks for AGEN_TIKI_DIST_FADE and AGEN_ONE_MINUS_TIKI_DIST_FADE for static models 2024-06-21 22:02:59 +02:00
smallmodel
907ff36018
Fixes r_showstaticbboxes freezing the game 2024-06-21 21:49:13 +02:00
smallmodel
64626a767c
Fixes entities not being rendered after number 1023
This fixes #310 where some static models would not be rendered, making it look like there are invisible walls.
2024-06-21 21:48:55 +02:00
smallmodel
a7df73073d
Adds a condition to check if static model poly can be rendered 2024-06-21 20:54:14 +02:00
smallmodel
40492daecd
Avoid creating a new sound index when there is no active client 2024-06-16 23:20:30 +02:00
smallmodel
a5691d7779
Allows clients to join a single-player game 2024-06-16 20:48:34 +02:00
smallmodel
d1ecd4a3c8
Don't initialize client persistant data during autosave 2024-06-16 18:19:11 +02:00
smallmodel
5482b31c66
Reads the sv_privatePassword value 2024-06-16 18:18:14 +02:00
smallmodel
15f2f6c798
Renamed g_session functions 2024-06-16 18:16:14 +02:00
smallmodel
46b3f4eb5e
Adds differentMap parameter for G_ClientConnect, it clears the selected DM weapon.
On each map change, the player gets asked for the primary weapon like in 2.0 and above
2024-06-16 18:14:26 +02:00
smallmodel
f5aadbb788
If the loopSound has no origin, make it local
This should fix #309
2024-06-15 16:38:02 +02:00