summaryrefslogtreecommitdiff
path: root/src/core/Frontend.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-08-19 23:44:08 +0300
committerSergeanur <s.anureev@yandex.ua>2020-08-19 23:44:08 +0300
commit9fd91e6250d2b52b92923bd801a826ce3f9ec45e (patch)
tree60272cfddde19d8baca635972df11ba780460f06 /src/core/Frontend.h
parentdab6d6dd6d9f45435daf6634018fef3def0fe6e1 (diff)
parentbd30d0a79638f58df08e4e47d91bce29d442326b (diff)
Merge remote-tracking branch 'origin/master' into miami
# Conflicts: # src/core/Collision.cpp # src/core/Streaming.cpp # src/core/config.h # src/core/main.cpp # src/core/re3.cpp # src/extras/custompipes.cpp # src/extras/custompipes_d3d9.cpp # src/extras/custompipes_gl.cpp # src/extras/shaders/Makefile # src/extras/shaders/colourfilterVC.frag # src/extras/shaders/colourfilterVC_fs_gl3.inc # src/modelinfo/ModelInfo.cpp # src/modelinfo/PedModelInfo.cpp # src/modelinfo/SimpleModelInfo.cpp # src/modelinfo/VehicleModelInfo.cpp # src/render/Renderer.cpp # src/rw/VisibilityPlugins.cpp # src/save/GenericGameStorage.cpp
Diffstat (limited to 'src/core/Frontend.h')
-rw-r--r--src/core/Frontend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/Frontend.h b/src/core/Frontend.h
index 8b6fee87..858ad1f3 100644
--- a/src/core/Frontend.h
+++ b/src/core/Frontend.h
@@ -637,6 +637,12 @@ public:
static int8 m_DisplayIslandLoading;
static int8 m_PrefsIslandLoading;
+
+ #define ISLAND_LOADING_IS(p) if (CMenuManager::m_PrefsIslandLoading == CMenuManager::ISLAND_LOADING_##p)
+ #define ISLAND_LOADING_ISNT(p) if (CMenuManager::m_PrefsIslandLoading != CMenuManager::ISLAND_LOADING_##p)
+#else
+ #define ISLAND_LOADING_IS(p)
+ #define ISLAND_LOADING_ISNT(p)
#endif
void Initialise();