mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
abundant update
complete looting rewrite, improve combining pickups, add debug printing logs, fix some agids, fix cheat summon, fix issue with vehicle spawning.
This commit is contained in:
@@ -48,8 +48,9 @@
|
||||
#define DUMP_TAB 7
|
||||
#define UNBAN_TAB 8
|
||||
#define DEVELOPER_TAB 9
|
||||
#define SETTINGS_TAB 10
|
||||
#define CREDITS_TAB 11
|
||||
#define DEBUGLOG_TAB 10
|
||||
#define SETTINGS_TAB 11
|
||||
#define CREDITS_TAB 12
|
||||
|
||||
#define MAIN_PLAYERTAB 1
|
||||
#define INVENTORY_PLAYERTAB 2
|
||||
@@ -61,6 +62,8 @@ extern inline bool bSwitchedInitialLevel = false;
|
||||
extern inline bool bIsInAutoRestart = false;
|
||||
extern inline float AutoBusStartSeconds = 60;
|
||||
extern inline int NumRequiredPlayersToStart = 2;
|
||||
extern inline bool bDebugPrintLooting = false;
|
||||
extern inline bool bDebugPrintSwapping = false;
|
||||
|
||||
// THE BASE CODE IS FROM IMGUI GITHUB
|
||||
|
||||
@@ -376,6 +379,14 @@ static inline void MainTabs()
|
||||
bInformationTab = false;
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
|
||||
if (ImGui::BeginTabItem("Debug Logs"))
|
||||
{
|
||||
Tab = DEBUGLOG_TAB;
|
||||
PlayerTab = -1;
|
||||
bInformationTab = false;
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
#endif
|
||||
|
||||
if (false && ImGui::BeginTabItem(("Credits")))
|
||||
@@ -954,6 +965,11 @@ static inline void MainUI()
|
||||
}
|
||||
*/
|
||||
}
|
||||
else if (Tab == DEBUGLOG_TAB)
|
||||
{
|
||||
ImGui::Checkbox("Looting Debug Log", &bDebugPrintLooting);
|
||||
ImGui::Checkbox("Swapping Debug Log", &bDebugPrintSwapping);
|
||||
}
|
||||
else if (Tab == SETTINGS_TAB)
|
||||
{
|
||||
// ImGui::Checkbox("Use custom lootpool (from Win64/lootpool.txt)", &Defines::bCustomLootpool);
|
||||
|
||||
Reference in New Issue
Block a user