mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
Small changes, small brain
Committer: ZakatTeamI2P <zakatteam@proton.me>
This commit is contained in:
parent
2f754e1cab
commit
2ac06653d9
4 changed files with 13 additions and 14 deletions
|
|
@ -11,12 +11,13 @@ option(DEBUG "Debug mode" ON)
|
|||
## Misc setup ##
|
||||
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
#i want die
|
||||
set(DEBUG_C_FLAGS "-g -O0 -fno-omit-frame-pointer -ggdb")
|
||||
set(DEBUG_CXX_FLAGS "-g -O0 -fno-omit-frame-pointer -ggdb")
|
||||
|
||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${DEBUG_C_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${DEBUG_CXX_FLAGS}")
|
||||
# Debug stuff
|
||||
# i want die
|
||||
if(DEBUG)
|
||||
set(CMAKE_C_FLAGS_DEBUG "-g3 -O0 -fno-omit-frame-pointer -ggdb")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-g3 -O0 -fno-omit-frame-pointer -ggdb")
|
||||
endif()
|
||||
## Setup main source ##
|
||||
|
||||
# main stuff
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Target of sunshine mod - improve original game.
|
|||
* pixman
|
||||
* SDL3_image
|
||||
* SDL3_ttf
|
||||
* SDL3_sound
|
||||
* [SDL3_sound](https://github.com/icculus/SDL_sound)
|
||||
* OpenAL
|
||||
* PhysFS
|
||||
* sigc++-2.0
|
||||
|
|
@ -29,3 +29,6 @@ Target of sunshine mod - improve original game.
|
|||
* cmake -S . -B build
|
||||
* cd build
|
||||
* make -jn (n - count of threads for compilation)
|
||||
|
||||
# TODOs
|
||||
TODOs moved to github Issues
|
||||
|
|
|
|||
|
|
@ -2,20 +2,13 @@
|
|||
#
|
||||
# About filesystem paths specified in this config:
|
||||
# The "gameFolder" path is resolved either relative
|
||||
# to the directory containing the Oneshot: sunshine executable
|
||||
# to the directory containing the Sunshine executable
|
||||
# (the default behavior), or relative to the current
|
||||
# working directory (when compiled with
|
||||
# -DWORKDIR_CURRENT). All other paths are resolved
|
||||
# relative to gameFolder and ignoring both RTPs and
|
||||
# encrypted archives.
|
||||
|
||||
|
||||
# Start the game in debug/developer mode
|
||||
# (default: disabled)
|
||||
#
|
||||
# debugMode=false
|
||||
|
||||
|
||||
# Continuously print average FPS to console.
|
||||
# This setting does not affect the window title
|
||||
# FPS display toggled via F2
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
require 'zlib'
|
||||
|
||||
def usage
|
||||
STDERR.puts "Tool for building xScripts.rxdata"
|
||||
STDERR.puts "usage: rpgscript.rb scripts_dir game_dir [x]"
|
||||
exit 1
|
||||
end
|
||||
|
|
@ -106,3 +107,4 @@ else
|
|||
File.open(target_path, 'wb') { |f| f.write(Marshal.dump(scripts)) }
|
||||
puts "#{target_path} written."
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue