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

45 Commits

Author SHA1 Message Date
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
0c324557f6 Remove unnecessary collision checks when converting a weapon name to an identifier. 2016-07-28 16:50:24 +03:00
Sandu Liviu Catalin
d2719a5223 Include the shared header to prevent compilation errors on the account of undeclared functions. 2016-07-28 01:23:34 +03:00
Sandu Liviu Catalin
0b6f817e1f Minor adjustments in functions that convert skin, vehicle, weapon name to identifier. 2016-07-28 00:15:59 +03:00
Sandu Liviu Catalin
7735070ef8 Adjust range checks when converting vehicle name to identifier. 2016-07-28 00:14:02 +03:00
Sandu Liviu Catalin
7b3b7cb6c2 Adjust range checks when converting weapon name to identifier. 2016-07-28 00:13:02 +03:00
Sandu Liviu Catalin
7cb413111e Adjust range checks when converting skin name to identifier. 2016-07-28 00:10:15 +03:00
Sandu Liviu Catalin
63da454de8 Fix incorrect range check when converting skin name to identifier. 2016-07-28 00:08:29 +03:00
Sandu Liviu Catalin
0559e224ad Fix incorrect range check when converting skin name to identifier. 2016-07-28 00:07:57 +03:00
Sandu Liviu Catalin
247ea2a357 Fix incorrect range check when converting vehicle name to identifier. 2016-07-28 00:04:22 +03:00
Sandu Liviu Catalin
1c12c53cc9 Fix incorrect range check when converting weapon name to identifier. 2016-07-28 00:01:40 +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
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
Sandu Liviu Catalin
6eb0e97a71 Fix wrong function registered under the wrong name. 2016-07-27 23:35:52 +03:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
5cc8cfffa9 Update GetWeaponID() to recognize "Ingram" without the "Silenced" portion. 2016-07-17 16:49:15 +03:00
Sandu Liviu Catalin
7bb0d5f947 Adjust the code to use the .what() method from the Sqrat exception. 2016-07-09 14:18:09 +03:00
Sandu Liviu Catalin
c5c3af4f5e Avoid compile errors from implicit cast to int by making the type explicit. 2016-06-19 19:38:24 +03:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
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
Sandu Liviu Catalin
431198378d Implement functions to broadcast messages to all players. 2016-06-19 08:13:38 +03:00
Sandu Liviu Catalin
d42040c9c0 Merge the Random and Math libraries into the Numeric library and organize code a bit. 2016-06-05 00:00:59 +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
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
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
Sandu Liviu Catalin
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
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
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
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
Sandu Liviu Catalin
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
Sandu Liviu Catalin
06e598acfb Dumped the old implementation. Started with a more simple approach. 2016-02-21 00:25:00 +02:00
Sandu Liviu Catalin
68ac878fe9 Added a shorter name for rocket launcher in constants. 2015-11-11 08:48:47 +02:00
Sandu Liviu Catalin
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
Sandu Liviu Catalin
46801b1ce8 Discarded the noexcept specifier entirely. 2015-11-01 05:48:01 +02:00
Sandu Liviu Catalin
2409a896df Changes required to compile on x64 and against extra compiler warnings. 2015-11-01 05:36:03 +02:00
Sandu Liviu Catalin
0aafb46af2 Revise the entity creation/destruction system. 2015-10-31 21:28:23 +02:00
Sandu Liviu Catalin
37c69852d0 Prepared various miscellaneous types for documentation. 2015-10-29 22:59:35 +02:00
Sandu Liviu Catalin
dec4033208 Documented the shared miscellaneous code and made minor fixes. 2015-10-29 22:59:10 +02:00
Sandu Liviu Catalin
6f3579192a Documented the Weapon type and made minor fixes. 2015-10-29 22:58:49 +02:00
Sandu Liviu Catalin
14cba720dd Documented the Skin type and made minor fixes. 2015-10-29 22:58:38 +02:00
Sandu Liviu Catalin
fb00945f01 Documented the Model type and made minor fixes. 2015-10-29 22:58:19 +02:00
Sandu Liviu Catalin
6cecf4ad77 Documented the Automobile type and made minor fixes. 2015-10-29 22:58:13 +02:00
Sandu Liviu Catalin
b099ccc0b4 Make the payload non-const in CAutomobile type. 2015-10-12 00:25:26 +03:00
Sandu Liviu Catalin
92f449efc6 Make the payload non-const in CModel type. 2015-10-12 00:25:03 +03:00
Sandu Liviu Catalin
6ed02d0fd4 Initial commit. 2015-09-30 03:56:11 +03:00