You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
516 B
29 lines
516 B
//++ BulliT |
|
|
|
#if !defined(_AG_LOCATION_HUD_) |
|
#define _AG_LOCATION_HUD_ |
|
|
|
#ifdef AG_NO_CLIENT_DLL |
|
|
|
#include "aglocation.h" |
|
|
|
class AgLocationCache |
|
{ |
|
typedef list<AgLocation*> AgLocationList; |
|
AgLocationList m_lstLocations; |
|
bool NearestLocation(const Vector& vPosition, AgLocation*& pLocation, float& fNearest); |
|
|
|
public: |
|
AgLocationCache(); |
|
virtual ~AgLocationCache(); |
|
|
|
void Load(); |
|
|
|
AgString Location(const Vector& vPosition); |
|
}; |
|
|
|
#endif //AG_NO_CLIENT_DLL |
|
|
|
#endif //_AG_LOCATION_HUD_ |
|
|
|
//-- Martin Webrant
|
|
|