version 1.3 | | version 1.4 |
---|
| | |
* Bitmap and palette loading functions. | | * Bitmap and palette loading functions. |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.4 2004/11/10 22:40:32 donut |
| | * also check _LP64 define for 64 bit arch loading of Polygon_models |
| | * |
* Revision 1.3 2003/03/09 06:34:09 donut | | * Revision 1.3 2003/03/09 06:34:09 donut |
* change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned | | * change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned |
* | | * |
| | |
| | |
cfread( &N_polygon_models, sizeof(int), 1, fp ); | | cfread( &N_polygon_models, sizeof(int), 1, fp ); |
| | |
#ifdef __alpha__ | | #if defined(__alpha__) || defined(_LP64) |
for (i=0; i<N_polygon_models; i++ ) { | | for (i=0; i<N_polygon_models; i++ ) { |
cfread( &Polygon_models[i], sizeof(polymodel)-4, 1, fp ); | | cfread( &Polygon_models[i], sizeof(polymodel)-4, 1, fp ); |
/* this is a dirty hack */ | | /* this is a dirty hack */ |