X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.cpp;h=1002b0a9c4af0c71491840ee69422bdeca3c0003;hb=483f57f7df7e65f1aacbee8dbcef320ede069a95;hp=b3289e29f489201d4d83a94f0e5f89105172cd2e;hpb=1aef858f5ecb3dc8fd816e0155635371ed3632f2;p=lugaru.git diff --git a/Source/Game.cpp b/Source/Game.cpp index b3289e2..1002b0a 100644 --- a/Source/Game.cpp +++ b/Source/Game.cpp @@ -4,6 +4,28 @@ extern int mainmenu; +int numdialogues; +int numdialogueboxes[max_dialogues]; +int dialoguetype[max_dialogues]; +int dialogueboxlocation[max_dialogues][max_dialoguelength]; +float dialogueboxcolor[max_dialogues][max_dialoguelength][3]; +int dialogueboxsound[max_dialogues][max_dialoguelength]; +char dialoguetext[max_dialogues][max_dialoguelength][128]; +char dialoguename[max_dialogues][max_dialoguelength][64]; +XYZ dialoguecamera[max_dialogues][max_dialoguelength]; +XYZ participantlocation[max_dialogues][10]; +int participantfocus[max_dialogues][max_dialoguelength]; +int participantaction[max_dialogues][max_dialoguelength]; +float participantrotation[max_dialogues][10]; +XYZ participantfacing[max_dialogues][max_dialoguelength][10]; +float dialoguecamerarotation[max_dialogues][max_dialoguelength]; +float dialoguecamerarotation2[max_dialogues][max_dialoguelength]; +int indialogue; +int whichdialogue; +int directing; +float dialoguetime; +int dialoguegonethrough[20]; + Game::Game() { terraintexture = 0; @@ -62,13 +84,8 @@ Game::Game() // SkyBox skybox; cameramode = 0; - cameratogglekeydown = 0; - chattogglekeydown = 0; olddrawmode = 0; drawmode = 0; - drawmodetogglekeydown = 0; - explodetogglekeydown = 0; - detailtogglekeydown = 0; firstload = 0; oldbutton = 0; @@ -132,10 +149,6 @@ Game::Game() // XYZ cameraloc; cameradist = 0; - envtogglekeydown = 0; - slomotogglekeydown = 0; - texturesizetogglekeydown = 0; - freezetogglekeydown = 0; drawtoggle = 0; editorenabled = 0; @@ -172,13 +185,9 @@ Game::Game() displayblink = 0; displayselected = 0; consolekeydown = 0; - consoletogglekeydown = 0; consoleblinkdelay = 0; consoleblink = 0; consoleselected = 0; -// memset(togglekey, 0, sizeof(togglekey)); -// memset(togglekeydelay, 0, sizeof(togglekeydelay)); - registernow = 0; autocam = 0; crouchkey = 0,jumpkey = 0,forwardkey = 0,chatkey = 0,backkey = 0,leftkey = 0,rightkey = 0,drawkey = 0,throwkey = 0,attackkey = 0;