aboutsummaryrefslogtreecommitdiff
path: root/doc
Commit message (Expand)AuthorAge
* Update changelog and call this 0.3.1Perttu Ahola2011-11-09
* Update /README.txt, remove duplicate /doc/README.txt and update CMakeLists.tx...Perttu Ahola2011-11-03
* Set version to 0.3.0 and update changelogPerttu Ahola2011-11-01
* 0.3.dev-20111021Perttu Ahola2011-10-21
* Update changelog (albeit a bit late)Perttu Ahola2011-10-16
* Update Linux build instructions in README.txt a bit and list the bat script u...Perttu Ahola2011-10-16
* Merge remote-tracking branch 'darkrose/master'Perttu Ahola2011-09-26
|\
| * added locking chests - clean patchdarkrose2011-09-22
* | Make client report a newer version number to the server than 2011-07-31 does ...Perttu Ahola2011-09-22
* | Oh well, let's call it just 0.2.20110922Perttu Ahola2011-09-22
* | Update changelog and version to 0.2.20110922_rc1Perttu Ahola2011-09-22
|/
* Update changelogPerttu Ahola2011-09-16
* Updated changelogPerttu Ahola2011-08-31
* dissector branch: fix for doc/protocol.txt: CONTROLTYPE_DISCO is 3Kahrl2011-08-25
* Fixes a bug that made the server to deny non-empty passwords from players con...Perttu Ahola2011-07-31
* updated changelogPerttu Ahola2011-07-31
* changelog update and disable motd by defaultPerttu Ahola2011-07-31
* Updated CMakeLists, changelog and example config for releasePerttu Ahola2011-07-31
* Merge branch 'upstream/master'Nils Dagsson Moskopp2011-07-14
|\
| * Updated version and changelogPerttu Ahola2011-07-04
* | small fixSebastian Rühl2011-06-26
|/
* Reorganizing stuff (import from temporary git repo)Perttu Ahola2011-06-25
* lol, i have apparently used python too much...Perttu Ahola2011-06-18
* added a small php examplePerttu Ahola2011-06-18
* Added endianess to procotol.txtPerttu Ahola2011-06-18
* Fixed typo in protocol.txtPerttu Ahola2011-06-18
* updated protocol.txtPerttu Ahola2011-06-18
* Documentation updatePerttu Ahola2011-06-18
* updated mapformat.txt a bitPerttu Ahola2011-06-04
* documentation update (mapformat.txt mainly)Perttu Ahola2011-06-04
* 0.2.20110602_0Perttu Ahola2011-06-02
* hopefully fixed the privilege problemsPerttu Ahola2011-05-29
* changed version number to 0.2.20110529_0Perttu Ahola2011-05-29
* invert_mouse config optionPerttu Ahola2011-05-29
* player passwords and privileges in world/auth.txtPerttu Ahola2011-05-29
* updated readme a bitPerttu Ahola2011-05-21
* some documentation updatesPerttu Ahola2011-05-21
* and the changelogPerttu Ahola2011-05-21
* updated changelogPerttu Ahola2011-05-21
* add recent major changes to changelogPerttu Ahola2011-05-19
* changelog updatePerttu Ahola2011-04-29
* updated changelogPerttu Ahola2011-04-29
* Optimized smooth lighting calculation codePerttu Ahola2011-04-24
* updated menu a bit, and some other small fixesPerttu Ahola2011-04-24
* Added a setting for disabling smooth lighting. Updated changelog.Perttu Ahola2011-04-24
* updated changelogPerttu Ahola2011-04-23
* fixingPerttu Ahola2011-04-12
* Added installing build-essential to build instructions and modified the main....Perttu Ahola2011-04-11
* updated changelog and versionPerttu Ahola2011-04-10
* added libgl1-mesa-dev to dependenciesPerttu Ahola2011-04-09
an> /* A column with options */ struct TableColumn { std::string type; std::vector<Option> options; }; typedef std::vector<TableColumn> TableColumns; GUITable(gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, core::rect<s32> rectangle, ISimpleTextureSource *tsrc); virtual ~GUITable(); /* Split a string of the form "name=value" into name and value */ static Option splitOption(const std::string &str); /* Set textlist-like options, columns and data */ void setTextList(const std::vector<std::string> &content, bool transparent); /* Set generic table options, columns and content */ // Adds empty strings to end of content if there is an incomplete row void setTable(const TableOptions &options, const TableColumns &columns, std::vector<std::string> &content); /* Clear the table */ void clear(); /* Get info about last event (string such as "CHG:1:2") */ // Call this after EGET_TABLE_CHANGED std::string checkEvent(); /* Get index of currently selected row (first=1; 0 if none selected) */ s32 getSelected() const; /* Set currently selected row (first=1; 0 if none selected) */ // If given index is not visible at the moment, select its parent // Autoscroll to make the selected row fully visible void setSelected(s32 index); /* Get selection, scroll position and opened (sub)trees */ DynamicData getDynamicData() const; /* Set selection, scroll position and opened (sub)trees */ void setDynamicData(const DynamicData &dyndata); /* Returns "GUITable" */ virtual const c8* getTypeName() const; /* Must be called when position or size changes */ virtual void updateAbsolutePosition(); /* Irrlicht draw method */ virtual void draw(); /* Irrlicht event handler */ virtual bool OnEvent(const SEvent &event); protected: enum ColumnType { COLUMN_TYPE_TEXT, COLUMN_TYPE_IMAGE, COLUMN_TYPE_COLOR, COLUMN_TYPE_INDENT, COLUMN_TYPE_TREE, }; struct Cell { s32 xmin; s32 xmax; s32 xpos; ColumnType content_type; s32 content_index; s32 tooltip_index; video::SColor color; bool color_defined; s32 reported_column; }; struct Row { Cell *cells; s32 cellcount; s32 indent; // visible_index >= 0: is index of row in m_visible_rows // visible_index == -1: parent open but other ancestor closed // visible_index == -2: parent closed s32 visible_index;