CompuServe Messages

#shorter types(2)

    01-Mar-94 12:52:12
Fm: Jonas Ruikis [ADESK] 73172,1351
To: Douglas Holt 76640,2515
Doug, see msg. 87348. but here it is again.. ————————————— Answered by Grant. Member of the development team. > The flags variable in the FaceIO type is an unsigned long > (32 bits), the only valid values for that are 1 | 2 | 4, only 3 > bits, shouldn't an unsigned char be used instead? Just > curious but there are more of these types of, well, wasted > space, and I was wondering if there was actually more > data in those vars than is documented. Basically, can I > use the shorter types in my code without worrying? > > Just curious… > doug > > No, the internal code to 3DS expects the data to be at that size. If you change the type definitions to more efficient sizes, 3DS will not be able to make sense of the data.