From 2d648c5dc29a1ceae154194c23c799c7076894b4 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 14 May 2008 18:57:32 +0000 Subject: Added ability to define friends, players you want to ignore or disregard and configure whether trading is allowed. Based on new popup code, configuration improvements to store hierarchical data and a table model. --- src/beingmanager.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/beingmanager.h') diff --git a/src/beingmanager.h b/src/beingmanager.h index d001c377..243486e4 100644 --- a/src/beingmanager.h +++ b/src/beingmanager.h @@ -78,6 +78,11 @@ class BeingManager Being* findNearestLivingBeing(Uint16 x, Uint16 y, int maxdist, Being::Type type = Being::UNKNOWN); + /** + * Finds a being by name and (optionally) by type. + */ + Being* findBeingByName(std::string name, Being::Type type = Being::UNKNOWN); + /** * Return a being nearest to another being. * -- cgit v1.2.3-70-g09d2