fork download
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2010-12-22T21:58:04
  4. #
  5. #-------------------------------------------------
  6.  
  7. #============================================================
  8.  
  9. #QtCreator stuff:
  10. CONFIG += qt
  11. QT += gui widgets
  12.  
  13. #============================================================
  14.  
  15. #Adds the .pro file trickery, to make sure we can use the 'debug' .pro variable.
  16. include(debugFixer.pri)
  17.  
  18. #============================================================
  19. #WARNING: When running a program, don't mix debug and release libraries.
  20.  
  21. #Location of linker libraries:
  22. LIBS += -L"D:/MinGW/QtSetup/lib"
  23.  
  24. #Library header paths:
  25. INCLUDEPATH = "D:/MinGW/QtSetup/include" \
  26. "./"
  27.  
  28. #============================================================
  29.  
  30. #Folder to stick the executable in and the executable name:
  31. DESTDIR = "../../Project/Bin"
  32. #Executable name:
  33. TARGET = Game
  34.  
  35. #============================================================
  36.  
  37. #Pre-compile the header.
  38. #PRECOMPILED_HEADER = Common/Basics.h
  39.  
  40. #============================================================
  41.  
  42. #Question: Why are my executables so large?
  43. #Answer: http://w...content-available-to-author-only...w.org/wiki/Large_executables
  44.  
  45. #Adds C++11 features to the compiler.
  46. QMAKE_CXXFLAGS_DEBUG += -std=c++11
  47. QMAKE_CXXFLAGS_RELEASE += -std=c++11
  48.  
  49. #Adds profiling support if in debug mode.
  50. #QMAKE_CXXFLAGS_DEBUG += -pg
  51. #QMAKE_LFLAGS_DEBUG += -pg
  52.  
  53. #Keeps the temporary "between the steps" files while building. This allows me to look at the pre-processor files (after the macroes are
  54. #resolved, but before the C++ code is compiled). These files are in the build directory with the file extension ".ii".
  55. #QMAKE_CXXFLAGS_DEBUG += -save-temps
  56.  
  57. #C++ standard library:
  58. #LIBS += -static-libgcc -static-libstdc++
  59.  
  60. #Adds GCC optimization (at the expense of compile time) when compiling in release mode.
  61. #QMAKE_CXXFLAGS_RELEASE += -O3
  62.  
  63. #Turn off optimization for debugging, so compiling is faster.
  64. QMAKE_CXXFLAGS_DEBUG += -O0
  65.  
  66. #Multi-core compiling.
  67. QMAKE_CFLAGS_DEBUG += -j
  68.  
  69. #Warnings when using pre-compiled headers: (?? Causes compilation errors for me. Not sure why)
  70. #QMAKE_CXXFLAGS_DEBUG += -Winvalid-pch
  71.  
  72. #THIS IS TEMP: Comment out from the final release.
  73. #It's only purpose is to allow profiling output when in release mode, so I can optimize the code.
  74. #QMAKE_CXXFLAGS_RELEASE += -pg -g -fno-omit-frame-pointer -O2 -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls
  75. #QMAKE_LFLAGS_RELEASE += -pg -g -fno-omit-frame-pointer -O2 -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls
  76.  
  77. #THIS IS TEMP: Comment out from the final release.
  78. #It's only purpose is to allow profiling output when in debug mode, so I can optimize the code.
  79. #QMAKE_CXXFLAGS_DEBUG += -pg -g -fno-omit-frame-pointer -O2 -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls
  80. #QMAKE_LFLAGS_DEBUG += -pg -g -fno-omit-frame-pointer -O2 -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls
  81.  
  82.  
  83. #Turn on Scott Meyer's Effective C++ suggested warnings:
  84. #(See: http://stackoverflow.com/questions/8174127/the-effective-c-warnings-in-mingw )
  85. #QMAKE_CXXFLAGS_DEBUG += -Weffc++
  86.  
  87. #Turns on strict-aliasing and warnings for strict-aliasing.
  88. #Adds GCC warn-about-every-little-coding-mistake when compiling.
  89. #(See: http://c...content-available-to-author-only...d.com/articles/2006/06/understanding-strict-aliasing.html )
  90. QMAKE_CXXFLAGS_DEBUG += -Wall -fstrict-aliasing -Wstrict-aliasing
  91. #-pedantic
  92.  
  93. #========================================================================================================================
  94. #XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  95. #========================================================================================================================
  96.  
  97. HEADERS += \
  98. #==================================
  99. #Common:
  100. Common/Basics.h \
  101. #------------------------
  102. #Common-Types:
  103. Common/Types/Types.h \
  104. Common/Types/Image.h \
  105. Common/Types/Time.h \
  106. Common/Types/FormattedTime.h \
  107. Common/Types/ConfigFile.h \
  108. Common/Types/RichTextFile.h \
  109. Common/Types/WindowSize.h \
  110. #------------------------
  111. #Common-Types-Basic:
  112. Common/Types/Basic/BasicTypes.h \
  113. Common/Types/Basic/Point.h \
  114. Common/Types/Basic/Color.h \
  115. Common/Types/Basic/Size.h \
  116. Common/Types/Basic/Orientation.h \
  117. Common/Types/Basic/Fraction.h \
  118. Common/Types/Basic/Rect.h \
  119. Common/Types/Basic/RelativeRect.h \
  120. Common/Types/Basic/RelativePoint.h \
  121. Common/Types/Basic/RelativeSize.h \
  122. Common/Types/Basic/Alignment.h \
  123. Common/Types/Basic/OverridableState.h \
  124. #------------------------
  125. #Common-Assorted:
  126. Common/Assorted/MessageBox.h \
  127. Common/Assorted/BytePacker.h \
  128. Common/Assorted/ObjectManager.h \
  129. Common/Assorted/ResourceCache.h \
  130. Common/Assorted/ColorBlending.h \
  131. Common/Assorted/Tokenizer.h \
  132. Common/Assorted/ConstructionCounter.h \
  133. Common/Assorted/CSV.h \
  134. Common/Assorted/PathResolver.h \
  135. Common/Assorted/WriteStruct.h \
  136. #------------------------
  137. #Common-Assorted-CodeCreator:
  138. Common/Assorted/CodeCreator/ByteCodeCompiler.h \
  139. Common/Assorted/CodeCreator/ByteCodeExecutor.h \
  140. #------------------------
  141. #Common-Algorithm:
  142. Common/Algorithm/Algorithms.h \
  143. Common/Algorithm/Permutation.h \
  144. Common/Algorithm/ContainerHelpers.h \
  145. Common/Algorithm/Easing.h \
  146. Common/Algorithm/Layout.h \
  147. #------------------------
  148. #Common-Image:
  149. Common/Image/Bitmap.h \
  150. #------------------------
  151. #Common-GUI:
  152. Common/GUI/RMGUI/AbstractWidget.h \
  153. #------------------------
  154. #Common-Containers:
  155. Common/Containers/Grid.h \
  156. Common/Containers/Array2D.h \
  157. Common/Containers/DoubleLinkedList.h \
  158. Common/Containers/MultiMapHelpers.h \
  159. #------------------------
  160. #Common-String:
  161. Common/String/String.h \
  162. Common/String/StringFlags.h \
  163. Common/String/StringList.h \
  164. Common/String/Formatting.h \
  165. Common/String/Conversion.h \
  166. Common/String/NumberFormatting.h \
  167. Common/String/NumToWords.h \
  168. Common/String/LevenshteinDistance.h \
  169. Common/String/CharValidators.h \
  170. Common/String/StringToMap.h \
  171. Common/String/TemplatedConversion.h \
  172. Common/String/StringLiterals.h \
  173. #------------------------
  174. #Common-Logger:
  175. Common/Logger/Log.h \
  176. Common/Logger/MessageSource.h \
  177. Common/Logger/Message.h \
  178. Common/Logger/Styles.h \
  179. #------------------------
  180. #Common-FileSystem:
  181. Common/FileSystem/StructToFile.h \
  182. Common/FileSystem/FileSystem.h \
  183. Common/FileSystem/FileLoading.h \
  184. Common/FileSystem/FileManagement.h \
  185. Common/FileSystem/Filepath.h \
  186. Common/FileSystem/PathFormatting.h \
  187. #------------------------
  188. #Common-Input:
  189. Common/Input/InputManager.h \
  190. Common/Input/InputCatcher.h \
  191. Common/Input/CommandTrigger.h \
  192. Common/Input/MovementPlane.h \
  193. Common/Input/SFML_Input.h \
  194. Common/Input/KeyTranslator.h \
  195. Common/Input/InputEvent.h \
  196. Common/Input/Command.h \
  197. Common/Input/PlayerControls.h \
  198. Common/Input/ButtonCache.h \
  199. Common/Input/InputEventTranslator.h \
  200. Common/Input/InputCoordMap.h \
  201. Common/Input/ButtonPressCounterMap.h \
  202. #------------------------
  203. #Common-Logic:
  204. #------------------------
  205. #Common-Logic-Timing:
  206. Common/Logic/Timing/RepeatCounter.h \
  207. Common/Logic/Timing/GameTimer.h \
  208. #------------------------
  209. #Common-Logic-Undo:
  210. Common/Logic/Undo/UndoAction.h \
  211. Common/Logic/Undo/ActionStack.h \
  212. #------------------------
  213. #Common-Logic-GameState:
  214. Common/Logic/GameState/GameState.h \
  215. Common/Logic/GameState/GameStateManager.h \
  216. Common/Logic/GameState/MoveableObject.h \
  217. Common/Logic/GameState/CommandReceiver.h \
  218. #------------------------
  219. #Common-Logic-Property:
  220. Common/Logic/Property/Property.h \
  221. Common/Logic/Property/PropertyMap.h \
  222. Common/Logic/Property/BasicPropertyTypes.h \
  223. #------------------------
  224. #Common-System:
  225. Common/System/System.h \
  226. Common/System/Pointers.h \
  227. Common/System/ByteOrder.h \
  228. Common/System/Exceptions.h \
  229. Common/System/IntTypes.h \
  230. Common/System/DefineAPI.h \
  231. Common/System/DefineOS.h \
  232. Common/System/SystemInfo.h \
  233. Common/System/Comparison.h \
  234. Common/System/ContainerReverse.h \
  235. Common/System/Callstack.h \
  236. Common/System/MagicNumbers.h \
  237. Common/System/MemoryFunctions.h \
  238. Common/System/RunTime.h \
  239. Common/System/BitMaskFunctions.h \
  240. Common/System/FastMath.h \
  241. Common/System/DefineCompiler.h \
  242. Common/System/DefineStandard.h \
  243. Common/System/SystemEnvironment.h \
  244. #------------------------
  245. #Common-System-Macroes:
  246. Common/System/Macroes/Macroes.h \
  247. Common/System/Macroes/BuildNote.h \
  248. Common/System/Macroes/EmptyHeaderFile.h \
  249. Common/System/Macroes/DoPragma.h \
  250. Common/System/Macroes/ToString.h \
  251. Common/System/Macroes/StrongTypedef.h \
  252. Common/System/Macroes/OnlyOnce.h \
  253. Common/System/Macroes/Assert.h \
  254. #==================================
  255. #Engine:
  256. Engine/Engine.h \
  257. Engine/Global.h \
  258. Engine/GlobalCommands.h \
  259. #------------------------
  260. #Engine-Platform
  261. Engine/Platform/ScreenFormat.h \
  262. Engine/Platform/ApplicationStructure.h \
  263. #------------------------
  264. #Engine-World:
  265. Engine/World/AreaPath.h \
  266. Engine/World/Area.h \
  267. Engine/World/Floor.h \
  268. Engine/World/Layer.h \
  269. Engine/World/TileBlock.h \
  270. Engine/World/WorldFunctions.h \
  271. Engine/World/WorldCollider.h \
  272. Engine/World/AreaVisibility.h \
  273. Engine/World/TileAutoPlacement.h \
  274. #------------------------
  275. #Engine-World-Tile:
  276. Engine/World/Tile/Tile.h \
  277. Engine/World/Tile/TileInfo.h \
  278. #------------------------
  279. #Engine-World-Tile-TileDisplay:
  280. Engine/World/Tile/TileDisplay/TileDisplay.h \
  281. Engine/World/Tile/TileDisplay/TileImage.h \
  282. Engine/World/Tile/TileDisplay/TileImageManager.h \
  283. Engine/World/Tile/TileDisplay/LuaTile.h \
  284. #------------------------
  285. #Engine-World-Tile-TileDisplay-Other:
  286. Engine/World/Tile/TileDisplay/Other/ImageData.h \
  287. Engine/World/Tile/TileDisplay/Other/TileRenderer.h \
  288. Engine/World/Tile/TileDisplay/Other/ImageDataCache.h \
  289. #------------------------
  290. #Engine-UndoActions:
  291. Engine/UndoActions/TilePlacementAction.h \
  292. Engine/UndoActions/FloodFillAction.h \
  293. Engine/UndoActions/AbstractTileAction.h \
  294. #------------------------
  295. #Engine-Combat:
  296. Engine/Combat/Combat.h \
  297. #------------------------
  298. #Engine-Weather:
  299. Engine/Weather/Environment.h \
  300. Engine/Weather/RainStorm.h \
  301. Engine/Weather/LightRain.h \
  302. #------------------------
  303. #Engine-Structure:
  304. Engine/Structure/GameFlags.h \
  305. Engine/Structure/PlayerAnimations.h \
  306. Engine/Structure/Avatar.h \
  307. Engine/Structure/Camera.h \
  308. Engine/Structure/GameStructure.h \
  309. Engine/Structure/EditorInfo.h \
  310. #------------------------
  311. #Engine-GUI:
  312. Engine/GUI/MenuButtons.h \
  313. Engine/GUI/WorldZoomHud.h \
  314. Engine/GUI/GuiImage.h \
  315. #------------------------
  316. #Engine-Other:
  317. Engine/Other/StretchImage.h \
  318. Engine/Other/Animator.h \
  319. Engine/Other/Animation.h \
  320. Engine/Other/BasicImage.h \
  321. Engine/Other/MeasurementUnits.h \
  322. Engine/Other/FileExtenions.h \
  323. Engine/Other/PlacementMode.h \
  324. #==================================
  325. #Game:
  326. #------------------------
  327. #Game-State:
  328. Game/State/RootState.h \
  329. Game/State/Intro.h \
  330. Game/State/Options.h \
  331. Game/State/MainMenu.h \
  332. Game/State/PlayingGame.h \
  333. #------------------------
  334. #Game-State-Intro:
  335. Game/State/Intro/ImageLogo.h \
  336. Game/State/Intro/VideoLogo.h \
  337. #------------------------
  338. #Game-State-Options:
  339. Game/State/Options/Controls.h \
  340. Game/State/Options/LoadGame.h \
  341. Game/State/Options/SaveGame.h \
  342. Game/State/Options/VideoSettings.h \
  343. Game/State/Options/ContactDeveloper.h \
  344. #------------------------
  345. #Game-State-MainMenu:
  346. Game/State/MainMenu/Credits.h \
  347. Game/State/MainMenu/Specials.h \
  348. Game/State/MainMenu/ExitGameConfirmation.h \
  349. Game/State/MainMenu/TitleScreen.h \
  350. #------------------------
  351. #Game-State-MainMenu-Specials:
  352. Game/State/MainMenu/Specials/WanderWithMe.h \
  353. Game/State/MainMenu/Specials/Music.h \
  354. Game/State/MainMenu/Specials/ConceptArt.h \
  355. Game/State/MainMenu/Specials/Commentary.h \
  356. Game/State/MainMenu/Specials/MeetTheDev.h \
  357. #------------------------
  358. #Game-State-PlayingGame:
  359. Game/State/PlayingGame/Combat.h \
  360. Game/State/PlayingGame/Exploring.h \
  361. Game/State/PlayingGame/Exploring_old.h \
  362. Game/State/PlayingGame/GameInterface.h \
  363. #------------------------
  364. #Game-State-PlayingGame-GameInterface:
  365. Game/State/PlayingGame/GameInterface/Locations.h \
  366. Game/State/PlayingGame/GameInterface/Quests.h \
  367. Game/State/PlayingGame/GameInterface/ViewMap.h \
  368. #------------------------
  369. #Game-State-PlayingGame-Editing:
  370. Game/State/PlayingGame/Editing/TileEditing.h \
  371. Game/State/PlayingGame/Editing/MapRectEditing.h \
  372. Game/State/PlayingGame/Editing/Navigation.h \
  373. #------------------------
  374. #Other:
  375. main.h \
  376. Common/Assorted/ApplicationDetails.h \
  377. Common/String/CharRange.h \
  378. Common/Types/Basic/Range.h \
  379. Common/Assorted/BigInt.h \
  380. Common/Logic/Ease/Ease.h \
  381. Common/Logic/Ease/EaseFunctions.h \
  382. Common/Logic/Ease/Easer.h \
  383. Common/Logic/Ease/EaseEquations.h
  384.  
  385. #========================================================================================================================
  386. #XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  387. #========================================================================================================================
  388.  
  389. SOURCES += \
  390. #==================================
  391. #Common:
  392. #------------------------
  393. #Common-Types:
  394. Common/Types/Image.cpp \
  395. Common/Types/Time.cpp \
  396. Common/Types/FormattedTime.cpp \
  397. Common/Types/ConfigFile.cpp \
  398. Common/Types/RichTextFile.cpp \
  399. Common/Types/WindowSize.cpp \
  400. #------------------------
  401. #Common-Types-Basic:
  402. Common/Types/Basic/Point.cpp \
  403. Common/Types/Basic/Color.cpp \
  404. Common/Types/Basic/Size.cpp \
  405. Common/Types/Basic/Fraction.cpp \
  406. Common/Types/Basic/Rect.cpp \
  407. Common/Types/Basic/RelativeRect.cpp \
  408. Common/Types/Basic/RelativePoint.cpp \
  409. Common/Types/Basic/RelativeSize.cpp \
  410. Common/Types/Basic/Alignment.cpp \
  411. #------------------------
  412. #Common-Assorted:
  413. Common/Assorted/MessageBox.cpp \
  414. Common/Assorted/BytePacker.cpp \
  415. Common/Assorted/ColorBlending.cpp \
  416. Common/Assorted/Tokenizer.cpp \
  417. Common/Assorted/CSV.cpp \
  418. #------------------------
  419. #Common-Algorithm:
  420. Common/Algorithm/Permutation.cpp \
  421. #------------------------
  422. #Common-Containers:
  423. Common/Containers/DoubleLinkedList.cpp \
  424. Common/Containers/Array2D.cpp \
  425. #------------------------
  426. #Common-GUI:
  427. Common/GUI/RMGUI/AbstractWidget.cpp \
  428. #------------------------
  429. #Common-Image:
  430. Common/Image/Bitmap.cpp \
  431. #------------------------
  432. #Common-String:
  433. Common/String/StringFlags.cpp \
  434. Common/String/Formatting.cpp \
  435. Common/String/Conversion.cpp \
  436. Common/String/NumberFormatting.cpp \
  437. Common/String/NumToWords.cpp \
  438. Common/String/LevenshteinDistance.cpp \
  439. Common/String/StringList.cpp \
  440. Common/String/CharValidators.cpp \
  441. Common/String/StringLiterals.cpp \
  442. #------------------------
  443. #Common-Logger:
  444. Common/Logger/MessageSource.cpp \
  445. Common/Logger/Message.cpp \
  446. #------------------------
  447. #Common-FileSystem:
  448. Common/FileSystem/FileLoading.cpp \
  449. Common/FileSystem/FileManagement.cpp \
  450. Common/FileSystem/Filepath.cpp \
  451. Common/FileSystem/PathFormatting.cpp \
  452. #------------------------
  453. #Common-Input:
  454. Common/Input/InputManager.cpp \
  455. Common/Input/InputCatcher.cpp \
  456. Common/Input/CommandTrigger.cpp \
  457. Common/Input/MovementPlane.cpp \
  458. Common/Input/SFML_Input.cpp \
  459. Common/Input/KeyTranslator.cpp \
  460. Common/Input/InputEvent.cpp \
  461. Common/Input/PlayerControls.cpp \
  462. Common/Input/ButtonCache.cpp \
  463. Common/Input/InputEventTranslator.cpp \
  464. Common/Input/InputCoordMap.cpp \
  465. Common/Input/ButtonPressCounterMap.cpp \
  466. Common/Input/Command.cpp \
  467. #------------------------
  468. #Common-Logic:
  469. #------------------------
  470. Common/Logic/Undo/UndoAction.cpp \
  471. Common/Logic/Undo/ActionStack.cpp \
  472. #------------------------
  473. #Common-Logic-Timing:
  474. Common/Logic/Timing/RepeatCounter.cpp \
  475. Common/Logic/Timing/GameTimer.cpp \
  476. #------------------------
  477. #Common-Logic-GameState:
  478. Common/Logic/GameState/GameState.cpp \
  479. Common/Logic/GameState/GameStateManager.cpp \
  480. Common/Logic/GameState/CommandReceiver.cpp \
  481. Common/Logic/GameState/MoveableObject.cpp \
  482. #------------------------
  483. #Common-Logic-Property:
  484. Common/Logic/Property/Property.cpp \
  485. Common/Logic/Property/PropertyMap.cpp \
  486. #------------------------
  487. #Common-System:
  488. Common/System/ByteOrder.cpp \
  489. Common/System/IntTypes.cpp \
  490. Common/System/SystemInfo.cpp \
  491. Common/System/MemoryFunctions.cpp \
  492. Common/System/Callstack.cpp \
  493. Common/System/RunTime.cpp \
  494. Common/System/SystemEnvironment.cpp \
  495. #==================================
  496. #Engine:
  497. Engine/Global.cpp \
  498. Engine/Engine.cpp \
  499. Engine/Engine_Initialize.cpp \
  500. Engine/Engine_BoostAssert.cpp \
  501. Engine/Engine_Logger.cpp \
  502. #------------------------
  503. #Engine-Platform:
  504. Engine/Platform/ScreenFormat.cpp \
  505. Engine/Platform/ApplicationStructure.cpp \
  506. Engine/Platform/PlatformImplementation_private.cpp \
  507. #------------------------
  508. #Engine-World:
  509. Engine/World/Area.cpp \
  510. Engine/World/Floor.cpp \
  511. Engine/World/Layer.cpp \
  512. Engine/World/AreaPath.cpp \
  513. Engine/World/TileBlock.cpp \
  514. Engine/World/WorldCollider.cpp \
  515. Engine/World/WorldFunctions.cpp \
  516. #------------------------
  517. #Engine-World-Tile:
  518. Engine/World/Tile/Tile.cpp \
  519. Engine/World/Tile/TileInfo.cpp \
  520. #------------------------
  521. #Engine-World-Tile-TileDisplay:
  522. Engine/World/Tile/TileDisplay/TileDisplay.cpp \
  523. Engine/World/Tile/TileDisplay/TileImage.cpp \
  524. Engine/World/Tile/TileDisplay/TileImageManager.cpp \
  525. Engine/World/Tile/TileDisplay/LuaTile.cpp \
  526. #------------------------
  527. #Engine-World-Tile-TileDisplay-Other:
  528. Engine/World/Tile/TileDisplay/Other/ImageData.cpp \
  529. Engine/World/Tile/TileDisplay/Other/TileRenderer.cpp \
  530. Engine/World/Tile/TileDisplay/Other/ImageDataCache.cpp \
  531. #------------------------
  532. #Engine-UndoActions:
  533. Engine/UndoActions/TilePlacementAction.cpp \
  534. Engine/UndoActions/FloodFillAction.cpp \
  535. Engine/UndoActions/AbstractTileAction.cpp \
  536. #Engine-Weather:
  537. Engine/Weather/RainStorm.cpp \
  538. Engine/Weather/LightRain.cpp \
  539. #------------------------
  540. #Engine-Structure:
  541. Engine/Structure/Camera.cpp \
  542. Engine/Structure/GameFlags.cpp \
  543. Engine/Structure/Avatar.cpp \
  544. Engine/Structure/GameStructure.cpp \
  545. Engine/Structure/EditorInfo.cpp \
  546. #------------------------
  547. #Engine-GUI:
  548. Engine/GUI/MenuButtons.cpp \
  549. Engine/GUI/GuiImage.cpp \
  550. Engine/GUI/WorldZoomHud.cpp \
  551. #------------------------
  552. #Engine-Other:
  553. Engine/Other/StretchImage.cpp \
  554. Engine/Other/Animator.cpp \
  555. Engine/Other/Animation.cpp \
  556. Engine/Other/BasicImage.cpp \
  557. Engine/Other/MeasurementUnits.cpp \
  558. #==================================
  559. #Game:
  560. #------------------------
  561. #Game-State:
  562. Game/State/RootState.cpp \
  563. Game/State/Intro.cpp \
  564. Game/State/Options.cpp \
  565. Game/State/MainMenu.cpp \
  566. Game/State/PlayingGame.cpp \
  567. #------------------------
  568. #Game-State-Intro:
  569. Game/State/Intro/ImageLogo.cpp \
  570. Game/State/Intro/VideoLogo.cpp \
  571. #------------------------
  572. #Game-State-Options:
  573. Game/State/Options/Controls.cpp \
  574. Game/State/Options/LoadGame.cpp \
  575. Game/State/Options/SaveGame.cpp \
  576. Game/State/Options/VideoSettings.cpp \
  577. Game/State/Options/ContactDeveloper.cpp \
  578. #------------------------
  579. #Game-State-MainMenu:
  580. Game/State/MainMenu/Credits.cpp \
  581. Game/State/MainMenu/Specials.cpp \
  582. Game/State/MainMenu/ExitGameConfirmation.cpp \
  583. Game/State/MainMenu/TitleScreen.cpp \
  584. #------------------------
  585. #Game-State-MainMenu-Specials:
  586. Game/State/MainMenu/Specials/WanderWithMe.cpp \
  587. Game/State/MainMenu/Specials/Music.cpp \
  588. Game/State/MainMenu/Specials/ConceptArt.cpp \
  589. Game/State/MainMenu/Specials/Commentary.cpp \
  590. Game/State/MainMenu/Specials/MeetTheDev.cpp \
  591. #------------------------
  592. #Game-State-PlayingGame:
  593. Game/State/PlayingGame/Combat.cpp \
  594. Game/State/PlayingGame/Exploring.cpp \
  595. Game/State/PlayingGame/Exploring_old.cpp \
  596. Game/State/PlayingGame/GameInterface.cpp \
  597. #------------------------
  598. #Game-State-PlayingGame-GameInterface:
  599. Game/State/PlayingGame/GameInterface/Locations.cpp \
  600. Game/State/PlayingGame/GameInterface/Quests.cpp \
  601. Game/State/PlayingGame/GameInterface/ViewMap.cpp \
  602. #------------------------
  603. #Game-State-PlayingGame-Editing:
  604. Game/State/PlayingGame/Editing/Navigation.cpp \
  605. Game/State/PlayingGame/Editing/TileEditing.cpp \
  606. Game/State/PlayingGame/Editing/MapRectEditing.cpp \
  607. #------------------------
  608. #Other:
  609. main_Initialize.cpp \
  610. main.cpp \
  611. Common/Assorted/PathResolver.cpp \
  612. Common/Assorted/ApplicationDetails.cpp \
  613. Common/System/FastMath.cpp \
  614. Common/System/Macroes/Assert.cpp \
  615. Common/Logic/Ease/EaseFunctions.cpp \
  616. Common/Logic/Ease/Ease.cpp \
  617. Common/Logic/Ease/Easer.cpp \
  618. Common/Logic/Ease/EaseEquations.cpp
  619.  
  620. #========================================================================================================================
  621. #XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  622. #========================================================================================================================
  623.  
  624. #Comment/Uncomment these to select what platform we are compiling for. Make sure only one is uncommented at a time.
  625. COMPILE_PLATFORM = DesktopWithEditor
  626. #COMPILE_PLATFORM = Desktop
  627.  
  628. #These are the APIs we are compiling with.
  629. #No matter what platform we are on, we're still using Boost and Lua in this project.
  630. COMPILE_APIS += Boost \
  631. Lua
  632.  
  633. #========================================================================================================================
  634.  
  635. contains(COMPILE_PLATFORM, DesktopWithEditor) {
  636. # APIs: SFML 2.0, Qt 5.0
  637. # Includes the editor interface to the game.
  638. message("Compiling for the Desktop, with the editor enabled")
  639.  
  640. #Platform-specific #defines.
  641. DEFINES += PLATFORM_DESKTOP_WITH_EDITOR \
  642. PLATFORM_HAS_EDITOR
  643.  
  644. COMPILE_APIS += Qt \
  645. SFML
  646.  
  647. #Platform-specific files.
  648. HEADERS += \
  649. #------------------------
  650. #Engine-Platform:
  651. Engine/Platform/Desktop_WithEditor/PlatformImplementation.h \
  652. #------------------------
  653. #Engine-Platform-Windows:
  654. Engine/Platform/Desktop_WithEditor/Windows/EditorPanels.h \
  655. Engine/Platform/Desktop_WithEditor/Windows/MainWindow.h \
  656. Engine/Platform/Desktop_WithEditor/Windows/MainWindowInterface.h \
  657. Engine/Platform/Desktop_WithEditor/Windows/ApplicationWindow.h \
  658. #------------------------
  659. #Engine-Platform-Windows-Panels:
  660. #------------------------
  661. #Engine-Platform-Windows-Panels-Left:
  662. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar.h \
  663. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/LayerManagementPanel.h \
  664. #------------------------
  665. #Engine-Platform-Windows-Panels-Left-TilePlacementBar:
  666. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar/TileDisplayWidget.h \
  667. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar/TilePlacementPatternMenu.h \
  668. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar/TileSettingsPopup.h \
  669. #------------------------
  670. #Engine-Platform-Windows-Panels-Left-LayerManagementPanel:
  671. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/LayerManagementPanel/LayerRow.h \
  672. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/LayerManagementPanel/FloorItem.h \
  673. #------------------------
  674. #Engine-Platform-Windows-Panels-Right:
  675. Engine/Platform/Desktop_WithEditor/Windows/Panels/Right/TileExplorer.h \
  676. #------------------------
  677. #Engine-Platform-Windows-Panels-Top:
  678. #
  679. #------------------------
  680. #Engine-Platform-Windows-Panels-Bottom:
  681. Engine/Platform/Desktop_WithEditor/Windows/Panels/Bottom/QuickTileBar.h \
  682. #------------------------
  683. #Engine-Platform-Windows-Panels-Bottom-QuickTileBar:
  684. Engine/Platform/Desktop_WithEditor/Windows/Panels/Bottom/QuickTileBar/StatusBar.h \
  685. Engine/Platform/Desktop_WithEditor/Windows/Panels/Bottom/QuickTileBar/TileSelectionBox.h \
  686. #------------------------
  687. #Engine-Platform-Windows-Other:
  688. Engine/Platform/Desktop_WithEditor/Windows/Other/Toolbar.h
  689.  
  690. SOURCES += \
  691. #------------------------
  692. #Engine-Platform:
  693. Engine/Platform/Desktop_WithEditor/PlatformImplementation.cpp \
  694. #------------------------
  695. #Engine-Platform-Windows:
  696. Engine/Platform/Desktop_WithEditor/Windows/MainWindow.cpp \
  697. Engine/Platform/Desktop_WithEditor/Windows/MainWindowInterface.cpp \
  698. Engine/Platform/Desktop_WithEditor/Windows/ApplicationWindow.cpp \
  699. #------------------------
  700. #Engine-Platform-Windows-Panels:
  701. #------------------------
  702. #Engine-Platform-Windows-Panels-Left:
  703. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/LayerManagementPanel.cpp \
  704. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar.cpp \
  705. #------------------------
  706. #Engine-Platform-Windows-Panels-Left-LayerManagementPanel:
  707. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/LayerManagementPanel/LayerRow.cpp \
  708. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/LayerManagementPanel/FloorItem.cpp \
  709. #------------------------
  710. #Engine-Platform-Windows-Panels-Left-TilePlacementBar:
  711. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar/TilePlacementPatternMenu.cpp \
  712. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar/TileDisplayWidget.cpp \
  713. Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar/TileSettingsPopup.cpp \
  714. #------------------------
  715. #Engine-Platform-Windows-Panels-Right:
  716. Engine/Platform/Desktop_WithEditor/Windows/Panels/Right/TileExplorer.cpp \
  717. #------------------------
  718. #Engine-Platform-Windows-Panels-Top:
  719. #
  720. #------------------------
  721. #Engine-Platform-Windows-Panels-Bottom:
  722. Engine/Platform/Desktop_WithEditor/Windows/Panels/Bottom/QuickTileBar.cpp \
  723. #------------------------
  724. #Engine-Platform-Windows-Panels-Bottom-QuickTileBar:
  725. Engine/Platform/Desktop_WithEditor/Windows/Panels/Bottom/QuickTileBar/StatusBar.cpp \
  726. Engine/Platform/Desktop_WithEditor/Windows/Panels/Bottom/QuickTileBar/TileSelectionBox.cpp \
  727. #------------------------
  728. #Engine-Platform-Windows-Other:
  729. Engine/Platform/Desktop_WithEditor/Windows/Other/Toolbar.cpp
  730.  
  731. }
  732.  
  733. #========================================================================================================================
  734.  
  735. contains(COMPILE_PLATFORM, Desktop) {
  736. # APIs: SFML 2.0
  737. # Just the game; no editor.
  738. message("Compiling for the Desktop (without the editor)")
  739.  
  740. #Platform-specific #defines.
  741. DEFINES += PLATFORM_DESKTOP
  742. COMPILE_APIS += SFML
  743.  
  744. #Platform-specific files.
  745. }
  746.  
  747. #========================================================================================================================
  748. #XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  749. #========================================================================================================================
  750.  
  751. #If compiling on Windows, 'win32' is already defined by QMake in the .pro file.
  752. win32 {
  753. COMPILE_APIS += Win32
  754. }
  755.  
  756. #========================================================================================================================
  757. #XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  758. #========================================================================================================================
  759.  
  760. #Boost includes:
  761. contains(COMPILE_APIS, Boost) {
  762. include(API_Boost.pri)
  763. }
  764.  
  765. #Qt5 API includes:
  766. contains(COMPILE_APIS, Qt) {
  767. include(API_Qt.pri)
  768. }
  769.  
  770. #SFML2 API includes:
  771. contains(COMPILE_APIS, SFML) {
  772. include(API_Sfml.pri)
  773. }
  774.  
  775. #LUA52 API includes:
  776. contains(COMPILE_APIS, Lua) {
  777. include(API_Lua.pri)
  778. }
  779.  
  780. #Win32 API includes:
  781. contains(COMPILE_APIS, Win32) {
  782. include(API_Win32.pri)
  783. }
  784.  
  785. #========================================================================================================================
  786. #XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  787. #========================================================================================================================
  788.  
  789. OTHER_FILES += \
  790. "[Project stats].smp" \
  791. IconRes.rc \
  792. Todo.cpp \
  793. Notes.txt \
  794. HeaderOrder.txt \
  795. GameStates.txt
  796.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty