aboutsummaryrefslogtreecommitdiff
path: root/src/content_mapnode.cpp
Commit message (Expand)AuthorAge
* Update Copyright YearsSfan52013-02-24
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
* Fix map deserialization and remove old serialization codePerttu Ahola2012-07-23
* Optimize headersPerttu Ahola2012-06-17
* Properly and efficiently use split utility headersPerttu Ahola2012-06-17
* Switch the license to be LGPLv2/later, with small parts still remaining as GP...Perttu Ahola2012-06-05
* Node placement / mineral / serialization / iron freq / node_dig callbackKahrl2012-01-22
* The huge item definition and item namespace unification patch (itemdef), see ...Kahrl2012-01-12
* Add node definitions in Lua and do not use content_mapnode_init anymore (exce...Kahrl2011-11-29
* Make liquid_alternative_* to be stringsPerttu Ahola2011-11-29
* Store metadata as metadata name in node definitionPerttu Ahola2011-11-29
* Actually fill in the NewNameGetter names to allow map generator operation and...Perttu Ahola2011-11-29
* Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter w...Perttu Ahola2011-11-29
* Node definition namesPerttu Ahola2011-11-29
* Add name field to ContentFeaturesPerttu Ahola2011-11-29
* Remove burn time definitions from FurnaceNodeMetadataPerttu Ahola2011-11-29
* Move cook result properly to ContentFeaturesPerttu Ahola2011-11-29
* Saner sized saplingPerttu Ahola2011-11-29
* Clean nodefeat and content_mapnode a bitPerttu Ahola2011-11-29
* Fix NDT_PLANTLIKE scaling to always keep the bottom at ground levelPerttu Ahola2011-11-29
* Clean mapnode.h and fix other files accordinglyPerttu Ahola2011-11-29
* Completely generalized mesh generation; ContentFeatures serializationPerttu Ahola2011-11-29
* Remove commented out codePerttu Ahola2011-11-29
* Prepare more for node definition serializationPerttu Ahola2011-11-29
* Better node texture generationPerttu Ahola2011-11-29
* Make fence post selection box smaller and create code to allow node placement...Perttu Ahola2011-11-29
* Tune gravel and picksPerttu Ahola2011-11-29
* GameDef compilesPerttu Ahola2011-11-29
* Create framework for getting rid of global definitions of node/tool/item/what...Perttu Ahola2011-11-29
* Tune the tool speed thingPerttu Ahola2011-11-29
* New kind of tool speed and wear calculation thingyPerttu Ahola2011-11-29
* Generalize selection boxesPerttu Ahola2011-11-29
* Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuffPerttu Ahola2011-11-29
* Fix water-glass and water-lava surfacesPerttu Ahola2011-11-08
* Add option to set water opaque (mainly for stylistic choice)Perttu Ahola2011-11-03
* Improve rendering and fix tiling in mesh generationPerttu Ahola2011-10-18
* Automate texture listing for texture atlas makingPerttu Ahola2011-10-18
* Header file tweaking; mainly for speedPerttu Ahola2011-10-12
* Merge remote-tracking branch 'marktraceur/master'Perttu Ahola2011-09-26
|\
| * Fixed merge issues with saplings, ready to pull now!Mark Holmquist2011-09-23
| * Adding (most) of the sapling functionality. It has yet to work, since MEET_OT...Mark Holmquist2011-09-23
* | Merge branch 'view_bobbing_and_vielded_tool'Perttu Ahola2011-09-26
|\ \
| * | Wielded tool updates, leaves and glass work nowKahrl2011-09-19
| * | Removed unused camera_position and camera_direction fields from Client. Moved...Kahrl2011-09-07
* | | added locking chests - clean patchdarkrose2011-09-22
| |/ |/|
* | Removed Spacessfan52011-09-11
* | Added Apple Treessfan52011-09-11
|/
* Add note about trans_table_19.Perttu Ahola2011-09-07
* Fix some texture stuff: remove item_fence.png, use fence.png, remove inexisti...Perttu Ahola2011-09-06
* Lava is now better visible inside water. (a crappy hack)Perttu Ahola2011-08-23
span class="hl kwb">const; //! Updates the absolute position, splits text if required virtual void updateAbsolutePosition(); //! Writes attributes of the element. virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options) const; //! Reads attributes of the element virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options); protected: //! Breaks the single text line. void breakText(); //! sets the area of the given line void setTextRect(s32 line); //! returns the line number that the cursor is on s32 getLineFromPos(s32 pos); //! adds a letter to the edit box void inputChar(wchar_t c); //! calculates the current scroll position void calculateScrollPos(); //! send some gui event to parent void sendGuiEvent(EGUI_EVENT_TYPE type); //! set text markers void setTextMarkers(s32 begin, s32 end); bool processKey(const SEvent& event); bool processMouse(const SEvent& event); s32 getCursorPos(s32 x, s32 y); bool MouseMarking; bool Border; bool OverrideColorEnabled; s32 MarkBegin; s32 MarkEnd; video::SColor OverrideColor; gui::IGUIFont *OverrideFont, *LastBreakFont; IOSOperator* Operator; u32 BlinkStartTime; s32 CursorPos; s32 HScrollPos, VScrollPos; // scroll position in characters u32 Max; bool WordWrap, MultiLine, AutoScroll, PasswordBox; wchar_t PasswordChar; EGUI_ALIGNMENT HAlign, VAlign; core::array< core::stringw > BrokenText; core::array< s32 > BrokenTextPositions; core::rect<s32> CurrentTextRect, FrameRect; // temporary values }; } // end namespace gui } // end namespace irr //#endif // _IRR_COMPILE_WITH_GUI_ #endif // __C_GUI_EDIT_BOX_H_INCLUDED__