This commit is contained in:
DepressedTWM 2026-08-01 13:01:36 +04:00
parent 5f0d83410b
commit 4660b3afc8
3 changed files with 10 additions and 1 deletions

View file

@ -36,7 +36,7 @@
#include "sunshine.h" #include "sunshine.h"
#include "modloader.h" #include "modloader.h"
#include <ruby-3.4.0/ruby/internal/gc.h> #include <ruby/internal/gc.h>
#include <ruby.h> #include <ruby.h>
#include <ruby/debug.h> #include <ruby/debug.h>
#include <ruby/encoding.h> #include <ruby/encoding.h>

View file

@ -448,31 +448,37 @@ class Window_Settings
:type => :bool, :type => :bool,
:name => "Show debug character", :name => "Show debug character",
:parameter => :debug_character :parameter => :debug_character
:icon => [1, 0],
}, },
{ {
:type => :bool, :type => :bool,
:name => "Draw debug text in main menu", :name => "Draw debug text in main menu",
:parameter => :debug_text_scene_title :parameter => :debug_text_scene_title
:icon => [1, 0],
}, },
{ {
:type => :bool, :type => :bool,
:name => "Show debug text", :name => "Show debug text",
:parameter => :debug_text :parameter => :debug_text
:icon => [1, 0],
}, },
{ {
:type => :bool, :type => :bool,
:name => "Show picture names", :name => "Show picture names",
:parameter => :debug_picture_names :parameter => :debug_picture_names
:icon => [1, 0],
}, },
{ {
:type => :bool, :type => :bool,
:name => "Debug lightmap", :name => "Debug lightmap",
:parameter => :debug_lightmap :parameter => :debug_lightmap
:icon => [1, 0],
}, },
{ {
:type => :bool, :type => :bool,
:name => "SDL_HINT_SHUTDOWN_DBUS_ON_QUIT", :name => "SDL_HINT_SHUTDOWN_DBUS_ON_QUIT",
:parameter => :SDL_HINT_SHUTDOWN_DBUS_ON_QUIT :parameter => :SDL_HINT_SHUTDOWN_DBUS_ON_QUIT
:icon => [1, 0],
}, },
{ :type => :sep }, { :type => :sep },
{ {
@ -480,12 +486,14 @@ class Window_Settings
:name => "Debug", :name => "Debug",
:parameter => :controls_debug, :parameter => :controls_debug,
:bind => Input::DEBUGACTION :bind => Input::DEBUGACTION
:icon => [1, 0],
}, },
{ :type => :sep }, { :type => :sep },
{ {
:type => :action, :type => :action,
:name => "Clear image cache", :name => "Clear image cache",
:action => Proc.new { RPG::Cache.clear } :action => Proc.new { RPG::Cache.clear }
:icon => [1, 0],
} }
], ],
"Mods" => [ "Mods" => [

View file

@ -28,6 +28,7 @@
#include "xdg-user-dir-lookup.h" #include "xdg-user-dir-lookup.h"
#include <SDL3/SDL_stdinc.h> #include <SDL3/SDL_stdinc.h>
#include <stdio.h>
/** /**
* xdg_user_dir_lookup_with_fallback: * xdg_user_dir_lookup_with_fallback:
* @type: a string specifying the type of directory * @type: a string specifying the type of directory