Commit Graph
100 Commits
Author SHA1 Message Date
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
Sandu Liviu Catalin 1e82d7b747 Use updated win32 identification. 2020-04-27 10:17:08 +03:00
Sandu Liviu Catalin 6accac3bb1 Fix: remove leftover code. 2020-04-21 06:07:47 +03:00
Sandu Liviu Catalin 65f7852c21 Minor changes and additions. 2020-04-21 06:06:27 +03:00
Sandu Liviu Catalin 0af137b96a Implement trailing callback function wrappers.
Expands uppon the formatted function wrappers functionality.
2020-04-20 17:28:33 +03:00
Sandu Liviu Catalin 9af90e80db Don't pre-reserve null values in the array. 2020-04-20 16:07:42 +03:00
Sandu Liviu Catalin 2f31a9495a Allow circles to be transformed to area points. 2020-04-20 16:00:47 +03:00
Sandu Liviu Catalin 405c2920e7 Backport fix. 2020-04-20 04:54:46 +03:00
Sandu Liviu Catalin 5393b62892 Initial implementation of basic TCP/UDP sockets. 2020-04-20 04:46:05 +03:00
Sandu Liviu Catalin 8a927419c2 Return the length of the written string.
Since they can be dynamically generated through a formatted string.
2020-04-20 03:48:49 +03:00
Sandu Liviu Catalin 1f2f580a67 Rename Read/WriteString to Read/WriteClientString.
The buffer is being moved to a more general purpose type of buffer. And a rename was in order to avoid confusion with client-encoded strings.
2020-04-20 02:28:35 +03:00
Sandu Liviu Catalin 738e90fc29 Rename function. 2020-04-17 20:34:27 +03:00
Sandu Liviu Catalin 977b20d9f0 Expose the function to emit custom global events. 2020-04-17 20:33:57 +03:00
Sandu Liviu Catalin f1654969b8 Allow custom parameters to array element generator. 2020-04-17 19:01:20 +03:00
Sandu Liviu Catalin e13d1a91e7 Replace GetObject with GetObj to avoid collisions on Windows.
ef you MS
2020-04-17 17:42:09 +03:00
Sandu Liviu Catalin 1242b8a2fc Copy the binary to plugins folder after compiling. 2020-04-17 17:21:36 +03:00
Sandu Liviu Catalin 9e68216136 Actually register the maxmind-db library in the vm. 2020-04-17 16:57:52 +03:00
Sandu Liviu Catalin b90a516d80 Update smart pointers to accommodate new changes. 2020-04-17 15:53:06 +03:00
Sandu Liviu Catalin af39a9a47f Allow non deletable/destructible types. 2020-04-17 15:33:37 +03:00
Sandu Liviu Catalin 040a7dd7e2 Miscellaneous changes. 2020-04-17 15:25:58 +03:00
Sandu Liviu Catalin 603d358e5f Allow shared pointers to have custom deleters. 2020-04-17 15:24:38 +03:00
Sandu Liviu Catalin f0b00fb07f Fix GetWorldBounds() and GetWastedSettings() returning null.
By not giving a virtual machine to the table contructor it defaults to null. Which ignores subsequent values getting assigned and esentially returning null.
2020-04-13 14:01:15 +03:00
Sandu Liviu Catalin 4bf1443260 Preallocate mysql account options table. 2020-04-13 13:57:42 +03:00
Sandu Liviu Catalin 602bb077b0 Call default constructor on base table class. 2020-04-13 13:57:13 +03:00
Sandu Liviu Catalin 49aa85102c Minor changes to move semantics in sqrat library. 2020-04-13 13:45:24 +03:00
Sandu Liviu Catalin 48c72e3cfb Indentation fix for previous commit. 2020-04-10 10:23:44 +03:00
Sandu Liviu Catalin 15532298dc Implement field selection in the MySQL library. 2020-04-10 10:12:05 +03:00
Sandu Liviu Catalin a7f8584661 Allow routines to have configurable error reporting that is individual from global setting.
Potential fix for error handling that was being used in a way that had the opposite intended effect.
2020-04-10 08:30:22 +03:00
Sandu Liviu Catalin 7030628f77 Rename function to avoid potential confusion.
`Active` may be confused with routines that aren't in a `Paused` state.
2020-04-03 00:29:17 +03:00
Sandu Liviu Catalin 831f25a323 Routine count.
Routine instance rename.
2020-04-03 00:26:17 +03:00
Sandu Liviu Catalin 038a0a5d5f Merge branch 'master' of https://github.com/iSLC/VCMP-SqMod 2020-03-22 21:08:42 +02:00
Sandu Liviu Catalin 59a02b0e38 Update .gitignore 2020-03-22 21:08:37 +02:00
Sandu Liviu Catalin 7e1a3ded06 Don't include MySQL sources when disabled. 2020-03-22 21:02:02 +02:00
Sandu Liviu Catalin b08e9a2f3a Make MySQL optional.
Only windows for now.
2020-03-22 18:57:00 +02:00
Sandu Liviu Catalin d79922d725 Try another way because that doesn't work everywhere. 2020-03-22 18:46:38 +02:00
Sandu Liviu Catalin 8f57220b0f Enable C99 for libmaxminddb. 2020-03-22 18:43:32 +02:00
Sandu Liviu Catalin 0d21b92bb0 Get rid of interface libraries to keep cmake requirements low. 2020-03-22 18:38:30 +02:00
Sandu Liviu Catalin feb1652c83 Get rid of interface libraries to keep cmake requirements low. 2020-03-22 18:35:07 +02:00
Sandu Liviu Catalin 0b8da79404 Get rid of interface libraries to keep cmake requirements low. 2020-03-22 18:32:25 +02:00
Sandu Liviu Catalin a3312de023 Allow customization of native squirrel functions when bound via the sqrat library. 2020-03-22 18:07:46 +02:00
Sandu Liviu Catalin 3b7568f13a Integrate MaxmindDB module. 2020-03-22 16:33:48 +02:00
Sandu Liviu Catalin e46c1b0aa9 Merge MySQL Library int one file. 2020-03-22 15:06:35 +02:00
Sandu Liviu Catalin 2ee661ee65 Integrate MySQL module. 2020-03-22 14:54:40 +02:00
Sandu Liviu Catalin 0d254ed90b Minor cleanup. 2020-03-22 12:33:20 +02:00
Sandu Liviu Catalin 453eff0037 Code cleanup. 2020-03-22 10:31:43 +02:00
Sandu Liviu Catalin 33f057ac15 More code cleanup. 2020-03-22 10:00:31 +02:00
Sandu Liviu Catalin 3225e119a2 Take into account StackStrF when checking parameter count. 2020-03-22 09:17:34 +02:00
Sandu Liviu Catalin 3080c20341 More code cleanup. 2020-03-22 09:16:40 +02:00
Sandu Liviu Catalin 615f3a4d46 More code cleanup. 2020-03-22 07:13:06 +02:00
Sandu Liviu Catalin a557805090 Code cleanup. Most of it via linting. 2020-03-22 06:53:04 +02:00
Sandu Liviu Catalin e92f99c55e Fix rename issues from XML library. 2020-03-22 03:15:49 +02:00
Sandu Liviu Catalin ced5c64e17 Rename SQLite types to prevent future collisions. 2020-03-22 03:12:55 +02:00
Sandu Liviu Catalin 05990afedf Cleanup SQLite code. 2020-03-22 03:03:05 +02:00
Sandu Liviu Catalin 8ea13de743 Merge SQLite library into a single file. 2020-03-22 02:44:33 +02:00
Sandu Liviu Catalin 91c0f2ec02 Cleanup XML library code. 2020-03-22 02:22:32 +02:00
Sandu Liviu Catalin c9de01e8a3 Merge XML library into a single file. 2020-03-22 01:50:40 +02:00
Sandu Liviu Catalin 505a165d23 Use pragma once instead of macro guards. 2020-03-22 01:45:04 +02:00
Sandu Liviu Catalin 39d6af7687 Integrate XML module.
Integrate the XML module into the host plugin and get it to compile.
2020-03-22 01:33:11 +02:00
Sandu Liviu Catalin de3f365522 Integrate SQLite module.
Integrate the SQLite module into the host plugin and get it to compile.
2020-03-22 00:35:03 +02:00
Sandu Liviu Catalin 5a7034a049 Add new vendor libraries. Fix old names. 2020-03-21 23:12:14 +02:00
Sandu Liviu Catalin c0fd374404 Rename source to module. 2020-03-21 23:02:27 +02:00
Sandu Liviu Catalin a5c87bae5e Further file shuffling and finally builds. 2020-03-21 22:58:50 +02:00
Sandu Liviu Catalin c00b943a90 Move script algorithms to miscellaneous code.
Update CMake files with recent changes.
2020-03-21 22:19:20 +02:00
Sandu Liviu Catalin 9978dbe88c Move shared code into main source.
Remove extra module API.
2020-03-21 22:16:48 +02:00
Sandu Liviu Catalin 22c8d84b1e More work on Cmake scripts. 2020-03-21 22:00:02 +02:00
Sandu Liviu Catalin 44b1cb5d96 Move Squirrel and Sqrat into the root level directory.
Create the initial CMake build scripts.
2020-03-21 21:39:01 +02:00
Sandu Liviu Catalin 7f9d6288b0 Update .gitignore 2020-03-21 21:37:43 +02:00
Sandu Liviu Catalin 9a5be6464f Update .gitignore 2020-03-21 21:37:26 +02:00
Sandu Liviu Catalin 1099c7fd20 Discard modules. 2020-03-21 14:58:32 +02:00
Sandu Liviu Catalin 1fd5fda8c0 Discard make files. 2020-03-21 14:58:07 +02:00
Sandu Liviu Catalin 2d32a129cc Discard scripts. 2020-03-21 14:56:18 +02:00
Sandu Liviu Catalin 1dbe480797 Discard the Code::Blocks projects. 2020-03-21 14:53:15 +02:00
Sandu Liviu Catalin 48686bd937 Rename function to better express the intention behind it. 2020-03-21 13:57:38 +02:00
Sandu Liviu Catalin 863948eb2e Allow the user to controll when the null entity instances are created. Creating them before executing any scripts will lock entity classes and prevent the user from adding custom elements. 2020-03-21 13:54:38 +02:00
Sandu Liviu Catalin e1ce21962e Update libmaxminddb library to version 1.4.2. 2020-03-20 21:29:08 +02:00
Sandu Liviu Catalin 8da1d76453 Backport Squirrel changes. 2020-03-20 20:50:17 +02:00
Sandu Liviu Catalin 60c53a5d0e Update SQLite library to version 3.31.1 (2020-01-27) 2020-03-20 20:40:41 +02:00
Sandu Liviu Catalin b269517e6f Candidate for backwards compatibility. 2020-03-20 20:37:17 +02:00
Sandu Liviu Catalin f32a7f59f0 Update sqratTypes.h
Add a utility wrapper for member functions with raw bindings.
2019-08-19 22:28:47 +03:00
Sandu Liviu Catalin f97bf22673 Update sqratFunction.h
Allow the Assign method to use null.
2019-08-19 22:28:17 +03:00
Sandu Liviu Catalin 789fb31273 Null instances initialized too late.
They must be initialized before executing scripts.
2019-08-19 22:27:46 +03:00
Sandu Liviu Catalin 7c7c1210e6 Included data-pool into maxmind db make file. 2019-08-17 16:19:26 +03:00
Sandu Liviu Catalin dd65840247 Include extended squirrel api into the make file. 2019-08-17 16:17:51 +03:00
Sandu Liviu Catalin 6af66cadba Merge maxmind db config files.
Use macros to identify differences and get rid of unnecessary options.
2019-08-17 16:14:01 +03:00
Sandu Liviu Catalin 06ae8c503d Update maxminddb.c
Quick and dirty patch to get rid of an error on linux. Untill i get the time to make some configuration headers.
2019-08-17 16:04:39 +03:00
Sandu Liviu Catalin c46f6e1747 Update maxmind configs. 2019-08-17 15:59:07 +03:00
Sandu Liviu Catalin 736b6461ba size_t is unsigned long not long long on linux.
which means printf-like functions are still warning about it. i just need them to shut up.
2019-08-17 15:52:04 +03:00
Sandu Liviu Catalin 8769051980 Update MaxMind DB library to current master. 2019-08-17 15:47:43 +03:00
Sandu Liviu Catalin 33ed902a72 Update XML library to current master. 2019-08-17 15:46:47 +03:00
Sandu Liviu Catalin 497668e6e1 Update SQLite library to v3.29.0 2019-08-17 15:45:52 +03:00
Sandu Liviu Catalin 81e96c2c81 Backport some squirrel changes. 2019-08-17 15:44:57 +03:00
Sandu Liviu Catalin 79bba3682f Several casts to avoid warnings. 2019-08-17 15:43:50 +03:00
Sandu Liviu Catalin ca23bb03e1 Allow Function::Assign to specify how many parameters it consumed. 2019-08-15 17:51:21 +03:00
Sandu Liviu Catalin 57d4855426 Helper function to retrieve callbacks. 2019-08-15 17:48:24 +03:00
Sandu Liviu Catalin 303acf2837 Implement server network statistics.
Server statistics can be retrieved by passing -1 as the player identifier.
2019-08-15 16:46:11 +03:00