Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 18, 2006, 12:04:54 PM (19 years ago)
Author:
ponder
Message:

Added byte_order.h to
Added binary_file.h binary_file.cc
Changed the bsp code to work on big endian machines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/terrain/src/lib/graphics/importer/bsp_manager.cc

    r9110 r9324  
    196196  this->outputFraction = 1.0f;
    197197
    198   if ( viscluster < 0  || ((int *)(this->bspFile->header))[35] == 0 )  //!< if (sizeof(Visdata) == 0)
     198  if ( ( viscluster < 0  ) ||
     199                ( bspFile->header.lumps[Visdata].length == 0 ) )  //!< if (sizeof(Visdata) == 0)
    199200  {
    200201
Note: See TracChangeset for help on using the changeset viewer.