… | |
… | |
104 | void cfperl_send_msg (client *ns, int color, const char *type, const char *msg); |
104 | void cfperl_send_msg (client *ns, int color, const char *type, const char *msg); |
105 | int cfperl_can_merge (object *ob1, object *ob2); |
105 | int cfperl_can_merge (object *ob1, object *ob2); |
106 | void cfperl_mapscript_activate (object *ob, int state, object *activator, object *originator = 0); |
106 | void cfperl_mapscript_activate (object *ob, int state, object *activator, object *originator = 0); |
107 | |
107 | |
108 | bool is_match_expr (const char *expr); |
108 | bool is_match_expr (const char *expr); |
109 | /* applies the match expression and returns true if it matches */ |
109 | // applies the match expression and returns true if it matches |
110 | bool match (const char *expr, object *ob, object *self = 0, object *source = 0, object *originator = 0); |
110 | bool match (const char *expr, object *ob, object *self = 0, object *source = 0, object *originator = 0); |
|
|
111 | // same as above, but returns the first object found, or 0 |
|
|
112 | object *match_one (const char *expr, object *ob, object *self = 0, object *source = 0, object *originator = 0); |
111 | |
113 | |
112 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
114 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
113 | |
115 | |
114 | #if IVSIZE >= 8 |
116 | #if IVSIZE >= 8 |
115 | typedef IV val64; |
117 | typedef IV val64; |