Skip to content

Commit

Permalink
Adjust static linking to include EntitiesMP and Shaders with GameMP.
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamyCecil committed Jan 20, 2025
1 parent fadea86 commit 44512fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions Sources/DedicatedServer/DedicatedServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <signal.h>
#endif

// [Cecil] Link EntitiesMP and Shaders
#include <StaticAPI/EntitiesMP.inl>
#include <StaticAPI/Shaders.inl>

// application state variables
BOOL _bRunning = TRUE;
static BOOL _bForceRestart = FALSE;
Expand Down
4 changes: 4 additions & 0 deletions Sources/GameMP/Game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "Camera.h"
#include "LCDDrawing.h"

// [Cecil] Link EntitiesMP and Shaders
#include <StaticAPI/EntitiesMP.inl>
#include <StaticAPI/Shaders.inl>

FLOAT con_fHeightFactor = 0.5f;
FLOAT con_tmLastLines = 5.0f;
INDEX con_bTalk = 0;
Expand Down
4 changes: 0 additions & 4 deletions Sources/SeriousSam/SeriousSam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
// [Cecil] Screen resolution lists and window modes
#include "ScreenResolutions.h"

// [Cecil] Link EntitiesMP and Shaders
#include <StaticAPI/EntitiesMP.inl>
#include <StaticAPI/Shaders.inl>

// application state variables
BOOL _bRunning = TRUE;
BOOL _bQuitScreen = TRUE;
Expand Down

0 comments on commit 44512fb

Please sign in to comment.