X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameTick.cpp;h=c7670974c7fcd01dc1c2ec000363a5ffba1fd8a8;hb=2d54e57ffa32e0a02013d79be57b8a2f3bc8db05;hp=c994c0f196496894fbeeb95da157e904f333456d;hpb=3f27343fe706bb582974ca77dffb39ae1791d76f;p=lugaru.git diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index c994c0f..c767097 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -659,10 +659,6 @@ void Setenvironment(int which) terraintexture.load(":Data:Textures:snow.jpg", 1, 0); terraintexture2.load(":Data:Textures:rock.jpg", 1, 0); - //LoadTexture(":Data:Textures:detailgrain.png",&terraintexture3,1); - - - temptexdetail = texdetail; if (texdetail > 1) @@ -698,9 +694,6 @@ void Setenvironment(int which) terraintexture.load(":Data:Textures:sand.jpg", 1, 0); terraintexture2.load(":Data:Textures:sandslope.jpg", 1, 0); - //LoadTexture(":Data:Textures:detailgrain.png",&terraintexture3,1); - - temptexdetail = texdetail; if (texdetail > 1) @@ -735,9 +728,6 @@ void Setenvironment(int which) terraintexture.load(":Data:Textures:grassdirt.jpg", 1, 0); terraintexture2.load(":Data:Textures:mossrock.jpg", 1, 0); - //LoadTexture(":Data:Textures:detail.png",&terraintexture3,1); - - temptexdetail = texdetail; if (texdetail > 1) @@ -1135,11 +1125,9 @@ void Game::Loadlevel(const char *name) float maxdistance = 0; float tempdist; - //~ int whichclosest; for (int i = 0; i < objects.numobjects; i++) { tempdist = distsq(&objects.center, &objects.position[i]); if (tempdist > maxdistance) { - //~ whichclosest=i; maxdistance = tempdist; } } @@ -1195,7 +1183,6 @@ void Game::Loadlevel(const char *name) } } funpackf(tfile, "Bi", &Person::players[i - howmanyremoved]->numwaypoints); - //Person::players[i-howmanyremoved]->numwaypoints=10; for (int j = 0; j < Person::players[i - howmanyremoved]->numwaypoints; j++) { funpackf(tfile, "Bf", &Person::players[i - howmanyremoved]->waypoints[j].x); funpackf(tfile, "Bf", &Person::players[i - howmanyremoved]->waypoints[j].y); @@ -1600,7 +1587,6 @@ void doTutorial() break; case 19: tutorialstage = 20; - //tutorialmaxtime=500; break; case 20: tutorialmaxtime = 500;