mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-31 00:55:51 +03:00
3d252fe527
Fixed some critical bugs and typos (carrer_task, tutor, zbot and other) Added command line option `-bots` to run bots in CS 1.6 Removed the tests demo record/player from myself the project and also dependency of the steam library. Fixed the progress bar when generating a nav file.
17 lines
505 B
C++
17 lines
505 B
C++
#include "precompiled.h"
|
|
|
|
//! Holds engine functionality callbacks
|
|
enginefuncs_t g_engfuncs;
|
|
globalvars_t *gpGlobals;
|
|
|
|
// Receive engine function table from engine.
|
|
// This appears to be the _first_ DLL routine called by the engine, so we
|
|
// do some setup operations here.
|
|
C_DLLEXPORT void WINAPI GiveFnptrsToDll(enginefuncs_t *pEnginefuncsTable, globalvars_t *pGlobals)
|
|
{
|
|
Q_memcpy(&g_engfuncs, pEnginefuncsTable, sizeof(enginefuncs_t));
|
|
gpGlobals = pGlobals;
|
|
|
|
Regamedll_Game_Init();
|
|
}
|