Update of /cvsroot/gcblue/gcb_wx/include/scriptinterface
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5550/include/scriptinterface
Modified Files:
tcSubInterface.h
Log Message:
Diesel-electric battery and snorkeling
Index: tcSubInterface.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcSubInterface.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** tcSubInterface.h 22 Jun 2005 01:21:26 -0000 1.3
--- tcSubInterface.h 10 Jul 2005 20:32:02 -0000 1.4
***************
*** 47,55 ****
void GoToPeriscopeDepth();
/// true if at periscope depth
! bool IsAtPeriscopeDepth();
/// true if periscope is raised
bool IsPeriscopeRaised() const;
/// true if radar mast is raised
bool IsRadarMastRaised() const;
/// true if this is a valid interface
bool IsValid() const;
--- 47,59 ----
void GoToPeriscopeDepth();
/// true if at periscope depth
! bool IsAtPeriscopeDepth() const;
! /// true if this is a diesel-electric sub
! bool IsDieselElectric() const;
/// true if periscope is raised
bool IsPeriscopeRaised() const;
/// true if radar mast is raised
bool IsRadarMastRaised() const;
+ /// true if snorkeling
+ bool IsSnorkeling() const;
/// true if this is a valid interface
bool IsValid() const;
***************
*** 62,65 ****
--- 66,71 ----
/// raise the radar mast (must be at periscope depth or shallower)
void RaiseRadarMast();
+ /// start or stop snorkeling (must be at periscope depth or shallower)
+ void SetSnorkelState(bool state);
tcSubInterface();
|