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
ed6bb9802f
Add missing weapon identifier for Heli-blade. Should close #23
2016-07-27 23:59:43 +03:00
93e6e9f77a
Adjust the name from Rocket to Missile to prevent poossible collisions when converting from name to identifier. Should close #24
2016-07-27 23:49:02 +03:00
6eb0e97a71
Fix wrong function registered under the wrong name.
2016-07-27 23:35:52 +03:00
58ad1d59e5
Add functions to obtain a district name from a certaint point on the map. Should close #28
2016-07-27 23:34:56 +03:00
5cc8cfffa9
Update GetWeaponID() to recognize "Ingram" without the "Silenced" portion.
2016-07-17 16:49:15 +03:00
7bb0d5f947
Adjust the code to use the .what() method from the Sqrat exception.
2016-07-09 14:18:09 +03:00
c5c3af4f5e
Avoid compile errors from implicit cast to int by making the type explicit.
2016-06-19 19:38:24 +03:00
6ec8ca620f
Update the player mesage broadcasting to also be more flexible and dynamic when detecting the message color.
...
Move the shared code that identifies the message color outside the player class source file.
2016-06-19 19:06:24 +03:00
3ebe127c2c
Move message broadcasting into their own source file for better code structuring
...
Move message broadcasting into their own table to avoid polluting the global scope.
2016-06-19 09:32:16 +03:00
431198378d
Implement functions to broadcast messages to all players.
2016-06-19 08:13:38 +03:00
d42040c9c0
Merge the Random and Math libraries into the Numeric library and organize code a bit.
2016-06-05 00:00:59 +03:00
0c92601362
Update the module API and merge shared code between modules and host plugin.
2016-06-03 21:26:19 +03:00
f2361a27c3
Untested update to the new plugin API.
...
Various other changes to the plugin as well.
2016-05-22 06:20:38 +03:00
71b255e5dc
Use the uint64_t type instead of Uint64 when retrieveing serer time to fix an issue on x64 linux.
2016-03-27 19:06:21 +03:00
b486ecc2fb
Fix the hide object function to calculate the correct coordinates but also implement the raw function.
2016-03-26 18:14:00 +02:00
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
bab8146c89
Fixed a range error in the SQLite plugin when validating column indexes.
...
Added an extra flush overload to flush all elements in a handled manner.
Prefixed the Server table to not clutter the user space.
2016-03-13 13:39:17 +02:00
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
f4a11ef825
Separated major non mandatory libraries into their onwn modules.
...
Consolidated and simplified the module API system.
Various other fixes and improvements.
2016-02-27 11:57:10 +02:00
06e598acfb
Dumped the old implementation. Started with a more simple approach.
2016-02-21 00:25:00 +02:00
68ac878fe9
Added a shorter name for rocket launcher in constants.
2015-11-11 08:48:47 +02:00
920d70185f
Remove log messages from the event system and and remove the need for unique signatures in signals.
2015-11-08 07:47:50 +02:00
46801b1ce8
Discarded the noexcept specifier entirely.
2015-11-01 05:48:01 +02:00
2409a896df
Changes required to compile on x64 and against extra compiler warnings.
2015-11-01 05:36:03 +02:00
0aafb46af2
Revise the entity creation/destruction system.
2015-10-31 21:28:23 +02:00
37c69852d0
Prepared various miscellaneous types for documentation.
2015-10-29 22:59:35 +02:00
dec4033208
Documented the shared miscellaneous code and made minor fixes.
2015-10-29 22:59:10 +02:00