Sandu Liviu Catalin
600c21d45f
Discard instances of constant StackStrF parameters. This should always be non-const if possible.
2019-02-17 17:23:59 +02:00
Sandu Liviu Catalin
0ad290ca34
Restructure some files.
2018-07-29 12:25:44 +03:00
Sandu Liviu Catalin
41e04e5167
Initial implementation of the new event system.
...
Initial implementation of the new signals and slots class.
Fixed command parsing which compared a pointer to a character.
Buffer overflow fix in routines which used the limits from the entity tasks.
Switched from Sqrat::Object to Sqrat::LightObj in most places to avoid the overhead of the VM pointer.
Various other adjustments and improvements.
The plugin is currently in a broken state and crashes at shutdown. The bug is unknown at this point.
2017-02-21 21:24:59 +02:00
Sandu Liviu Catalin
5f8c2f6cc5
Update all existing code to always receive StackStrF as a const reference.
2016-11-16 15:10:33 +02:00
Sandu Liviu Catalin
10f2ad95ec
Adjust the signal to use the new method of receiving formatted strings.
2016-11-16 12:32:58 +02:00
Sandu Liviu Catalin
de4c7da73f
Implement the pure typename meta-methods in Signal type using the standard method.
2016-11-15 21:42:54 +02:00
Sandu Liviu Catalin
da76d87a93
Move some of the signal implementation to source file.
...
Don't combine the Consume and Approve methods.
The null value does not count towards returned values anymore.
2016-11-13 14:50:04 +02:00
Sandu Liviu Catalin
df12603405
Fix issue in signal which could ommit to push a return value on the stack.
2016-11-13 14:06:53 +02:00
Sandu Liviu Catalin
f54271a4fd
Implement arbitrary user data for signals.
2016-11-04 01:31:49 +02:00
Sandu Liviu Catalin
5b39f7f061
Implement the Approve and Request methods of emitting signals.
2016-11-04 01:31:07 +02:00
Sandu Liviu Catalin
a3594145ad
Fix the inequality operator from the Slot class. Remove unnecessary implementation of other comparison operators from the slot class.
2016-10-31 17:35:54 +02:00
Sandu Liviu Catalin
743ceec248
Minor adjustments to the Signals implementation. Also added the Head and Tail methods when connecting slots.
2016-10-30 21:25:10 +02:00
Sandu Liviu Catalin
b946e7a9b9
Initial implementation of the built-in event system based on the signals and slots design.
2016-10-30 18:26:37 +02:00