… | |
… | |
204 | |
204 | |
205 | shstr ACC (RW, invis_race); /* What race invisible to? */ |
205 | shstr ACC (RW, invis_race); /* What race invisible to? */ |
206 | bool ACC (RW, enable_save); |
206 | bool ACC (RW, enable_save); |
207 | Output_Buf outputs[NUM_OUTPUT_BUFS]; /* holds output strings to client */ |
207 | Output_Buf outputs[NUM_OUTPUT_BUFS]; /* holds output strings to client */ |
208 | |
208 | |
209 | static player *create (); |
209 | MTH static player *create (); |
210 | static player *load (const char *path); |
210 | MTH static player *load (const char *path); |
211 | void save (bool final = false); |
211 | MTH void save (bool final = false); |
212 | void do_destroy (); |
212 | void do_destroy (); |
213 | void gather_callbacks (AV *&callbacks, event_type event) const; |
213 | void gather_callbacks (AV *&callbacks, event_type event) const; |
214 | |
214 | |
215 | void connect (client *ns); |
215 | MTH void connect (client *ns); |
216 | void disconnect (); |
216 | MTH void disconnect (); |
217 | |
217 | |
218 | ~player (); |
218 | ~player (); |
219 | |
219 | |
220 | private: |
220 | private: |
221 | void set_object (object *op); |
221 | void set_object (object *op); |