… | |
… | |
210 | } |
210 | } |
211 | |
211 | |
212 | // a prominent box that can easily be escaped away or so |
212 | // a prominent box that can easily be escaped away or so |
213 | // should be used for informative output such as who, maps etc. |
213 | // should be used for informative output such as who, maps etc. |
214 | // will stay on-screen |
214 | // will stay on-screen |
215 | void infobox (const char *title, const char *msg, int color = NDI_BLACK); |
215 | MTH void infobox (const char *title, const char *msg, int color = NDI_BLACK); |
216 | |
216 | |
217 | // a prominent msg that signifies some important event, |
217 | // a prominent msg that signifies some important event, |
218 | // an improvement potion effect potion. should not be long. |
218 | // an improvement potion effect potion. should not be long. |
219 | // might time out after a while |
219 | // might time out after a while |
220 | void statusmsg (const char *msg, int color = NDI_BLACK); |
220 | MTH void statusmsg (const char *msg, int color = NDI_BLACK); |
221 | |
221 | |
222 | // a prominent box that signifies some error such as a failed |
222 | // a prominent box that signifies some error such as a failed |
223 | // improvement potion. should not be long. |
223 | // improvement potion. should not be long. |
224 | void failmsg (const char *msg, int color = NDI_RED); |
224 | MTH void failmsg (const char *msg, int color = NDI_RED); |
225 | |
225 | |
226 | ~player (); |
226 | ~player (); |
227 | |
227 | |
228 | private: |
228 | private: |
229 | void set_object (object *op); |
229 | void set_object (object *op); |