Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions RTEA.common.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />

<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;ALLEGRO_STATICLINK;ALLEGRO_NO_STD_HEADERS;ALLEGRO_NO_MAGIC_MAIN;_CRT_SECURE_NO_DEPRECATE;ZLIB_WINAPI;_WINDOWS;WIN32;NOMINMAX;NOGDI;NOKERNEL;NONLS;NOMEMMGR;NOGDICAPMASKS;NOVIRTUALKEYCODES;NOWINMESSAGES;NOWINSTYLES;NOMETAFILE;NOSCROLL;NOTEXTMETRIC;NOCOMM;NOKANJI;NOHELP;NOPROFILER;NODEFERWINDOWPOS;NOMCX;NOMENUS;NOICONS;NOKEYSTATES;NOSYSCOMMANDS;NORASTEROPS;NOSHOWWINDOW;OEMRESOURCE;NOATOM;NODRAWTEXT;NOCOLOR;NOCTLMGR;NOMSG;NOOPENFILE;NOSERVICE;NOSOUND;NOWH;NOWINOFFSETS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
</Project>
30 changes: 20 additions & 10 deletions RTEA.vcxproj

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Source/Activities/AreaEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "HeldDevice.h"
#include "Scene.h"
#include "DataModule.h"
#include "System.h"

#include "GUI.h"
#include "AllegroBitmap.h"
Expand Down
1 change: 1 addition & 0 deletions Source/Activities/AssemblyEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "HeldDevice.h"
#include "Scene.h"
#include "DataModule.h"
#include "System.h"

#include "GUI.h"
#include "GUICollectionBox.h"
Expand Down
2 changes: 2 additions & 0 deletions Source/Activities/GAScripted.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

#include "tracy/Tracy.hpp"

#include <fstream>

using namespace RTE;

ConcreteClassInfo(GAScripted, GameActivity, 0);
Expand Down
2 changes: 2 additions & 0 deletions Source/Activities/GameActivity.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#include "Scene.h"
#include "Actor.h"

