-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathglobals.cpp
More file actions
27 lines (22 loc) · 841 Bytes
/
globals.cpp
File metadata and controls
27 lines (22 loc) · 841 Bytes
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
// Copyright (C) 2009 - 2021 Marc Vester (XaserLE)
// Copyright (C) 2009 - 2021 Settlers Freaks <sf-team at siedler25.org>
//
// SPDX-License-Identifier: GPL-3.0-or-later
#include "globals.h"
#include "defines.h"
// array for all pictures
std::vector<bobBMP> global::bmpArray(MAXBOBBMP);
// array for all shadows
std::vector<bobSHADOW> global::shadowArray(MAXBOBSHADOW);
// array for all palettes
std::vector<bobPAL> global::palArray(MAXBOBPAL);
// the game object
CGame* global::s2;
boost::filesystem::path global::gameDataFilePath(".");
boost::filesystem::path global::userMapsPath;
WorldDescription global::worldDesc;
unsigned char TRIANGLE_HEIGHT = 28;
unsigned char TRIANGLE_WIDTH = 56;
unsigned char TRIANGLE_INCREASE = 5;
// three-dimensional array for the GOUx.DAT-Files (3 files * 256 * 256 values)
Uint8 gouData[3][256][256];