Changed Hopper to wtHopper and adjusted .gitignore.

This commit is contained in:
Lukas Pioch committed 2016-07-12 16:21:20 +02:00
1 parent 443b657b7d
commit 87a7d3ec64
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -88,7 +88,8 @@ src/AllFiles.lst
*.opensdf
*.sdf
*.sln
*.opendb
*.VC.opendb
*.VC.db
*.idb
# cmake output folders and files
+1 -1
View File
@@ -1640,7 +1640,7 @@ end
-- Set window contents:
-- a_Player is a cPlayer object received from the outside of this code fragment
local Window = cLuaWindow(cWindow.Hopper, 3, 3, "TestWnd");
local Window = cLuaWindow(cWindow.wtHopper, 3, 3, "TestWnd");
Window:SetSlot(a_Player, 0, cItem(E_ITEM_DIAMOND, 64));
Window:SetOnClosing(OnClosing);
Window:SetOnSlotChanged(OnSlotChanged);