[Gcblue-commits] gcb_wx/include/sim tcAIData.h,1.8,1.9 tcObjectControl.h,1.12,1.13
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-02-20 18:20:30
|
Update of /cvsroot/gcblue/gcb_wx/include/sim In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23561/include/sim Modified Files: tcAIData.h tcObjectControl.h Log Message: Parallel ai update Index: tcAIData.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcAIData.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** tcAIData.h 17 Aug 2004 02:22:56 -0000 1.8 --- tcAIData.h 20 Feb 2005 18:20:18 -0000 1.9 *************** *** 64,68 **** UINT32 mnScriptVar[N_VAR]; ///< variables for use in scripts ! long mnTargetID; ///< target for AI engagements double mfNextUpdate; ///< time for next update of AI float mfUpdateInterval; ///< interval for AI updates --- 64,68 ---- UINT32 mnScriptVar[N_VAR]; ///< variables for use in scripts ! double mfNextUpdate; ///< time for next update of AI float mfUpdateInterval; ///< interval for AI updates *************** *** 97,100 **** --- 97,103 ---- virtual ~tcAIData(void); + private: + long mnTargetID; ///< target for AI engagements + }; Index: tcObjectControl.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcObjectControl.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** tcObjectControl.h 11 Dec 2004 01:09:05 -0000 1.12 --- tcObjectControl.h 20 Feb 2005 18:20:18 -0000 1.13 *************** *** 57,67 **** } ! namespace AI { ! class tcAIData; } ! using namespace AI; ! using namespace Database; struct tsHeadingObjectInfo --- 57,68 ---- } ! namespace ai { ! class Brain; } ! using ai::Brain; ! using Database::tcDatabaseObject; ! struct tsHeadingObjectInfo *************** *** 101,105 **** std::string mzCaption; ! void SetAIData(tcAIData *apAIData) {mpAIData = apAIData;} void SetLocation(tcRect rect) {window = rect;} void Draw(tc3DWindow* context); --- 102,106 ---- std::string mzCaption; ! void SetAIData(Brain* brain_) {brain = brain_;} void SetLocation(tcRect rect) {window = rect;} void Draw(tc3DWindow* context); *************** *** 107,111 **** ~tcAIPanel(); private: ! tcAIData* mpAIData; }; --- 108,112 ---- ~tcAIPanel(); private: ! Brain* brain; }; |