Show
Ignore:
Timestamp:
07/25/08 02:31:37 (4 months ago)
Author:
lordhavoc
Message:

ported over the 1.5 branch version of q3map2 which is newer
made Visual Studio files work in VS2005 Express
fixed a ton of warnings in VS2005 Express
fixed some compile problems on OpenSUSE 11.0

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • GtkRadiant/trunk/libs/picomodel/lwo/lwob.c

    r274 r302  
    547547      } 
    548548      j -= 1; 
    549       pp->surf = ( lwSurface * ) j
     549      pp->surf = ( lwSurface * ) ((size_t)j)
    550550 
    551551      pp++; 
  • GtkRadiant/trunk/libs/picomodel/lwo/pntspols.c

    r183 r302  
    354354 
    355355   for ( i = 0; i < polygon->count; i++ ) { 
    356       index = ( int ) polygon->pol[ i ].surf
     356      index = ( int ) ((size_t)polygon->pol[ i ].surf)
    357357      if ( index < 0 || index > tlist->count ) return 0; 
    358358      if ( !s[ index ] ) { 
     
    528528 
    529529      switch ( type ) { 
    530          case ID_SURF:  plist->pol[ i ].surf = ( lwSurface * ) j;  break; 
     530         case ID_SURF:  plist->pol[ i ].surf = ( lwSurface * ) ((size_t)j);  break; 
    531531         case ID_PART:  plist->pol[ i ].part = j;  break; 
    532532         case ID_SMGP:  plist->pol[ i ].smoothgrp = j;  break;