Commit graph

4483 commits

Author SHA1 Message Date
smallmodel
24c7311162
Also save the valid ground trace when stepping
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 45s
2025-01-20 22:33:14 +01:00
smallmodel
599914934c
Update documentation 2025-01-20 12:17:48 +01:00
smallmodel
8fdc66d138
Allow axis players to select kar98 sniper on 2.0 and above by choosing german panzer skins
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 18s
2025-01-19 19:16:28 +01:00
smallmodel
83caae7586
Fix terrain tessellation when there is insufficient tris in renderergl2 2025-01-19 17:32:14 +01:00
smallmodel
1f599e62c6
Clear numLightmaps in renderergl2 2025-01-19 17:31:50 +01:00
smallmodel
4e174fd5bf
Fix cheats mistakenly being disabled when loading a saved game, when developer mode is enabled
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 21s
2025-01-19 16:08:28 +01:00
smallmodel
edf3560dd5
Don't load lightmaps on on Permedia 2 2025-01-19 15:21:11 +01:00
smallmodel
7452bf39fb
Always initialize numLightmaps when loading lightmaps
This fixes an issue where the number of lightmaps is kept from the previous map if the new map has no lightmaps
2025-01-19 15:19:27 +01:00
smallmodel
c2bac6d1ef
Prevent lightmapIndex from going below LIGHTMAP_2D 2025-01-19 15:16:35 +01:00
smallmodel
47cd8ccfc8
Force vertex light when using permedia 2 2025-01-19 15:07:50 +01:00
smallmodel
ec6cab28a5
Don't apply kick fireback on older versions of the game
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 15s
2025-01-19 14:45:20 +01:00
smallmodel
45de1067bd
Fix localtime_r parameter
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 14s
2025-01-19 01:41:26 +01:00
smallmodel
7ab04b0bcb
Fix IsEntity() and SimpleEntity() improperly returning true when the listener is NULL
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 15s
2025-01-18 15:43:20 +01:00
smallmodel
1a71d44b43
Safely check if other is NULL when triggering
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 17s
2025-01-18 13:23:30 +01:00
smallmodel
1ea273fba0
Clear the top stack result when self is NULL 2025-01-18 13:02:05 +01:00
smallmodel
591be6c2fd
Create a new node if the load index is outside the node count
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
2025-01-17 21:49:17 +01:00
smallmodel
6b02457190
Properly correct the opcode in OP_LOAD_STORE_SELF_VAR when self is NULL 2025-01-17 16:49:38 +01:00
smallmodel
87e5b6d41e
Clear the top variable when the event is not valid too 2025-01-17 16:21:13 +01:00
smallmodel
7f0c506fea
Add a comment about the spawn behavior in OG
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 22s
2025-01-16 23:59:04 +01:00
smallmodel
539c2df378
Check for valid event on listener and print an error if the command cannot be executed 2025-01-16 23:25:26 +01:00
smallmodel
4399e2ab31
Merge pull request #634 from smallmodel/bot_player_association_rework
Bot player association rework
2025-01-16 22:29:05 +01:00
smallmodel
210eeff481
Remove controllers that don't have an associated entity
This prevents crashes when the entity was removed (potentially by a mod)
2025-01-16 22:28:37 +01:00
smallmodel
95e72dd339
Use the number of controllers to get the number of spawned bots 2025-01-16 22:27:51 +01:00
smallmodel
a6d9369204
Remove DM player in destructor rather than in a manual function call 2025-01-16 22:17:14 +01:00
smallmodel
ab80045329
Properly check if the number of tris is sufficient for tessellation
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 18s
2025-01-15 21:38:49 +01:00
smallmodel
94aaeac194
Check for the vehicle owner
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 19s
2025-01-15 20:16:58 +01:00
smallmodel
4bec5cef01
Reduce telefrag bounds 2025-01-15 18:42:34 +01:00
smallmodel
1500d213e7
Fix wrong pointer being deleted 2025-01-15 18:29:56 +01:00
smallmodel
2dbe61789d
Don't use the target list if the world is NULL 2025-01-15 18:29:35 +01:00
smallmodel
3f9bed938e
Fix NULL string checking 2025-01-15 18:03:37 +01:00
smallmodel
619d27da81
Add getentity 2025-01-15 18:00:04 +01:00
smallmodel
bfd0f6e744
Fix the platform dependant compile error
Some checks failed
Build branch / build-all (push) Failing after 18s
CodeQL / Analyze (push) Has been cancelled
2025-01-14 00:08:34 +01:00
smallmodel
6d71cabbda
Export FS_FOpenFile 2025-01-13 23:22:33 +01:00
smallmodel
317664f88c
Throw an error if the player is dead in EndLevel() 2025-01-13 20:51:28 +01:00
smallmodel
e7cddd47a5
Fix incorrect map name and spawnpoint when a spawnpoint ('$') is specified, causing crash 2025-01-13 20:45:53 +01:00
smallmodel
393dfae33e
Give starting ammo at the next frame 2025-01-13 20:27:07 +01:00
DraGoN
c69ea0e4d8
Fixed parameter order in localtime_rand gmtime_r for FreeBSD, OpenBSD, and NetBSD
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
2025-01-13 19:21:56 +01:00
smallmodel
59fdcf0ae9
Add debian 11 and 12
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 18s
2025-01-12 20:29:53 +01:00
smallmodel
f22ea9eb21
Link against rt
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 21s
2025-01-11 23:50:33 +01:00
smallmodel
752588ffcd
Update OpenAL to version 1.24.2 2025-01-11 16:35:02 +01:00
smallmodel
a0f6d7d361
Initialize met_comment to false 2025-01-11 15:20:41 +01:00
smallmodel
1b5232c2d0
Fix compile errors
Some checks failed
Build branch / build-all (push) Failing after 18s
CodeQL / Analyze (push) Has been cancelled
2025-01-09 23:17:39 +01:00
smallmodel
089e68e85e
Add a cvar to opt out for logfile timestamps 2025-01-09 23:08:15 +01:00
smallmodel
a9ec7cff4f
Write the time before each message printed in the logfile 2025-01-09 22:23:02 +01:00
smallmodel
63c2b3642c
Print the version when opening the logfile 2025-01-09 21:42:12 +01:00
smallmodel
5e04124211
Fix accuracy being 0.0 in the stats screen 2025-01-09 21:30:40 +01:00
smallmodel
bbfd4ac280
Bump version number 2025-01-09 20:38:18 +01:00
smallmodel
28fd0ba201
Use spline as the default source resampler for OpenAL
This makes sounds feel stronger, the spline resampler has slightly louder high frequencies
2025-01-09 20:36:15 +01:00
smallmodel
305c026f4e
Import alGetStringiSOFT 2025-01-09 20:29:30 +01:00
smallmodel
b836042a02
Merge pull request #614 from smallmodel/localization_fix
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 1m39s
Localization fix
2025-01-08 22:53:44 +01:00