Commit Graph

25 Commits

Author SHA1 Message Date
AURUMVORXX
cee3341a51 feat: Added ItemGround class
+ Added onPlayerTakeItem and onPlayerDropItem events
2024-11-06 02:09:04 +03:00
AURUMVORXX
4efda3e2e0 feat: Added DamageDescription class
+ Added onPlayerDamage event
2024-11-06 02:09:04 +03:00
AURUMVORXX
c66a1e3238 feat: Added constants from consttable 2024-11-05 19:37:47 +03:00
AURUMVORXX
2657b2c613 feat: Added Packet class and onPacket event 2024-11-05 02:44:38 +03:00
AURUMVORXX
2722f33e62 feat: Added exception handling 2024-11-04 16:46:39 +03:00
AURUMVORXX
3f477f5a32 feat: Switch from default sq stack parsing to NoNut 2024-11-04 14:57:54 +03:00
AURUMVORXX
78885ebce6 feat: Added NoNut core 2024-11-04 13:50:49 +03:00
AURUMVORXX
5dea12785b feat: Added most of the onPlayer** events 2024-11-04 13:28:42 +03:00
AURUMVORXX
5dc063fff1 feat: Added onPlayerChange** events 2024-11-04 12:57:17 +03:00
AURUMVORXX
bb51677592 fix: Crash on adding name key into kwargs dictionary
+ Changed file structure for events
2024-11-04 05:11:15 +03:00
AURUMVORXX
810dd00dd8 feat: Added onUnban event 2024-11-02 18:42:07 +03:00
AURUMVORXX
f5a748e1ff feat: Added conversion SqTable -> Dictionary
+ Added onBan event
+ Fixed wrong argument order in onTime event
2024-11-02 18:32:07 +03:00
AURUMVORXX
aece83e914 feat: Added event calling into Python
+ Added onInit, onTick, onExit, onTime events
2024-11-02 02:47:38 +03:00
Patrix
65568cfa92 Corrected sqapi.h include brackets 2024-03-09 00:40:25 +01:00
Patrix
989a1a0a8b Added documentation generation in .gitlab-ci.yml 2024-03-04 01:02:39 +01:00
Patrix
f37760bed1 Updated sqapi dependency 2024-03-01 16:27:44 +01:00
Patrix
7a5f02f7f3 Initial rework:
- removed squirrel & sqrat sources, added sqapi as git submodule dependency
- removed module api (it's now included from sqapi target)
- removed unnecessary boilerplate from CMakeLists.txt
2024-03-01 14:29:54 +01:00
Patrix
2e427b0c5d Removed pch.h:
- Under linux pch.h won't work as expected, instead it will slow down build time. In order to fix this, target_precompile_headers cmake function must have every header that will be used in pch.hxx generation.
- Using the opportunity i've removed headers that aren't essential in precompiled header
2023-01-09 20:21:46 +01:00
Patrix
e221d9c80f Revert the revert changes for 0.1.10:
- Removed squirrel dependency (it was required only for 0.1.9, because not every function is listed in HSQAPI struct)
- Restored missing functions declarations in HSQAPI struct added in 0.1.10
- Resotred missing redirect macros in squirrel_api.h
2021-08-28 05:51:44 +02:00
Patrix
fb310bf1ae Updated project structure:
CMake changes:

- Replace text files containing paths to installation, with install commands
- You can set paths as cache variable
- Added new option INSTALL_AFTER_BUILD

Code changes:

- Revert the changes to allow usage for older versions of g2o (like 0.1.9)
This change is only temporary, to publish the release module fo the older g2o versions.
2021-08-04 20:58:27 +02:00
Patrix
4934b44c0b Fixed compile error on gcc:
renamed 'typeof' function pointer in HSQAPI to 'type_of' to avoid naming collision (gcc implements it's own typeof keyword)

https://gcc.gnu.org/onlinedocs/gcc/Typeof.html
2021-04-22 16:16:46 +02:00
Patrix
f43c9f55a1 Fixed compile time errors. 2021-04-14 19:26:15 +02:00
Patrix
f75416d878 Modified project structure:
- renamed sqmodule_api.h/.cpp to module_api
- moved defines for sq_* functions into squirrel_api.h
- renamed SqModule::inti to SQModule::Init
- moved all of the files to "api" subfolder
2021-04-13 21:22:30 +02:00
Patrix
eb27c28845 Renamed namespace sqModule to SqModule, added SqModule::init function 2021-04-12 19:52:27 +02:00
Patrix
4a6a3ccd94 Initial commit 2021-04-12 18:28:11 +02:00