In map.h, there are these macros:

#define TILE_ROTMASK    0x3000
#define TILE_ROTSHIFT   12

They are used only once in active code, that is in display3d.c:flipsAndRots():

   switch ((texture & TILE_ROTMASK) >> TILE_ROTSHIFT)

It appears to use two bits crammed into the psTile->texture UWORD, but
I cannot find where these bits are set. Anyone have any idea? Is it
dead code?

 - Per

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to