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
7ab1084955
Minor changes in tasks.
2016-11-17 23:09:35 +02:00
Sandu Liviu Catalin
659f522efa
Clear the tag as well when releasing task resources.
2016-11-17 20:04:32 +02:00
Sandu Liviu Catalin
2f27188b52
Forgot to decrease the number of occupied slots when removing tasks. And also to reset it when clearing them.
...
Removed the used tasks counter completely because it's useless and has a high risk of producing nasty bugs.
2016-11-17 19:59:47 +02:00
Sandu Liviu Catalin
ff8df39a13
Implement the user tags feature in tasks.
2016-11-17 16:02:00 +02:00
Sandu Liviu Catalin
2449a44c1f
Reduce the task parameters to 8.
...
Remove the Self property from the tasks because it's useless.
2016-11-17 12:59:29 +02:00
Sandu Liviu Catalin
a04fd3ba15
Implemented a mechanism for tasks to alter their properties and/or terminate themselves in the middle of the execution.
...
Also implemented a few other features such as the ability to have a persistent storage associated with them.
2016-11-17 12:29:58 +02:00
Sandu Liviu Catalin
5b32baa908
Update the task type to use the new allocator and not attempt to destroy a static instance.
2016-11-17 11:47:07 +02:00
Sandu Liviu Catalin
641e51e03c
Rename the lightweight object type.
...
Few adjustments to the tasks to overcome the limitation of removing themselves. Currently broken because they require a special Sqrat allocator.
2016-11-17 11:27:07 +02:00
Sandu Liviu Catalin
2d07ed67b9
Initial implementation of entity tasks.
2016-11-17 00:23:59 +02:00