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

Diff of /enigma/src/stones_complex.cc

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

revision 1.45.2.4 by dheck, Fri Oct 3 13:40:19 2003 UTC revision 1.45.2.5 by dheck, Fri Oct 3 22:22:59 2003 UTC
# Line 1327  PuzzleStone::trigger_explosion_at(GridPo Line 1327  PuzzleStone::trigger_explosion_at(GridPo
1327  void  void
1328  PuzzleStone::explode() {  PuzzleStone::explode() {
1329      GridPos       p     = get_pos();      GridPos       p     = get_pos();
1330      DirectionBits dir   = get_connections();  //     DirectionBits dir   = get_connections();
1331  //     const char    *expl = (dir == NODIRBIT || dir == ALL_DIRECTIONS)  //     const char    *expl = (dir == NODIRBIT || dir == ALL_DIRECTIONS)
1332  //         ? "it-explosion2" : "it-explosion1";  //         ? "it-explosion2" : "it-explosion1";
1333      int          ox_attr       = int_attrib("oxyd");      int          ox_attr       = int_attrib("oxyd");
# Line 1655  DoorBase::message(const string &m, const Line 1655  DoorBase::message(const string &m, const
1655          change_state(OPENING);          change_state(OPENING);
1656      else if (newstate==CLOSING && (state==OPEN || state==OPENING))      else if (newstate==CLOSING && (state==OPEN || state==OPENING))
1657          change_state(CLOSING);          change_state(CLOSING);
 //     else if (m=="openclose") {  
 //         if (state==OPEN || state==OPENING)  
 //             change_state(CLOSING);  
 //         else  
 //             change_state(OPENING);  
 //     }  
1658  }  }
1659    
1660  void  void
# Line 1683  DoorBase::animcb() Line 1677  DoorBase::animcb()
1677          change_state(CLOSED);          change_state(CLOSED);
1678  }  }
1679    
   
1680  StoneResponse  StoneResponse
1681  DoorBase::collision_response(const StoneContact &/*sc*/)  DoorBase::collision_response(const StoneContact &/*sc*/)
1682  {  {

Legend:
Removed from v.1.45.2.4  
changed lines
  Added in v.1.45.2.5

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