save ui settings & toggle ui
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include "../gen/Def.h"
|
||||
#include "Gen.h"
|
||||
#include "Global.h"
|
||||
#include "Instance.h"
|
||||
@@ -6,7 +7,6 @@
|
||||
#include "Tools.h"
|
||||
|
||||
#include "bx/filepath.h"
|
||||
#include "bx/math.h"
|
||||
#include "bx/timer.h"
|
||||
#include <imgui.h>
|
||||
#include <tracy/Tracy.hpp>
|
||||
@@ -233,7 +233,13 @@ namespace Tools
|
||||
ImGui::Separator();
|
||||
|
||||
ImGui::Text("Game Tablet");
|
||||
Tools::EntityDataSettings(player.Config.TabletRenderData);
|
||||
if (Tools::EntityDataSettings(player.Config.TabletRenderData))
|
||||
{
|
||||
Serializer s;
|
||||
s.Init("game/data/static/uiconfig.dat", "UICO");
|
||||
s.WriteT(player.Config.TabletRenderData);
|
||||
s.Finish();
|
||||
}
|
||||
|
||||
ImGui::Separator();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user