Game Development Community

Pragma question inside max2map

by Steve Boris · in Technical Issues · 08/18/2003 (7:29 pm) · 0 replies

Inside exporter.h in max2map you find this pragma statement:

// MAX files
#pragma pack(push,4)
#include
#include
#include
#include
#include
#pragma pack(pop)

I understand the pragma directive and the pack(push,4) is for packing alignment, but what I don't understand is why the Max header need it?

I looked at some of the samples in the MaxSDk and some of them just have pack(1).

Anybody know why there is a different packing alignment for Torque???