X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGlobals.cpp;h=b3f36133ab10ff96829fba4a10604cf5c8e86d11;hb=25e3d5e35a7fd7efdffc420efe3c41a91cefe43f;hp=9331aece415b44fc6475b76998321f2de6ba66ca;hpb=bb61e3fc1a36858b603d3a3fc2058f7c63f081c5;p=lugaru.git diff --git a/Source/Globals.cpp b/Source/Globals.cpp index 9331aec..b3f3613 100644 --- a/Source/Globals.cpp +++ b/Source/Globals.cpp @@ -10,7 +10,7 @@ of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -54,11 +54,11 @@ float windvar = 0; float precipdelay = 0; float gamespeed = 0; float oldgamespeed = 0; -float tintr = 0,tintg = 0,tintb = 0; +float tintr = 0, tintg = 0, tintb = 0; int difficulty = 0; float multiplier = 0; float realmultiplier = 0; -float screenwidth = 0,screenheight = 0; +float screenwidth = 0, screenheight = 0; float viewdistance = 0; XYZ viewer; XYZ viewerfacing; @@ -85,8 +85,8 @@ float playerdist = 0; Objects objects; int slomo = 0; float slomodelay = 0; -GLubyte bloodText[512*512*3] = {0}; -GLubyte wolfbloodText[512*512*3] = {0}; +GLubyte bloodText[512 * 512 * 3] = {0}; +GLubyte wolfbloodText[512 * 512 * 3] = {0}; float colors[3] = {0}; int bloodtoggle = 0; bool osx = false; @@ -103,7 +103,7 @@ bool ambientsound = false; bool mousejump = false; bool freeze = false; bool winfreeze = false; -float flashamount = 0,flashr = 0,flashg = 0,flashb = 0; +float flashamount = 0, flashr = 0, flashg = 0, flashb = 0; int flashdelay = 0; bool vblsync = false; float motionbluramount = 0; @@ -120,7 +120,6 @@ XYZ windvector; short vRefNum = 0; long dirID = 0; int mainmenu = 0; -int oldmainmenu = 0; int whichjointstartarray[26] = {0}; int whichjointendarray[26] = {0}; int kBitsPerPixel = 0; @@ -130,7 +129,7 @@ XYZ hotspot[40]; int hotspottype[40] = {0}; float hotspotsize[40] = {0}; char hotspottext[40][256] = {0}; -int currenthotspot = 0; +int currenthotspot = 0; int killhotspot = 0; float menupulse = 0; @@ -184,8 +183,6 @@ bool vertexweird[6] = {0}; TGAImageRec texture; bool debugmode = false; -bool won = false; - bool campaign = false;