Hurrican
Hurrican copied to clipboard
Added start level argument
This adds the --startlevel
argument.
When this gets passed to the game, it skips loading the cractro, main menu and the intro to directly start into the level.
This is just a little handy feature for debugging purposes and for using
external tools (like being able to directly start a level from a map editor).
Can't get it to work, what is the correct usage? Also the help text is wrong.
Sorry, it was a stressful week when I wrote this. There were multiple mistakes in this terrible PR which I think are fixed now. The correct usage for the flag is to pass a path to a map file. For example: (executed in Hurrican/Hurrican/build)
./hurrican -RL ../data/levels/mpde.map
./hurrican --startlevel ../data/levels/temple.map
Thanks, will have a look, as time permits.
Ok, now it works, but it's similar to the --level
option, except that it takes you directly to the game. Could this be changed into something like a skipmenu
option to be used in combination with the former?