Commit graph

4558 commits

Author SHA1 Message Date
smallmodel
ee385abfef
Update links to third-party libraries 2025-02-04 18:52:46 +01:00
smallmodel
49335ba8a8
Fix improper check of dir->path empty string
Some checks failed
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
6f9e710ec9
Update events documentation
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 15s
2025-02-03 22:12:35 +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
5f0a0d0363
Update events documentation 2025-02-03 20:57:07 +01:00
smallmodel
ad01c2d966
Fix wrong flags getting checked for allowed weapons 2025-02-03 20:43:03 +01:00
smallmodel
fb5ed82401
Add events documentation 2025-02-03 20:24:35 +01:00
smallmodel
eaa7f10b36
Remove useless print 2025-02-03 20:24:26 +01:00
smallmodel
f2c8dbe57a
Merge pull request #661 from bulldozerecske/main
Updated FAQ
2025-02-03 20:05:24 +01:00
Bulldozer
447b0459aa
Merge branch 'openmoh:main' into main 2025-02-03 19:56:11 +01:00
Bulldozer
e31c64e42e
Updated FAQ
Added 2 additional issues and changed the layout.
2025-02-03 19:55:20 +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
Some checks failed
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
147678b0f0
Merge pull request #660 from smallmodel/scriptdelegate
Implement and use delegates
2025-02-02 19:28:14 +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
Some checks failed
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
Some checks failed
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
f10ddcaa17
Update bot documentation 2025-01-31 20:21:56 +01:00
smallmodel
77f0ce0673
Merge pull request #658 from bulldozerecske/patch-2
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 17s
Create Frequently Asked Questions (FAQ)
2025-01-30 21:18:39 +01:00
smallmodel
7fc486757d
Merge branch 'main' into bulldozerecske-patch-2 2025-01-30 21:06:50 +01:00