Small changes, small brain
Committer: ZakatTeamI2P <zakatteam@proton.me>
This commit is contained in:
parent
2f754e1cab
commit
2ac06653d9
|
|
@ -11,12 +11,13 @@ option(DEBUG "Debug mode" ON)
|
||||||
## Misc setup ##
|
## Misc setup ##
|
||||||
|
|
||||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
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}")
|
# Debug stuff
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${DEBUG_CXX_FLAGS}")
|
# 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 ##
|
## Setup main source ##
|
||||||
|
|
||||||
# main stuff
|
# main stuff
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ Target of sunshine mod - improve original game.
|
||||||
* pixman
|
* pixman
|
||||||
* SDL3_image
|
* SDL3_image
|
||||||
* SDL3_ttf
|
* SDL3_ttf
|
||||||
* SDL3_sound
|
* [SDL3_sound](https://github.com/icculus/SDL_sound)
|
||||||
* OpenAL
|
* OpenAL
|
||||||
* PhysFS
|
* PhysFS
|
||||||
* sigc++-2.0
|
* sigc++-2.0
|
||||||
|
|
@ -29,3 +29,6 @@ Target of sunshine mod - improve original game.
|
||||||
* cmake -S . -B build
|
* cmake -S . -B build
|
||||||
* cd build
|
* cd build
|
||||||
* make -jn (n - count of threads for compilation)
|
* 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:
|
# 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: sunshine executable
|
# to the directory containing the 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
|
||||||
# relative to gameFolder and ignoring both RTPs and
|
# relative to gameFolder and ignoring both RTPs and
|
||||||
# encrypted archives.
|
# encrypted archives.
|
||||||
|
|
||||||
|
|
||||||
# Start the game in debug/developer mode
|
|
||||||
# (default: disabled)
|
|
||||||
#
|
|
||||||
# debugMode=false
|
|
||||||
|
|
||||||
|
|
||||||
# Continuously print average FPS to console.
|
# Continuously print average FPS to console.
|
||||||
# This setting does not affect the window title
|
# This setting does not affect the window title
|
||||||
# FPS display toggled via F2
|
# FPS display toggled via F2
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
require 'zlib'
|
require 'zlib'
|
||||||
|
|
||||||
def usage
|
def usage
|
||||||
|
STDERR.puts "Tool for building xScripts.rxdata"
|
||||||
STDERR.puts "usage: rpgscript.rb scripts_dir game_dir [x]"
|
STDERR.puts "usage: rpgscript.rb scripts_dir game_dir [x]"
|
||||||
exit 1
|
exit 1
|
||||||
end
|
end
|
||||||
|
|
@ -106,3 +107,4 @@ else
|
||||||
File.open(target_path, 'wb') { |f| f.write(Marshal.dump(scripts)) }
|
File.open(target_path, 'wb') { |f| f.write(Marshal.dump(scripts)) }
|
||||||
puts "#{target_path} written."
|
puts "#{target_path} written."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue