summaryrefslogtreecommitdiffstats
path: root/src/UI/Window.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-05Bulk clearing of whitespaceLogicParrot1-21/+21
2016-01-31Updated old forum linksMathias1-1/+1
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-8/+8
2015-07-26Fixed custom recipes result clientside bug.Mattes D1-0/+8
Fixes #2345.
2015-05-18Fixes #2003Tiger Wang1-8/+6
2015-04-21Narrowed WindowID to use only 7 bits.Mattes D1-2/+6
Ref.: http://forum.mc-server.org/showthread.php?tid=1876
2015-01-25Readded old DistributeStackToAreas() comment.Howaner1-2/+5
2014-12-17C++11 and function rename.Howaner1-21/+3
2014-12-13Implemented vanilla-like shift click.Howaner1-28/+22
This fixes many visual bugs.
2014-12-13Own classes for all windows.Howaner1-398/+0
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-19/+19
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-19/+19
2014-10-03Improved furnacesTiger Wang1-18/+5
* Fixed progress bar on 1.8 * Fixed bugs * Improved code * Fixes #1068 * Fixes #1070
2014-09-13Implemented Chest MinecartsTiger Wang1-0/+30
2014-09-111.8: Fixed inventory open packet.Howaner1-0/+28
2014-08-28Enchanting table improvements.Hownaer1-14/+19
2014-07-31Renamed functions and added beacon json saving.Howaner1-2/+2
2014-07-30Added beacon.Howaner1-0/+31
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-2/+2
2014-07-17More trailing whitespace fixes.madmaxoft1-1/+1
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-9/+9
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner1-5/+5
2014-07-12Suggestions and bug fixTiger Wang1-1/+1
* Fixed hoppers pushing/pulling to/from (trapped)chests that do not form a double-chest with the chest type directly connected to said hopper; thank you, @madmaxoft
2014-07-07Implemented trapped chests & othersTiger Wang1-8/+57
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
2014-07-06Added drop window action.Howaner1-15/+7
2014-07-01Only fixes the server crash.Howaner1-6/+0
2014-07-01Fix server-crash with non-existing items.Howaner1-1/+7
2014-06-29Properly implemented enderchestsTiger Wang1-2/+2
2014-06-04SuggestionsTiger Wang1-1/+1
2014-05-19Changed the m_slotarea positionJulian Laubstein1-2/+2
2014-05-19Fixed some warnings in Server.cpp, and in UI/Julian Laubstein1-1/+2
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-1/+1
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-1/+1
2014-05-05Add clicks, exp subtraction, item check, ...Howaner1-3/+32
2014-05-05Add MC|ItemName plugin message.Howaner1-1/+2
2014-05-05Add anvil window and slot area.Howaner1-0/+15
2014-04-19Fixed Codedaniel09161-6/+2
2014-04-17Modified many thingsdaniel09161-38/+3
2014-04-15Add more checks to cSlotAreaEnchantingHowaner1-1/+1
2014-04-12Added complete Enchanting Systemdaniel09161-1/+85
http://minecraft.gamepedia.com/Enchantment_mechanics
2014-03-12Added additional macros to support the MSVC size_t format and changed all formats to use the macrosTycho1-1/+1
2014-03-11Fixed a load of format string errorsTycho1-1/+1
2014-01-24Some updates for enchantingdaniel09161-1/+1
2014-01-24Fixed indentation once and for all.Mike Hunsinger1-15/+15
2014-01-24Fixed indentation and doxygen comments... For real this time.Mike Hunsinger1-12/+12
2014-01-24Fixed spacing and doxycomments.Mike Hunsinger1-12/+10
2014-01-23Removed extra lineMike Hunsinger1-2/+0
2014-01-23Split TossItem into three Toss functions (Held, Equipped and Pickup)Mike Hunsinger1-5/+32
2014-01-20first changes for enchanting (not finished)daniel09161-0/+15
- added enchanting table block handler and added it to the blockhandler - added enchanting window - drop item in the slot 0 when the player close the window - added enchanting packet (1.7 only) - some more...
2014-01-16Removed obsoleted functionsTiger Wang1-1/+1
2013-12-08added default fallthrough clause to switch at line 178 of src/UI/Window.cppTycho Bickerstaff1-0/+4
2013-12-08Reordered Listed Initalisation order in src/UI/Window.cppTycho Bickerstaff1-2/+2
Reordered the Listed Initalisation order for CWindow to the executed initalisation order. The compiler initalises values in the order the fields are declared not the initalisations listed
2013-12-07Added basic ender chestsTiger Wang1-0/+38
Note that they just mirror chests now, so no per player inventory.
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-12cWindow: Fixed item dupe glitch with painting (#278)madmaxoft1-2/+2
2013-11-10Implemented inventory dblclick.madmaxoft1-0/+45
Implements #229.
2013-11-08cProtocol::SendWindowOpen() signature changed.madmaxoft1-1/+1
This implements #313.
2013-10-28Renamed cWindow constants to include the "wt" prefix.madmaxoft1-10/+10
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-2/+2
2013-08-18Added cWindow property manipulation API.madmaxoft1-2/+24
Now enchantment table and furnace properties can be set by a plugin
2013-07-27Fixed Window Titles being MCS-*Tiger Wang1-8/+7
For example, MCS-Chest, MCS-DoubleChest, etc.
2013-06-16Rewritten furnacesmadmaxoft@gmail.com1-1/+2
Furnaces now smelt the correct number of items. Furnaces store their contents in a cItemGrid. Furnace window is updated with correct items and progressbars. Furnace recipes now use ticks instead of milliseconds. Furnaces save and load their state completely, not missing a smelt operation. Hoppers take items out of furnaces. Dropped the cSlotAreaDropSpenser class, replaced it with generic cSlotAreaItemGrid git-svn-id: http://mc-server.googlecode.com/svn/trunk@1601 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-13Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it.madmaxoft@gmail.com1-0/+53
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1587 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02LuaWindow: Fixed memory leaks with unclosed windowsmadmaxoft@gmail.com1-1/+1
A player disconnecting will now force all windows to close, not respecting any plugin's overrides. http://forum.mc-server.org/showthread.php?tid=1146&pid=8350#pid8350 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1543 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-30Added the OnClosing callback to cLuaWindow APImadmaxoft@gmail.com1-1/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1534 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-30LuaWindow: Initial code, the window can be opened, but not much manipulatedmadmaxoft@gmail.com1-2/+35
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1532 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-30Implemented right-click inventory paintingmadmaxoft@gmail.com1-26/+52
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1530 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-30Implemented left-click inventory paintingmadmaxoft@gmail.com1-8/+201
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1529 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-28Moved BlockEntities to a separate foldermadmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26Implemented droppersmadmaxoft@gmail.com1-4/+4
Added a common ancestor class "DropSpenser" that has the common code for dropper and dispenser and is Lua-accessible, too. The Debuggers plugin now triggers both droppers and dispensers when rclking them with a redstone torch. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1514 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-08Refactored window clicking code to use different click actionsmadmaxoft@gmail.com1-5/+20
First part of solving FS #371; should fix #370. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1459 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-04Fixed personal crafting grid not being tossed on inventory close.madmaxoft@gmail.com1-4/+3
FS #355, http://www.mc-server.org/support/index.php?do=details&task_id=355 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1358 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-08Fixed rclk in doublechestsmadmaxoft@gmail.com1-9/+16
FS #284 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1127 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-19Added dispensers (they can't dispense items yet)luksor111@gmail.com1-0/+15
Fixed crash when digging snow Moved BlockPlace hook check, so Core plugin will no longer block item usage Player chat messages are now visible in the console git-svn-id: http://mc-server.googlecode.com/svn/trunk@1081 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-20Double chests are now working, and with sound. (FS #69)madmaxoft@gmail.com1-9/+32
git-svn-id: http://mc-server.googlecode.com/svn/trunk@993 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Fixed memory leaks in cWindow and cProtocolRecognizermadmaxoft@gmail.com1-0/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@910 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Hopefully fixed creative inventory tossing items out of the window.madmaxoft@gmail.com1-1/+1
( http://forum.mc-server.org/showthread.php?tid=434&pid=4657#pid4657 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@905 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-7/+7
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Source files cleanup: UI files renamedmadmaxoft@gmail.com1-5/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@878 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Tweaked logging.madmaxoft@gmail.com1-5/+0
Less output for UI. More output for player pos confirming (FS #245) and for player spawning git-svn-id: http://mc-server.googlecode.com/svn/trunk@875 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-21Working shift-click support in crafting areas; window update working in 1.3.2madmaxoft@gmail.com1-0/+29
git-svn-id: http://mc-server.googlecode.com/svn/trunk@869 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-20UI: Added shift-click support to most slot areas, except crafting.madmaxoft@gmail.com1-1/+43
Also fixed survival inventory's crafting grid not working. git-svn-id: http://mc-server.googlecode.com/svn/trunk@868 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-20Refactored windows.madmaxoft@gmail.com1-0/+385
As described on the forum: http://forum.mc-server.org/showthread.php?tid=561 For now, only basic clicking works; shift-click not implemented yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@867 0a769ca7-a7f5-676a-18bf-c427514a06d6