Posted by Dennis Schridde on December 26, 2006 - 20:56: .... - offset.x = (tileTexInfo[tileNumber & TILE_NUMMASK].xOffset * 64);
+ offset.x = (UWORD)(tileTexInfo[tileNumber & TILE_NUMMASK].u)*(UWORD)(-1); // FIXME HACK to wrap a float into a UWORD Can you clarify why you think you need to use floats instead of ints? That is a ugly hack as you say. Rest of the changes confuses me also. What is point of all this? It doesn't really make it easier to understand, nor is the code faster IMO, but maybe it is just me? Sorry I didn't quote the parts I meant, but my mail box only has 1MB stoarge, and it got filled. Concerned about your privacy? Instantly send FREE secure email, no account required http://www.hushmail.com/send?l=480 Get the best prices on SSL certificates from Hushmail https://www.hushssl.com?l=485 _______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
