Difference for main/loadrl2.c from version 1.1 to 1.2


version 1.1 version 1.2
Line 16
 
Line 16
   
 #include "textures.h"  #include "textures.h"
   
   #include "mono.h"
   
 char Current_level_name[16];  char Current_level_name[16];
 char Level_palette[8];  char Level_palette[8];
 int N_save_pof_names=25;  int N_save_pof_names=25;
Line 458
 
Line 460
   
  //=============================== Reading part ==============================   //=============================== Reading part ==============================
  cfread( &version, sizeof(ubyte), 1, LoadFile ); // 1 byte = compiled version   cfread( &version, sizeof(ubyte), 1, LoadFile ); // 1 byte = compiled version
         Assert( version==COMPILED_MINE_VERSION );  //        Assert( version==COMPILED_MINE_VERSION );
   #ifndef NDEBUG
    if (version!=COMPILED_MINE_VERSION){
    mprintf((0,"mine version=%i\n"));//many levels have "wrong" versions.  Theres no point in aborting because of it, I think.
    }
   #endif
   
  cfread( &temp_ushort, sizeof(ushort), 1, LoadFile ); // 2 bytes = Num_vertices   cfread( &temp_ushort, sizeof(ushort), 1, LoadFile ); // 2 bytes = Num_vertices
  Num_vertices = temp_ushort;   Num_vertices = temp_ushort;

Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2