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

499 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
8d1b6576f3 Update Vector.hpp 2021-03-28 22:36:08 +03:00
Sandu Liviu Catalin
f95a4f9305 Experimental changes to binding utility. 2021-03-28 02:58:47 +02:00
Sandu Liviu Catalin
72b4f661e6 Update Main.cpp 2021-03-28 01:07:46 +02:00
Sandu Liviu Catalin
cd55e51d62 Allow CPR to use the thread pool. 2021-03-28 00:19:09 +02:00
Sandu Liviu Catalin
6a0b7f246e Basic thread pool implementation for internal use. 2021-03-27 19:53:49 +02:00
Sandu Liviu Catalin
8a29e812b1 Update Vehicle.cpp 2021-03-27 16:25:31 +02:00
Sandu Liviu Catalin
bee47a44c4 Reinstate CPR using system library. 2021-03-27 00:18:51 +02:00
Sandu Liviu Catalin
1ac456aa9d Update CMakeLists.txt 2021-03-21 20:27:24 +02:00
Sandu Liviu Catalin
828452a878 Direct MySQL string escape. 2021-03-21 20:19:00 +02:00
Sandu Liviu Catalin
0b62694491 Direct SQLite string escape. 2021-03-21 19:58:39 +02:00
Sandu Liviu Catalin
954b1f5c0d Use native types.
And add more constructors.
2021-03-21 11:43:35 +02:00
Sandu Liviu Catalin
4ebd2ff6f6 Update Official.cpp
Update type names.
2021-03-21 11:20:59 +02:00
Sandu Liviu Catalin
5bc69bc789 Update Official.cpp 2021-03-21 11:04:01 +02:00
Sandu Liviu Catalin
8dc4d353e2 Check for out of range. 2021-03-21 11:03:20 +02:00
Sandu Liviu Catalin
2cbc450285 Manually identify stream target. 2021-03-21 11:01:22 +02:00
Sandu Liviu Catalin
f5e766ab7b Fix stream not clearing the proper values. 2021-03-21 10:50:18 +02:00
Sandu Liviu Catalin
5f90d55fc7 Update Events.inc 2021-03-21 10:36:37 +02:00
Sandu Liviu Catalin
85a2097d82 Update Official.cpp 2021-03-21 10:36:25 +02:00
Sandu Liviu Catalin
26dddbd55b Update Events.inc 2021-03-20 20:54:27 +02:00
Sandu Liviu Catalin
a746bf0075 Update Official.cpp 2021-03-20 20:38:25 +02:00
Sandu Liviu Catalin
2ca0af51cb Update Events.inc 2021-03-20 20:32:26 +02:00
Sandu Liviu Catalin
8985866060 Do not register two Quaternion types. 2021-03-20 20:21:05 +02:00
Sandu Liviu Catalin
370c5cfe88 Fix derived class creation. 2021-03-20 19:58:56 +02:00
Sandu Liviu Catalin
88a50cac4e Explicit casts. 2021-03-20 19:58:46 +02:00
Sandu Liviu Catalin
85a305d987 Update Official.hpp 2021-03-20 19:36:41 +02:00
Sandu Liviu Catalin
d18719a6d8 Allow chaining the Generate() method. 2021-03-20 17:56:38 +02:00
Sandu Liviu Catalin
1ed005e571 Update Events.inc 2021-03-20 17:20:11 +02:00
Sandu Liviu Catalin
f3eabd43f5 Default constructors. 2021-03-20 17:10:57 +02:00
Sandu Liviu Catalin
49eaedbb4b Implement stream for official plug-in compatibility layer. 2021-03-20 16:56:44 +02:00
Sandu Liviu Catalin
1297635b89 Implement timers for official plug-in compatibility layer. 2021-03-20 15:47:32 +02:00
Sandu Liviu Catalin
ed07b17c22 Implement constants for official plug-in compatibility layer. 2021-03-20 12:09:20 +02:00
Sandu Liviu Catalin
5885c3f10b Update sqratConst.h 2021-03-20 12:08:51 +02:00
Sandu Liviu Catalin
d7804ab321 Implement global functions for official plug-in compatibility layer.
Make ARGB derive from Color4 to be consistent with the rest of the plugin.
2021-03-20 11:53:17 +02:00
Sandu Liviu Catalin
26cb65fcbc Return entity instance instead of object.
Implement helper entity iteration functions.
2021-03-20 11:51:40 +02:00
Sandu Liviu Catalin
45c857f439 Disable unwanted constructors and assignment operators. 2021-03-20 11:50:39 +02:00
Sandu Liviu Catalin
86e070d61c Use optimized type identification. 2021-03-20 11:49:58 +02:00
Sandu Liviu Catalin
f11622177e Return by reference. 2021-03-20 11:49:26 +02:00
Sandu Liviu Catalin
dd780dbd02 Update sqratArray.h 2021-03-20 11:49:13 +02:00
Sandu Liviu Catalin
814a871b5a Update sqratObject.h 2021-03-20 11:49:09 +02:00
Sandu Liviu Catalin
e88007d2f6 Update sqratTable.h 2021-03-20 11:49:02 +02:00
Sandu Liviu Catalin
f02b6be315 WIP Official plug-in compatibility layer. 2021-03-15 07:02:48 +02:00
Sandu Liviu Catalin
aadba58795 Update Color4.hpp 2021-03-15 07:01:41 +02:00
Sandu Liviu Catalin
c22e37622d Flatten tyres utility. 2021-03-15 07:01:26 +02:00
Sandu Liviu Catalin
5082b9ace8 Update sqratClass.h 2021-03-15 07:00:46 +02:00
Sandu Liviu Catalin
e2528e88dd Update sqratFunction.h 2021-03-15 07:00:39 +02:00
Sandu Liviu Catalin
405afbb72d Update sqratTypes.h 2021-03-15 07:00:34 +02:00
Sandu Liviu Catalin
4c08879b5c Adjust stream constructor. 2021-03-09 00:40:16 +02:00
Sandu Liviu Catalin
6935d4bfb1 Update Stream.cpp 2021-03-09 00:21:40 +02:00
Sandu Liviu Catalin
7d7fd44427 Initial draft for I/O streams. 2021-03-09 00:18:07 +02:00
Sandu Liviu Catalin
0675c05fe7 Update Time.cpp 2021-03-04 22:51:09 +02:00
Sandu Liviu Catalin
80ab78d6d8 Update Data.hpp 2021-03-04 22:41:56 +02:00
Sandu Liviu Catalin
f7ec3594eb Implement SessionPool. 2021-03-04 22:41:18 +02:00
Sandu Liviu Catalin
c4c88fd97c Allow RecordSet to be constructed from statements. 2021-03-04 22:00:19 +02:00
Sandu Liviu Catalin
20cb308c3f Update VecMap.hpp 2021-03-04 21:59:54 +02:00
Sandu Liviu Catalin
66b2af9be2 Miscellaneous. 2021-02-23 16:36:17 +02:00
Sandu Liviu Catalin
6fa8a17e9d Fix indentation. 2021-02-21 13:37:57 +02:00
Sandu Liviu Catalin
9017236b13 Work around server defect. 2021-02-21 13:34:08 +02:00
Sandu Liviu Catalin
1f2b75ed26 Handle Poco exceptions explicitly. 2021-02-20 21:22:12 +02:00
Sandu Liviu Catalin
505650837e Update Pickup.cpp 2021-02-15 09:42:18 +02:00
Sandu Liviu Catalin
bd392c9bae Update Algo.cpp 2021-02-14 19:48:57 +02:00
Sandu Liviu Catalin
d1963dcb86 Update Data.hpp 2021-02-14 16:25:31 +02:00
Sandu Liviu Catalin
df61b4eb55 Enable wstring support in poco data. 2021-02-12 14:21:50 +02:00
Sandu Liviu Catalin
a526cc7597 Enable boolean vectors support in poco data. 2021-02-12 11:59:09 +02:00
Sandu Liviu Catalin
b897cde9e5 Update Data.cpp
Make callback processing more robust
2021-02-09 15:21:26 +02:00
Sandu Liviu Catalin
c9dbd38255 Include pending library. 2021-02-08 21:10:10 +02:00
Sandu Liviu Catalin
3d0ce183c6 Update CMakeLists.txt 2021-02-08 21:04:26 +02:00
Sandu Liviu Catalin
357796c723 Forgot to define SCRAT_USE_EXCEPTIONS
Also normalized indentation.
2021-02-08 21:04:06 +02:00
Sandu Liviu Catalin
bab6db85a9 Fix callback binding. 2021-02-08 12:22:45 +02:00
Sandu Liviu Catalin
2bbbfd69e6 Async callback. 2021-02-08 12:11:47 +02:00
Sandu Liviu Catalin
d853e86d18 Register MMDB. 2021-02-08 09:06:11 +02:00
Sandu Liviu Catalin
a6a9aa88b2 Const cleanup. 2021-02-05 16:03:04 +02:00
Sandu Liviu Catalin
076d778e50 Fix inspection parameters. 2021-02-05 15:56:24 +02:00
Sandu Liviu Catalin
479272d59f Add iteration. 2021-02-05 15:42:27 +02:00
Sandu Liviu Catalin
bd1504bd24 Add removal methods. 2021-02-05 15:26:39 +02:00
Sandu Liviu Catalin
4704f6a67d Disable traces of legacy functionality. 2021-02-05 14:25:53 +02:00
Sandu Liviu Catalin
d20726621b Discard object references. 2021-02-05 14:21:53 +02:00
Sandu Liviu Catalin
66dca8785c Remove all method. 2021-02-05 14:19:15 +02:00
Sandu Liviu Catalin
e4d4b09f52 Update Privilege.cpp 2021-02-05 14:12:05 +02:00
Sandu Liviu Catalin
4da00718f7 Assign/Remove/Modify methods. 2021-02-05 14:06:13 +02:00
Sandu Liviu Catalin
90597e4287 First draft/prototype of built-in privilege management. 2021-02-05 13:32:37 +02:00
Sandu Liviu Catalin
6d30202bbd Update sqratUtil.h 2021-02-05 13:31:56 +02:00
Sandu Liviu Catalin
d73ee70395 Update sqratFunction.h 2021-02-05 13:31:52 +02:00
Sandu Liviu Catalin
18a52bc536 Add string opt support and fix inevitable exception. 2021-02-04 23:27:43 +02:00
Sandu Liviu Catalin
ce5bb3034e Update Data.hpp 2021-02-04 08:02:17 +02:00
Sandu Liviu Catalin
a5f0b224ce Update Shared.cpp 2021-02-04 08:01:23 +02:00
Sandu Liviu Catalin
89d90971fd Implement multi-part messages for ZMQ. 2021-02-04 07:55:10 +02:00
Sandu Liviu Catalin
5d63520c16 Basic data record-set implementation. 2021-02-04 04:30:20 +02:00
Sandu Liviu Catalin
6ed0328dfe Update Constants.cpp 2021-02-04 04:29:59 +02:00
Sandu Liviu Catalin
f5072413eb Update sqratLightObj.h 2021-02-04 04:29:54 +02:00
Sandu Liviu Catalin
508a0c3677 Update Vector.hpp 2021-02-04 00:48:34 +02:00
Sandu Liviu Catalin
e1741ada5d Update Vector.hpp 2021-02-03 23:16:59 +02:00
Sandu Liviu Catalin
35ff0e6eea Update Vector.hpp 2021-02-03 23:11:29 +02:00
Sandu Liviu Catalin
6fcdfa6ed2 Fix return value. 2021-02-03 23:08:18 +02:00
Sandu Liviu Catalin
c8e5012642 Respect logging time-stamp config. 2021-02-03 22:08:32 +02:00
Sandu Liviu Catalin
70a5eaa5d1 Fix assertion functions. 2021-02-03 21:59:48 +02:00
Sandu Liviu Catalin
fc0751c6da Add assertion functions. 2021-02-03 21:18:11 +02:00
Sandu Liviu Catalin
ec02e72cc3 Remove obsolete typedef. 2021-02-03 17:51:20 +02:00
Sandu Liviu Catalin
0de21ae5a0 Move away from C format to cpp::fmt. 2021-02-03 17:50:39 +02:00
Sandu Liviu Catalin
09a1767ffe Add Exec[Async] shotrcuts to session. 2021-02-03 16:54:36 +02:00
Sandu Liviu Catalin
2c8861403e Expand exception message. 2021-02-03 15:45:55 +02:00
Sandu Liviu Catalin
89bc0a5a3b Builtin announcer. 2021-02-03 15:32:12 +02:00
Sandu Liviu Catalin
a28d1799c5 Don't bind incomplete libraries. 2021-02-03 12:51:40 +02:00
Sandu Liviu Catalin
3f991cb3e5 Missing return type. 2021-02-03 12:11:02 +02:00
Sandu Liviu Catalin
30cd10d76a Revert format specs. 2021-02-03 12:10:15 +02:00
Sandu Liviu Catalin
5fd4a6471d Cleanup. 2021-02-03 12:01:46 +02:00
Sandu Liviu Catalin
203a02cb2d Refactor ZMQ to be simpler.
Fixed a meory leak.
2021-02-03 11:49:35 +02:00
Sandu Liviu Catalin
3fb6005c3f Update ZMQ.hpp 2021-02-02 21:56:40 +02:00
Sandu Liviu Catalin
266e06e870 Update error retrieval and expose more functionality, 2021-02-02 21:36:07 +02:00
Sandu Liviu Catalin
fcef50651a Further work on ZMQ bindings. 2021-02-02 20:31:21 +02:00
Sandu Liviu Catalin
ba237ec49c Update CMakeLists.txt 2021-02-02 19:11:12 +02:00
Sandu Liviu Catalin
0d05273f3f Remove CURL/CPR. 2021-02-02 19:10:51 +02:00
Sandu Liviu Catalin
fc9419677f Initial ZMQ bindings. 2021-02-02 19:07:02 +02:00
Sandu Liviu Catalin
3583473b0b Update Weapon.cpp 2021-02-01 04:34:43 +02:00
Sandu Liviu Catalin
5d671b3aed Update Vehicle.cpp 2021-02-01 04:34:40 +02:00
Sandu Liviu Catalin
3af66d3219 Update Player.cpp 2021-02-01 04:33:59 +02:00
Sandu Liviu Catalin
97907db477 Update Utils.cpp 2021-02-01 04:31:55 +02:00
Sandu Liviu Catalin
9e71bb8365 Update CURL.hpp 2021-02-01 04:29:44 +02:00
Sandu Liviu Catalin
187761b137 Reduce CMake requirements. 2021-02-01 01:02:00 +02:00
Sandu Liviu Catalin
d7078551c6 Update SqBase.hpp 2021-02-01 00:46:22 +02:00
Sandu Liviu Catalin
746da6f2d9 Update SqBase.hpp 2021-02-01 00:45:37 +02:00
Sandu Liviu Catalin
602f82b26e Update Math.cpp 2021-02-01 00:39:24 +02:00
Sandu Liviu Catalin
533b058e58 Update SqBase.hpp 2021-02-01 00:34:59 +02:00
Sandu Liviu Catalin
ef5f1b07c6 Don't use fixed types. 2021-02-01 00:33:12 +02:00
Sandu Liviu Catalin
a12ba35d53 Update sqratConst.h 2021-02-01 00:26:22 +02:00
Sandu Liviu Catalin
a09948770f Update Script.cpp 2021-02-01 00:22:28 +02:00
Sandu Liviu Catalin
07d215c428 Update Random.cpp 2021-01-31 23:36:43 +02:00
Sandu Liviu Catalin
9843e97802 Add UNICODE checks. 2021-01-31 23:21:29 +02:00
Sandu Liviu Catalin
3c33af7640 Use direct integer type names instead of fixed size types. 2021-01-31 23:18:28 +02:00
Sandu Liviu Catalin
b04a71dd24 Add checksum generation. 2021-01-31 22:40:38 +02:00
Sandu Liviu Catalin
fdc1d9d993 Add base 32/64 encode/decode. 2021-01-31 22:21:42 +02:00
Sandu Liviu Catalin
fe27504972 Implement a hashing function. 2021-01-31 21:50:10 +02:00
Sandu Liviu Catalin
2a5dbb1c0d Update dependency for distribution on windows. 2021-01-31 20:56:41 +02:00
Sandu Liviu Catalin
2f67eae859 Complete Poco Data support.
Most of the necessary things are exported.
More complex functionality is not exposed because is not necessary for the scope of this project.
2021-01-31 20:39:02 +02:00
Sandu Liviu Catalin
e043e28529 Add helper option to copy dependencies to a deps folder. 2021-01-31 19:36:23 +02:00
Sandu Liviu Catalin
6aa5b504dd Show more debuggable information. 2021-01-31 18:49:12 +02:00
Sandu Liviu Catalin
dcf35782d1 Catch more exception types. 2021-01-31 18:48:49 +02:00
Sandu Liviu Catalin
fd2a1de107 Backport MaxmindDB. 2021-01-31 18:48:31 +02:00
Sandu Liviu Catalin
ea751be7b1 Implement extraction and remaining data bindings. 2021-01-31 17:32:52 +02:00
Sandu Liviu Catalin
f53b5b348d Use Poco SharedPtr to maintain compatibility with it. 2021-01-31 17:32:16 +02:00
Sandu Liviu Catalin
12ac87d8fd Update sqratLightObj.h 2021-01-31 17:31:49 +02:00
Sandu Liviu Catalin
9dab72a2a7 Improve debug message and value gen. 2021-01-31 14:55:49 +02:00
Sandu Liviu Catalin
13f5808442 Rename methods for consistency. 2021-01-31 14:23:33 +02:00
Sandu Liviu Catalin
4838850051 Don't return for void methods. 2021-01-31 14:13:11 +02:00
Sandu Liviu Catalin
0670a8dadf Improve vector container.
Add basic map container.
2021-01-31 14:09:37 +02:00
Sandu Liviu Catalin
1829668015 Update Data.cpp 2021-01-31 14:09:10 +02:00
Sandu Liviu Catalin
4ca062d439 Take functor by copy. 2021-01-31 14:09:01 +02:00
Sandu Liviu Catalin
a5b83ddf9e Make move constructor noexcept. 2021-01-31 14:08:48 +02:00
Sandu Liviu Catalin
be557939a9 Preliminary Poco::Data bindings. 2021-01-31 00:16:10 +02:00
Sandu Liviu Catalin
08ae539e74 Broaden the range of handled exceptions. 2021-01-31 00:14:56 +02:00
Sandu Liviu Catalin
d7ce51d8bb Make it generic. 2021-01-30 20:10:09 +02:00
Sandu Liviu Catalin
4e1b3cd369 Add type-tag retrieval to object wrappers. 2021-01-30 20:08:54 +02:00
Sandu Liviu Catalin
bb991181de Further optimize instance retrieval.
More risky changes but the current constraints should allow it.
2021-01-30 19:59:34 +02:00
Sandu Liviu Catalin
b0bbb05631 Initial implementation of constant-time type-info.
Since I gave up on the possibility of multiple VMs. It allows me to take a risky optimization and avoid unnecessary table lookups.
2021-01-30 19:43:18 +02:00
Sandu Liviu Catalin
ae51c454cc Update sqratArray.h
Use recently the new squirrel API function.
2021-01-30 19:40:29 +02:00
Sandu Liviu Catalin
444b0120ea Update sqratLightObj.h
In place construction.
2021-01-30 19:39:56 +02:00
Sandu Liviu Catalin
4a6bfc086c Major plugin refactor and cleanup.
Switched to POCO library for unified platform/library interface.
Deprecated the external module API. It was creating more problems than solving.
Removed most built-in libraries in favor of system libraries for easier maintenance.
Cleaned and secured code with help from static analyzers.
2021-01-30 08:51:39 +02:00
Sandu Liviu Catalin
e0e34b4030 Update Logger.cpp 2021-01-29 00:20:18 +02:00
Sandu Liviu Catalin
b6a270293b Get rid of the memory manager from buffer. 2021-01-29 00:20:09 +02:00
Sandu Liviu Catalin
9efcfe2fa9 Discard unwanted libraries from discord integration attempt. 2021-01-28 13:17:06 +02:00
Sandu Liviu Catalin
da39892bb0 Revert allignment back. 2021-01-28 05:25:51 +02:00
Sandu Liviu Catalin
611c1bf951 Remove packing attribute injected by IDE. 2021-01-28 05:24:21 +02:00
Sandu Liviu Catalin
ac162b0c14 Update CURL.hpp 2021-01-28 05:19:19 +02:00
Sandu Liviu Catalin
62c9597e92 Fix some alignment/padding issues in CPR. 2021-01-28 05:19:13 +02:00
Sandu Liviu Catalin
7f36aae9f9 Initial implementation of a CURL extension.
TODO: async/mt
2021-01-28 05:00:03 +02:00
Sandu Liviu Catalin
4a75da930b Modify CPR library to be able to access member variables for some types. 2021-01-28 04:59:14 +02:00
Sandu Liviu Catalin
cc6778d245 Modify discord library to be able to customize request session. 2021-01-28 04:58:28 +02:00
Sandu Liviu Catalin
0605e98723 Update Logger.cpp
Leftover debug message.
2021-01-28 04:52:20 +02:00
Sandu Liviu Catalin
95705e87c8 Initial preparations for CURL and Discord integration. 2021-01-27 07:27:48 +02:00
Sandu Liviu Catalin
8257eb61d6 Update SQLite to version 3.34.1 2021-01-27 06:16:06 +02:00
Sandu Liviu Catalin
339ce480a6 Fixe structure size and remove leftover header. 2021-01-17 14:04:11 +02:00
Sandu Liviu Catalin
9579fcfe64 Mark the script as executed before invoking the callbacks. 2021-01-17 11:22:53 +02:00
Sandu Liviu Catalin
efe0748d67 Fix SetPositionZ in entities. Z axis would be used as both X and Z instead of just Z. Probably resulting in weird behavior. 2020-12-21 12:20:30 +02:00
Sandu Liviu Catalin
79f02998d5 MySQL library 8.x removed my_bool type. 2020-12-10 19:13:23 +02:00
Sandu Liviu Catalin
7b93498558 Fix message logging to use actual string pointer. 2020-09-08 23:16:57 +03:00
Sandu Liviu Catalin
d6f3f52eec Rewrite logger to account for multiple-threads.
Implement error handling for worker VMs.
2020-09-08 22:44:04 +03:00
Sandu Liviu Catalin
054a7983a5 Sync console output during prototyping. 2020-09-06 23:55:15 +03:00
Sandu Liviu Catalin
425fd46bcf Update Job.hpp 2020-09-06 23:54:48 +03:00
Sandu Liviu Catalin
78c2003797 Add a logging option for unformatted strings. 2020-09-06 23:54:44 +03:00
Sandu Liviu Catalin
67f514c77c Add a helper funtion to generate formated string. 2020-09-06 23:54:28 +03:00
Sandu Liviu Catalin
50a61c69e6 Use polymorphism to deliver jobs. 2020-09-06 23:09:54 +03:00
Sandu Liviu Catalin
38b874f444 Separate worker and parameter to their own sources. 2020-09-06 21:45:32 +03:00
Sandu Liviu Catalin
31af9efe94 Separate jobs from workers. 2020-09-06 21:35:04 +03:00
Sandu Liviu Catalin
97fe1101e3 Do not hammer the CPU if there are no jobs. 2020-09-06 21:30:44 +03:00
Sandu Liviu Catalin
cc69b15190 Manage to get a working hello world. 2020-09-06 20:22:43 +03:00
Sandu Liviu Catalin
be0e5bd6d2 Worker basic prototype implementation. 2020-09-06 20:12:55 +03:00
Sandu Liviu Catalin
e7c708d997 Update VecMap.hpp
Some checks failed
continuous-integration/drone Build is failing
2020-09-06 20:11:56 +03:00
Sandu Liviu Catalin
6fa2ccb129 Remove mujs. 2020-09-06 20:11:53 +03:00
Sandu Liviu Catalin
4490ac5b68 Update Signal.cpp 2020-09-06 16:14:39 +03:00
Sandu Liviu Catalin
35d93e16dc Update VecMap.hpp 2020-09-06 05:03:37 +03:00
Sandu Liviu Catalin
b3a56eac12 Update VecMap.hpp
Lowercase method names.
2020-09-06 04:27:17 +03:00
Sandu Liviu Catalin
7d9110ddbd Add a vecmap container. 2020-09-06 04:13:46 +03:00
Sandu Liviu Catalin
36dcd44b3c Add the fmt library. 2020-09-05 00:02:20 +03:00
Sandu Liviu Catalin
5782b598e5 Create the worker lib.
Just an empty file. Placeholder for a future prototype.
2020-09-04 23:59:02 +03:00
Sandu Liviu Catalin
f0779f57cb Discard previous approach.
Left incomplete untill further notice.
2020-09-04 23:52:52 +03:00
Sandu Liviu Catalin
076da5fe02 Update CMakeLists.txt 2020-09-04 23:52:05 +03:00
Sandu Liviu Catalin
cce275ed61 Add mujs library. 2020-09-04 23:51:57 +03:00
Sandu Liviu Catalin
ae5698a53d Add concurent queue library. 2020-09-04 23:51:14 +03:00
Sandu Liviu Catalin
0aee307376 Add potential library. 2020-09-04 23:50:12 +03:00
Sandu Liviu Catalin
a0077443d7 Update Shared.hpp 2020-09-04 18:54:53 +03:00
Sandu Liviu Catalin
6fa8e85189 Remove the need to specify a VM after new changes. 2020-09-04 18:52:09 +03:00
Sandu Liviu Catalin
b5c8121b7d Allow choosing between uppercase or lowercase hex conversion.
Lowercase by default.
2020-09-03 21:05:38 +03:00
Sandu Liviu Catalin
7ec5544948 Implement hex conversion to color types. 2020-09-03 20:52:46 +03:00
Sandu Liviu Catalin
455c401c2c Update Utility.cpp 2020-09-03 20:33:58 +03:00
Sandu Liviu Catalin
b18d0a129a Implement formatting on math types.
Just a helper method to help you generate strings from math types more easilly. A bit risky if you're dumb and don't know how format specifiers work in C because it provides direct access to those.
2020-09-03 20:33:51 +03:00
Sandu Liviu Catalin
db6cf1cdde Don't make the temporary buffer static.
It is pointless.
2020-09-03 18:26:24 +03:00
Sandu Liviu Catalin
25fb30140c Update Path.cpp 2020-08-30 18:57:13 +03:00
Sandu Liviu Catalin
5114dcbffb Update Register.cpp
Remove leftover imports.
2020-08-30 18:52:53 +03:00
Sandu Liviu Catalin
5eabcab3a5 Experimenting with LTO. 2020-08-19 16:49:45 +03:00
Sandu Liviu Catalin
4e5aa5a292 Fix built-in runtimes.
Avoid having to share mingw runtimes with the binary by embedding them in the binary via static linking.
2020-08-19 15:33:41 +03:00
Sandu Liviu Catalin
0356f7d5ce Update SQLite library. 2020-08-19 15:24:29 +03:00
Sandu Liviu Catalin
39a6780d5c Update Environment.cpp 2020-08-16 22:30:25 +03:00
Sandu Liviu Catalin
5cf1f2cd41 Update Path.hpp 2020-08-16 19:18:43 +03:00
Sandu Liviu Catalin
a00ff9bf20 Update my_config.h 2020-08-16 19:18:38 +03:00
Sandu Liviu Catalin
47f71625d8 Restructure the whole plugin development kit. 2020-05-28 20:59:29 +03:00
Sandu Liviu Catalin
98fda61a77 Update Random.cpp 2020-05-19 17:18:05 +03:00
Sandu Liviu Catalin
f795981dd9 Further fixes of unreleased objects. 2020-05-11 17:51:39 +03:00
Sandu Liviu Catalin
59e4b9ad7c Release all script objects from command listeners. 2020-05-11 17:24:36 +03:00
Sandu Liviu Catalin
508d968744 Concept [WIP]
Privilege management.
2020-05-10 13:01:01 +03:00
Sandu Liviu Catalin
018a2de97b Some changes on user options. 2020-05-10 12:56:23 +03:00
Sandu Liviu Catalin
a318070f8b Add sample external plugin. 2020-05-08 23:16:48 +03:00
Sandu Liviu Catalin
3510a21311 String to int/float with specific base. 2020-05-08 18:25:05 +03:00
DizzasTeR
72fbbae765 Fix CreateRadioStream declaration 2020-05-06 22:07:14 +05:00
Sandu Liviu Catalin
4ace42466d Don't error-check radio stream creation.
Not even worth it anymore.
2020-05-06 18:44:58 +03:00
Sandu Liviu Catalin
0662b9cf99 Use auto instead of explicit iterator type. 2020-05-06 01:20:39 +03:00
Sandu Liviu Catalin
378b1bf001 Fix routines once and forever.
By simply preventing reuse of slots that have been terminated during their execution.
2020-05-06 01:20:17 +03:00
Sandu Liviu Catalin
ad8641e7d3 Fix initialization of null entities.
Few other minor changes.
2020-05-04 18:50:33 +03:00
Sandu Liviu Catalin
e2bc14cd9e Include default value for default constructor. 2020-05-04 11:59:40 +03:00
Sandu Liviu Catalin
4c1030c76e Implement simple distance tracking for player and vehicle entities.
Doesn't differentiate from in-air and on-ground.
Just sums up the distance from last position on each position update.
2020-05-04 11:58:30 +03:00
Sandu Liviu Catalin
f2be86a65e Allow API selection as a cmake option. 2020-05-01 20:41:00 +03:00
Sandu Liviu Catalin
4a53ec8676 Prevent issues with routine slot recycling.
Prevent possible memory leak on object creation exceptions.
Other miscellaneous changes.
2020-05-01 01:24:06 +03:00
Sandu Liviu Catalin
3e7adb8fea What is dead may never live. 2020-04-30 23:27:24 +03:00
Sandu Liviu Catalin
1edc1930a3 Prevent silent failure uppon loading scripts that don't exist. 2020-04-30 22:28:01 +03:00
Sandu Liviu Catalin
88ef01e5e8 Fix maxminddb redefinition of strcasecmp. 2020-04-30 21:37:44 +03:00
Sandu Liviu Catalin
69e8a9377c Allow for debug builds with debug information. 2020-04-30 21:34:10 +03:00
Sandu Liviu Catalin
ae2b1dc778 Avoid implicit construction of object wrappers. 2020-04-30 21:03:15 +03:00
Sandu Liviu Catalin
185c51ef8f Fix algorithms. 2020-04-30 20:03:24 +03:00
Sandu Liviu Catalin
e7e266314e Miscellaneous. 2020-04-28 00:04:24 +03:00
Sandu Liviu Catalin
02dc14f26a Fix maxminddb call to CreateFile. 2020-04-27 15:38:09 +03:00
Sandu Liviu Catalin
82f183599f Actually expose the MySQL api. 2020-04-27 15:02:10 +03:00
Sandu Liviu Catalin
b86c4cea2b Refactor. 2020-04-27 13:53:16 +03:00
Sandu Liviu Catalin
22a17fe3c4 Code cleanup.
Get rid of ReleaseGently.
2020-04-27 13:10:54 +03:00
Sandu Liviu Catalin
48005a98f0 Return something. 2020-04-27 11:42:21 +03:00
Sandu Liviu Catalin
42a0d2ed62 Remove unnecessary macro. 2020-04-27 11:18:22 +03:00
Sandu Liviu Catalin
7bcaba518e Include dependency before using it. 2020-04-27 11:17:37 +03:00
Sandu Liviu Catalin
e2e671a13a Use modern header includes. 2020-04-27 11:08:32 +03:00
Sandu Liviu Catalin
df7c5f8266 USe pragma once. 2020-04-27 11:06:51 +03:00
Sandu Liviu Catalin
94ef17c26f Update CMakeLists.txt 2020-04-27 10:59:05 +03:00
Sandu Liviu Catalin
935ae53855 Avoid generic names. 2020-04-27 10:56:22 +03:00
Sandu Liviu Catalin
b0e7c305b6 Automatic OS identification. 2020-04-27 10:37:39 +03:00
Sandu Liviu Catalin
a6ce7811ba Use standard types and headers. 2020-04-27 10:25:29 +03:00