mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
custom map support
This commit is contained in:
@@ -61,6 +61,8 @@
|
||||
#define LOADOUT_PLAYERTAB 4
|
||||
#define FUN_PLAYERTAB 5
|
||||
|
||||
extern inline bool bUseCustomMap = false;
|
||||
extern inline std::string CustomMapName = "";
|
||||
extern inline int AmountToSubtractIndex = 1;
|
||||
extern inline int SecondsUntilTravel = 5;
|
||||
extern inline bool bSwitchedInitialLevel = false;
|
||||
@@ -1291,8 +1293,17 @@ static inline void PregameUI()
|
||||
}
|
||||
|
||||
if (!bSwitchedInitialLevel)
|
||||
{
|
||||
ImGui::Checkbox("Use Custom Map", &bUseCustomMap);
|
||||
|
||||
if (bUseCustomMap)
|
||||
{
|
||||
// ImGui::InputText("Custom Map", &CustomMapName);
|
||||
}
|
||||
|
||||
ImGui::SliderInt("Seconds until load into map", &SecondsUntilTravel, 1, 100);
|
||||
|
||||
}
|
||||
|
||||
if (!Globals::bCreative)
|
||||
ImGui::InputText("Playlist", &PlaylistName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user