/[enigma]/enigma/src/actors.cc
ViewVC logotype

Diff of /enigma/src/actors.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.33 by dheck, Sat Jul 12 10:04:47 2003 UTC revision 1.34 by reallysoft, Sun Aug 17 00:24:06 2003 UTC
# Line 292  namespace Line 292  namespace
292              change_state(APPEARING);              change_state(APPEARING);
293          }          }
294    
295          bool is_dead() { return state == DEAD; }          bool is_dead()          { return state == DEAD; }
296          bool is_flying() { return state == JUMPING; }          bool is_flying()        { return state == JUMPING; }
297          bool is_on_floor() { return state == NORMAL || state == SINKING || state == JUMP_VORTEX; }          bool is_on_floor()      { return state == NORMAL || state == SINKING || state == JUMP_VORTEX; }
298          bool can_drop_items() { return state == NORMAL || state==JUMPING || state == JUMP_VORTEX; }          bool can_drop_items()   { return state == NORMAL || state == SINKING || state == JUMP_VORTEX || state==JUMPING; }
299          bool can_pickup_items() { return state == NORMAL || state == JUMP_VORTEX; }          bool can_pickup_items() { return state == NORMAL || state == SINKING || state == JUMP_VORTEX; }
300    
301          // Object interface.          // Object interface.
302          void message(const string &m, const Value &);          void message(const string &m, const Value &);
# Line 570  BasicBall::has_halo() Line 570  BasicBall::has_halo()
570      return m_shield_rest_time > 0;      return m_shield_rest_time > 0;
571  }  }
572    
573  void  void
574  BasicBall::update_halo()  BasicBall::update_halo()
575  {  {
576      HaloState newstate = m_halostate;      HaloState newstate = m_halostate;
577    

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26