aboutsummaryrefslogtreecommitdiff
path: root/textures
Commit message (Collapse)AuthorAge
* Serverlist: Add ping indicators (#5164)kilbith2017-02-03
|
* Halo: Highlight selected faceRealBadAngel2016-11-12
| | | | | This is a slightly modified and cleaned up version of #3774 by RealBadAngel. By sofar: Remove color change (just make it lighter) and some minor cleanups.
* Textures: New 'smoke puff' texture from TNT modparamat2016-10-04
|
* Main menu, lua_api.txt: Fix mod/texture pack screenshot size issuesWuzzy2016-07-27
| | | | | | Recommend mod screenshot size in lua_api.txt Adjust displayed screenshot size of texture packs Document texture pack files in lua_api.txt
* Textures: Replace menu background fallback dirt_bg.png with empty sky textureparamat2016-04-21
|
* Mainmenu: Unify favorite servers with main serverlistkilbith2016-04-20
|
* Minimap: revert change from RGBA to IndexedAuke Kok2016-04-11
| | | | | | @kilbith spotted correctly that I had accidentally removed the "soft" edging on the minimap overlay by converting it from RGBA to Indexed, which killed the transparent pixels on the edging.
* Minimap: "North" indicator arrow for circle minimapAuke Kok2016-04-08
| | | | | | | | | | Related: #3730 This adds a simple, and small "North" indicator to the circular minimap. The indicator is in a classical triangle-like arrow with a little bit of shading to accentuate the shape and give it a little bit depth. The indicator is stuck exactly at the edge as far outwards as possible, and is not too intrusive but still easy enough to spot.
* Update menu header imageJean-Patrick Guerrero2016-03-25
|
* Resize object_marker_red.png to 16x16ShadowNinja2016-02-28
| | | | Having a non-power-of-two image broke the Android app.
* Minimap: show player markersRealBadAngel2016-02-19
|
* Cleanup selection mesh code, add shaders for halo and selection boxesRealBadAngel2016-02-08
|
* Android: Implement Autohiding button bars to cleanup screenSapier2015-12-18
|
* Compress textures and fontsMaksim Gamarnik2015-10-15
| | | | | Used PNGOUT, OptiPNG and DeflOpt. Removes ~350 KB without any loss in quality.
* Fix relief mapping issuesRealBadAngel2015-07-16
|
* Add minimap featureRealBadAngel2015-06-27
|
* Use frame instead of words 'no screenshot available'rubenwardy2015-06-24
|
* Add extra buttons to Android GUI. All icons are licensed by freepik.com ↵Kodexky2014-12-30
| | | | under CC BY 3.0
* Regenerate server_flags_creative.png from XCFKahrl2014-12-21
|
* Fix background of creative icon (was black, now transparent)Kahrl2014-12-14
|
* Display serverlist flags as iconsKahrl2014-12-13
|
* Fix MSVC compiling warnings and remove an unused textureSmallJoker2014-12-12
|
* Change default halo.png for better visibility.RealBadAngel2014-09-19
|
* Node highlighting.RealBadAngel2014-09-17
|
* Add support for Android 2.3+sapier2014-06-29
| | | | | | | | | | | | | There have been plenty of ppl involved in creating this version. I don't wanna mention names as I'm sure I'd forget someone so I just tell where help has been done: - The partial android versions done by various ppl - Testing on different android devices - reviewing code (especially the in core changes) - testing controls - reviewing texts A big thank you to everyone helping this to be completed!
* Fix regression dirt texture not beeing default in non cloud menusapier2014-06-14
|
* Shaders rework.RealBadAngel2013-12-03
|
* Make freetype usage configureable by a settingPilzAdam2013-08-04
|
* Add texture pack selection to main menuNovatux2013-08-04
|
* Replace C++ mainmenu by formspec powered onesapier2013-07-02
|
* Compress texturesDavid Gumberg2013-06-18
|
* Higher resolution menuheaderPilzAdam2013-05-25
|
* Add menu_header.png and remove old, unused texturesPilzAdam2013-05-20
|
* unkn own block -> unkn own nodekhonkhortisan2013-04-05
|
* Add cloud menu background by Krisi, configurable with the menu_clouds option.ShadowNinja2013-03-13
| | | | | Also add a menuheader, menusplash, menufooter_clouds, and allow HD menu footers. And finally don't git-ignore textures/base/.
* Update menulogo.pngIlya Zhuravlev2013-03-10
|
* Support custom textures installed as /textures/all/*.pngPerttu Ahola2012-04-07
|
* Flatten share/ and user/ in the source and for the RUN_IN_PLACE buildPerttu Ahola2012-03-20
class="hl opt">::string &name) const; s32 getS32(const std::string &name) const; u64 getU64(const std::string &name) const; float getFloat(const std::string &name) const; v2f getV2F(const std::string &name) const; v3f getV3F(const std::string &name) const; u32 getFlagStr(const std::string &name, const FlagDesc *flagdesc, u32 *flagmask) const; bool getNoiseParams(const std::string &name, NoiseParams &np) const; bool getNoiseParamsFromValue(const std::string &name, NoiseParams &np) const; bool getNoiseParamsFromGroup(const std::string &name, NoiseParams &np) const; // return all keys used std::vector<std::string> getNames() const; bool exists(const std::string &name) const; /*************************************** * Getters that don't throw exceptions * ***************************************/ bool getGroupNoEx(const std::string &name, Settings *&val) const; bool getNoEx(const std::string &name, std::string &val) const; bool getDefaultNoEx(const std::string &name, std::string &val) const; bool getFlag(const std::string &name) const; bool getU16NoEx(const std::string &name, u16 &val) const; bool getS16NoEx(const std::string &name, s16 &val) const; bool getS32NoEx(const std::string &name, s32 &val) const; bool getU64NoEx(const std::string &name, u64 &val) const; bool getFloatNoEx(const std::string &name, float &val) const; bool getV2FNoEx(const std::string &name, v2f &val) const; bool getV3FNoEx(const std::string &name, v3f &val) const; // Like other getters, but handling each flag individualy: // 1) Read default flags (or 0) // 2) Override using user-defined flags bool getFlagStrNoEx(const std::string &name, u32 &val, const FlagDesc *flagdesc) const; /*********** * Setters * ***********/ // N.B. Groups not allocated with new must be set to NULL in the settings // tree before object destruction. bool setEntry(const std::string &name, const void *entry, bool set_group, bool set_default); bool set(const std::string &name, const std::string &value); bool setDefault(const std::string &name, const std::string &value); bool setGroup(const std::string &name, const Settings &group); bool setGroupDefault(const std::string &name, const Settings &group); bool setBool(const std::string &name, bool value); bool setS16(const std::string &name, s16 value); bool setU16(const std::string &name, u16 value); bool setS32(const std::string &name, s32 value); bool setU64(const std::string &name, u64 value); bool setFloat(const std::string &name, float value); bool setV2F(const std::string &name, v2f value); bool setV3F(const std::string &name, v3f value); bool setFlagStr(const std::string &name, u32 flags, const FlagDesc *flagdesc = nullptr, u32 flagmask = U32_MAX); bool setNoiseParams(const std::string &name, const NoiseParams &np, bool set_default=false); // remove a setting bool remove(const std::string &name); void clear(); void clearDefaults(); /************** * Miscellany * **************/ void setDefault(const std::string &name, const FlagDesc *flagdesc, u32 flags); // Takes the provided setting values and uses them as new defaults void overrideDefaults(Settings *other); const FlagDesc *getFlagDescFallback(const std::string &name) const; void registerChangedCallback(const std::string &name, SettingsChangedCallback cbf, void *userdata = NULL); void deregisterChangedCallback(const std::string &name, SettingsChangedCallback cbf, void *userdata = NULL); void removeSecureSettings(); private: /*********************** * Reading and writing * ***********************/ SettingsParseEvent parseConfigObject(const std::string &line, const std::string &end, std::string &name, std::string &value); bool updateConfigObject(std::istream &is, std::ostream &os, const std::string &end, u32 tab_depth=0); static bool checkNameValid(const std::string &name); static bool checkValueValid(const std::string &value); static std::string getMultiline(std::istream &is, size_t *num_lines=NULL); static void printEntry(std::ostream &os, const std::string &name, const SettingsEntry &entry, u32 tab_depth=0); /*********** * Getters * ***********/ const SettingsEntry &getEntry(const std::string &name) const; const SettingsEntry &getEntryDefault(const std::string &name) const; // Allow TestSettings to run sanity checks using private functions. friend class TestSettings; void updateNoLock(const Settings &other); void clearNoLock(); void clearDefaultsNoLock(); void doCallbacks(const std::string &name) const; SettingEntries m_settings; SettingEntries m_defaults; std::unordered_map<std::string, const FlagDesc *> m_flags; SettingsCallbackMap m_callbacks; mutable std::mutex m_callback_mutex; // All methods that access m_settings/m_defaults directly should lock this. mutable std::mutex m_mutex; };