Parent Directory | Revision Log | Patch
revision 1.35 by dheck, Mon Aug 18 08:40:27 2003 UTC | revision 1.36 by reallysoft, Tue Aug 19 10:47:28 2003 UTC | |
---|---|---|
# | Line 669 namespace | Line 669 namespace |
669 | set_attrib("color", Value(1.0)); | set_attrib("color", Value(1.0)); |
670 | set_attrib("whiteball", Value(true)); | set_attrib("whiteball", Value(true)); |
671 | } | } |
672 | ||
673 | void on_hit(Actor *a) { | |
674 | if (dynamic_cast<BlackBall*>(a) && | |
675 | int_attrib("mouseforce") != 0) // passive small whiteball do not shatter (see PerOxyd Linkgame #60) | |
676 | { | |
677 | // collision between WhiteBall_Small and blackball shatters blackball | |
678 | SendMessage(a, "shatter"); | |
679 | } | |
680 | } | |
681 | }; | }; |
682 | } | } |
683 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |