Last change
on this file since 80 was
80,
checked in by Sam Hocevar, 14 years ago
|
- Adding the Golgotha source code. Not sure what's going to be interesting
in there, but since it's all public domain, there's certainly stuff to
pick up.
|
File size:
1.2 KB
|
Line | |
---|
1 | /********************************************************************** <BR>
|
---|
2 | This file is part of Crack dot Com's free source code release of
|
---|
3 | Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
|
---|
4 | information about compiling & licensing issues visit this URL</a>
|
---|
5 | <PRE> If that doesn't help, contact Jonathan Clark at
|
---|
6 | golgotha_source@usa.net (Subject should have "GOLG" in it)
|
---|
7 | ***********************************************************************/
|
---|
8 |
|
---|
9 | #ifndef G1_JET_HH
|
---|
10 | #define G1_JET_HH
|
---|
11 |
|
---|
12 | #include "objs/map_piece.hh"
|
---|
13 |
|
---|
14 | class g1_jet_class : public g1_map_piece_class
|
---|
15 | {
|
---|
16 | protected:
|
---|
17 | // internal modes for jet
|
---|
18 | w8 mode;
|
---|
19 |
|
---|
20 | i4_float target_height;
|
---|
21 | g1_mini_object *engines;
|
---|
22 |
|
---|
23 | w32 sway;
|
---|
24 | public:
|
---|
25 | // version of save file
|
---|
26 | enum { DATA_VERSION=3 };
|
---|
27 |
|
---|
28 | // modes for jet
|
---|
29 |
|
---|
30 | g1_jet_class(g1_object_type id, g1_loader_class *fp);
|
---|
31 | virtual void save(g1_saver_class *fp);
|
---|
32 |
|
---|
33 | i4_bool move(i4_float x_amount, i4_float y_amount);
|
---|
34 |
|
---|
35 | virtual void fire();
|
---|
36 | virtual void think();
|
---|
37 | virtual void note_leave_range(g1_object_class *who,
|
---|
38 | g1_fire_range_type _range) {}
|
---|
39 |
|
---|
40 | void damage(g1_object_class *obj, int hp, i4_3d_vector _damage_dir);
|
---|
41 | };
|
---|
42 |
|
---|
43 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.