termux-packages/packages/moria/config.cpp.patch

34 lines
2.1 KiB
Diff
Raw Normal View History

2020-06-06 14:31:47 +02:00
--- ../config.cpp.orig 2020-06-06 14:29:46.809335434 +0200
+++ ./src/config.cpp 2020-06-06 09:57:26.580039189 +0200
@@ -13,18 +13,18 @@
2019-04-28 11:50:16 +02:00
// Data files used by Umoria
// NOTE: use relative paths to the executable binary.
namespace files {
- const std::string splash_screen = "data/splash.txt";
- const std::string welcome_screen = "data/welcome.txt";
- const std::string license = "LICENSE";
- const std::string versions_history = "data/versions.txt";
- const std::string help = "data/help.txt";
- const std::string help_wizard = "data/help_wizard.txt";
- const std::string help_roguelike = "data/rl_help.txt";
- const std::string help_roguelike_wizard = "data/rl_help_wizard.txt";
- const std::string death_tomb = "data/death_tomb.txt";
- const std::string death_royal = "data/death_royal.txt";
- const std::string scores = "scores.dat";
- std::string save_game = "game.sav";
+ const std::string splash_screen = "@TERMUX_PREFIX@/lib/games/moria/splash.txt";
+ const std::string welcome_screen = "@TERMUX_PREFIX@/lib/games/moria/welcome.txt";
+ const std::string license = "@TERMUX_PREFIX@/share/doc/moria/LICENSE";
+ const std::string versions_history = "@TERMUX_PREFIX@/lib/games/moria/versions.txt";
+ const std::string help = "@TERMUX_PREFIX@/lib/games/moria/help.txt";
+ const std::string help_wizard = "@TERMUX_PREFIX@/lib/games/moria/help_wizard.txt";
+ const std::string help_roguelike = "@TERMUX_PREFIX@/lib/games/moria/rl_help.txt";
+ const std::string help_roguelike_wizard = "@TERMUX_PREFIX@/lib/games/moria/rl_help_wizard.txt";
+ const std::string death_tomb = "@TERMUX_PREFIX@/lib/games/moria/death_tomb.txt";
+ const std::string death_royal = "@TERMUX_PREFIX@/lib/games/moria/death_royal.txt";
+ const std::string scores = "@TERMUX_PREFIX@/lib/games/moria/scores.dat";
2020-06-06 14:31:47 +02:00
+ std::string save_game = "@TERMUX_PREFIX@/lib/games/moria/game.sav";
} // namespace files
2019-04-28 11:50:16 +02:00
// Game options as set on startup and with `=` set options command -CJS-