Sandu Liviu Catalin
c5b509dcb3
Avoid creating multiple objects for the same string when event parameters contain strings.
...
Include a helper fonstructor in the light object type for quick string object creation.
2017-02-21 22:17:25 +02: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
07d37831b9
Use 'color' instead of 'colour' internally and expose aliases to both for the script interface.
2016-08-21 18:07:35 +03:00
Sandu Liviu Catalin
a64fa8a3a1
Undo changes from previous commit. As it turns out this is just another conflict between Brits and Americans. A conflict which makes everything warn about a spelling mistake when it's not the case.
2016-08-20 22:42:54 +03:00
Sandu Liviu Catalin
ce7aed075c
Fix a spelling mistake in event names.
2016-08-20 21:14:03 +03:00
Sandu Liviu Catalin
e179452a61
Implement a new event to receive notifications when an pickup auto timer has changed.
2016-08-19 18:26:52 +03:00
Sandu Liviu Catalin
cdc0ac7585
Implement a new event to receive notifications when a pickup automatic status has changed.
2016-08-19 18:21:41 +03:00
Sandu Liviu Catalin
cbe33f4f21
Implement a new event to receive notifications when an pickup alpha has changed.
2016-08-19 18:05:29 +03:00
Sandu Liviu Catalin
f92dcab92a
Fix worng script callback triggered from previously added event (pickup world change).
2016-08-19 18:00:23 +03:00
Sandu Liviu Catalin
102c77aa77
Implement a new event to receive notifications when an pickup world has changed.
2016-08-19 17:58:08 +03:00
Sandu Liviu Catalin
35eed62b17
Update event parameter names for consitency.
2016-08-18 17:20:49 +03:00
Sandu Liviu Catalin
ed5f1a86de
Implement a new event to receive notifications when an object shot or touched report status has changed.
2016-08-18 17:12:00 +03:00
Sandu Liviu Catalin
9ce8a8a4f8
Implement a new event to receive notifications when an object alpha has changed.
2016-08-18 16:50:30 +03:00
Sandu Liviu Catalin
3bbff3f258
Implement a new event to receive notifications when an object world has changed.
2016-08-18 16:37:55 +03:00
Sandu Liviu Catalin
5f60d7b90d
Implement a new event to receive notifications when a checkpoint radius has changed.
2016-08-18 16:10:18 +03:00
Sandu Liviu Catalin
f38aa16b5f
Implement a new event to receive notifications when a checkpoint world has changed.
2016-08-18 15:54:26 +03:00
Sandu Liviu Catalin
6b0013c90c
Fix compilation errors and adjust the event syantax to imclude correct information for VehiclePartStatus, VehicleTyreStatus and VehicleHandling events.
...
Also fix a couple other compilation issues resulted from changes in syntax and bad copy paste.
2016-08-18 15:32:18 +03:00
Sandu Liviu Catalin
f86c12bff2
Implement a new event to receive notifications when a vehicle handling rule has changed.
2016-08-18 15:21:50 +03:00
Sandu Liviu Catalin
db522913d3
Implement a new event to receive notifications when a vehicle radio has changed.
2016-08-18 15:13:33 +03:00
Sandu Liviu Catalin
69325ed2cc
Implement a new event to receive notifications when a vehicle damage data has changed.
2016-08-18 15:06:03 +03:00
Sandu Liviu Catalin
05443ba2d4
Implement a new event to receive notifications when a vehicle tyre status has changed.
2016-08-18 14:56:38 +03:00
Sandu Liviu Catalin
23948b5903
Implement a new event to receive notifications when a vehicle part status has changed.
2016-08-18 14:51:55 +03:00
Sandu Liviu Catalin
732769aff2
Implement a new event to receive notifications when a vehicle immunity has changed.
2016-08-18 14:45:12 +03:00
Sandu Liviu Catalin
ebc168e558
Implement a new event to receive notifications when a vehicle world has changed.
2016-08-18 14:38:00 +03:00
Sandu Liviu Catalin
3d8417759b
Implement a new event to receive notifications when a player score has changed.
...
Fix syntax error in enumeration declaration.
Fix compilation error on const correctness in player method for changing player world.
2016-08-17 16:10:43 +03:00
Sandu Liviu Catalin
c6c17e9396
Implement a new event to receive notifications when a player immunity has changed.
2016-08-17 16:07:31 +03:00
Sandu Liviu Catalin
8f78b0a852
Implement a new event to receive notifications when a player wanted level has changed.
2016-08-17 16:04:14 +03:00
Sandu Liviu Catalin
203dd9802e
Implement a new event to receive notifications when a player score has changed.
2016-08-17 16:00:28 +03:00
Sandu Liviu Catalin
e9b6d9765b
Implement a new event to receive notifications when a player money has changed.
2016-08-17 15:55:59 +03:00
Sandu Liviu Catalin
16f35cbef6
Implement a new event to receive notifications when a player skin has changed.
2016-08-17 15:52:22 +03:00
Sandu Liviu Catalin
ad774fcb3f
Implement a new event to receive notifications when a player team has changed.
2016-08-17 15:49:08 +03:00
Sandu Liviu Catalin
84bae9432a
Implement a new event to receive notifications when a player world has changed.
2016-08-17 15:45:44 +03:00
Sandu Liviu Catalin
c5ef8018ae
Implement a new event to notify on player admin status change.
2016-08-17 15:40:48 +03:00
Sandu Liviu Catalin
2857e0e4be
Improve the Vector3 registration code to avoid using overloads where not necessary.
...
Also restructured the registration code a bit.
2016-07-25 00:10:46 +03:00
Sandu Liviu Catalin
efb284d880
Forgot to also update the global event for player position with the new parameters.
2016-07-15 21:20:16 +03:00
Sandu Liviu Catalin
89bd8a3cd7
Fix private message event calling the regular chat message finction instead. Should close #15
2016-07-14 23:46:57 +03:00
Sandu Liviu Catalin
27f2a57573
Prevent exceptions during event callbacks from blocking the the decrease of the track counter.
2016-07-14 19:56:13 +03:00
Sandu Liviu Catalin
6be526924d
Add the option to specify a header and payload when tracking player position changes.
2016-07-14 19:52:14 +03:00
Sandu Liviu Catalin
4e93e58397
Initial revision of the buffer implementation.
2016-07-08 00:56:54 +03:00
Sandu Liviu Catalin
ea70a21437
Improve the client script data event. Also fix a crash because the buffer type was not registered.
2016-06-20 18:02:44 +03:00
Sandu Liviu Catalin
ad55025bc8
Specialize the buffer creation functions.
2016-06-20 14:52:05 +03:00
Sandu Liviu Catalin
c2ac1f3fd8
Add a small check to prevent forwarding event if we failed to create the buffer instance.
2016-06-20 14:30:48 +03:00
Sandu Liviu Catalin
bc1e7dbde6
Implement the option to specify how many times you want to allow intensive entity events to be forwarded to script callbacks.
...
Also expose several properties for the vehicle entity type that I forgot about.
2016-06-08 16:53:16 +03:00
Sandu Liviu Catalin
0c92601362
Update the module API and merge shared code between modules and host plugin.
2016-06-03 21:26:19 +03:00
Sandu Liviu Catalin
b9b688581b
Move routine processing outside the core class.
2016-05-23 03:54:50 +03:00
Sandu Liviu Catalin
86297882d5
Implement the custom event functions.
2016-05-23 03:51:44 +03:00
Sandu Liviu Catalin
f2361a27c3
Untested update to the new plugin API.
...
Various other changes to the plugin as well.
2016-05-22 06:20:38 +03:00