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

52 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
2c60b62671 Update the copyright year. 2017-02-22 18:26:12 +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
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
b4b00caba9 Replace the Argument class from the tasks with the new lightweight objects.
Include a forward declaration of the lightweight object in the base header.
2016-11-17 10:57:27 +02:00
Sandu Liviu Catalin
2d07ed67b9 Initial implementation of entity tasks. 2016-11-17 00:23:59 +02:00
Sandu Liviu Catalin
7fc61a28a8 Include a forward declaration of the StackStrF type. 2016-11-16 12:16:15 +02:00
Sandu Liviu Catalin
9a0973bbc6 Fix various spelling mistakes. 2016-08-24 00:27:22 +03: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
a47f7541d0 Add the (pickup automatic status changed) event to the events enumeration. 2016-08-19 18:23:27 +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
ba3f829750 Add the (pickup world changed) event to the events enumeration. 2016-08-19 18:05:00 +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
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
3b925c21d5 More missing weapon identifiers. Related to #23
Fix the max value for the various identifier groups.
2016-07-28 21:10:07 +03:00
Sandu Liviu Catalin
ed6bb9802f Add missing weapon identifier for Heli-blade. Should close #23 2016-07-27 23:59:43 +03:00
Sandu Liviu Catalin
e32464b6ea Don't clear entity containers untill after the virtual machine was closed. Should close #22 2016-07-16 15:45:36 +03:00
Sandu Liviu Catalin
4e93e58397 Initial revision of the buffer implementation. 2016-07-08 00:56:54 +03:00
Sandu Liviu Catalin
7f50156664 Move enumerations related to the command system from the base plugin config. 2016-07-03 03:20:51 +03:00
Sandu Liviu Catalin
8591efbcce Update the blip pool size to the correct value. 2016-06-20 08:55:04 +03:00
Sandu Liviu Catalin
fe70560234 Add a helper function to obtain the last system error as a string and throw it. 2016-06-18 20:27:23 +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
Sandu Liviu Catalin
522f6cfd01 Remove legacy casting when packing colors. 2016-04-02 12:33:24 +03:00
Sandu Liviu Catalin
42af986890 Initial implementation of reload mechanism. 2016-03-24 09:32:44 +02:00
Sandu Liviu Catalin
e057f22402 Implement functions to import existing entity instances after loading is complete. 2016-03-24 08:44:01 +02:00
Sandu Liviu Catalin
ff6cacaf68 Dumb approach to recive some kind of asserts if the program crashes because a component was used after it was deleted. 2016-03-24 06:43:02 +02:00
Sandu Liviu Catalin
01bafd7c4f Fix issues in the entity creation and destruction code.
Implement a locking mechanism to prevent entities be dstroyed in mid-destruction.
Also clean up properly when internal instances are deleted.
2016-03-24 05:28:55 +02:00
Sandu Liviu Catalin
8088ba94c2 Updated the exception system in the main plugin to also include the location in the source files in debug builds.
Moved the functions that extract base types from strings as static functions under the associated type.
Revised some of the base shared code.
Fixed some of the functions in the String library that did not take into account the null terminator.
2016-03-21 22:37:58 +02:00
Sandu Liviu Catalin
70e5f0ba21 Migrated the host module to C++ exceptions as well.
Also enabled the latest C++ revision in the project.
Replaced the Random library with the one provided by C++11.
Implemented a simple AES256 encryption class.
Various other fixes and improvements.
2016-03-10 05:57:13 +02:00