/*
Copyright (C) 2003, 2010 - Wolfire Games
-Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
+Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file)
This file is part of Lugaru.
extern float yaw, pitch;
extern SkyBox *skybox;
extern bool cameramode;
-extern bool firstload;
+extern bool firstLoadDone;
extern float leveltime;
extern float wonleveltime;
extern float mapradius;
extern Text *text;
+extern Text *textmono;
extern float fps;
extern bool editorenabled;
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 ProcessInput();
+void ProcessDevInput();
+
void Tick();
void TickOnce();
void TickOnceAfter();
+
void SetUpLighting();
GLvoid ReSizeGLScene(float fov, float near);
extern const char *editortypenames[8];
-extern const char *rabbitskin[10];
-
-extern const char *wolfskin[3];
-
-extern const char **creatureskin[2];
-
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];