/[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.13 by reallysoft, Sun May 11 08:52:13 2003 UTC revision 1.14 by reallysoft, Sun May 11 17:54:50 2003 UTC
# Line 258  BasicBall::BasicBall(const char *kind, d Line 258  BasicBall::BasicBall(const char *kind, d
258  void BasicBall::message(const string &m, const Value &)  void BasicBall::message(const string &m, const Value &)
259  {  {
260  //     enigma::Log << get_kind() << ": msg("<<m<<") in state "<<state<< '\n';  //     enigma::Log << get_kind() << ": msg("<<m<<") in state "<<state<< '\n';
261      log("%s: msg '%s' in state '%i'", get_kind(), m.c_str(), state);  //     warning("%s: msg '%s' in state '%i'", get_kind(), m.c_str(), state);
262      if (state == NORMAL) {      if (state == NORMAL) {
263          if (m == "shatter")         change_state(SHATTERING);          if (m == "shatter")         change_state(SHATTERING);
264          else if (m == "laserhit")   change_state(SHATTERING);          else if (m == "laserhit")   change_state(SHATTERING);

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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