New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Debug option to Scene Menu (TestPlay only) #966

Merged
merged 3 commits into from Aug 4, 2016

Conversation

Projects
None yet
2 participants
@Ghabry
Member

Ghabry commented Aug 1, 2016

Related #948

All applies to TestPlay mode only:

This makes accessing our debug scene easier, when in TestPlay mode a "Debug" item will be shown in the normal menu.

The debug sceen also got 2 new options (besides var and switch editing): Save and Load, they do what the name says (and ignore "save forbidden" setting).

Some games forbid menu calling but don't worry, this can be overriden with "Shift+5x B" (when SHIFT is not pressed anymore the counter is reset).

Add Debug menu item to Scene_Menu and add a menu call overwrite to Sc…
…ene_Map (Shift + 5x Cancel). Both TestPlay only.
Show outdated Hide outdated src/scene_debug.cpp
var_window->SetVisible(current_var_type != TypeGeneral);
printf("%d\n", current_var_type);

This comment has been minimized.

@carstene1ns

carstene1ns Aug 1, 2016

Member

debug leftover.

@carstene1ns

carstene1ns Aug 1, 2016

Member

debug leftover.

@Ghabry

This comment has been minimized.

Show comment
Hide comment
@Ghabry

Ghabry Aug 2, 2016

Member

Yeah that was an oversight :/

For testing I recommend Ib because it blocks the main menu: https://easyrpg.org/play/pr966/?game=ib&test-play

Member

Ghabry commented Aug 2, 2016

Yeah that was an oversight :/

For testing I recommend Ib because it blocks the main menu: https://easyrpg.org/play/pr966/?game=ib&test-play

@Ghabry

This comment has been minimized.

Show comment
Hide comment
@Ghabry

Ghabry Aug 2, 2016

Member

Sorry for the noise. Somehow some local files got added when I ammended -.-

Member

Ghabry commented Aug 2, 2016

Sorry for the noise. Somehow some local files got added when I ammended -.-

@carstene1ns carstene1ns merged commit 3682086 into EasyRPG:master Aug 4, 2016

6 checks passed

Android (armeabi-v7a) Build finished.
Details
GNU/Linux Build finished.
Details
OSX Build finished.
Details
Windows (x64) Build finished.
Details
Windows (x86) Build finished.
Details
web Build finished.
Details

@Ghabry Ghabry deleted the Ghabry:debug branch Sep 13, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment