1
Post New Requests Here / Re: IDEA: TrueCrypt Alternate GUI for Windows
« on: February 25, 2010, 08:30 AM »
Do you have a GUI mockup?
Excellent! Nothing better than the feeling one gets after solving a brain-buster.
Now that you have the thing working (grin) it's time to rip it all out and replace it with this:
I've found that performance can be enhanced greatly in these kinds of games by precalculating all the SIN/COS values for each possible direction of movement and storing them in lookup tables. RAM is cheap, the data we're talking about is not huge (assuming something like 5 or 10-degree increments), and the performance improvements can be breathtaking. Integer lookups are nearly instantaneous, unlike SIN/COS calculations.
And yes, my motto really is "fix it even if it's not broken". :-)-Ralf Maximus (October 09, 2007, 11:40 AM)