mirror of
https://github.com/glest/glest-source.git
synced 2025-10-01 09:56:41 +02:00
- 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:
@@ -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 = "";
|
||||
|
||||
|
Reference in New Issue
Block a user