… | |
… | |
546 | MTH bool client_visible () const |
546 | MTH bool client_visible () const |
547 | { |
547 | { |
548 | return !invisible && type != PLAYER; |
548 | return !invisible && type != PLAYER; |
549 | } |
549 | } |
550 | |
550 | |
|
|
551 | // the client does nrof * this weight |
|
|
552 | MTH sint32 client_weight () const |
|
|
553 | { |
|
|
554 | return weight + carrying; |
|
|
555 | } |
|
|
556 | |
551 | MTH struct region *region () const; |
557 | MTH struct region *region () const; |
552 | |
558 | |
553 | void statusmsg (const char *msg, int color = NDI_BLACK); |
559 | void statusmsg (const char *msg, int color = NDI_BLACK); |
554 | void failmsg (const char *msg, int color = NDI_RED); |
560 | void failmsg (const char *msg, int color = NDI_RED); |
555 | |
561 | |