[Gcblue-commits] gcb_wx/src/sim Game.cpp,1.125,1.126 tcLauncher.cpp,1.15,1.16
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-03-31 03:51:39
|
Update of /cvsroot/gcblue/gcb_wx/src/sim In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27747/src/sim Modified Files: Game.cpp tcLauncher.cpp Log Message: Added map overlay, fixed smoke trail roll bug, improved FOV calc for autopoint launchers, database tweaks Index: tcLauncher.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/sim/tcLauncher.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** tcLauncher.cpp 29 Mar 2005 00:12:28 -0000 1.15 --- tcLauncher.cpp 31 Mar 2005 03:51:13 -0000 1.16 *************** *** 535,539 **** if ((meLaunchMode == SEEKER_TRACK) & (!IsAutoPoint())) { ! return min(0.524f, fcFov); // guess 30 deg for seeker FOV, TODO: calculate true number } else --- 535,544 ---- if ((meLaunchMode == SEEKER_TRACK) & (!IsAutoPoint())) { ! if (tcMissileDBObject* missile = dynamic_cast<tcMissileDBObject*>(mpChildDBObj)) ! { ! return missile->GetSeekerFOV(); ! } ! ! return min(0.524f, fcFov); // guess 30 deg for FOV, TODO: calculate true number } else Index: Game.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/sim/Game.cpp,v retrieving revision 1.125 retrieving revision 1.126 diff -C2 -d -r1.125 -r1.126 *** Game.cpp 29 Mar 2005 00:12:27 -0000 1.125 --- Game.cpp 31 Mar 2005 03:51:13 -0000 1.126 *************** *** 1058,1061 **** --- 1058,1062 ---- pythonInterface->AttachSensorMap(simState->mcSensorMap.GetMap(mcUserInfo.GetOwnAlliance())); pythonInterface->AttachCommandQueue(commandQueue); + pythonInterface->AttachMapOverlay(tacticalMap->GetMapOverlay()); mcGameView.AttachSimState(simState); |