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
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
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
f10ddcaa17
Update bot documentation
2025-01-31 20:21:56 +01:00
smallmodel
77f0ce0673
Merge pull request #658 from bulldozerecske/patch-2
...
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
smallmodel
dfc3fdb88b
Link to the FAQ
2025-01-30 21:05:02 +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
Bulldozer
80d1b3b204
Create Frequently Asked Questions (FAQ)
...
This document will be suitable for answering issues that have user-related solutions.
2025-01-29 10:12:09 +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
1cabf5c31e
Merge pull request #657 from smallmodel/bulletholes_fix
...
Bulletholes fix
2025-01-28 20:26:43 +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