26 #ifndef MAPCHARACTER_H_
27 #define MAPCHARACTER_H_
33 #define MAPCHAR_DIR "gfx/mapcharacters/"
108 #define NO_MOVE 65535
469 void speak (
const string & text);
473 return (saying != NULL);
590 void set_callback (PyObject *callback, PyObject *args = NULL);
592 bool goal_reached ();
595 void time_callback (
string delay, PyObject *cb, PyObject *args = NULL);
596 void time_callback_string (
string delay,
string cb, PyObject *args = NULL);
619 void set_schedule (
string file, PyObject * args = NULL);
629 return schedule_file_;
640 return schedule_activated;
651 schedule_activated = a;
663 bool do_stuff (
string method, PyObject *args = NULL);
686 void set_action (
string file, PyObject * args = NULL);
707 return action_activated;
717 action_activated = a;
797 void leave_position ();
837 vector <animation *> anim;
847 bool schedule_activated;
848 bool action_activated;
851 PyObject * schedule_args;
852 PyObject * action_args;
854 string schedule_file_;