NXC word-wrapping
Posted: 30 Jan 2011, 22:52
It have now been a half year without really doing anything to my NXT-RPG project so I decided to finally do something. I have made a few updates to the word-wrapping code, fixing a rather embarrassing bug and some few but effective optimizations.
So here is the usual screenshot:
(It didn't want to upload of some reason so I hope linking to my wordpress.com blog works...)
This brings the rendering time for the example string down from 109 to 76 msec, an improvement of about 30%. To do this I just manually converted two if and one for statement to NBC code instead of relying on the NXC compiling which just isn't good enough right now... I really hate to have to do this manually, but I guess I have no choice...
So here is the usual screenshot:
(It didn't want to upload of some reason so I hope linking to my wordpress.com blog works...)
This brings the rendering time for the example string down from 109 to 76 msec, an improvement of about 30%. To do this I just manually converted two if and one for statement to NBC code instead of relying on the NXC compiling which just isn't good enough right now... I really hate to have to do this manually, but I guess I have no choice...