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

Diff of /enigma/src/objects.cc

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

revision 1.96 by reallysoft, Fri Jun 20 15:49:01 2003 UTC revision 1.97 by dheck, Sat Jun 21 00:38:40 2003 UTC
# Line 59  world::PerformAction(Object *o, bool ono Line 59  world::PerformAction(Object *o, bool ono
59          lua::CallFunc(target.c_str(), Value(onoff));          lua::CallFunc(target.c_str(), Value(onoff));
60      }      }
61      else if (action == "signal") {      else if (action == "signal") {
62          world::EmitSignals (o);          world::EmitSignals (o, onoff);
63      }      }
64      else if (Object *t = GetNamedObject(target)) {      else if (Object *t = GetNamedObject(target)) {
65          SendMessage(t, action);          SendMessage(t, action, Value(onoff));
66      }      }
67      else if (action != "idle") {      else if (action != "idle") {
68          fprintf(stderr, "Unknown target '%s' for action '%s'\n", target.c_str(), action.c_str());          fprintf(stderr, "Unknown target '%s' for action '%s'\n", target.c_str(), action.c_str());

Legend:
Removed from v.1.96  
changed lines
  Added in v.1.97

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