1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00
Commit Graph

217 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
8e750efe85 Added a helper function which can tell whether an event type can be inversed. 2015-10-11 21:06:28 +03:00
Sandu Liviu Catalin
c7e776a1f7 Disabled copy constructor and assignment in the global event type.
Added a compatibility member function in global event type to comply with the other event types.
Encapsulate constructors in global filters and disable them in script.
Disable the copy constructor in global filters.
Allow inclusion/exclusion member functions return boolean if the specified entity could be filtered or not.
Remove useless checks inside global filters since they cannot be unparented anymore.
Test whether an entity is enabled before hooking, unhooking from it inside global filters.
2015-10-11 21:06:02 +03:00
Sandu Liviu Catalin
0a8cf6afd2 Disable copy constructor and assignment in basic event type and include a compatibility member function to comply with the other event types. 2015-10-11 21:01:22 +03:00
Sandu Liviu Catalin
b8ccb1ca10 Update entity interfaces to include various functions required by the new event types. 2015-10-11 20:57:16 +03:00
Sandu Liviu Catalin
5984bfa50f Added a few more aliases to primitive types. 2015-10-11 20:56:17 +03:00
Sandu Liviu Catalin
bcd5ce5988 Untested implementation of the global event type. 2015-10-10 23:11:28 +03:00
Sandu Liviu Catalin
e099b10f67 Add a few helper functions shared by event types. Fix name in debug information during registration process. 2015-10-10 23:10:58 +03:00
Sandu Liviu Catalin
4affa937e4 Disable move semantics in basic event type.
Allow changing the event type in basic event type.
Adjust code length in basic event type.
2015-10-10 23:09:29 +03:00
Sandu Liviu Catalin
c67c214160 Update entity interfaces to include various functions required by the new event types. 2015-10-10 22:59:59 +03:00
Sandu Liviu Catalin
2de391dd78 Include forward declarations of event types into the config file. 2015-10-10 22:58:40 +03:00
Sandu Liviu Catalin
908ddbe30f Forgot to commit the header with the new changes to the basic event type. 2015-10-03 21:55:08 +03:00
Sandu Liviu Catalin
4927e4e5a4 Minor comment fix in core class. 2015-10-03 21:54:34 +03:00
Sandu Liviu Catalin
04936a9bef Remove unnecessary argument from the Attach() and Detach() member functions of the basic event. 2015-10-03 21:54:02 +03:00
Sandu Liviu Catalin
d5c5ff3289 Update entity interfaces to include a typedef to a bitset used by event types. 2015-10-03 21:53:09 +03:00
Sandu Liviu Catalin
231d05174d Forgot to release a couple references to Squirrel objects causing a crash when the smart pointers tried to release them after the VM was destroyed. 2015-10-03 19:44:26 +03:00
Sandu Liviu Catalin
20a78ab268 Implemented BasicEvent type. 2015-10-02 01:34:28 +03:00
Sandu Liviu Catalin
6ed02d0fd4 Initial commit. 2015-09-30 03:56:11 +03:00