~ubuntu-branches/ubuntu/intrepid/wing/intrepid

« back to all changes in this revision

Viewing changes to enemytype.h

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hocevar (Debian packages)
  • Date: 2003-10-02 16:28:06 UTC
  • Revision ID: james.westby@ubuntu.com-20031002162806-7l2t9hy4eq6putz3
Tags: 0.7-20
* debian/control:
  + Set policy to 3.6.1.0.
  + Wrote more meaningful long descriptions (Closes: #210137).

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#ifndef _ENEMYTYPE_H
28
28
#define _ENEMYTYPE_H
29
29
 
30
 
#include <fstream.h>
 
30
#include <fstream>
31
31
#include "bullettype.h"
32
32
#include "animationtype.h"
33
33
#include "util.h"
34
34
 
35
35
                struct EnemyNodeTYPE
36
36
      {
37
 
                        int            xpos, ypos, dx,dy,health;
 
37
                        EnemyNodeTYPE  *  next;              // pointer to next node
 
38
                   EnemyNodeTYPE  *  back;              // pointer to previous node
38
39
                        bool                            attacking;
39
40
                        bool                            dead;         
40
 
                unsigned int   TimeOfLastFired;
 
41
                int   TimeOfLastFired;
41
42
                        WeaponEnum     weapon;
42
43
                EnemyEnum      TypeOfEnemy;
 
44
                        int            xpos, ypos, dx,dy,health;
43
45
         StateEnum      state;
 
46
         int                            state_stage;
44
47
         int                            explode_stage;
45
 
         int                            state_stage;
46
 
                        EnemyNodeTYPE  *  next;              // pointer to next node
47
 
                   EnemyNodeTYPE  *  back;              // pointer to previous node
48
48
 
49
49
                // constructors
50
50
 
118
118
      int num_enemies_attacking;
119
119
      int num_enemies_per_level;
120
120
      EnemyNodeTYPE * most_recent;          // ####################### is this necessary ???
121
 
      BulletTYPE                 enemy_bullets;
122
121
      AnimationTYPE   enemy_images;
123
122
      AnimationTYPE   explode_images;
124
123
      EnemyNodeTYPE * enemy_list;
 
124
      BulletTYPE                 enemy_bullets;
125
125
};
126
126
 
127
127
#include "enemytype.cpp"
128
 
#endif
 
 
b'\\ No newline at end of file'
 
128
#endif