Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / 3d / zone_lib / zone_utility.h
blobcfc1dc0fbea43c436d8208ae9802ac2a358477ff
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #ifndef NL_ZONE_UTILITY
18 #define NL_ZONE_UTILITY
20 #include "nel/misc/types_nl.h"
21 #include <vector>
22 #include <set>
24 std::string getDir (const std::string& path);
25 std::string getName (const std::string& path);
26 std::string getExt (const std::string& path);
27 bool getZoneCoordByName(const char * name, uint16& x, uint16& y);
28 void getLettersFromNum(uint16 num, std::string& code);
29 void getZoneNameByCoord(uint16 x, uint16 y, std::string& zoneName);
30 void getAdjacentZonesName(const std::string& zoneName, std::vector<std::string>& names);
31 uint16 createZoneId(std::string zoneName);
33 #endif // NL_ZONE_UTILITY