214 |
// tested with per.oxyd |
// tested with per.oxyd |
215 |
return sc.actor->is_on_floor() ? STONE_PASS : STONE_REBOUND; |
return sc.actor->is_on_floor() ? STONE_PASS : STONE_REBOUND; |
216 |
} |
} |
217 |
|
bool on_laserhit(Direction) {return true;}; |
218 |
}; |
}; |
219 |
class Grate2 : public Stone { |
class Grate2 : public Stone { |
220 |
SINGLETONOBJ(Grate2); |
SINGLETONOBJ(Grate2); |
225 |
// tested with per.oxyd |
// tested with per.oxyd |
226 |
return sc.actor->is_on_floor() ? STONE_PASS : STONE_REBOUND; |
return sc.actor->is_on_floor() ? STONE_PASS : STONE_REBOUND; |
227 |
} |
} |
228 |
|
bool on_laserhit(Direction) {return true;}; |
229 |
}; |
}; |
230 |
} |
} |
231 |
|
|
250 |
else |
else |
251 |
return STONE_REBOUND; |
return STONE_REBOUND; |
252 |
} |
} |
253 |
|
bool on_laserhit(Direction) {return true;}; |
254 |
}; |
}; |
255 |
} |
} |
256 |
|
|
612 |
|
|
613 |
/** \page st-brick_magic Magic Brick Stone |
/** \page st-brick_magic Magic Brick Stone |
614 |
|
|
615 |
This stone does initially looks like a "st-brick". If touched by the |
This stone does initially look like a "st-brick". If touched by the |
616 |
actor, having a magic wand, it turns into a "st-glass" stone and |
actor, having a magic wand, it turns into a "st-glass" stone and |
617 |
allows lasers to go through it. |
allows lasers to go through it. |
618 |
|
|