update osggraph

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4999 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 14c925ddc5399505c865efdd5a5a5b640c60f7a3
Former-commit-id: 460fdef89730c6a444eecc42ce2458b8625d3ef6
This commit is contained in:
torcs-ng 2012-10-14 17:47:44 +00:00
parent 3378f85d91
commit 972e827c9e

View file

@ -85,19 +85,19 @@ OsgGraph::~OsgGraph()
bool OsgGraph::loadTrack(tTrack* pTrack)
{
//GfLogDebug("SsgGraph::loadTrack\n");
//return ::initTrack(pTrack) == 0;
return true;//return ::initTrack(pTrack) == 0;
}
bool OsgGraph::loadCars(tSituation* pSituation)
{
//GfLogDebug("SsgGraph::loadCars\n");
//return ::initCars(pSituation) == 0;
return true; //return ::initCars(pSituation) == 0;
}
bool OsgGraph::setupView(int x, int y, int width, int height, void* pMenuScreen)
{
//GfLogDebug("SsgGraph::setupView\n");
//return ::initView(x, y, width, height, GR_VIEW_STD, pMenuScreen) == 0;
return true; //return ::initView(x, y, width, height, GR_VIEW_STD, pMenuScreen) == 0;
}
void OsgGraph::redrawView(tSituation* pSituation)
@ -137,7 +137,7 @@ SoundCam * OsgGraph::getCurCam()
cam->Centerv = gcam->getCenterv();
cam->Upv = gcam->getUpv();
cam->Speedv = gcam->getSpeedv();
cam->Posv = gcam->getPosv();
cam->Posv = gcam->getPosv();*/
return cam;*/
//return cam;
}