mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-22 23:06:18 +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 "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>
|
||||||
|
|
|
||||||
|
|
@ -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" => [
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue