A bit of cleanup and documentation around the UI window handling
git-svn-id: http://mc-server.googlecode.com/svn/trunk@716 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -19,12 +19,9 @@
|
||||
|
||||
|
||||
cCraftingWindow::cCraftingWindow( cWindowOwner* a_Owner, bool a_bInventoryVisible )
|
||||
: cWindow( a_Owner, a_bInventoryVisible )
|
||||
: cWindow(a_Owner, a_bInventoryVisible, cWindow::Workbench, 1)
|
||||
{
|
||||
SetWindowID( 1 );
|
||||
SetWindowType( cWindow::Workbench ); // Workbench
|
||||
|
||||
cItem* Slots = new cItem[10];
|
||||
cItem * Slots = new cItem[10];
|
||||
SetSlots( Slots, 10 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user