Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
RadioHandler.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: RadioHandler.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
RadioHandler (radio comms) class declaration
13
*/
14
15
#ifndef RadioHandler_h
16
#define RadioHandler_h
17
18
#include "
Types.h
"
19
#include "
Geometry.h
"
20
#include "
SimObject.h
"
21
22
// +--------------------------------------------------------------------+
23
24
class
RadioMessage
;
25
class
Ship
;
26
27
// +--------------------------------------------------------------------+
28
29
class
RadioHandler
30
{
31
public
:
32
RadioHandler
();
33
virtual
~RadioHandler
();
34
35
virtual
bool
ProcessMessage
(
RadioMessage
* msg,
Ship
* s);
36
virtual
void
AcknowledgeMessage
(
RadioMessage
* msg,
Ship
* s);
37
38
protected
:
39
virtual
bool
IsOrder
(
int
action);
40
virtual
bool
ProcessMessageOrders
(
RadioMessage
* msg,
Ship
* s);
41
virtual
bool
ProcessMessageAction
(
RadioMessage
* msg,
Ship
* s);
42
43
virtual
bool
Inbound
(
RadioMessage
* msg,
Ship
* s);
44
virtual
bool
Picture
(
RadioMessage
* msg,
Ship
* s);
45
virtual
bool
Support
(
RadioMessage
* msg,
Ship
* s);
46
virtual
bool
SkipNavpoint
(
RadioMessage
* msg,
Ship
* s);
47
virtual
bool
LaunchProbe
(
RadioMessage
* msg,
Ship
* s);
48
};
49
50
// +--------------------------------------------------------------------+
51
52
#endif RadioHandler_h
53
Stars45
RadioHandler.h
Generated on Tue Jun 5 2012 20:47:08 for Starshatter_Open by
1.8.1