aboutsummaryrefslogtreecommitdiff
path: root/src/guiFormSpecMenu.h
Commit message (Expand)AuthorAge
* Fix uninitialized variable warningkwolekr2014-10-30
* Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanismKahrl2014-10-24
* Add [colorize modifierBlockMen2014-10-05
* Add inventory right click drag and dropsruz252014-09-21
* Allow taking screenshots of formspecs and move message to chatBlockMen2014-09-21
* Add srollbar formspec elementsapier2014-07-16
* Add support for Android 2.3+sapier2014-06-29
* Add formspec api versioningsapier2014-06-29
* Add setting for tooltips show delay.RealBadAngel2014-06-25
* Tooltips rework.RealBadAngel2014-06-24
* Support for scalable font and gui elementssapier2014-06-22
* Fix bounding rect for formspec elements label vertlabel and checkboxessapier2014-06-18
* Add support for exiting formspecs by doubleclicking outsidesapier2014-06-12
* Fix formspec replacement handling for in game formspecssapier2014-04-22
* Fix game pause in singleplayerBlockMen2014-03-13
* Pass arguments by referenceSelat2014-03-12
* Replace pause and message menu by formspec onessapier2014-03-05
* Add formspec tableKahrl2014-01-13
* Reworked formspecs and kahrl's hexcolor parserBlockMen2013-11-03
* Send a on_receive_fields event when formspec is closed, with fields.quit = "t...Novatux2013-11-03
* Change mainmenu texture handling + small misc changesKahrl2013-09-11
* GUIFormSpecMenu focus fixesKahrl2013-08-19
* Add translation for main menusapier2013-08-17
* Don't automatically scroll listbox when selecting an item in the middleKahrl2013-08-16
* Formspec textlist: Black Irrlicht magic to detect fake doubleclicksKahrl2013-08-16
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
* Fix many formspec menu bugssapier2013-07-07
* Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColorSfan52013-07-06
* Replace C++ mainmenu by formspec powered onesapier2013-07-02
* Formspec: Don't perform black magic if selected item fits the guessKahrl2013-06-18
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-11
* Update Copyright YearsSfan52013-02-24
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
* New elements in formspec, item_image and item_image_button.RealBadAngel2012-12-01
* Make dragged itemstack following the mouse cursor much smootherJürgen Doser2012-11-30
* Adding background to FormspecRealBadAngel2012-11-08
* Make inventory GUI do sane things when server-side inventory acts unusuallyPerttu Ahola2012-09-02
* Detached inventoriesPerttu Ahola2012-07-24
* Formspec button_exit[] and image_button_exit[]Perttu Ahola2012-07-22
* minetest.register_on_player_receive_fields()Perttu Ahola2012-07-22
* Implement formspecdarkrose2012-07-22
>{CONTENT_LEAVES, 5}, {CONTENT_GRASS_FOOTSTEPS, 6}, {CONTENT_MESE, 7}, {CONTENT_MUD, 8}, {CONTENT_CLOUD, 10}, {CONTENT_COALSTONE, 11}, {CONTENT_WOOD, 12}, {CONTENT_SAND, 13}, {CONTENT_COBBLE, 18}, {CONTENT_STEEL, 19}, {CONTENT_GLASS, 20}, {CONTENT_MOSSYCOBBLE, 22}, {CONTENT_GRAVEL, 23}, {CONTENT_SANDSTONE, 24}, {CONTENT_CACTUS, 25}, {CONTENT_BRICK, 26}, {CONTENT_CLAY, 27}, {CONTENT_PAPYRUS, 28}, {CONTENT_BOOKSHELF, 29}, }; MapNode mapnode_translate_to_internal(MapNode n_from, u8 version) { MapNode result = n_from; if(version <= 19) { content_t c_from = n_from.getContent(); for (const auto &tt_i : trans_table_19) { if (tt_i[1] == c_from) { result.setContent(tt_i[0]); break; } } } return result; } void content_mapnode_get_name_id_mapping(NameIdMapping *nimap) { nimap->set(0, "default:stone"); nimap->set(2, "default:water_flowing"); nimap->set(3, "default:torch"); nimap->set(9, "default:water_source"); nimap->set(14, "default:sign_wall"); nimap->set(15, "default:chest"); nimap->set(16, "default:furnace"); nimap->set(17, "default:chest_locked"); nimap->set(21, "default:fence_wood"); nimap->set(30, "default:rail"); nimap->set(31, "default:ladder"); nimap->set(32, "default:lava_flowing"); nimap->set(33, "default:lava_source"); nimap->set(0x800, "default:dirt_with_grass"); nimap->set(0x801, "default:tree"); nimap->set(0x802, "default:leaves"); nimap->set(0x803, "default:dirt_with_grass_footsteps"); nimap->set(0x804, "default:mese"); nimap->set(0x805, "default:dirt"); nimap->set(0x806, "default:cloud"); nimap->set(0x807, "default:coalstone"); nimap->set(0x808, "default:wood"); nimap->set(0x809, "default:sand"); nimap->set(0x80a, "default:cobble"); nimap->set(0x80b, "default:steelblock"); nimap->set(0x80c, "default:glass"); nimap->set(0x80d, "default:mossycobble"); nimap->set(0x80e, "default:gravel"); nimap->set(0x80f, "default:sandstone"); nimap->set(0x810, "default:cactus"); nimap->set(0x811, "default:brick"); nimap->set(0x812, "default:clay"); nimap->set(0x813, "default:papyrus"); nimap->set(0x814, "default:bookshelf"); nimap->set(0x815, "default:jungletree"); nimap->set(0x816, "default:junglegrass"); nimap->set(0x817, "default:nyancat"); nimap->set(0x818, "default:nyancat_rainbow"); nimap->set(0x819, "default:apple"); nimap->set(0x820, "default:sapling"); // Static types nimap->set(CONTENT_IGNORE, "ignore"); nimap->set(CONTENT_AIR, "air"); }