X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.hpp;h=c5a3632ed6c7430a7039bd0b0b80610c33e74125;hb=8139604f6d9f7014ef516371895c72fabd55f828;hp=159cbe78fc3c5dfdbf508a0093500f92990175c1;hpb=eae73ddd7a006ee6de9ffb01f3ec5f8e5fdc6d85;p=lugaru.git diff --git a/Source/Game.hpp b/Source/Game.hpp index 159cbe7..c5a3632 100644 --- a/Source/Game.hpp +++ b/Source/Game.hpp @@ -1,6 +1,6 @@ /* 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. @@ -146,9 +146,14 @@ void playdialoguescenesound(); int findClosestPlayer(); 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); @@ -196,19 +201,12 @@ enum editortypes {typeactive, typesitting, typesittingwall, typesleeping, 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];