Commit graph

31 commits

Author SHA1 Message Date
smallmodel
854c1980cc
Make EventQueueNode part of LightClass 2025-02-18 21:46:34 +01:00
smallmodel
7f64ef05d5
Mark Event getter methods as const 2025-02-02 16:01:41 +01:00
smallmodel
0a41f3bb76
Indicate when processing events 2024-12-11 21:55:22 +01:00
smallmodel
c3157ad4d7
Use DebugPrintf for errors that are relevant to developers
Some checks failed
Build branch / build-all (push) Failing after 16s
CodeQL / Analyze (push) Has been cancelled
2024-12-06 20:36:12 +01:00
smallmodel
f34aad03cd
Add script owner implementation 2024-11-09 00:18:59 +01:00
smallmodel
5cc168111c
Fix class not dumping properly 2024-08-31 22:10:44 +02:00
smallmodel
3cd5acf3aa
Fixed issue with case-sensitive variables.
normal/return commands are case-insensitive
getter/setter commands are case-sensitive
2024-04-22 20:10:01 +02:00
smallmodel
5a44740592
Fixed invalid event name causing crashes 2024-01-24 21:52:22 +01:00
smallmodel
e50a041c12
SimpleEntity subclass flags name now starts with ECF_ prefix 2023-11-16 23:17:06 +01:00
smallmodel
bd86acf118
EV_REMOVE should be -9.0 2023-11-03 22:07:43 +01:00
smallmodel
bd2c1c387b
Added Event::Exists() to check if a given command name exists 2023-11-02 20:05:59 +01:00
smallmodel
1698f6d1bf
The return value of an event must be the first value 2023-11-02 19:53:26 +01:00
smallmodel
5824022745
Added ScriptRemove 2023-10-30 22:03:37 +01:00
smallmodel
fc3749e008
Added Event() constructor that accepts another event and the number of arguments 2023-09-17 16:26:48 +02:00
smallmodel
c5a46be23e
Optimized calls to Event() (avoid allocating a new Event when it can be reused) 2023-09-07 18:22:07 +02:00
smallmodel
47a3c0bf55
Optimized event name
Use a static char*, instead of an allocated str
2023-09-07 18:05:49 +02:00
smallmodel
be04f31256
Replaced eventInfo_t with DataNode
DataNode is now used only at initialization time and is destroyed after initialization
2023-09-04 21:38:58 +02:00
smallmodel
d102f5a88a
set EV_LINKDOORS to -6.0f instead of -5.0f 2023-08-30 23:32:36 +02:00
smallmodel
5b82cc4f11
Made Event::ErrorInternal const
Fixed ProcessEvent() not handling exceptions
2023-08-19 21:00:04 +02:00
smallmodel
46e57f0a1f
Added maxDataSize so the event can be preallocated 2023-08-19 20:48:46 +02:00
smallmodel
55a6b7956a
Changed event priorities 2023-08-17 16:07:51 +02:00
smallmodel
34535ad415
Moved AnimationEvent from Animate to a separate source file 2023-08-11 21:48:25 +02:00
smallmodel
c115796137
Optimized GetValue() so it moves value instead of copying it 2023-08-01 19:30:28 +02:00
smallmodel
8a46597820
Added a new constructor that accepts numArgs as parameters
(this fixes bad script commands)
2023-07-05 21:42:36 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces 2023-07-05 20:52:55 +02:00
OM
e45289d28b Renamed **NO_SCRIPTENGINE** to **WITH_SCRIPT_ENGINE** 2023-05-29 01:33:07 +02:00
L
8c6a6f553a Added Event::GetLastValue 2023-02-02 23:47:25 +01:00
L
b8c56cc23c Use override keyword when overriding virtual methods 2023-01-31 19:59:39 +01:00
L
a71c6db442 Using a definite stable version of MEM_BlockAlloc 2023-01-30 17:11:44 +01:00
L
b17970cb45 Fixed events being weirdly/lately processed 2023-01-29 22:57:44 +01:00
L
8ef16a91f2 Reworked source tree so it compiles 2023-01-29 20:59:31 +01:00
Renamed from code/globalcpp/listener.h (Browse further)