X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.h;h=63bb0a6468bfcbf60863b6055005c8ab0a90edd4;hb=0b7253f3d99e4382008aff8b8e221e88ff40d3e9;hp=867754de0015c1b3e9940c501fcb7741f8a05e65;hpb=75fca769413e46462a498e27b7eb1c931af13e55;p=lugaru.git diff --git a/Source/Game.h b/Source/Game.h index 867754d..63bb0a6 100644 --- a/Source/Game.h +++ b/Source/Game.h @@ -46,7 +46,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "Models.h" #include "Lights.h" #include "Person.h" -#include "Constants.h" #include "Sprite.h" //#include #include "Text.h" @@ -226,7 +225,6 @@ class Game int consoleselected; //int togglekey[140]; //float togglekeydelay[140]; - bool registernow; bool autocam; unsigned short crouchkey,jumpkey,forwardkey,chatkey,backkey,leftkey,rightkey,drawkey,throwkey,attackkey; @@ -248,7 +246,7 @@ class Game void TickOnceAfter(); void SetUpLighting(); void Loadlevel(int which); - void Loadlevel(char *name); + void Loadlevel(const char *name); void Setenvironment(int which); GLvoid ReSizeGLScene(float fov, float near); int findPathDist(int start,int end); @@ -345,4 +343,21 @@ extern int directing; extern float dialoguetime; extern int dialoguegonethrough[20]; +enum maptypes { + mapkilleveryone, mapgosomewhere, + mapkillsomeone, mapkillmost // These two are unused +}; + +enum pathtypes {wpkeepwalking, wppause}; + +static const char *pathtypenames[] = {"keepwalking", "pause"}; + +enum editortypes {typeactive, typesitting, typesittingwall, typesleeping, + typedead1, typedead2, typedead3, typedead4}; + +static const char *editortypenames[] = { + "active", "sitting", "sitting wall", "sleeping", + "dead1", "dead2", "dead3", "dead4" +}; + #endif