0f0b795ca9
Various minor changes and fixes that were not pushed to the repository. Just random stuff.
2019-01-29 18:44:55 +02:00
1757e8b7c4
Exporn newlly added Squirrel API that is used to improve overloaded methods.
2018-10-31 20:28:18 +02:00
f3f4fce80b
Get rid of explicit format enabled constructors since they're detected automatically.
2018-10-31 20:07:46 +02:00
107ddea5fd
Don't use constant StackStrF arguments anymore.
2018-10-23 22:29:06 +03:00
02377fbd46
Fix the command manager to use the new lazy read StackStrF implementation.
2018-10-23 22:17:47 +03:00
4de4d045f7
Update Weapon.cpp
2018-09-22 11:48:33 +05:00
1e379ccdf7
Added PlaySoundForWorld
2018-09-08 12:12:57 +05:00
cfca96767c
Update Vehicle.cpp
2018-08-25 15:02:46 +05:00
f300e7ff4a
Massive code reduction in the binding utility by using variadic templates.
...
Extensive code refactoring surrounding the StackStrF helper to facilitate the new changes.
Various other miscellaneous changes and code refactoring to facilitate the new changes.
2018-07-30 00:58:27 +03:00
7ed5183d45
Replace template specialisation used to execute a script function with variadic templates in order to reduce code size.
2018-07-29 14:36:52 +03:00
0ad290ca34
Restructure some files.
2018-07-29 12:25:44 +03:00
a5999e5b50
Remove player validation where non-valid player IDs are allowed.
2018-07-28 13:28:59 +03:00
5511a4f690
Expose the fall time-rate manipulation API.
2018-06-28 22:15:38 +03:00
d668242901
Implement an unrestricted pool of custom weapon names and fall back to it when looking for weapon names.
2018-04-13 20:31:18 +03:00
8aec9d5927
Workaround for a sercver issue. Apparently the server returns an error code regardless of what buffer size it was given.
2018-01-24 18:13:25 +02:00
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
7bb44ec008
Make builtin formatted strings default to false to avoid trying to perform a format in cases where it can be folled by a following parameters that are not meant to be part of that formatted string.
2017-06-18 20:25:12 +03:00
4b1e3909a4
Make some adjustments to previously introduced feature to add names to custom vehicles.
...
Initial approach would throw an instance of 'std::length_error' on linux.
2017-06-16 22:23:07 +03:00
135e0e690f
Allow the user to store names of custom vehicles up to a certain point.
2017-06-16 02:35:03 +03:00
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
3e35f7c916
Adjust the Color3 and COlor4 type functions to use the new method of receiving formatted strings.
2016-11-16 16:19:02 +02:00
5f8c2f6cc5
Update all existing code to always receive StackStrF as a const reference.
2016-11-16 15:10:33 +02:00
10f2ad95ec
Adjust the signal to use the new method of receiving formatted strings.
2016-11-16 12:32:58 +02:00
c040b24d29
Adjust remaining miscellaneous functions to use the new method of receiving formatted strings.
2016-11-16 12:32:30 +02:00
000133b2ba
Adjust some of the miscellaneous functions to use the new method of receiving formatted strings.
2016-11-16 12:15:46 +02:00
c318dbf1da
Fix HideMapObjectEx registered as SetKeyCodeName.
2016-11-16 11:58:46 +02:00
de4c7da73f
Implement the pure typename meta-methods in Signal type using the standard method.
2016-11-15 21:42:54 +02:00
da76d87a93
Move some of the signal implementation to source file.
...
Don't combine the Consume and Approve methods.
The null value does not count towards returned values anymore.
2016-11-13 14:50:04 +02:00
df12603405
Fix issue in signal which could ommit to push a return value on the stack.
2016-11-13 14:06:53 +02:00
f54271a4fd
Implement arbitrary user data for signals.
2016-11-04 01:31:49 +02:00
5b39f7f061
Implement the Approve and Request methods of emitting signals.
2016-11-04 01:31:07 +02:00
a3594145ad
Fix the inequality operator from the Slot class. Remove unnecessary implementation of other comparison operators from the slot class.
2016-10-31 17:35:54 +02:00
743ceec248
Minor adjustments to the Signals implementation. Also added the Head and Tail methods when connecting slots.
2016-10-30 21:25:10 +02:00
b946e7a9b9
Initial implementation of the built-in event system based on the signals and slots design.
2016-10-30 18:26:37 +02:00
07d37831b9
Use 'color' instead of 'colour' internally and expose aliases to both for the script interface.
2016-08-21 18:07:35 +03:00
c5192399e2
Spelling mistake in weapon name.
2016-07-31 18:31:33 +03:00
7e65a1b21f
Adjust skin names array to include the identifier before the name so it's easier to read.
2016-07-30 22:02:37 +03:00
046d33b49d
Adjust vehicle names array to include the identifier before the name so it's easier to read.
2016-07-30 22:02:28 +03:00
3a216b5447
Add heli-blade to the list of weapon names.
2016-07-30 19:45:30 +03:00
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
0c324557f6
Remove unnecessary collision checks when converting a weapon name to an identifier.
2016-07-28 16:50:24 +03:00
d2719a5223
Include the shared header to prevent compilation errors on the account of undeclared functions.
2016-07-28 01:23:34 +03:00
0b6f817e1f
Minor adjustments in functions that convert skin, vehicle, weapon name to identifier.
2016-07-28 00:15:59 +03:00
7735070ef8
Adjust range checks when converting vehicle name to identifier.
2016-07-28 00:14:02 +03:00
7b3b7cb6c2
Adjust range checks when converting weapon name to identifier.
2016-07-28 00:13:02 +03:00
7cb413111e
Adjust range checks when converting skin name to identifier.
2016-07-28 00:10:15 +03:00
63da454de8
Fix incorrect range check when converting skin name to identifier.
2016-07-28 00:08:29 +03:00
0559e224ad
Fix incorrect range check when converting skin name to identifier.
2016-07-28 00:07:57 +03:00
247ea2a357
Fix incorrect range check when converting vehicle name to identifier.
2016-07-28 00:04:22 +03:00
1c12c53cc9
Fix incorrect range check when converting weapon name to identifier.
2016-07-28 00:01:40 +03:00