kentdahl / magic_maze

Magic Maze - Ruby/SDL2 port - Magic Maze is a simple and low-tech monster-bashing maze game. - It was originally inspired by playing Gauntlet II on the Atari ST.
GNU General Public License v2.0
4 stars 2 forks source link

Move paths to variables for easier adjustment. #8

Closed petterreinholdtsen closed 7 months ago

petterreinholdtsen commented 7 months ago

This would make it easier to adjust the code to use system paths under /usr/. This is needed for packaging the game as a Debian package.

petterreinholdtsen commented 7 months ago

This is more a demonstration on the number of places to update for such change. I do not know ruby enough to adjust the code for the variables to be available everywhere it is needed.

kentdahl commented 7 months ago

Refactoring for --datadir command-line option (https://github.com/kentdahl/magic_maze/pull/6) consolidates the changes needed here.