Playing with cSignEntities
#5
(04-05-2014, 12:41 AM)xoft Wrote: Why not? All you need is a cWorld pointer, then you can manipulate any sign within the loaded chunks, using the cWorld::DoWithBlockEntityAt() function (if you need, you can write a specific DoWithSignEntityAt() function; although it'd be nice to somehow templatize this piece of code to avoid copy-pasting it to new functions).

Well, I'm trying to fix up the MetaRotate and MetaMirror Functions for cBlockSignHandler and I don't think I can get any cWorld pointers into that function without rewriting the declarations and calls of all the MetaRotate and MetaMirror Functions. These functions are virtual member functions of cBlockHandler and only take a particular metadata as a parameter.
Reply
Thanks given by:


Messages In This Thread
Playing with cSignEntities - by Narroo - 04-04-2014, 01:25 AM
RE: Playing with cSignEntities - by xoft - 04-04-2014, 01:31 AM
RE: Playing with cSignEntities - by Narroo - 04-04-2014, 11:16 PM
RE: Playing with cSignEntities - by xoft - 04-05-2014, 12:41 AM
RE: Playing with cSignEntities - by Narroo - 04-05-2014, 11:31 PM
RE: Playing with cSignEntities - by xoft - 04-06-2014, 06:07 AM
RE: Playing with cSignEntities - by Narroo - 04-07-2014, 07:19 AM
RE: Playing with cSignEntities - by xoft - 04-07-2014, 03:49 PM



Users browsing this thread: 1 Guest(s)