Skip to content

Commit 7a2ab92

Browse files
committed
Include <array> EVERYWHERE where needed, hopefully fix CI for Windows
1 parent 0fce005 commit 7a2ab92

21 files changed

+36
-0
lines changed

Source/Entities/Actor.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#include "MOSRotating.h"
99
#include "PathFinder.h"
1010

11+
#include <array>
12+
1113
namespace RTE {
1214

1315
#pragma region Global Macro Definitions

Source/Entities/PieMenu.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#include "GUIFont.h"
1515
#include "AllegroBitmap.h"
1616

17+
#include <array>
18+
1719
using namespace RTE;
1820

1921
ConcreteClassInfo(PieMenu, Entity, 20);

Source/Entities/TerrainObject.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include "Draw.h"
55
#include "FrameMan.h"
66

7+
#include <array>
8+
79
using namespace RTE;
810

911
ConcreteClassInfo(TerrainObject, SceneObject, 0);

Source/Managers/ActivityMan.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include "SDL3/SDL_surface.h"
3434
#include <SDL3_image/SDL_image.h>
3535

36+
#include <array>
3637
#include <execution>
3738

3839
using namespace RTE;

Source/Managers/AudioMan.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include "WindowMan.h"
1313
#include "SoundSet.h"
1414

15+
#include <array>
1516
#include <cstring>
1617

1718
using namespace RTE;

Source/Managers/FrameMan.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
#include "tracy/TracyOpenGL.hpp"
3333
#include <SDL3_image/SDL_image.h>
3434

35+
#include <array>
36+
3537
using namespace RTE;
3638

3739
void BitmapDeleter::operator()(BITMAP* bitmap) const { destroy_bitmap(bitmap); }

Source/Managers/LuaMan.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "BS_thread_pool.hpp"
99

10+
#include <array>
11+
1012
#define g_LuaMan LuaMan::Instance()
1113

1214
struct lua_State;

Source/Managers/PerformanceMan.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#include "GUI.h"
77
#include "AllegroBitmap.h"
88

9+
#include <array>
10+
911
using namespace RTE;
1012

1113
const std::array<std::string, PerformanceMan::PerformanceCounters::PerfCounterCount> PerformanceMan::m_PerfCounterNames = {"Total", "Act AI", "Act Travel", "Act Update", "Prt Travel", "Prt Update", "Activity", "Scripts"};

Source/Managers/PostProcessMan.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#include "tracy/Tracy.hpp"
2121
#include "tracy/TracyOpenGL.hpp"
2222

23+
#include <array>
24+
2325
using namespace RTE;
2426

2527
PostProcessMan::PostProcessMan() {

Source/Managers/PresetMan.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#include "SettingsMan.h"
1919
#include "System.h"
2020

21+
#include <array>
22+
2123
using namespace RTE;
2224

2325
const std::array<std::string, 10> PresetMan::c_OfficialModules = {"Base.rte", "Coalition.rte", "Imperatus.rte", "Techion.rte", "Dummy.rte", "Ronin.rte", "Browncoats.rte", "Uzira.rte", "MuIlaak.rte", "Missions.rte"};

0 commit comments

Comments
 (0)