aboutsummaryrefslogtreecommitdiff
path: root/src/util/string.h
Commit message (Expand)AuthorAge
* Reduce gettext wide/narrow and string/char* conversionsShadowNinja2015-02-05
* Make minor style change(unescape_string())Craig Robbins2015-01-16
* Fix unescape_string removing all backslashesShadowNinja2015-01-15
* Deduplicate code and use stdlib in string functionsShadowNinja2015-01-03
* Fixes for Android build errors. Enable sensor landscape rotation.KodexKy2014-11-25
* Cleanup and (mostly) document util/string.h and (very) minor refactoringCraig Robbins2014-11-02
* Fix bug introduced by me (Zeno)Craig Robbins2014-10-29
* Added names colours and refactored parseColorString()Craig Robbins2014-10-29
* Add [colorize modifierBlockMen2014-10-05
* Standardize tooltip row detectionBlockMen2014-09-28
* Use const references for Settings methodsShadowNinja2014-09-21
* Fix msvc2012 buildsapier2014-06-29
* Add formspec api versioningsapier2014-06-29
* Replace usage of long long with u64/s64ShadowNinja2014-03-12
* Add capability to read table flag fields from Lua APIkwolekr2014-02-09
* Make flag strings clear specified flag with 'no' prefixkwolekr2014-02-08
* Revert "Fix settings to honor numeric conversion errors"kwolekr2014-02-05
* Fix settings to honor numeric conversion errorssapier2014-02-04
* Implement urlencode and urldecodeKahrl2013-12-13
* Accept hexadecimal and string values for seedskwolekr2013-11-04
* Change mainmenu texture handling + small misc changesKahrl2013-09-11
* Add dummy and LevelDB database backendsIlya Zhuravlev2013-09-09
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
* Settings: everything != 0 equals true; remove .asm shadersPilzAdam2013-07-08
* Allow any character in formspec strings with escape charkwolekr2013-03-05
* Update Copyright YearsSfan52013-02-24
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
* Add flag string settings, flat map optionkwolekr2013-02-06
* Fix compile under MingWkwolekr2013-01-23
* Added ability to fetch media from remote server (using cURL library)Ilya Zhuravlev2012-12-16
* Enforce stricter world names using a blacklistMatthew I2012-09-05
* Initially split utility.h to multiple files in util/Perttu Ahola2012-06-17
game(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.empty() && !path.empty() && !gameid.empty()); } }; std::vector<WorldSpec> getAvailableWorlds(); // loads the subgame's config and creates world directory // and world.mt if they don't exist bool loadGameConfAndInitWorld(const std::string &path, const SubgameSpec &gamespec);