aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/appframework
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-07-17 18:26:59 -0700
committerJoe Ludwig <[email protected]>2013-07-17 18:26:59 -0700
commite16ea21dc8a710237ade8413207f58d403c616a3 (patch)
tree85dcfbda9881e4e022dedafefbc2727e2fd2aa59 /mp/src/public/appframework
parentMerge pull request #36 from AnAkIn1/fogplayerparams_fix (diff)
downloadsource-sdk-2013-e16ea21dc8a710237ade8413207f58d403c616a3.tar.xz
source-sdk-2013-e16ea21dc8a710237ade8413207f58d403c616a3.zip
* Added support for building shaders in your mod
* Added nav mesh support * fixed many warnings and misc bugs * Fixed the create*projects scripts in mp * Added a bunch of stuff to .gitignore
Diffstat (limited to 'mp/src/public/appframework')
-rw-r--r--mp/src/public/appframework/ilaunchermgr.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/mp/src/public/appframework/ilaunchermgr.h b/mp/src/public/appframework/ilaunchermgr.h
index 5d38b15a..7fa5dc76 100644
--- a/mp/src/public/appframework/ilaunchermgr.h
+++ b/mp/src/public/appframework/ilaunchermgr.h
@@ -10,7 +10,7 @@
#pragma once
#endif
-#if defined( USE_SDL ) || defined( OSX )
+#if defined( USE_SDL )
#include "tier0/threadtools.h"
#include "appframework/IAppSystem.h"
@@ -29,18 +29,12 @@ class CShowPixelsParams;
#endif
// if you rev this version also update materialsystem/cmaterialsystem.cpp CMaterialSystem::Connect as it defines the string directly
-#if defined( USE_SDL )
- #define SDLMGR_INTERFACE_VERSION "SDLMgrInterface001"
-#elif defined( OSX )
- #define COCOAMGR_INTERFACE_VERSION "CocoaMgrInterface006"
-#endif
+#define SDLMGR_INTERFACE_VERSION "SDLMgrInterface001"
class CCocoaEvent;
class CStackCrawlParams;
-#if defined( USE_SDL )
typedef struct SDL_Cursor SDL_Cursor;
-#endif
class ILauncherMgr : public IAppSystem
{
@@ -103,11 +97,9 @@ public:
virtual void *GetWindowRef() = 0;
virtual void SetMouseVisible( bool bState ) = 0;
-#ifdef USE_SDL
virtual void SetMouseCursor( SDL_Cursor *hCursor ) = 0;
virtual void SetForbidMouseGrab( bool bForbidMouseGrab ) = 0;
virtual void OnFrameRendered() = 0;
-#endif
virtual void SetGammaRamp( const uint16 *pRed, const uint16 *pGreen, const uint16 *pBlue ) = 0;
@@ -163,6 +155,6 @@ public:
int m_MouseButton; // which of the CocoaMouseButton_t buttons this is for from above
};
-#endif // USE_SDL || OSX
+#endif // defined( USE_SDL )
#endif // ILAUNCHERMGR_H