mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-30 00:13:03 +00:00
GUI: tutorial, part 2 - DO NOT USE
This commit is contained in:
parent
b01c2d08af
commit
672f387e6a
3 changed files with 8 additions and 2 deletions
|
@ -296,10 +296,12 @@ size | description
|
||||||
| - 0xff: reserved for development
|
| - 0xff: reserved for development
|
||||||
| - (compound!) means that the system is composed of two or more chips,
|
| - (compound!) means that the system is composed of two or more chips,
|
||||||
| and has to be flattened.
|
| and has to be flattened.
|
||||||
32 | sound chip volumes
|
32 | sound chip volumes (<135) or reserved
|
||||||
| - signed char, 64=1.0, 127=~2.0
|
| - signed char, 64=1.0, 127=~2.0
|
||||||
32 | sound chip panning
|
| - as of version 135 these fields only exist for compatibility reasons.
|
||||||
|
32 | sound chip panning (<135) or reserved
|
||||||
| - signed char, -128=left, 127=right
|
| - signed char, -128=left, 127=right
|
||||||
|
| - as of version 135 these fields only exist for compatibility reasons.
|
||||||
128 | sound chip flag pointers (>=119) or sound chip flags
|
128 | sound chip flag pointers (>=119) or sound chip flags
|
||||||
| - before 118, these were 32-bit flags.
|
| - before 118, these were 32-bit flags.
|
||||||
| - for conversion details, see the "converting from old flags" section.
|
| - for conversion details, see the "converting from old flags" section.
|
||||||
|
|
|
@ -4076,6 +4076,8 @@ bool FurnaceGUI::loop() {
|
||||||
drawEffectList();
|
drawEffectList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
activateTutorial(GUI_TUTORIAL_OVERVIEW);
|
||||||
|
|
||||||
if (inspectorOpen) ImGui::ShowMetricsWindow(&inspectorOpen);
|
if (inspectorOpen) ImGui::ShowMetricsWindow(&inspectorOpen);
|
||||||
|
|
||||||
if (firstFrame) {
|
if (firstFrame) {
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
#include "gui.h"
|
#include "gui.h"
|
||||||
#include <imgui.h>
|
#include <imgui.h>
|
||||||
|
#include "../ta-log.h"
|
||||||
|
|
||||||
#define TS FurnaceGUITutorialStep
|
#define TS FurnaceGUITutorialStep
|
||||||
|
|
||||||
|
@ -44,6 +45,7 @@ void FurnaceGUI::commitTutorial() {
|
||||||
|
|
||||||
void FurnaceGUI::activateTutorial(FurnaceGUITutorials which) {
|
void FurnaceGUI::activateTutorial(FurnaceGUITutorials which) {
|
||||||
if (tutorial.welcome && !tutorial.taken[which] && !ImGui::IsPopupOpen(NULL,ImGuiPopupFlags_AnyPopupId|ImGuiPopupFlags_AnyPopupLevel) && curTutorial==-1 && introPos>=10.0) {
|
if (tutorial.welcome && !tutorial.taken[which] && !ImGui::IsPopupOpen(NULL,ImGuiPopupFlags_AnyPopupId|ImGuiPopupFlags_AnyPopupLevel) && curTutorial==-1 && introPos>=10.0) {
|
||||||
|
logV("activating tutorial %d.",which);
|
||||||
curTutorial=which;
|
curTutorial=which;
|
||||||
curTutorialStep=0;
|
curTutorialStep=0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue