Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
ShipSolid.h
Go to the documentation of this file.
1
/* Project Starshatter 4.5
2
Destroyer Studios LLC
3
Copyright © 1997-2004. All Rights Reserved.
4
5
SUBSYSTEM: Stars.exe
6
FILE: ShipSolid.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
3D Solid (Polygon) Object
13
*/
14
15
#ifndef ShipSolid_h
16
#define ShipSolid_h
17
18
#include "
Solid.h
"
19
20
// +--------------------------------------------------------------------+
21
22
class
Ship
;
23
class
Skin
;
24
25
// +--------------------------------------------------------------------+
26
27
class
ShipSolid
:
public
Solid
28
{
29
public
:
30
static
const
char
*
TYPENAME
() {
return
"ShipSolid"
; }
31
32
ShipSolid
(
Ship
* s);
33
virtual
~ShipSolid
();
34
35
virtual
void
Render
(
Video
* video, DWORD flags);
36
virtual
void
TranslateBy
(
const
Point
& ref);
37
38
const
Skin
*
GetSkin
()
const
{
return
skin
; }
39
void
SetSkin
(
const
Skin
* s) {
skin
= s; }
40
41
protected
:
42
Ship
*
ship
;
43
const
Skin
*
skin
;
44
Point
true_eye_point
;
45
Point
fog_loc
;
46
bool
in_soup
;
47
};
48
49
// +--------------------------------------------------------------------+
50
51
#endif ShipSolid_h
52
Stars45
ShipSolid.h
Generated on Thu May 31 2012 16:31:16 for Starshatter_Open by
1.8.1