02-17-2012, 12:20 AM
(02-16-2012, 11:48 PM)xoft Wrote: I'm not yet sure how the cWindow class works. And how does cWindowOwner fit in?The whole idea of the cWindowOwner class is that it opens a single window for multiple players. a cChestEntity is a cWindowOwner, because it owns a window.
From what I've seen, cWindowOwner has descendants although they don't really use much of it - there's no virtual members, so there's not much to override.
Also, does the current windowing work multi-player? (both players open the same entity's window, one player puts something in it, does the other player see it?)
(02-16-2012, 11:48 PM)xoft Wrote: I'd say this is a good candidate for a rewrite, or at least for a very good documentationPerhaps, I don't really understand it much myself, other than that it works XD