smallmodel
49335ba8a8
Fix improper check of dir->path empty string
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 14s
2025-02-04 00:08:37 +01:00
smallmodel
8ac186ce17
Mark Archive() as override
2025-02-04 00:08:16 +01:00
smallmodel
ca2322a4da
Add recursive check in Com_Printf
...
This prevents recursive call to Com_Printf during localization and also remove localization errors
2025-02-04 00:03:30 +01:00
smallmodel
a1e7afac76
Prevent using a trick to spoof another name in 1.11 and below
2025-02-03 23:51:40 +01:00
smallmodel
2f75092d8b
Reserve console name for DMMessage
2025-02-03 23:42:38 +01:00
smallmodel
0b12d160bb
Properly construct all objects that has been allocated with AddObjectAt()
2025-02-03 21:28:13 +01:00
smallmodel
330b45a1ed
Fix container object list not constructed when loading
2025-02-03 21:27:44 +01:00
smallmodel
ad01c2d966
Fix wrong flags getting checked for allowed weapons
2025-02-03 20:43:03 +01:00
smallmodel
eaa7f10b36
Remove useless print
2025-02-03 20:24:26 +01:00
smallmodel
32411b2a90
Rename player_damage
to player_damaged
.
...
The name was ambiguous. The delegate is triggered when the player gets hit (getting damaged), and not when the player damages someone else. The name properly matches the action.
2025-02-03 19:35:04 +01:00
smallmodel
32f850556e
Set the self
object when triggering the delegate
2025-02-03 19:33:41 +01:00
smallmodel
fd94f53e25
Add a delegate for player text messages
...
self = the player who sent the message
first parameter = the text
second parameter = is team message?
2025-02-03 19:32:14 +01:00
smallmodel
4aa7e06a56
Make ev optional for Trigger()
2025-02-03 19:23:54 +01:00
smallmodel
033b76af14
Allow the self object to be specified
2025-02-03 19:22:29 +01:00
smallmodel
e37a5f4d06
Add "isBot" to check whether or not the player is a bot
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 14s
2025-02-02 21:02:06 +01:00
smallmodel
58e12e0141
Reset delegates on restart
2025-02-02 19:35:01 +01:00
smallmodel
e6cbd00871
Add script delegates matching common scripted events
2025-02-02 19:18:55 +01:00
smallmodel
1eb7458af9
Add event_subscribe and event_unsubscribe scripting commands
2025-02-02 19:14:07 +01:00
smallmodel
38cf5b82b2
Copy the list of registered delegates to execute them
2025-02-02 17:07:03 +01:00
smallmodel
a5c59c4b77
Use maxDataSize when copying Event
2025-02-02 16:50:07 +01:00
smallmodel
d190cc6e40
Use SafeAddFirst
2025-02-02 16:35:27 +01:00
smallmodel
8234ce1e5f
Add pragma once
2025-02-02 16:20:14 +01:00
smallmodel
e962e4e1f5
Use an int instead of a size_t
2025-02-02 16:03:40 +01:00
smallmodel
ee970a3fce
Remove PlayerBot class and use delegates instead
2025-02-02 16:02:56 +01:00
smallmodel
9242faaa49
Add delegate for stufftext
2025-02-02 16:02:22 +01:00
smallmodel
b813f7ee56
Add delegates related for kill/damage
2025-02-02 16:02:11 +01:00
smallmodel
7f64ef05d5
Mark Event getter methods as const
2025-02-02 16:01:41 +01:00
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