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

15 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
0918b975a5 Implement stoppable iteration algorithms. Should close #29 2017-08-07 00:22:50 +03:00
Sandu Liviu Catalin
8125400f7f Return null entity instances instead of null for the functions that need to return an entity instance.
Finally fix the player unspectating bug and introduce a new event for when a player spectates none.
Update the global functions that check for player existance to use the new implementation.
2017-08-06 18:14:58 +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
07caa7eb52 Don't use overloads in the foreach algorithm for simplicity and performance reasons. 2016-10-31 18:34:27 +02:00
Sandu Liviu Catalin
0df1582ac6 Implement foreach entity algorithm that accepts a payload to send to the callback. 2016-10-25 16:07:10 +03:00
Sandu Liviu Catalin
4d3561d048 Implement algorithms for name filtering. 2016-08-19 03:49:50 +03:00
Sandu Liviu Catalin
18f5f90a47 Implement case insensitive search in algorithms. 2016-07-26 23:08:27 +03:00
Sandu Liviu Catalin
c5d3235aec Add algorithms to count entities with certain aspects. 2016-07-17 13:33:42 +03:00
Sandu Liviu Catalin
26f5c495f5 Explicitly make sure that collectors in entity search algorithms are sent by reference instead of by copy. Should close #16
Invert the negate parameter to comply with how the algorithms work and what the negare argument is supposed to do.
Few other minor additions or adjustments.
2016-07-14 23:34:52 +03:00
Sandu Liviu Catalin
6975572bfe Fix incorrect placement of functions used to find players by name. 2016-07-10 23:29:45 +03:00
Sandu Liviu Catalin
40e024e72d Further improvements of the entity searching algorithms. 2016-06-21 17:25:43 +03:00
Sandu Liviu Catalin
66e604cec7 Add back some of the entity search functions. 2016-06-21 16:15:25 +03:00
Sandu Liviu Catalin
284e1be3f7 Improved the entity searching algorithms by removing duplicate code. 2016-06-21 16:04:21 +03:00
Sandu Liviu Catalin
29af51c518 Improve entity searching algorithms. 2016-06-21 15:17:08 +03:00
Sandu Liviu Catalin
1d12ddd60d Improve searching for active entities. Also fix a possible crash because the entity instance pushed on the stack was appending to itself instead of the array. 2016-06-21 09:02:44 +03:00