diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ac3cba..b0e074a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/README.md b/README.md index dbd4f64..b95d981 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/oneshot.conf b/oneshot.conf index 38238d9..67e4adf 100644 --- a/oneshot.conf +++ b/oneshot.conf @@ -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 diff --git a/rpgscript.rb b/rpgscript.rb index cb3ab46..6e2ec76 100755 --- a/rpgscript.rb +++ b/rpgscript.rb @@ -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 +