-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDeltaShadow.Program.cpp
More file actions
67 lines (58 loc) · 1.34 KB
/
DeltaShadow.Program.cpp
File metadata and controls
67 lines (58 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#include "DeltaShadow.Program.h"
#include "Environment/PrimaryScreen.h"
#include "Environment/SpecialFolder.h"
#include "Util/File.h"
#include "Util/BinaryStreamReader.h"
#include "Util/BinaryStreamWriter.h"
using namespace SdlDotNetCompat::Core;
using namespace SdlDotNetCompat::Graphics;
using namespace SdlDotNetCompat::Audio;
using namespace SdlDotNetCompat::Input;
using namespace SdlDotNetCompat::Drawing;
using namespace Util;
namespace DeltaShadow
{
template <typename T>
T **AllocateDynamicArray(int nRows, int nCols)
{
T **array = new T*[nCols];
for (int i = 0; i < nCols; ++i)
{
array[i] = new T[nRows];
}
return array;
}
template <typename T>
void FreeDynamicArray(T** array)
{
delete [] *array;
delete [] array;
}
void toLower(std::string &str)
{
for (auto &c : str)
{
c = tolower(c);
}
}
#include "EventsObjects.cpp"
#include "GameObject.cpp"
#include "GameObjectsSubprog.cpp"
#include "GEngine.cpp"
#include "Main.cpp"
#include "Menu.cpp"
#include "ObjectAnimation.cpp"
#include "Platforming.cpp"
#include "ProcessingObjects.cpp"
#include "Program.cpp"
#include "RaceLevel.cpp"
#include "Scenes.cpp"
#include "ScreensProject.cpp"
#include "SelectSuite.cpp"
#include "SEngine.cpp"
#include "SpawnObjects.cpp"
#include "StatusBar.cpp"
#include "Stealth.cpp"
#include "System.cpp"
#include "Text.cpp"
}