smallmodel
9cb593c9e4
Add support for event subscription (delegates)
2025-02-02 15:58:04 +01:00
smallmodel
cfb343d262
Add str move constructor/assignment
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 13s
2025-02-01 15:52:58 +01:00
smallmodel
9c811c2318
Mark getter methods as const for ScriptThreadLabel
2025-02-01 15:46:08 +01:00
smallmodel
7b97ad6e2f
Add move constructor for ContainerClass and refactor it
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 23s
2025-01-31 22:53:31 +01:00
smallmodel
fdea2a2e92
Free the object list when moving the container
2025-01-31 22:46:35 +01:00
smallmodel
aa0085b57d
Improve the Container class by using move constructor on reallocation when possible
...
This greatly optimize memory and speed by moving objects instead of copying objects
2025-01-31 22:38:00 +01:00
smallmodel
3fa489c0f9
Add move constructor for SafePtr
2025-01-31 22:22:00 +01:00
smallmodel
fbee409f47
Swap code with event pointer
2025-01-31 20:49:44 +01:00
smallmodel
7a8aa4eb84
Add placement new/delete for LightClass
2025-01-31 20:45:18 +01:00
smallmodel
d4bbaa41c3
Format safeptr source file
2025-01-31 20:45:11 +01:00
smallmodel
bb23fe159f
Fix copy constructor not using a const object
2025-01-31 20:27:37 +01:00
smallmodel
b1a02389f6
Define REF_DLL
2025-01-31 20:22:03 +01:00
smallmodel
3769bd2a68
Translate instant messages when printing to console
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
2025-01-29 20:00:55 +01:00
smallmodel
e66fd28831
Fix incompatible functions in renderergl2
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 17s
2025-01-28 21:52:58 +01:00
smallmodel
8341f8cb6a
Fix bullet hole sometimes not playing
2025-01-28 20:24:14 +01:00
smallmodel
1fc36fce9b
Fix multiple bullet hole effects unnecessarily spawning
2025-01-28 20:03:02 +01:00
smallmodel
33dbb07559
Export game name and shortversion as information clients/servers can see
2025-01-28 19:30:17 +01:00
smallmodel
e510c50a24
Set minimum and maximum for effect variables
Build branch / build-all (push) Failing after 1m39s
CodeQL / Analyze (push) Has been cancelled
2025-01-27 00:44:17 +01:00
smallmodel
c345035e12
Add Cvar_CheckRange exports
2025-01-27 00:13:01 +01:00
smallmodel
9bb4789b32
Add terrain flags
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 18s
2025-01-25 16:40:41 +01:00
smallmodel
7e26814cfa
Use a signed integer to display the score
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 18s
2025-01-24 21:39:09 +01:00
smallmodel
33855cfbee
Implement add, subtract, scale, append and bitset
Build branch / build-all (push) Failing after 17s
CodeQL / Analyze (push) Has been cancelled
2025-01-23 01:09:33 +01:00
smallmodel
98bb3e0366
Fix Com_SanitizeName infinite loop
2025-01-23 01:09:18 +01:00
smallmodel
52744fb784
Whitelist cg_3rd_person
2025-01-22 21:35:27 +01:00
smallmodel
08e5208835
Add "append" as allowed command
2025-01-22 21:35:09 +01:00
smallmodel
187079842f
Add cg_cheats to check if cheats are enabled
2025-01-22 21:26:29 +01:00
smallmodel
ef2c5d2df6
Check and verify that selected player models are valid
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
If the player model or the player german model is not valid, they will be reset to the default value. If the server doesn't have one or more of these models, force model feature will not work
2025-01-22 20:52:05 +01:00
smallmodel
92a0a9c197
Cache all models inside the models/player directory
...
Some player models are missing from precache scripts. This caches all models inside the player directory to avoid a short hitch when a player spawns with a non-cached model
2025-01-22 20:29:27 +01:00
smallmodel
90e46f535c
Add a random number next to the default name
Build branch / build-all (push) Failing after 17s
CodeQL / Analyze (push) Has been cancelled
2025-01-21 23:26:21 +01:00
smallmodel
02fc573e31
Apply client and server config tweaks when loading the original config
2025-01-21 22:56:05 +01:00
smallmodel
b8c7223da7
Allow "name" to be changed by server
...
Players often get their name changed due to them having an empty or duplicate name
2025-01-21 22:55:00 +01:00
smallmodel
7b53e25dd5
Set the default rate to 25000 (xDSL)
2025-01-21 22:08:54 +01:00
smallmodel
f8f9d2f65c
Use MAX_PATHNODES rather than a constant number
2025-01-21 20:56:26 +01:00
smallmodel
19e12701f3
Fix HUD scaling for spectator text, and vote text on 4K
2025-01-21 20:15:43 +01:00
smallmodel
24c7311162
Also save the valid ground trace when stepping
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 45s
2025-01-20 22:33:14 +01:00
smallmodel
8fdc66d138
Allow axis players to select kar98 sniper on 2.0 and above by choosing german panzer skins
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
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
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
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
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
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
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