From eba1191ef278398a53a38ccd129056899b122a24 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 24 Feb 2023 05:09:29 -0500 Subject: [PATCH] 1 --- scripts/release-win32.sh | 4 ++-- scripts/release-win64.sh | 4 ++-- src/gui/tutorial.cpp | 43 ++++++++++++++++++++++++++++++++++++++-- 3 files changed, 45 insertions(+), 6 deletions(-) diff --git a/scripts/release-win32.sh b/scripts/release-win32.sh index e1e16ce8..9faf9c2f 100755 --- a/scripts/release-win32.sh +++ b/scripts/release-win32.sh @@ -15,9 +15,9 @@ fi cd win32build # TODO: potential Arch-ism? -i686-w64-mingw32-cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-O2" -DCMAKE_CXX_FLAGS="-O2 -Wall -Wextra -Wno-unused-parameter -Wno-cast-function-type -Werror" -DBUILD_SHARED_LIBS=OFF -DSUPPORT_XP=ON .. || exit 1 +i686-w64-mingw32-cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_FLAGS="-O2" -DCMAKE_CXX_FLAGS="-O2 -Wall -Wextra -Wno-unused-parameter -Wno-cast-function-type -Werror" -DBUILD_SHARED_LIBS=OFF -DSUPPORT_XP=ON .. || exit 1 make -j8 || exit 1 -i686-w64-mingw32-strip -s furnace.exe || exit 1 +#i686-w64-mingw32-strip -s furnace.exe || exit 1 cd .. diff --git a/scripts/release-win64.sh b/scripts/release-win64.sh index e8e27029..b61c5ccb 100755 --- a/scripts/release-win64.sh +++ b/scripts/release-win64.sh @@ -15,9 +15,9 @@ fi cd winbuild # TODO: potential Arch-ism? -x86_64-w64-mingw32-cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-O2" -DCMAKE_CXX_FLAGS="-O2 -Wall -Wextra -Wno-unused-parameter -Wno-cast-function-type -Werror" .. || exit 1 +x86_64-w64-mingw32-cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_FLAGS="-O2" -DCMAKE_CXX_FLAGS="-O2 -Wall -Wextra -Wno-unused-parameter -Wno-cast-function-type -Werror" .. || exit 1 make -j8 || exit 1 -x86_64-w64-mingw32-strip -s furnace.exe || exit 1 +#x86_64-w64-mingw32-strip -s furnace.exe || exit 1 cd .. diff --git a/src/gui/tutorial.cpp b/src/gui/tutorial.cpp index cd77f888..78c413ed 100644 --- a/src/gui/tutorial.cpp +++ b/src/gui/tutorial.cpp @@ -42,7 +42,46 @@ void FurnaceGUI::drawTutorial() { ImGui::Text("Welcome!"); ImGui::PopFont(); - ImGui::Text("Hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi"); + ImGui::Text("welcome to Furnace, the biggest open-source chiptune tracker!"); + + ImGui::TextWrapped("this welcome screen is temporary. 0.6pre5 will feature a tutorial."); + + ImGui::Separator(); + + ImGui::TextWrapped("here are some tips to get you started:"); + + ImGui::TextWrapped( + "- add an instrument by clicking on + in Instruments\n" + "- click on the pattern view to focus it\n" + "- channel columns have the following, in this order: note, instrument, volume and effects\n" + "- hit space bar while on the pattern to toggle Edit Mode\n" + "- click on the pattern or use arrow keys to move the cursor\n" + "- values (instrument, volume, effects and effect values) are in hexadecimal\n" + "- hit enter to play/stop the song\n" + "- extend the song hy adding more orders in the Orders window\n" + "- click on the Orders matrix to change the patterns of a channel (left click increases; right click decreases)" + ); + + ImGui::TextWrapped( + "if you need help, you may:\n" + "- read the (incomplete) manual: https://github.com/tildearrow/furnace/blob/master/papers/doc/README.md\n" + "- ask for help in Discussions (https://github.com/tildearrow/furnace/discussions) or the Furnace Discord (https://discord.gg/EfrwT2wq7z)" + ); + + ImGui::Separator(); + + ImGui::TextWrapped("if you find any issues, be sure to report them! the issue tracker is here: https://github.com/tildearrow/furnace/issues"); + + ImGui::Separator(); + + ImGui::TextWrapped( + "there are two interface modes: Basic, and Advanced.\n" + "the Basic Mode only shows essential features. use it if you are new to trackers or prefer simplicity.\n" + "Advanced Mode allows you to use all Furnace features, but it may be confusing." + ); + + ImGui::TextWrapped("pick a mode to begin your journey! (you can always switch by going to Settings > Basic Mode)"); + if (ImGui::Button("Start in Basic Mode")) { basicMode=true; tutorial.protoWelcome=true; @@ -62,4 +101,4 @@ void FurnaceGUI::drawTutorial() { )); ImGui::EndPopup(); } -} \ No newline at end of file +}