[Gcblue-commits] gcb_wx/include/scriptinterface tcPlatformInterface.h,1.44,1.45 tcScenarioInterface.
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-09-10 21:48:17
|
Update of /cvsroot/gcblue/gcb_wx/include/scriptinterface In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1435/include/scriptinterface Modified Files: tcPlatformInterface.h tcScenarioInterface.h Log Message: GCB 0.8.0 release Index: tcPlatformInterface.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcPlatformInterface.h,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** tcPlatformInterface.h 26 Jul 2005 00:37:03 -0000 1.44 --- tcPlatformInterface.h 10 Sep 2005 21:48:06 -0000 1.45 *************** *** 244,248 **** /// adds navigation waypoint (creates nav task if necessary) void AddNavWaypoint(float afLon_rad, float afLat_rad); ! /// clear all tasks void ClearTasks(); /// delete task --- 244,250 ---- /// adds navigation waypoint (creates nav task if necessary) void AddNavWaypoint(float afLon_rad, float afLat_rad); ! /// true to loop through waypoints indefinitely ! void SetNavLoopState(bool state); ! /// clear all tasks void ClearTasks(); /// delete task Index: tcScenarioInterface.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcScenarioInterface.h,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** tcScenarioInterface.h 26 Jul 2005 00:37:03 -0000 1.22 --- tcScenarioInterface.h 10 Sep 2005 21:48:06 -0000 1.23 *************** *** 157,160 **** --- 157,165 ---- tcProtectGoal ProtectGoal(const std::string& target); + // simple briefing text + void ClearSimpleBriefing(); + const std::string& GetSimpleBriefing(int alliance) const; + void SetSimpleBriefing(int alliance, const std::string& briefingText); + // non-python methods tcGameObject* GetLastObjectAdded() const; *************** *** 171,176 **** tcScenarioInterface(); ~tcScenarioInterface(); - private: double eventTime; ///< start time for briefing event functions tcGameObject* lastObjectAdded; ///< last object added to sim --- 176,181 ---- tcScenarioInterface(); ~tcScenarioInterface(); private: + double eventTime; ///< start time for briefing event functions tcGameObject* lastObjectAdded; ///< last object added to sim *************** *** 178,181 **** --- 183,187 ---- double lat_theater_deg; ///< default starting latitude for theater int sideCode; ///< used to toggle user's alliance in scenario, 0 means uninitialized + std::map<int, std::string> simpleBriefingText; ///< text for each alliance for simple briefing screen static tcDirector* director; |