anonl / nvlist
Showing 1 of 69 files from the diff.
Other files ignored by Codecov
docs/_lua/vn.md has changed.
CHANGELOG.md has changed.
docs/build.gradle has changed.

@@ -17,9 +17,6 @@
Loading
17 17
import nl.weeaboo.vn.input.INativeInput;
18 18
import nl.weeaboo.vn.input.KeyCode;
19 19
import nl.weeaboo.vn.save.ISaveModule;
20 -
import nl.weeaboo.vn.sound.ISound;
21 -
import nl.weeaboo.vn.sound.ISoundController;
22 -
import nl.weeaboo.vn.sound.ISoundModule;
23 20
24 21
/**
25 22
 * Activates special functionality only available in debug mode (see {@link NovelPrefs#DEBUG}).
@@ -47,11 +44,12 @@
Loading
47 44
            return; // Debug mode not enabled
48 45
        }
49 46
50 -
        final boolean alt = input.isPressed(KeyCode.ALT_LEFT, true);
47 +
        final boolean ctrl = input.isPressed(KeyCode.CONTROL_LEFT, true) ||
48 +
                input.isPressed(KeyCode.CONTROL_RIGHT, true);
51 49
52 -
        // Reset
50 +
        // Restart
53 51
        ISystemModule systemModule = env.getSystemModule();
54 -
        if (input.consumePress(KeyCode.F5)) {
52 +
        if (ctrl && input.consumePress(KeyCode.F5)) {
55 53
            try {
56 54
                systemModule.restart();
57 55
            } catch (InitException e) {
@@ -82,17 +80,6 @@
Loading
82 80
            }
83 81
        }
84 82
85 -
        // Music
86 -
        ISoundModule soundModule = env.getSoundModule();
87 -
        if (alt && input.consumePress(KeyCode.PERIOD)) {
88 -
            ISoundController soundController = soundModule.getSoundController();
89 -
90 -
            ISound music = soundController.get(9000);
91 -
            if (music != null) {
92 -
                music.stop(60);
93 -
            }
94 -
        }
95 -
96 83
        // Lua console
97 84
        luaConsole.setContext(env.getContextManager());
98 85
        if (input.consumePress(KeyCode.F1)) {
Files Complexity Coverage
api/src/main/java/nl/weeaboo/vn 92.65% 97.17%
buildtools/src/main/java/nl/weeaboo/vn/buildtools 63.39% 70.06%
core/src/main/java/nl/weeaboo/vn 81.24% 85.13%
Project Totals (366 files) 81.11% 85.02%

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading