amxmodx/public
Vincent Herbet 115916d753 Add basic ReHLDS and ReGameDLL support (#417)
* Add ReHLDS API files and its dependencies

Note: This has been stolen from ReAPI AMXX module and modified/adjusted to match AMXX existing includes and to provide as less dependencies as possible as well

* Add the necessary files to get ReHLDS interface

* Split SV_DropClient into pre/post code

* Init ReHLDS API and add SV_DropClient hook

* Add Cvar_DirectSet hook and adjust code with helpers

Note: we don't need to split code here. This is pretty much the naive and straight way, but fairly enough for our case. If it happens we got a lot more hooks, we may consider to use some class to manage better the things.

* Move platform and interface stuff in their own files in public directory

* Make sure to init cvar stuff after ReHLDS

* Add ReGameDLL API files and its dependencies in cstrike module

* Init ReHLDS in cstrike module and adjust code

Note: About cs_uset_set_model(). ReHLDS API doesn't offer a way to know directly the precached models, so instead of looping through all the ressources, the models list is saved one time at map change into a hashmap.

* Init ReGameDLL and adjust code

* Fix linux compilation

* Init ReGameDLL in fakemeta module and adjust code

* Rename /reapi directory to /resdk to avoid confusion

* Retrieve gamerules pointer through InstallGameRules in fakemeta module

* Retrieve gamerules pointer through InstallGameRules in cstrike module

Note: actually gamerules is not used if regamedll is enabled, but it could be used in future natives.

* Fix a typo when ReGameDLL is not enabled

* Fix missing interface check for ReHLDS.

I'm pretty sure I was checking at the very first since I worked first on vanilla version of engine, looks like change has been lost.
2017-03-09 19:59:38 +01:00
..
amtl@b0550fd444 Update to the latest AMTL (#410) 2017-02-19 15:01:58 +01:00
licenses Normalize line endings and whitespace 2016-01-16 21:15:52 -03:00
memtools SELinux compatibility: memalign -> mmap 2016-01-03 21:38:31 +03:00
reapi Add basic ReHLDS and ReGameDLL support (#417) 2017-03-09 19:59:38 +01:00
resdk Add basic ReHLDS and ReGameDLL support (#417) 2017-03-09 19:59:38 +01:00
sdk Values by reference in forwards 2016-04-05 18:51:18 +02:00
amxmodx_version.h Update versioning 2014-12-08 01:39:10 +01:00
auto-string.h Add basic ReHLDS and ReGameDLL support (#417) 2017-03-09 19:59:38 +01:00
engine_strucs.h Add basic ReHLDS and ReGameDLL support (#417) 2017-03-09 19:59:38 +01:00
HLTypeConversion.h Merge pull request #278 from Arkshine/feature/cstrike-update-2 2015-11-21 00:19:01 +01:00
IGameConfigs.h Modify game config parser to support more offset datas (type, size, etc.) 2015-08-10 18:05:59 +02:00
interface_helpers.h Add basic ReHLDS and ReGameDLL support (#417) 2017-03-09 19:59:38 +01:00
ITextParsers.h Remove inline comment support in multilingual INI parser 2016-03-16 19:50:46 +01:00
platform_helpers.h Add basic ReHLDS and ReGameDLL support (#417) 2017-03-09 19:59:38 +01:00
sh_list.h Update nvault module project files and use AMTL. 2014-08-10 18:29:19 +02:00
sh_stack.h Update fakemeta module project files and use AMTL. 2014-08-09 20:50:45 +02:00
sh_string.h Update nvault module project files and use AMTL. 2014-08-10 18:29:19 +02:00
sm_memtable.h Cstrike: Import some memory tools from SourceMod 2014-05-28 22:51:14 +02:00
sm_namehashset.h Fix AMTL internal paths 2015-10-02 23:22:21 +02:00
sm_queue.h Update nvault module project files and use AMTL. 2014-08-10 18:29:19 +02:00
sm_stringhashmap.h Update to the latest AMTL (#381) 2016-08-12 15:30:06 +02:00
sm_symtable.h Cstrike: Import some memory tools from SourceMod 2014-05-28 22:51:14 +02:00