Some fixes and new features, see description.

* Add CServerGameDLL interface to SDK (unfinished)
* Inline all CHostState members. Calling discrete member functions will result in a corrupt stack. It also alters with the VTable layout in the engine since we assign our SDK instance directly to it. Forcing everything to be inline (like the assembled counterpart within the executable itself) will ensure no virtual calls will get created and misalign the base VTable.
* Patch SQVM_CompileError to call SQVM_Error with the severity flag set to false (0 = do not terminate process, 1 is terminate process).
This commit is contained in:
Amos
2022-02-24 01:51:11 +01:00
parent d3c7b9baf5
commit 3616b85f6a
13 changed files with 141 additions and 25 deletions

View File

@@ -63,6 +63,7 @@
#include "engine/debugoverlay.h"
#endif // !DEDICATED
#include "game/server/fairfight_impl.h"
#include "game/server/gameinterface.h"
#ifndef DEDICATED
#include "inputsystem/inputsystem.h"
#include "windows/id3dx.h"