[Gcblue-commits] gcb_wx/include/scriptinterface tcPlatformInterface.h,1.38,1.39 tcSimPythonInterface
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-04-29 18:52:13
|
Update of /cvsroot/gcblue/gcb_wx/include/scriptinterface In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27186/include/scriptinterface Modified Files: tcPlatformInterface.h tcSimPythonInterface.h Log Message: Index: tcPlatformInterface.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcPlatformInterface.h,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** tcPlatformInterface.h 17 Apr 2005 22:34:59 -0000 1.38 --- tcPlatformInterface.h 29 Apr 2005 18:52:02 -0000 1.39 *************** *** 294,297 **** --- 294,304 ---- void SetLandingState(int state); + // multiplayer related + std::string GetController() const; + bool IsAvailable() const; + bool IsMultiplayerActive() const; + void TakeControl(); + + // miscellaneous Index: tcSimPythonInterface.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcSimPythonInterface.h,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** tcSimPythonInterface.h 31 Mar 2005 03:51:12 -0000 1.21 --- tcSimPythonInterface.h 29 Apr 2005 18:52:02 -0000 1.22 *************** *** 67,70 **** --- 67,72 ---- namespace ScriptInterface { + class tcScenarioInterface; + /** * Interface class for creating popup mouse menus. *************** *** 119,122 **** --- 121,125 ---- void CallTaskScript(ScriptedTask* task, const char* azCommand); void GetObjectStringByMode(char *str); // gets name of python object to pass to python function + tcScenarioInterface* GetScenarioInterface() const; void LoadScenario(const char *filePath, const char *fileName); ///< loads scenario from Python script file void ProcessCommand(std::string command, const std::vector<long>& id, *************** *** 165,168 **** --- 168,172 ---- tcFlightPortInterface *flightPortInterface; ///< C++ handle to flightport interface object ScenarioInterface; + tcScenarioInterface* scenarioInterface; ///< C++ handle to scenario interface tcDirector *director; tcSimState *mpSimState; |