[Gcblue-commits] gcb_wx/include/scriptinterface tcPlatformInterface.h,1.22,1.23
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-08-09 02:36:08
|
Update of /cvsroot/gcblue/gcb_wx/include/scriptinterface In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2303/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.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** tcPlatformInterface.h 19 Jul 2004 00:52:26 -0000 1.22 --- tcPlatformInterface.h 9 Aug 2004 02:35:14 -0000 1.23 *************** *** 150,158 **** bool IsSurface() {return (mpPlatformObj->mnModelType == MTYPE_SURFACE);} /// returns true if platform is an air platform ! bool IsAir() { UINT32 nModelType = mpPlatformObj->mnModelType; return (nModelType == MTYPE_FIXEDWING)||(nModelType == MTYPE_FIXEDWINGX) ! ||(nModelType == MTYPE_AIR); } // script variables --- 150,163 ---- bool IsSurface() {return (mpPlatformObj->mnModelType == MTYPE_SURFACE);} /// returns true if platform is an air platform ! bool IsAir() ! { UINT32 nModelType = mpPlatformObj->mnModelType; return (nModelType == MTYPE_FIXEDWING)||(nModelType == MTYPE_FIXEDWINGX) ! ||(nModelType == MTYPE_AIR)||(nModelType == MTYPE_HELO); } + bool IsHelo() + { + return (mpPlatformObj->mnModelType == MTYPE_HELO); + } // script variables |