aboutsummaryrefslogtreecommitdiff
path: root/src/guiFormSpecMenu.cpp
Commit message (Expand)AuthorAge
* Allow any character in formspec strings with escape charkwolekr2013-03-05
* Update Copyright YearsSfan52013-02-24
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
* "or" should be "||". Don't use "or", "and", etc.. It breaks build.Ilya Zhuravlev2013-01-04
* Implement textarea in formspec, a multiline input fieldJeija2013-01-04
* Bugfixes to item_image formspec methodRealBadAngel2013-01-02
* On-demand item meshes and texturesPerttu Ahola2012-12-02
* 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
* A bunch of fixesMirceaKitsune2012-11-25
* Update attachments at the ending of the addToScene function for parents. And ...MirceaKitsune2012-11-25
* Merge pull request #268 from khonkhortisan/image_buttonxyzz2012-11-22
|\
| * Allow transparent image_buttonsKyle2012-10-18
* | Adding background to FormspecRealBadAngel2012-11-08
* | Formspec: Draw images before inventories. Allows to use image as background.RealBadAngel2012-11-04
|/
* Make inventory GUI do sane things when server-side inventory acts unusuallyPerttu Ahola2012-09-02
* Fix bug in moving a larger sized stack in inventory on top of anotherPerttu Ahola2012-09-02
* Restore focus to formspec menu when pressing a buttonPerttu Ahola2012-07-25
* Improve formspec positioningPerttu Ahola2012-07-25
* Detached inventory callbacks and reworked node metadata callbacksPerttu Ahola2012-07-25
* Detached inventoriesPerttu Ahola2012-07-24
* Formspec button_exit[] and image_button_exit[]Perttu Ahola2012-07-22
* Implement formspecdarkrose2012-07-22
pt">.X/1000; pos.Y = (f32)intp.Y/1000; pos.Z = (f32)intp.Z/1000; // data data = deSerializeString(is); } void StaticObjectList::serialize(std::ostream &os) { char buf[12]; // version buf[0] = 0; os.write(buf, 1); // count u16 count = m_stored.size() + m_active.size(); writeU16((u8*)buf, count); os.write(buf, 2); for(std::list<StaticObject>::iterator i = m_stored.begin(); i != m_stored.end(); ++i) { StaticObject &s_obj = *i; s_obj.serialize(os); } for(std::map<u16, StaticObject>::iterator i = m_active.begin(); i != m_active.end(); ++i) { StaticObject s_obj = i->second; s_obj.serialize(os); } } void StaticObjectList::deSerialize(std::istream &is) { char buf[12]; // version is.read(buf, 1); u8 version = buf[0]; // count is.read(buf, 2); u16 count = readU16((u8*)buf); for(u16 i=0; i<count; i++) { StaticObject s_obj; s_obj.deSerialize(is, version); m_stored.push_back(s_obj); } }