Monopoly — Portage moderne
0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
RenderSlots.cpp
Go to the documentation of this file.
1
#include "
RenderSlots.hpp
"
2
3
namespace
monopoly::engine
4
{
5
namespace
6
{
7
bool
renderSlotsInitialized
=
false
;
8
}
9
10
bool
initializeRenderSlots
()
11
{
12
// Correspondance directe avec Source/monopoly/Main.cpp:
13
//
14
// slot 0 : surface 2D du fond du plateau
15
// slot 1 : monde 3D
16
// slot 2 : graphismes 2D au-dessus de la 3D
17
// slot 3 : effets sonores
18
//
19
// Les renderers SDL_GPU/2D/audio seront attachés
20
// à ces mêmes slots au fur et à mesure du portage.
21
22
renderSlotsInitialized
=
true
;
23
return
true
;
24
}
25
26
void
shutdownRenderSlots
()
27
{
28
renderSlotsInitialized
=
false
;
29
}
30
}
index
unsigned index
Definition
ModernIBarSkin.cpp:25
RenderSlots.hpp
monopoly::engine
Definition
Engine.cpp:135
monopoly::engine::shutdownRenderSlots
void shutdownRenderSlots()
Definition
RenderSlots.cpp:26
monopoly::engine::initializeRenderSlots
bool initializeRenderSlots()
Definition
RenderSlots.cpp:10
RenderSlots.cpp
Generated by
1.9.8