[Gcblue-commits] gcb_wx/include/scriptinterface tcPlatformInterface.h,1.12,1.13
Status: Alpha
Brought to you by:
ddcforge
From: <ddc...@pr...> - 2004-02-01 22:21:06
|
Update of /cvsroot/gcblue/gcb_wx/include/scriptinterface In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11210/include/scriptinterface Modified Files: tcPlatformInterface.h Log Message: Index: tcPlatformInterface.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcPlatformInterface.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** tcPlatformInterface.h 29 Jan 2004 00:05:03 -0000 1.12 --- tcPlatformInterface.h 1 Feb 2004 22:19:08 -0000 1.13 *************** *** 187,192 **** float GetRand() {return randf();} static void SetObj(tcPlatformObject *apObj) {mpStaticPlatformObj = apObj;} ! void GetLocalObj(void) {mpPlatformObj = mpStaticPlatformObj;GetSensorMap();} ! void SetPlatform(tcPlatformObject *obj) {mpPlatformObj = obj;GetSensorMap();} ///< this method directly sets local obj static void AttachCommandQueue(tcCommandQueue *cq) {mpCommandQueue = cq;} static void AttachSimState(tcSimState *apSS) {mpSimState = apSS;} --- 187,192 ---- float GetRand() {return randf();} static void SetObj(tcPlatformObject *apObj) {mpStaticPlatformObj = apObj;} ! void GetLocalObj(void); ! void SetPlatform(tcPlatformObject *obj); static void AttachCommandQueue(tcCommandQueue *cq) {mpCommandQueue = cq;} static void AttachSimState(tcSimState *apSS) {mpSimState = apSS;} *************** *** 196,199 **** --- 196,200 ---- private: tcPlatformObject *mpPlatformObj; + bool isPlatformOwnAlliance; ///< true if platform is part of user's alliance static tcPlatformObject *mpStaticPlatformObj; static tcSimState *mpSimState; |