An SDK to create Mods for dhewm3
Find a file
Daniel Gibson 75f1ef34e9 idCommon::SetCallback() + GetAdditionalFunction(); GAME_API_VERSION=9
This is an ugly hack that allows both exporting additional functions
(incl. methods via static function + void* userArg) to Game DLLs
and setting callback functions from the Game DLL that the Engine will
call, without breaking the Game API (again after this change).
This is mostly meant for replacing ugly hacks with SourceHook and
similar and mods (yes, this is still an ugly hack, but less ugly).

See the huge comment in Common.h for more information.

Right now the only thing implemented is a Callback for when images
are reloaded (via reloadImages or vid_restart) - Ruiner needs that.

Also increased GAME_API_VERSION to 9, because this breaks the A[PB]I
(hopefully after the next release it won't be broken in the foreseeable
 future)
2018-09-30 05:45:00 +02:00
cm Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
d3xp Make game dll names and compiler defines for mods configurable 2018-08-26 04:47:00 +02:00
framework idCommon::SetCallback() + GetAdditionalFunction(); GAME_API_VERSION=9 2018-09-30 05:45:00 +02:00
game Make Hardqore2 work 2018-08-27 02:02:13 +02:00
idlib Make it build as SDK 2018-08-26 01:43:10 +02:00
MayaImport Make it build as SDK 2018-08-26 01:43:10 +02:00
renderer Fix dedicated server for Windows 2018-08-20 01:46:37 +02:00
sound Make it build as SDK 2018-08-26 01:43:10 +02:00
sys It builds with VS 2017 now 2018-09-02 01:26:48 +02:00
tools/compilers/aas Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
ui Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
.gitignore Make it build as SDK 2018-08-26 01:43:10 +02:00
CMakeLists.txt It builds with VS 2017 now 2018-09-02 01:26:48 +02:00
config.h.in Make it build as SDK 2018-08-26 01:43:10 +02:00
COPYING.txt Add GPLv3 COPYING.txt 2018-08-20 01:46:20 +02:00
README.txt Add minimal README 2018-08-27 03:27:24 +02:00

This allows you to run the HardQore2 mod in dhewm3!
A big thank you to Revility (and the rest of the HardQore2 team) for releasing
the source under GPL, so I could port it to dhewm3! :-)
(see https://github.com/dhewm/dhewm3/issues/198)

You can  get the game data at:
https://www.moddb.com/mods/hardqore-2/downloads/hardqore-2-demo
https://www.moddb.com/mods/hardqore-2/downloads/hardqore-2-11-patch
(yes, you need both)