mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07:00
Add: Clear Flags option (#1251)
* Added button to clear actorCtx flags * Update soh/soh/Enhancements/debugger/debugSaveEditor.cpp Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>
This commit is contained in:
parent
c914bd20b8
commit
5ce051e4ea
1 changed files with 9 additions and 0 deletions
|
@ -799,6 +799,15 @@ void DrawFlagsTab() {
|
|||
gSaveContext.sceneFlags[gGlobalCtx->sceneNum].chest = act->flags.chest;
|
||||
}
|
||||
UIWidgets::SetLastItemHoverText("Save current scene flags. Normally happens on scene exit");
|
||||
|
||||
if (ImGui::Button("Clear Flags")) {
|
||||
act->flags.swch = 0;
|
||||
act->flags.clear = 0;
|
||||
act->flags.collect = 0;
|
||||
act->flags.chest = 0;
|
||||
}
|
||||
UIWidgets::SetLastItemHoverText("Clear current scene flags. Reload scene to see changes");
|
||||
|
||||
|
||||
ImGui::EndGroup();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue