forked from speed-dreams/speed-dreams-code
- Update ssggraph
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6657 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 66f89dd18266e6112757ff9402f64d058fff2c3c Former-commit-id: 5dcdbf8f93f1dcb584263d8262aeec980a1f6e3e
This commit is contained in:
parent
7027cf4a0f
commit
649687741b
3 changed files with 10 additions and 3 deletions
|
@ -483,6 +483,8 @@ grLoadBackground()
|
|||
ssgNormalArray *bg_nrm;
|
||||
ssgSimpleState *bg_st;
|
||||
|
||||
GfLogDebug("Loading background ...\n");
|
||||
|
||||
snprintf(buf, sizeof(buf), "tracks/%s/%s;data/img;data/textures;.",
|
||||
grTrack->category, grTrack->internalname);
|
||||
grFilePath = buf;
|
||||
|
|
|
@ -144,7 +144,7 @@ grLoadScene(tTrack *track)
|
|||
// Load graphics options.
|
||||
grLoadGraphicsOptions();
|
||||
|
||||
//GfLogDebug("grLoadScene(track=%p)\n", track);
|
||||
GfLogDebug("grLoadScene(track=%p)\n", track);
|
||||
grTrack = track;
|
||||
|
||||
// Build scene.
|
||||
|
@ -241,6 +241,8 @@ grLoadScene(tTrack *track)
|
|||
desc = grssgLoadAC3D(acname, NULL);
|
||||
LandAnchor->addKid(desc);
|
||||
|
||||
GfLogDebug("End Loading scene ...\n");
|
||||
|
||||
return 0;
|
||||
}//grLoadScene
|
||||
|
||||
|
@ -271,6 +273,8 @@ void grCustomizePits(void)
|
|||
ThePits = new ssgBranch();
|
||||
PitsAnchor->addKid(ThePits);
|
||||
|
||||
GfLogDebug("Customize pits ... \n");
|
||||
|
||||
tTrackPitInfo *pits = &(grTrack->pits);
|
||||
|
||||
if (pits->pitindicator > 0)
|
||||
|
|
|
@ -761,7 +761,7 @@ ReRaceRealStart(void)
|
|||
ReInfo->_displayMode = RM_DISP_MODE_NORMAL;
|
||||
}
|
||||
|
||||
//GfLogDebug("ReRaceRealStart: Loaded dispMode=0x%x\n", ReInfo->_displayMode);
|
||||
GfLogDebug("ReRaceRealStart: Loaded dispMode=0x%x\n", ReInfo->_displayMode);
|
||||
|
||||
// Check if there is a human in the driver list
|
||||
foundHuman = ReHumanInGroup() ? 2 : 0;
|
||||
|
@ -835,8 +835,9 @@ ReRaceRealStart(void)
|
|||
ReUI().onRaceDriversLoaded();
|
||||
|
||||
// Initialize the physics engine
|
||||
GfLogDebug("Initialize Physic Engine ...\n");
|
||||
RePhysicsEngine().updateSituation(s, RCM_MAX_DT_SIMU);
|
||||
|
||||
GfLogDebug("End Initialize Physic engine ...\n");
|
||||
carInfo = ReInfo->_reCarInfo;
|
||||
for (i = 0; i < s->_ncars; i++) {
|
||||
carInfo[i].prevTrkPos = s->cars[i]->_trkPos;
|
||||
|
|
Loading…
Reference in a new issue