#include <array>
#include <memory>
namespace RTE {

#define OBJARROWFRAMECOUNT 4
Expand Down
1 change: 1 addition & 0 deletions Source/Activities/GibEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "GUIButton.h"
#include "GUILabel.h"
#include "GUIComboBox.h"
#include "System.h"

#include "GibEditorGUI.h"

Expand Down
1 change: 1 addition & 0 deletions Source/Activities/SceneEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "GUIButton.h"
#include "GUILabel.h"
#include "GUIComboBox.h"
#include "System.h"

#include "SceneEditorGUI.h"
#include "GameActivity.h"
Expand Down
2 changes: 2 additions & 0 deletions Source/Entities/AHuman.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#include "Leg.h"
#include "LimbPath.h"

#include <array>

struct BITMAP;

namespace RTE {
Expand Down
2 changes: 2 additions & 0 deletions Source/Entities/Arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include "Attachable.h"

#include <queue>

namespace RTE {

class HeldDevice;
Expand Down
3 changes: 3 additions & 0 deletions Source/Entities/HeldDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
#include "Attachable.h"
#include "Actor.h"

#include <array>
#include <unordered_map>

namespace RTE {

enum HeldDeviceType {
Expand Down
2 changes: 2 additions & 0 deletions Source/Entities/MOSParticle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include "Atom.h"
#include "PostProcessMan.h"

#include <array>

using namespace RTE;

ConcreteClassInfo(MOSParticle, MovableObject, 1000);
Expand Down
2 changes: 2 additions & 0 deletions Source/Entities/MOSRotating.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#include "MOSprite.h"
#include "Gib.h"

#include <unordered_set>

namespace RTE {

class AtomGroup;
Expand Down
2 changes: 2 additions & 0 deletions Source/Entities/Material.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include "ContentFile.h"
#include "Color.h"

#include <cmath>

namespace RTE {

/// Represents a material and holds all the relevant data.
Expand Down
4 changes: 4 additions & 0 deletions Source/Entities/MovableObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@
#include "Actor.h"
#include "SLTerrain.h"
#include "PieMenu.h"
#include "Serializable.h"
#include "System.h"

#include "Base64/base64.h"
#include "tracy/Tracy.hpp"

#include <array>

using namespace RTE;

AbstractClassInfo(MovableObject, SceneObject);
Expand Down
2 changes: 2 additions & 0 deletions Source/Entities/MovableObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#include "Material.h"
#include "MovableMan.h"

#include <set>

struct BITMAP;

namespace RTE {
Expand Down
2 changes: 2 additions & 0 deletions Source/Entities/PieMenu.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include "Controller.h"
#include "Matrix.h"

#include <array>

namespace RTE {

class Controller;
Expand Down
3 changes: 3 additions & 0 deletions Source/Entities/SLTerrain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#include "DataModule.h"
#include "PresetMan.h"

#include <array>
#include <execution>

using namespace RTE;

ConcreteClassInfo(SLTerrain, SceneLayer, 0);
Expand Down
3 changes: 3 additions & 0 deletions Source/Entities/Scene.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
#include "Activity.h"
#include "PathFinder.h"

#include <array>
#include <map>

namespace RTE {

class ContentFile;
Expand Down
2 changes: 2 additions & 0 deletions Source/Entities/SceneLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#include "tracy/Tracy.hpp"

#include <array>

using namespace RTE;

ConcreteClassInfo(SceneLayerTracked, Entity, 0);
Expand Down
2 changes: 2 additions & 0 deletions Source/Entities/SceneLayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include "ContentFile.h"
#include "Box.h"

#include <future>

namespace RTE {

/// A scrolling layer of the Scene.
Expand Down
2 changes: 2 additions & 0 deletions Source/Entities/SoundContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include "Entity.h"
#include "AudioMan.h"

#include <unordered_set>

namespace RTE {
class Vector;
struct SoundData;
Expand Down
3 changes: 3 additions & 0 deletions Source/GUI/GUIBanner.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
#include "Timer.h"
#include "allegro.h"

#include <list>
#include <map>

struct BITMAP;

#define MAXBANNERFONTCHARS 256
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIComboBox.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "GUI.h"
#include "GUIComboBox.h"

#include <cassert>

using namespace RTE;

GUIComboBox::GUIComboBox(GUIManager* Manager, GUIControlManager* ControlManager) :
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIControl.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "GUI.h"

#include <cassert>

using namespace RTE;

GUIControl::GUIControl() {
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIControlManager.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "GUI.h"
#include "PresetMan.h"

#include <cassert>

using namespace RTE;

GUIControlManager::GUIControlManager() {
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIEvent.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "GUI.h"

#include <cassert>

using namespace RTE;

GUIEvent::GUIEvent() {
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIFont.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "GUI.h"

#include <cassert>

using namespace RTE;

GUIFont::GUIFont(const std::string& Name) {
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIListPanel.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "GUI.h"
#include "GUIListPanel.h"

#include <cassert>

using namespace RTE;

#define RIGHTTEXTWIDTH 36
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIManager.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "GUI.h"
#include "Timer.h"

#include <cassert>

using namespace RTE;

GUIManager::GUIManager(GUIInput* input) {
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIPanel.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "GUI.h"

#include <cassert>

using namespace RTE;

GUIPanel::GUIPanel(GUIManager* Manager) {
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIProperties.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "GUI.h"

#include <cassert>

using namespace RTE;

GUIProperties::GUIProperties(const std::string& Name) {
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIPropertyPage.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "GUI.h"
#include "GUIPropertyPage.h"

#include <cassert>

using namespace RTE;

GUIPropertyPage::GUIPropertyPage(GUIManager* Manager, GUIControlManager* ControlManager) :
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIReader.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "GUI.h"
#include "GUIReader.h"

#include <fstream>

using namespace RTE;

GUIReader::StreamInfo::StreamInfo(std::ifstream* stream, const std::string& filePath, int currentLine, int prevIndent) :
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIReader.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include <stack>

namespace RTE {

/// Reads GUI objects from std::istreams.
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIScrollPanel.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "GUI.h"
#include "GUIScrollPanel.h"

#include <cassert>

using namespace RTE;

GUIScrollPanel::GUIScrollPanel(GUIManager* Manager) :
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIScrollbar.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "GUI.h"
#include "GUIScrollbar.h"

#include <cassert>

using namespace RTE;

GUIScrollbar::GUIScrollbar(GUIManager* Manager, GUIControlManager* ControlManager) :
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUISkin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#include "GUIReader.h"
#include "PresetMan.h"

#include <cassert>

using namespace RTE;

GUISkin::GUISkin(GUIScreen* Screen) {
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUITextPanel.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "GUI.h"
#include "GUITextPanel.h"

#include <cassert>

using namespace RTE;

GUITextPanel::GUITextPanel(GUIManager* Manager) :
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIUtil.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include <string>

namespace RTE {

/// A utility class with misc static functions for different things.
Expand Down
2 changes: 2 additions & 0 deletions Source/GUI/GUIWriter.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "GUIWriter.h"

#include <iostream>

using namespace RTE;

void GUIWriter::Clear() {
Expand Down
4 changes: 4 additions & 0 deletions Source/GUI/GUIWriter.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#pragma once

#include <string>
#include <memory>
#include <fstream>

namespace RTE {

/// Writes GUI objects to std::ostreams.
Expand Down
3 changes: 3 additions & 0 deletions Source/GUI/Wrappers/GUIInputWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
#include "GUIInput.h"
#include "SDL_scancode.h"

#include <array>
#include <memory>

namespace RTE {

class Timer;
Expand Down
3 changes: 3 additions & 0 deletions Source/Lua/LuabindObjectWrapper.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#pragma once

#include <string>
#include <string_view>

struct lua_State;

namespace luabind::adl {
Expand Down
1 change: 1 addition & 0 deletions Source/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include "PrimitiveMan.h"
#include "ThreadMan.h"
#include "LuaMan.h"
#include "System.h"

#include "tracy/Tracy.hpp"

Expand Down
Loading