mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-22 23:06:18 +00:00
iiiiiiiiii fuuuuuuuuuuuuuuuuuuuuckiiiiiiiiiiiiiiiiin hateeeeeeeeeeeeeeeeee rubyyyyyyyyyyyyy
This commit is contained in:
parent
54171f4698
commit
8e2f21e1d4
7 changed files with 2237 additions and 143 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 4.0)
|
cmake_minimum_required(VERSION 3.28.3)
|
||||||
project(oneshot)
|
project(oneshot)
|
||||||
## Setup options ##
|
## Setup options ##
|
||||||
|
|
||||||
|
|
@ -311,7 +311,7 @@ find_package(Boost REQUIRED COMPONENTS program_options)
|
||||||
find_package(PhysFS CONFIG)
|
find_package(PhysFS CONFIG)
|
||||||
find_path(PIXMAN_INCLUDE_DIR NAMES pixman.h PATH_SUFFIXES pixman-1)
|
find_path(PIXMAN_INCLUDE_DIR NAMES pixman.h PATH_SUFFIXES pixman-1)
|
||||||
find_library(PIXMAN_LIBRARY NAMES pixman-1 pixman-1_static pixman-1_staticd)
|
find_library(PIXMAN_LIBRARY NAMES pixman-1 pixman-1_static pixman-1_staticd)
|
||||||
find_package(Ruby 3.3 REQUIRED)
|
find_package(Ruby 3.0 REQUIRED)
|
||||||
pkg_check_modules(SIGC2 REQUIRED sigc++-2.0)
|
pkg_check_modules(SIGC2 REQUIRED sigc++-2.0)
|
||||||
pkg_check_modules(VORBISFILE REQUIRED vorbisfile)
|
pkg_check_modules(VORBISFILE REQUIRED vorbisfile)
|
||||||
find_package_handle_standard_args(pixman-1 DEFAULT_MSG PIXMAN_LIBRARY PIXMAN_INCLUDE_DIR)
|
find_package_handle_standard_args(pixman-1 DEFAULT_MSG PIXMAN_LIBRARY PIXMAN_INCLUDE_DIR)
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
#include "ruby/encoding.h"
|
#include "ruby/encoding.h"
|
||||||
#include "ruby/intern.h"
|
#include "ruby/intern.h"
|
||||||
|
#include <ruby.h>
|
||||||
|
|
||||||
static void fileIntFreeInstance(void *inst){
|
static void fileIntFreeInstance(void *inst){
|
||||||
SDL_IOStream *ops = static_cast<SDL_IOStream*>(inst);
|
SDL_IOStream *ops = static_cast<SDL_IOStream*>(inst);
|
||||||
|
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
||||||
/*
|
|
||||||
** binding-null.cpp
|
|
||||||
**
|
|
||||||
** This file is part of mkxp.
|
|
||||||
**
|
|
||||||
** Copyright (C) 2013 Jonas Kulla <Nyocurio@gmail.com>
|
|
||||||
**
|
|
||||||
** mkxp is free software: you can redistribute it and/or modify
|
|
||||||
** it under the terms of the GNU General Public License as published by
|
|
||||||
** the Free Software Foundation, either version 2 of the License, or
|
|
||||||
** (at your option) any later version.
|
|
||||||
**
|
|
||||||
** mkxp is distributed in the hope that it will be useful,
|
|
||||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
** GNU General Public License for more details.
|
|
||||||
**
|
|
||||||
** You should have received a copy of the GNU General Public License
|
|
||||||
** along with mkxp. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "binding.h"
|
|
||||||
#include "sharedstate.h"
|
|
||||||
#include "eventthread.h"
|
|
||||||
#include "debugwriter.h"
|
|
||||||
|
|
||||||
static void nullBindingExecute(){
|
|
||||||
Debug() << "The null binding doesn't do anything, so we're done!";
|
|
||||||
shState->rtData().rqTermAck.set();
|
|
||||||
}
|
|
||||||
|
|
||||||
static void nullBindingTerminate() {}
|
|
||||||
static void nullBindingReset() {}
|
|
||||||
|
|
||||||
ScriptBinding scriptBindingImpl ={
|
|
||||||
nullBindingExecute,
|
|
||||||
nullBindingTerminate,
|
|
||||||
nullBindingReset
|
|
||||||
};
|
|
||||||
|
|
||||||
ScriptBinding *scriptBinding = &scriptBindingImpl;
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
#
|
#
|
||||||
# About filesystem paths specified in this config:
|
# About filesystem paths specified in this config:
|
||||||
# The "gameFolder" path is resolved either relative
|
# The "gameFolder" path is resolved either relative
|
||||||
# to the directory containing the Oneshot executable
|
# to the directory containing the Oneshot: sunshine executable
|
||||||
# (the default behavior), or relative to the current
|
# (the default behavior), or relative to the current
|
||||||
# working directory (when compiled with
|
# working directory (when compiled with
|
||||||
# -DWORKDIR_CURRENT). All other paths are resolved
|
# -DWORKDIR_CURRENT). All other paths are resolved
|
||||||
|
|
@ -50,13 +50,6 @@
|
||||||
#
|
#
|
||||||
# vsync=true
|
# vsync=true
|
||||||
|
|
||||||
|
|
||||||
# Override the game window title
|
|
||||||
# (default: none)
|
|
||||||
#
|
|
||||||
# windowTitle=Custom Title
|
|
||||||
|
|
||||||
|
|
||||||
# Enforce a static frame rate
|
# Enforce a static frame rate
|
||||||
# (0 = disabled)
|
# (0 = disabled)
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,9 @@ class Scene_Title
|
||||||
$game_party.gain_item(54, 1)
|
$game_party.gain_item(54, 1)
|
||||||
# plight skip
|
# plight skip
|
||||||
$game_party.gain_item(82, 1)
|
$game_party.gain_item(82, 1)
|
||||||
|
#George reroler
|
||||||
|
$game_party.gain_item(81, 1)
|
||||||
|
#George reroler
|
||||||
end
|
end
|
||||||
|
|
||||||
@sprite.zoom_x = 2.0
|
@sprite.zoom_x = 2.0
|
||||||
|
|
|
||||||
2
update-gamecontrollerdb.sh
Executable file
2
update-gamecontrollerdb.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
curl -s https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/refs/heads/master/gamecontrollerdb.txt > assets/gamecontrollerdb.txt
|
||||||
Loading…
Reference in a new issue