[Gcblue-commits] gcb_wx/include/sim tcFlightPort.h, 1.15, 1.16 tcPlatformObject.h, 1.37, 1.38
Status: Alpha
Brought to you by:
ddcforge
From: Dewitt C. <ddc...@us...> - 2006-10-01 21:07:45
|
Update of /cvsroot/gcblue/gcb_wx/include/sim In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv6071/include/sim Modified Files: tcFlightPort.h tcPlatformObject.h Log Message: Airbase automation updates Index: tcFlightPort.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcFlightPort.h,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** tcFlightPort.h 28 Sep 2006 02:01:52 -0000 1.15 --- tcFlightPort.h 1 Oct 2006 21:07:40 -0000 1.16 *************** *** 123,127 **** tcAirState* GetAirState(unsigned n); const tcAirState* GetAirState(unsigned n) const; ! int GetAirStateIdx(long id); size_t GetCount() const {return units.size();} tsSpotInfo* GetCurrentSpotInfo(tcAirState *airstate); --- 123,127 ---- tcAirState* GetAirState(unsigned n); const tcAirState* GetAirState(unsigned n) const; ! int GetAirStateIdx(long id) const; size_t GetCount() const {return units.size();} tsSpotInfo* GetCurrentSpotInfo(tcAirState *airstate); *************** *** 138,141 **** --- 138,142 ---- int Launch(int runway); // order unit on runway to take off int LaunchID(long id); // order unit with id to take off (if on runway) + bool IsQueuedForTakeoff(long id) const; bool MoveToLaunchQueue(tcAirState *airstate); Index: tcPlatformObject.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcPlatformObject.h,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** tcPlatformObject.h 28 Sep 2006 02:01:52 -0000 1.37 --- tcPlatformObject.h 1 Oct 2006 21:07:40 -0000 1.38 *************** *** 128,132 **** --- 128,134 ---- bool IsCapableVsTargetType(int targetFlag); bool IsEquippedForTargetType(int targetFlag); + bool IsReadyForLaunch(); bool AllLaunchersEmpty(); + bool AllLaunchersFull(); void UnloadAllLaunchers(); void EquipForTargetType(int targetFlag); |