- fix bug with alama shadowmapping on ssggraph (Ivan's patch)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6783 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: c263a9b9d86477dfe6ab97302fe45f0950455faf Former-commit-id: 901f92d58fc24cb6e073c2025c86b5b024359852
This commit is contained in:
parent
bf61d9cbfb
commit
07939d5fc2
3 changed files with 406 additions and 394 deletions
|
@ -622,14 +622,14 @@ SDHUD::SDHUD()
|
|||
this->remainingFuelForLaps = 0.0f;
|
||||
|
||||
//
|
||||
this->laptimeFreezeCountdown = 3.0f;//keep display for x seconds
|
||||
this->laptimeFreezeCountdown = 3.0f; //keep display for x seconds
|
||||
this->laptimeFreezeTime = 0.0f;
|
||||
this->timeDiffFreezeCountdown = 8.0f;//keep display for x seconds
|
||||
this->timeDiffFreezeCountdown = 8.0f; //keep display for x seconds
|
||||
this->timeDiffFreezeTime = 0.0f;
|
||||
this->oldSector = 0;
|
||||
this->oldBestLapTime;
|
||||
this->oldBestSplitTime;
|
||||
this->oldLapTime;
|
||||
this->oldBestLapTime = 0.0f;
|
||||
this->oldBestSplitTime = 0.0f;
|
||||
this->oldLapTime = 0.0f;
|
||||
this->numberOfSectors = 0;
|
||||
this->oldLapNumber = 0;
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -41,6 +41,16 @@
|
|||
// (does not apply to the no-building pit, with the low wall, which already supports PNG).
|
||||
//#define PNG_LOGO_SUPPORT 1
|
||||
|
||||
/* from grloadac.cpp (beuark!) */
|
||||
extern double shad_xmax;
|
||||
extern double shad_ymax;
|
||||
extern double shad_xmin;
|
||||
extern double shad_ymin;
|
||||
extern double t_xmax;
|
||||
extern double t_ymax;
|
||||
extern double t_xmin;
|
||||
extern double t_ymin;
|
||||
|
||||
// Some public global variables.
|
||||
int grWrldX;
|
||||
int grWrldY;
|
||||
|
@ -239,6 +249,12 @@ grLoadScene(tTrack *track)
|
|||
ssgModelPath(buf);
|
||||
|
||||
desc = grssgLoadAC3D(acname, NULL);
|
||||
|
||||
shad_xmax=t_xmax;
|
||||
shad_ymax=t_ymax;
|
||||
shad_xmin=t_xmin;
|
||||
shad_ymin=t_ymin;
|
||||
|
||||
LandAnchor->addKid(desc);
|
||||
|
||||
GfLogDebug("End Loading scene ...\n");
|
||||
|
|
Loading…
Reference in a new issue