summaryrefslogtreecommitdiff
path: root/src/inventorymanager.cpp
Commit message (Expand)AuthorAge
* Fix inventory replace bugest312015-08-19
* MoveItemSomewhere double bugfixest312015-07-19
* Inventory manager style cleanup and further checksest312015-07-01
* Add MoveSomewhere inventory actionest312015-06-23
* Fix bug when craft input isn't replacedTeTpaAka2015-06-22
* Move globals from main.cpp to more sane locationsCraig Robbins2015-04-01
* Don't send an InventoryAction at each setInventoryModified, we only need one ...Loic Blot2015-03-24
* For usages of assert() that are meant to persist in Release builds (when NDEB...Craig Robbins2015-03-07
* Performance fixes.onkrot2015-01-13
* Clean up rollbackShadowNinja2014-11-19
* Split settings into seperate source and header filesShadowNinja2014-09-21
* Add a callback: minetest.register_on_craft(itemstack, player,Novatux2013-11-01
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
* Move scriptapi to separate folder (by sapier)sapier2013-05-25
* Update Copyright YearsSfan52013-02-24
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
* Fix moving stuff into a mismatched stack in a "infinite" inventoryPerttu Ahola2012-09-02
* Make inventory GUI do sane things when server-side inventory acts unusuallyPerttu Ahola2012-09-02
* Add InventoryList width property & allow custom crafting grids.Ilya Zhuravlev2012-09-01
* Fix wrong amount of nodes being dropped from inventoryPerttu Ahola2012-08-12
* Remove unwanted ! from ifs in inventory record-for-rollback codePerttu Ahola2012-08-12
* Fix inventory segfault when rollback recording is disabledPerttu Ahola2012-07-28
* Experimental-ish rollback functionalityPerttu Ahola2012-07-27
* Add special return value -1 to inventry callbacksPerttu Ahola2012-07-25
* Improve inventory callbacks a bitPerttu Ahola2012-07-25
* Remove special handling of creative modePerttu Ahola2012-07-25
* Detached inventory callbacks and reworked node metadata callbacksPerttu Ahola2012-07-25
* Detached inventoriesPerttu Ahola2012-07-24
* 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
* Properly handle dropping of items from nodes, and disallow moving items direc...Perttu Ahola2012-06-03
* on_metadata_inventory_{move,offer,take}Perttu Ahola2012-06-03
* Client-side prediction of inventory changes, and some inventory menu fixesKahrl2012-01-22
* Inventory menu (with dragging) improved. Crafting is now handled via a IACTIO...Kahrl2012-01-22
* Inventory menu changes: Tooltips; dragging; drop from menu. Lag is a bit anno...Kahrl2012-01-13
* The huge item definition and item namespace unification patch (itemdef), see ...Kahrl2012-01-12
* Add InvRef and InvStack (currently untested and unusable)Perttu Ahola2012-01-02
hl kwd">m_lastMode(), m_lastSize(0), m_lastFont(NULL) {}; /** update content of font cache in case of a setting change made it invalid */ void updateFontCache(); /** initialize a new font */ void initFont(unsigned int basesize, FontMode mode=FM_Unspecified); /** initialize a font without freetype */ void initSimpleFont(unsigned int basesize, FontMode mode); /** update current minetest skin with font changes */ void updateSkin(); /** clean cache */ void cleanCache(); /** pointer to settings for registering callbacks or reading config */ Settings* m_settings; /** pointer to irrlicht gui environment */ gui::IGUIEnvironment* m_env; /** internal storage for caching fonts of different size */ std::map<unsigned int, irr::gui::IGUIFont*> m_font_cache[FM_MaxMode]; /** default font size to use */ unsigned int m_default_size[FM_MaxMode]; /** current font engine mode */ FontMode m_currentMode; /** font mode of last request */ FontMode m_lastMode; /** size of last request */ unsigned int m_lastSize; /** last font returned */ irr::gui::IGUIFont* m_lastFont; }; /** interface to access main font engine*/ extern FontEngine* g_fontengine; #endif