-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.hpp
48 lines (39 loc) · 1.22 KB
/
global.hpp
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
/*
** EPITECH PROJECT, 2021
** indieStudio
** File description:
** global
*/
#ifndef GLOBAL_HPP_
#define GLOBAL_HPP_
#include "include.hpp"
namespace IS {
class TexturedModel;
class ParticleTexturedModel;
class ParticleSystem;
class Sounds;
class Entity;
class Bomberman;
class PowerUp;
class Map;
class Camera;
namespace GLOBAL {
inline std::map<std::string, TexturedModel *> _texturedModels;
inline std::map<std::string, ParticleTexturedModel *> _particleTexturedModels;
inline std::map<std::string, ParticleSystem *> _particleSystem;
inline std::map<std::string, Sounds *> _sounds;
inline std::vector<Entity *> _entities;
inline std::vector<Bomberman *> _bombermans;
inline std::vector<PowerUp *> _powerups;
inline Map *_map;
inline Color listColor[MAX_COLOR] = {
DARKGRAY, MAROON, ORANGE, DARKGREEN, DARKBLUE, DARKPURPLE, DARKBROWN,
GRAY, RED, GOLD, LIME, BLUE, VIOLET, BROWN, LIGHTGRAY, PINK, YELLOW,
GREEN, SKYBLUE, PURPLE, BEIGE };
inline IS::Camera *camera;
inline int _scene = 0;
inline int _slowfactor = 1;
inline int _nbFrame = 0;
}
}
#endif /* !GLOBAL_HPP_ */