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"); |
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 |
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 |
{ |
{ |