forked from 1dot13/source
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move main executable source to its own directory (1dot13#248)
* Move main executable files to their own directory * Adapt the build to the new file structure ... and fix some weird #include's that were relying on the project root being an include directory.
- Loading branch information
Showing
90 changed files
with
68 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
set(Ja2Src | ||
"${CMAKE_CURRENT_SOURCE_DIR}/aniviewscreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/Credits.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/Fade Screen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/FeaturesScreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/GameInitOptionsScreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/gameloop.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/gamescreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/GameSettings.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/GameVersion.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/HelpScreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/Init.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/Intro.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/JA2 Splash.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/Ja25Update.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/jascreens.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/Language Defines.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/Loading Screen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/MainMenuScreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/MessageBoxScreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/MPChatScreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/MPConnectScreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/MPHostScreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/MPJoinScreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/MPScoreScreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/MPXmlTeams.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/Options Screen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/profiler.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/SaveLoadGame.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/SaveLoadScreen.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/SCREENS.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/Sys Globals.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/ub_config.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/XML_DifficultySettings.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/XML_IntroFiles.cpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/XML_Layout_MainMenu.cpp" | ||
${CMAKE_CURRENT_SOURCE_DIR}/Res/ja2.rc | ||
PARENT_SCOPE) | ||
|
||
set(Ja2_Libraries | ||
"${CMAKE_SOURCE_DIR}/libexpatMT.lib" | ||
"Dbghelp.lib" | ||
Lua | ||
"${CMAKE_SOURCE_DIR}/lua51.lib" | ||
"${CMAKE_SOURCE_DIR}/lua51.vc9.lib" | ||
"Winmm.lib" | ||
"${CMAKE_SOURCE_DIR}/SMACKW32.LIB" | ||
"${CMAKE_SOURCE_DIR}/binkw32.lib" | ||
bfVFS | ||
"ws2_32.lib" | ||
Multiplayer | ||
PARENT_SCOPE) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "lua/lua_state.h" | ||
#include "lua_state.h" | ||
#include <Debug.h> | ||
#include "sgp_logger.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "lua/lua_table.h" | ||
#include "lua_table.h" | ||
|
||
/* | ||
* Table constructors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#ifndef _LUA_TABLE_H_ | ||
#define _LUA_TABLE_H_ | ||
|
||
#include "lua/lua_state.h" | ||
#include "lua_state.h" | ||
|
||
class LuaTable | ||
{ | ||
|