summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaWindow.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-17Add cLuaWindow OnClicked Callback (#3901)Lane Kolbly1-1/+35
2017-06-05Fixes problems with windows:Lukas Pioch1-0/+20
- Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers
2017-01-09LuaState: Fixed race condition in ref tracking. (#3529)Mattes D1-1/+1
2016-06-27Converted cLuaState::cCallbackPtr into a UniquePtr.Mattes D1-4/+4
2016-06-27Changed cLuaWindow callbacks to use cLuaState::cCallback.Mattes D1-56/+39
2016-03-21Revert "Lua callback"Mattes D1-39/+56
2016-03-17Changed cLuaWindow callbacks to use cLuaState::cCallback.Mattes D1-56/+39
2016-02-05Bulk clearing of whitespaceLogicParrot1-9/+9
2015-05-09CheckBasicStyle: checks spaces around * and &.Mattes D1-3/+3
2014-12-17C++11 and function rename.Howaner1-0/+18
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-7/+7
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-7/+7
2014-09-26Removed a few unnessicary includesTycho1-1/+0
2014-07-17Normalized comments.madmaxoft1-2/+2
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.
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-2/+2
Ref.: #407
2013-11-27Fixed some of tiger's derpyness.Alexander Harkness1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-28Renamed cWindow constants to include the "wt" prefix.madmaxoft1-2/+2
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-08-19Finished renaming cPlugin_NewLua to cPluginLua.madmaxoft1-3/+3
2013-08-18Fixed LuaWindow destructor causing a crash.madmaxoft1-0/+10
It was leaving the m_Contents' relations to listeners and SlotAreas' relations to m_Contents, which were already gone.
2013-08-10Renamed Plugin_NewLua to PluginLua.madmaxoft1-1/+1
2013-08-09Renamed Plugin_NewLua to PluginLua.madmaxoft1-1/+1
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-175/+175
2013-06-02LuaWindow: Fixed memory leaks with unclosed windowsmadmaxoft@gmail.com1-4/+4
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-31Added cLuaWindow:SetOnSlotChanged(); the callback is called only for non-inventory slotsmadmaxoft@gmail.com1-0/+40
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1535 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-30Added the OnClosing callback to cLuaWindow APImadmaxoft@gmail.com1-2/+46
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-0/+91
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1532 0a769ca7-a7f5-676a-18bf-c427514a06d6