core-legacy/sourcemm.h
changeset 580 783e91c5f445
parent 558 0ed2a4a6e31d
child 583 dbdc331492b6
     1.1 --- a/core-legacy/sourcemm.h	Sun Nov 23 21:21:49 2008 -0600
     1.2 +++ b/core-legacy/sourcemm.h	Sun Nov 23 21:22:04 2008 -0600
     1.3 @@ -26,6 +26,7 @@
     1.4  #include "oslink.h"
     1.5  #include "util.h"
     1.6  #include "version.h"
     1.7 +#include "loader_bridge.h"
     1.8  
     1.9  /**
    1.10   * Versioning
    1.11 @@ -65,7 +66,6 @@
    1.12  struct GameDllInfo
    1.13  {
    1.14  	bool loaded;
    1.15 -	HINSTANCE lib;
    1.16  	CreateInterfaceFn factory;
    1.17  	IServerGameDLL *pGameDLL;
    1.18  	IServerGameClients *pGameClients;
    1.19 @@ -105,12 +105,6 @@
    1.20  /** @brief Mod path (important!)*/
    1.21  extern SourceHook::String g_ModPath;
    1.22  
    1.23 -/** @brief Path to server binary */
    1.24 -extern SourceHook::String g_BinPath;
    1.25 -
    1.26 -/** @brief Path to SourceMM binary */
    1.27 -extern SourceHook::String g_SmmPath;
    1.28 -
    1.29  /** @brief Global variable for SourceHook macros */
    1.30  extern SourceHook::ISourceHook *g_SHPtr;
    1.31  
    1.32 @@ -120,7 +114,7 @@
    1.33  /** @brief ServerGameDLL version that is currently loaded */
    1.34  extern int g_GameDllVersion;
    1.35  
    1.36 -extern bool bGameInit;
    1.37 +extern bool g_bGameInit;
    1.38  extern bool g_bLevelChanged;
    1.39  
    1.40  void UnloadMetamod(bool shutting_down);
    1.41 @@ -128,7 +122,10 @@
    1.42  /** @brief Global CallClass for IServerGameDLL */
    1.43  extern SourceHook::CallClass<IServerGameDLL> *g_GameDllPatch;
    1.44  
    1.45 +void LoadAsGameDLL(const gamedll_bridge_info *info);
    1.46 +
    1.47  /** @brief Global CallClass for ICvar */
    1.48  extern SourceHook::CallClass<ICvar> *g_CvarPatch;
    1.49  
    1.50  #endif //_INCLUDE_SOURCEMM_H
    1.51 +