~ubuntu-branches/ubuntu/natty/smc/natty

« back to all changes in this revision

Viewing changes to src/enemies/gee.h

  • Committer: Bazaar Package Importer
  • Author(s): Muammar El Khatib
  • Date: 2009-08-18 11:28:01 UTC
  • mfrom: (1.1.7 upstream) (5.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090818112801-qfhdmqouq8m1fwab
Tags: 1.9-1
* New upstream release.
* Bumped standards version to 3.8.3. No changes were needed in order to 
  accomplish this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
         * force : usually dies or a complete downgrade
66
66
        */
67
67
        virtual void DownGrade( bool force = 0 );
68
 
        virtual void DieStep( void );
 
68
        // dying animation update
 
69
        virtual void Update_Dying( void );
 
70
 
 
71
        // set the moving state
 
72
        void Set_Moving_State( Moving_state new_state );
69
73
 
70
74
        // update
71
75
        virtual void Update( void );
80
84
        // generate small cloud particles ( for moving )
81
85
        void Generate_Particles( unsigned int amount = 4 ) const;
82
86
 
83
 
        // Check if out of max distance
84
 
        bool Check_Max_Distance( void ) const;
 
87
        // Check if position is beyond the max distance
 
88
        bool Is_At_Max_Distance( void ) const;
85
89
 
86
90
        // if update is valid for the current state
87
91
        virtual bool Is_Update_Valid( void );
113
117
        bool Editor_Fly_Distance_Text_Changed( const CEGUI::EventArgs &event );
114
118
 
115
119
        // color
116
 
        DefaultColor color_type;
 
120
        DefaultColor m_color_type;
117
121
 
118
 
        // destination direction velocity
119
 
        float dest_velx, dest_vely;
 
122
        // flying velocity
 
123
        float m_speed_fly;
120
124
        // maximum distance from the startposition
121
 
        int max_distance;
 
125
        int m_max_distance;
122
126
        // always fly around
123
 
        bool always_fly;
 
127
        bool m_always_fly;
124
128
        // time to wait until next movement
125
 
        float wait_time;
 
129
        float m_wait_time;
126
130
        // fly distance
127
 
        int fly_distance;
 
131
        int m_fly_distance;
128
132
 
129
133
        // wait time counter
130
 
        float wait_time_counter;
 
134
        float m_wait_time_counter;
131
135
        // fly distance counter
132
 
        float fly_distance_counter;
 
136
        float m_fly_distance_counter;
133
137
        // clouds particle counter
134
 
        float clouds_counter;
 
138
        float m_clouds_counter;
135
139
 
136
140
private:
137
141
        // Create the Name from the current settings