X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.hpp;h=36ad6c8c4de0080ffc2bcd20b4b97cb8e87d4e60;hb=9ab405b6543dfd6ea0eef8e5e80d76ffa9d4dd04;hp=17e188ab019bf2182cf06983746811cdc8f6b9e2;hpb=8e4c49c2586a86cd5a85218914e9afeccd656dc2;p=lugaru.git diff --git a/Source/Game.hpp b/Source/Game.hpp index 17e188a..36ad6c8 100644 --- a/Source/Game.hpp +++ b/Source/Game.hpp @@ -144,8 +144,8 @@ void LoadingScreen(); int DrawGLScene(StereoSide side); void playdialoguescenesound(); int findClosestPlayer(); -void Loadlevel(int which); -void Loadlevel(const std::string& name, bool tutorial = false); +bool LoadLevel(int which); +bool LoadLevel(const std::string& name, bool tutorial = false); void Tick(); void TickOnce(); void TickOnceAfter(); @@ -206,9 +206,9 @@ SDL_bool sdlEventProc(const SDL_Event &e); -enum optionIndex { UNKNOWN, HELP, FULLSCREEN, NOMOUSEGRAB, SOUND, OPENALINFO, SHOWRESOLUTIONS, DEVTOOLS }; +enum optionIndex { UNKNOWN, VERSION, HELP, FULLSCREEN, NOMOUSEGRAB, SOUND, OPENALINFO, SHOWRESOLUTIONS, DEVTOOLS }; /* Number of options + 1 */ -const int commandLineOptionsNumber = 9; +const int commandLineOptionsNumber = 10; extern const option::Descriptor usage[13];