mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
fixes
This commit is contained in:
parent
5f0d83410b
commit
4660b3afc8
3 changed files with 10 additions and 1 deletions
|
|
@ -36,7 +36,7 @@
|
|||
#include "sunshine.h"
|
||||
#include "modloader.h"
|
||||
|
||||
#include <ruby-3.4.0/ruby/internal/gc.h>
|
||||
#include <ruby/internal/gc.h>
|
||||
#include <ruby.h>
|
||||
#include <ruby/debug.h>
|
||||
#include <ruby/encoding.h>
|
||||
|
|
|
|||
|
|
@ -448,31 +448,37 @@ class Window_Settings
|
|||
:type => :bool,
|
||||
:name => "Show debug character",
|
||||
:parameter => :debug_character
|
||||
:icon => [1, 0],
|
||||
},
|
||||
{
|
||||
:type => :bool,
|
||||
:name => "Draw debug text in main menu",
|
||||
:parameter => :debug_text_scene_title
|
||||
:icon => [1, 0],
|
||||
},
|
||||
{
|
||||
:type => :bool,
|
||||
:name => "Show debug text",
|
||||
:parameter => :debug_text
|
||||
:icon => [1, 0],
|
||||
},
|
||||
{
|
||||
:type => :bool,
|
||||
:name => "Show picture names",
|
||||
:parameter => :debug_picture_names
|
||||
:icon => [1, 0],
|
||||
},
|
||||
{
|
||||
:type => :bool,
|
||||
:name => "Debug lightmap",
|
||||
:parameter => :debug_lightmap
|
||||
:icon => [1, 0],
|
||||
},
|
||||
{
|
||||
:type => :bool,
|
||||
:name => "SDL_HINT_SHUTDOWN_DBUS_ON_QUIT",
|
||||
:parameter => :SDL_HINT_SHUTDOWN_DBUS_ON_QUIT
|
||||
:icon => [1, 0],
|
||||
},
|
||||
{ :type => :sep },
|
||||
{
|
||||
|
|
@ -480,12 +486,14 @@ class Window_Settings
|
|||
:name => "Debug",
|
||||
:parameter => :controls_debug,
|
||||
:bind => Input::DEBUGACTION
|
||||
:icon => [1, 0],
|
||||
},
|
||||
{ :type => :sep },
|
||||
{
|
||||
:type => :action,
|
||||
:name => "Clear image cache",
|
||||
:action => Proc.new { RPG::Cache.clear }
|
||||
:icon => [1, 0],
|
||||
}
|
||||
],
|
||||
"Mods" => [
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
#include "xdg-user-dir-lookup.h"
|
||||
|
||||
#include <SDL3/SDL_stdinc.h>
|
||||
#include <stdio.h>
|
||||
/**
|
||||
* xdg_user_dir_lookup_with_fallback:
|
||||
* @type: a string specifying the type of directory
|
||||
|
|
|
|||
Loading…
Reference in a new issue