aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/basenodes/textures/default_desert_sand.png
blob: 19ec87dc08039141912bd69cfe048975773f71d2 (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 10 00 00 00 10 08 03 00 00 00 28 2d 0f .PNG........IHDR.............(-.
0020 53 00 00 00 42 50 4c 54 45 f1 b9 a5 f3 c6 b7 f5 ca bb f2 c0 b0 f3 bf ad ee af 9a ea 97 7a ec a2 S...BPLTE....................z..
0040 88 ef b2 9d eb 9c 81 ed a9 93 ee a8 90 ee ad 96 ef b4 a1 f0 b5 a2 f1 bb a9 ed a7 8f f3 c3 b2 ea ................................
0060 97 79 ef b0 9b e8 8d 6d ea 93 75 85 2e 9d 78 00 00 00 9e 49 44 41 54 18 19 05 c1 01 62 04 21 08 .y.....m..u...x....IDAT.....b.!.
0080 04 c1 5e 45 61 65 f4 c8 99 fc ff ab a9 02 9e 46 ef d6 c7 f4 80 17 16 f1 64 58 27 14 39 12 db 47 ..^Eae.........F........dX'.9..G
00a0 ad f7 76 a2 6b c5 4a e0 e1 63 d1 15 0d a6 1f 3c 9f 3d c2 09 6b 0a 14 94 7e 36 54 00 8b 6f 41 84 ..v.k.J..c.....<.=..k...~6T..oA.
00c0 5d 93 d7 88 4b 93 84 de e5 2a 29 d6 5b 82 0b 50 f2 14 cf c8 7e 94 a8 5b fd 0e d6 18 3e ce 74 31 ]...K....*).[..P....~..[....>.t1
00e0 87 a2 d6 d6 2d 1f 3e df e2 cf 8b 9e 7e af d7 aa 33 92 12 01 33 f2 5d be dd 1d c3 04 ce 4d 4d 61 ....-.>.....~...3...3.]......MMa
0100 86 b1 e3 e3 0a 90 bb 19 a8 13 fe 35 bf 2c 4a e9 ff cc 8a 07 9f ce 21 f7 19 00 00 00 00 49 45 4e ...........5.,J.......!......IEN
0120 44 ae 42 60 82 D.B`.
ify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SUBGAME_HEADER #define SUBGAME_HEADER #include <string> #include <set> #include <vector> #define WORLDNAME_BLACKLISTED_CHARS "/\\" struct SubgameSpec { std::string id; // "" = game does not exist std::string path; // path to game std::string gamemods_path; //path to mods of the game std::set<std::string> addon_mods_paths; //paths to addon mods for this game std::string name; SubgameSpec(const std::string &id_="", const std::string &path_="", const std::string &gamemods_path_="", const std::set<std::string> &addon_mods_paths_=std::set<std::string>(), const std::string &name_=""): id(id_), path(path_), gamemods_path(gamemods_path_), addon_mods_paths(addon_mods_paths_), name(name_) {} bool isValid() const { return (id != "" && path != ""); } }; std::string getGameName(const std::string &game_path); SubgameSpec findSubgame(const std::string &id); SubgameSpec findWorldSubgame(const std::string &world_path); std::set<std::string> getAvailableGameIds(); std::vector<SubgameSpec> getAvailableGames(); bool getWorldExists(const std::string &world_path); std::string getWorldGameId(const std::string &world_path, bool can_be_legacy=false); struct WorldSpec { std::string path; std::string name; std::string gameid; WorldSpec( const std::string &path_="", const std::string &name_="", const std::string &gameid_="" ): path(path_), name(name_), gameid(gameid_) {} bool isValid() const { return (name != "" && path != "" && gameid != ""); } }; std::vector<WorldSpec> getAvailableWorlds(); // Create world directory and world.mt if they don't exist bool initializeWorld(const std::string &path, const std::string &gameid); #endif