- first pass of VERY ROUGH crude implementation of 'cell markers'. Need to properly find icons, apply alpha to icon on the map and add support for notes when user hovers over the marker.

This commit is contained in:
Mark Vejvoda
2012-06-12 20:37:00 +00:00
parent c187d4d014
commit 943dcef9fe
13 changed files with 608 additions and 11 deletions

View File

@@ -127,6 +127,25 @@ void NetworkInterface::clearChatInfo() {
}
}
std::vector<MarkedCell> NetworkInterface::getMarkedCellList(bool clearList) {
std::vector<MarkedCell> result;
if(markedCellList.empty() == false) {
result = markedCellList;
if(clearList == true) {
markedCellList.clear();
}
}
return result;
}
void NetworkInterface::clearMarkedCellList() {
if(markedCellList.empty() == false) {
if(SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork,"In [%s::%s Line: %d] markedCellList.size() = %d\n",__FILE__,__FUNCTION__,__LINE__,markedCellList.size());
markedCellList.clear();
}
}
std::string NetworkInterface::getIpAddress() {
std::string result = "";