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

342 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
3206d49404 Implemented a simple command system. Added a custom buffer class. Implemented reconnection for IRC sessions. Various other adjustments and additions. 2015-11-07 12:17:39 +02:00
Sandu Liviu Catalin
878a35eb2a Modified IRC Session events to receive the Session instance as first argument. Remeved leftover file and minor change in IDE sandbox project. 2015-11-04 20:58:05 +02:00
Sandu Liviu Catalin
92a75e70a0 Untested implementation of the SQLite database library. 2015-11-03 04:22:21 +02:00
Sandu Liviu Catalin
4b5718a6ae Added an untested implementation a 64bit integer wrapper for 32bit module. 2015-11-03 04:21:46 +02:00
Sandu Liviu Catalin
1e18099176 Minor changes in the IRC Session registration code. 2015-11-03 04:20:53 +02:00
Sandu Liviu Catalin
7f51bd098c Added a few missing RFC numbers from in IRC library. 2015-11-01 18:38:05 +02:00
Sandu Liviu Catalin
ea1688bc35 Prepared the base types for documentation. 2015-11-01 10:55:47 +02:00
Sandu Liviu Catalin
acb0512d43 Added the file structure for the SQLite database wrappers. 2015-11-01 10:16:49 +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
b42bc2930c Documented the base reference type. 2015-11-01 03:50:43 +02:00
Sandu Liviu Catalin
db0de394d9 Spellcheck on the code documentation of core class. 2015-11-01 03:43:30 +02:00
Sandu Liviu Catalin
1ebb2d15ce More documentation in the core class code. Minor code adjustments. Removed leftover includes. 2015-11-01 03:41:13 +02:00
Sandu Liviu Catalin
ed1771d376 Extended callback binding on local event type to allow custom environments. 2015-11-01 02:15:03 +02:00
Sandu Liviu Catalin
21b9e71d83 Extended callback binding on global event type to allow custom environments. 2015-11-01 02:14:55 +02:00
Sandu Liviu Catalin
0796185225 Extended callback binding on basic event type to allow custom environments. 2015-11-01 02:14:45 +02:00
Sandu Liviu Catalin
dd685a13e4 Add back the VMClose event on event types to avoid crashes. 2015-11-01 02:02:16 +02:00
Sandu Liviu Catalin
1fd54aead6 Add back the VMClose event on IRC session type to avoid crashes. 2015-11-01 01:53:51 +02:00
Sandu Liviu Catalin
11c3533917 Implemented functions to create vehicle entities and added constructor to create an entity reference from a base reference. 2015-11-01 01:33:12 +02:00
Sandu Liviu Catalin
eb730a6ff3 Implemented functions to create textdraw entities and added constructor to create an entity reference from a base reference. 2015-11-01 01:33:04 +02:00
Sandu Liviu Catalin
997cdc2fce Implemented functions to create sprite entities and added constructor to create an entity reference from a base reference. 2015-11-01 01:32:57 +02:00
Sandu Liviu Catalin
0d5dd53984 Implemented functions to create sphere entities and added constructor to create an entity reference from a base reference. 2015-11-01 01:32:50 +02:00
Sandu Liviu Catalin
b0c174e75e Added constructor to create a player entity reference from a base reference. 2015-11-01 01:32:41 +02:00
Sandu Liviu Catalin
8d8c9be2fd Implemented functions to create pickup entities and added constructor to create an entity reference from a base reference. 2015-11-01 01:32:16 +02:00
Sandu Liviu Catalin
6c308ee85c Implemented functions to create object entities and added constructor to create an entity reference from a base reference. 2015-11-01 01:31:57 +02:00
Sandu Liviu Catalin
78c72399db Implemented functions to create keybind entities and added constructor to create an entity reference from a base reference. 2015-11-01 01:31:46 +02:00
Sandu Liviu Catalin
986fc5769e Implemented functions to create checkpoint entities and added constructor to create an entity reference from a base reference. 2015-11-01 01:31:38 +02:00
Sandu Liviu Catalin
2a3cef8318 Implemented functions to create blip entities and added constructor to create an entity reference from a base reference. 2015-11-01 01:31:28 +02:00
Sandu Liviu Catalin
9686f9e664 Updated core class to take a Uint8 colors when creating checkpoints and speheres. 2015-11-01 01:30:45 +02:00
Sandu Liviu Catalin
0aafb46af2 Revise the entity creation/destruction system. 2015-10-31 21:28:23 +02:00
Sandu Liviu Catalin
1f985c5ebc Move the resource releasing from the local event type to it's destructor. 2015-10-31 21:27:35 +02:00
Sandu Liviu Catalin
ab78f53875 Move the resource releasing from the global event type to it's destructor. 2015-10-31 21:27:21 +02:00
Sandu Liviu Catalin
d937be3e37 Move the resource releasing from the basic event type to it's destructor. 2015-10-31 21:27:06 +02:00
Sandu Liviu Catalin
a2a02a6c9d Move the resource releasing from the IRC Session type to it's destructor. 2015-10-31 21:25:40 +02:00
Sandu Liviu Catalin
1a34efb45b Fix debugging messages in Keybind type. 2015-10-30 15:22:35 +02:00
Sandu Liviu Catalin
d3d247b5f9 Simlified the buffer size calculation in Player type.
Fixed bug which multiplied by the type size instead of dividing. thanks @VRocker
2015-10-30 15:22:23 +02:00
Sandu Liviu Catalin
f26bf3db4a Completed the IRC library implementation. 2015-10-30 15:14:13 +02:00
Sandu Liviu Catalin
054d81e4f1 Implemented a temporary workaround for event types that prevents crashes when anonymous functions are used. 2015-10-30 15:13:52 +02:00
Sandu Liviu Catalin
ce5957395a Implemented the hashing library. 2015-10-30 06:37:55 +02:00
Sandu Liviu Catalin
f27dea4693 Incomplete implementation of the IRC library. 2015-10-30 04:17:18 +02:00
Sandu Liviu Catalin
6763c41c39 Replaced CFG library with the Hashing library. 2015-10-30 04:16:41 +02:00
Sandu Liviu Catalin
c2e62af14c Documented the Textdraw type. 2015-10-29 23:14:17 +02:00
Sandu Liviu Catalin
72677546a7 Documented the Sprite type. 2015-10-29 23:10:46 +02:00
Sandu Liviu Catalin
c8907b8ea2 Fixed the keybind documentation. 2015-10-29 23:06:20 +02:00
Sandu Liviu Catalin
7c337e49cb Documented the Keybind type. 2015-10-29 23:05:25 +02:00
Sandu Liviu Catalin
56170f5304 Fixed documentation of the Blip type. 2015-10-29 23:03:58 +02:00
Sandu Liviu Catalin
9abb596aa8 Documented the Blip type. 2015-10-29 23:02:55 +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
031f82b9df Remove debugging code form the local event type. 2015-10-29 22:57:21 +02:00
Sandu Liviu Catalin
2f0d7d1444 Remove debugging code form the global event type. 2015-10-29 22:57:14 +02:00
Sandu Liviu Catalin
c71ac39bb8 Remove debugging code form the basic event type. 2015-10-29 22:57:07 +02:00
Sandu Liviu Catalin
4b71f2006f Update the sprite reference type to use the short notation of squirrel's 32bit unsigned integer. 2015-10-29 22:56:40 +02:00
Sandu Liviu Catalin
e111cd0ccc Untested implementation of the Vehicle type. 2015-10-29 22:56:07 +02:00
Sandu Liviu Catalin
6050f6e725 Untested implementation of the Textdraw type. 2015-10-29 22:55:36 +02:00
Sandu Liviu Catalin
df0eaf8515 Untested implementation of the Sprite type. 2015-10-29 22:41:20 +02:00
Sandu Liviu Catalin
e708ff8050 Untested implementation of the Sphere type. 2015-10-29 22:11:47 +02:00
Sandu Liviu Catalin
772822415b Untested implementation of the Player type. 2015-10-29 22:11:30 +02:00
Sandu Liviu Catalin
ab5c9c2686 Untested implementation of the Pickup type. 2015-10-29 22:11:00 +02:00
Sandu Liviu Catalin
25afc7e704 Untested implementation of the Object type. 2015-10-29 22:10:36 +02:00
Sandu Liviu Catalin
59c1d07c3e Untested implementation of the keybind type. 2015-10-29 22:09:53 +02:00
Sandu Liviu Catalin
7fc53d8274 Untested implementation of the Checkpoint type. 2015-10-29 22:07:31 +02:00
Sandu Liviu Catalin
f89e0d8cd6 Untested implementation of the Blip reference type. 2015-10-29 22:07:15 +02:00
Sandu Liviu Catalin
0ccf4678a8 Documented the code in Core class and made a few minor modifications. 2015-10-29 22:06:31 +02:00
Sandu Liviu Catalin
491ead2b12 Added a few macros to validate vehicle color identifiers. 2015-10-29 22:05:46 +02:00
Sandu Liviu Catalin
0ebdecb75f Various. 2015-10-25 03:20:33 +03:00
Sandu Liviu Catalin
bc5e5ef45f Reorder some of the event arguments and forward the received events to the speciffic signals. 2015-10-12 00:26:14 +03: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
cd512e1335 Remove the move semantics from signal emission functions. 2015-10-12 00:24:31 +03:00
Sandu Liviu Catalin
d68a6e5c73 Untested implementation of the local event type. 2015-10-11 21:06:44 +03:00
Sandu Liviu Catalin
8e750efe85 Added a helper function which can tell whether an event type can be inversed. 2015-10-11 21:06:28 +03:00
Sandu Liviu Catalin
c7e776a1f7 Disabled copy constructor and assignment in the global event type.
Added a compatibility member function in global event type to comply with the other event types.
Encapsulate constructors in global filters and disable them in script.
Disable the copy constructor in global filters.
Allow inclusion/exclusion member functions return boolean if the specified entity could be filtered or not.
Remove useless checks inside global filters since they cannot be unparented anymore.
Test whether an entity is enabled before hooking, unhooking from it inside global filters.
2015-10-11 21:06:02 +03:00
Sandu Liviu Catalin
0a8cf6afd2 Disable copy constructor and assignment in basic event type and include a compatibility member function to comply with the other event types. 2015-10-11 21:01:22 +03:00
Sandu Liviu Catalin
b8ccb1ca10 Update entity interfaces to include various functions required by the new event types. 2015-10-11 20:57:16 +03:00
Sandu Liviu Catalin
5984bfa50f Added a few more aliases to primitive types. 2015-10-11 20:56:17 +03:00
Sandu Liviu Catalin
bcd5ce5988 Untested implementation of the global event type. 2015-10-10 23:11:28 +03:00
Sandu Liviu Catalin
e099b10f67 Add a few helper functions shared by event types. Fix name in debug information during registration process. 2015-10-10 23:10:58 +03:00
Sandu Liviu Catalin
4affa937e4 Disable move semantics in basic event type.
Allow changing the event type in basic event type.
Adjust code length in basic event type.
2015-10-10 23:09:29 +03:00
Sandu Liviu Catalin
c67c214160 Update entity interfaces to include various functions required by the new event types. 2015-10-10 22:59:59 +03:00
Sandu Liviu Catalin
2de391dd78 Include forward declarations of event types into the config file. 2015-10-10 22:58:40 +03:00
Sandu Liviu Catalin
908ddbe30f Forgot to commit the header with the new changes to the basic event type. 2015-10-03 21:55:08 +03:00
Sandu Liviu Catalin
4927e4e5a4 Minor comment fix in core class. 2015-10-03 21:54:34 +03:00
Sandu Liviu Catalin
04936a9bef Remove unnecessary argument from the Attach() and Detach() member functions of the basic event. 2015-10-03 21:54:02 +03:00
Sandu Liviu Catalin
d5c5ff3289 Update entity interfaces to include a typedef to a bitset used by event types. 2015-10-03 21:53:09 +03:00
Sandu Liviu Catalin
231d05174d Forgot to release a couple references to Squirrel objects causing a crash when the smart pointers tried to release them after the VM was destroyed. 2015-10-03 19:44:26 +03:00
Sandu Liviu Catalin
20a78ab268 Implemented BasicEvent type. 2015-10-02 01:34:28 +03:00
Sandu Liviu Catalin
6ed02d0fd4 Initial commit. 2015-09-30 03:56:11 +03:00