Update of /cvsroot/gcblue/gcb_wx/include/sim
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2303/include/sim
Modified Files:
tc3DViewer.h tcAirObject.h tcFlightPort.h
Added Files:
tcHeloObject.h
Log Message:
Index: tcFlightPort.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcFlightPort.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** tcFlightPort.h 8 Aug 2004 00:31:33 -0000 1.6
--- tcFlightPort.h 9 Aug 2004 02:35:14 -0000 1.7
***************
*** 132,135 ****
--- 132,136 ----
std::vector<tsSpotInfo> launch_spots;
+ tcFlightportDBObject* mpDBObject;
unsigned hangarCapacity;
unsigned inHangarCount; // count of units in hangar or in transit to hangar
Index: tcAirObject.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcAirObject.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** tcAirObject.h 8 Aug 2004 00:31:33 -0000 1.10
--- tcAirObject.h 9 Aug 2004 02:35:14 -0000 1.11
***************
*** 1,4 ****
! /*
! ** Copyright (C) 2003 Dewitt Colclough (de...@tw...)
** All rights reserved.
--- 1,6 ----
! /**
! ** @file tcAirObject.h
! */
! /* Copyright (C) 2003 Dewitt Colclough (de...@tw...)
** All rights reserved.
***************
*** 21,25 ****
--- 23,29 ----
#define _AIROBJECT_H_
+ #if _MSC_VER > 1000
#pragma once
+ #endif
#include "tcPlatformObject.h"
--- NEW FILE: tcHeloObject.h ---
/**
** @file tcHeloObject.h
*/
/* Copyright (C) 2004 Dewitt Colclough (de...@tw...)
** All rights reserved.
** This file is part of the Global Conflict Blue (GCB) program.
** GCB is free software; you can redistribute it and/or modify
** it under the terms of version 2 of the GNU General Public License as
** published by the Free Software Foundation.
** GCB is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
** You should have received a copy of the GNU General Public License
** along with GCB; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _HELOOBJECT_H_
#define _HELOOBJECT_H_
#if _MSC_VER > 1000
#pragma once
#endif
#include "tcAirObject.h"
/**
* Models helo object that can hover
*/
class tcHeloObject : public tcAirObject
{
public:
virtual void ApplyRestrictions();
virtual void Clear();
virtual void RandInitNear(float afLon_deg, float afLat_deg);
virtual void UpdateClimb(float dt_s);
virtual void Update(double afStatusTime);
void PrintToFile(tcFile& file);
void SaveToFile(tcFile& file);
void LoadFromFile(tcFile& file);
virtual void Serialize(tcFile& file, bool mbLoad);
tcHeloObject();
tcHeloObject(tcHeloObject&);
tcHeloObject(tcGenericDBObject* obj);
virtual ~tcHeloObject();
};
#endif
Index: tc3DViewer.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tc3DViewer.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** tc3DViewer.h 8 Aug 2004 00:31:33 -0000 1.25
--- tc3DViewer.h 9 Aug 2004 02:35:14 -0000 1.26
***************
*** 23,27 ****
--- 23,29 ----
#define _3DVIEWER_H_
+ #if _MSC_VER > 1000
#pragma once
+ #endif
|