Difference for main/state.c from version 1.5 to 1.6


version 1.5 version 1.6
Line 19
 
Line 19
  * Functions to save/restore game state.   * Functions to save/restore game state.
  *    *
  * $Log$   * $Log$
    * Revision 1.6  2002/03/26 05:33:14  donut
    * fix savegame thumbnail saving in OGL
    *
  * Revision 1.5  2000/11/13 07:55:34  donut   * Revision 1.5  2000/11/13 07:55:34  donut
  * fix OGL level load crash   * fix OGL level load crash
  *   *
Line 275
 
Line 278
 #include "strutil.h"  #include "strutil.h"
 //end added  //end added
 #include "gamefont.h"  #include "gamefont.h"
   #ifdef OGL
   #include "ogl_init.h"
   #endif
   
   
 #ifndef SHAREWARE  #ifndef SHAREWARE
Line 705
 
Line 711
  }   }
  } else {   } else {
  render_frame(0);   render_frame(0);
   #ifdef OGL
    ogl_ubitblt_tolinear(grd_curcanv->cv_bitmap.bm_w, grd_curcanv->cv_bitmap.bm_h, 0, 0, 0, 0, &grd_curscreen->sc_canvas.cv_bitmap, &grd_curcanv->cv_bitmap);
   #endif
  }   }
  fwrite( cnv->cv_bitmap.bm_data, THUMBNAIL_W*THUMBNAIL_H, 1, fp );   fwrite( cnv->cv_bitmap.bm_data, THUMBNAIL_W*THUMBNAIL_H, 1, fp );
 //added ifdef on 9/30/98 by Matt Mueller to fix savegames in linux  //added ifdef on 9/30/98 by Matt Mueller to fix savegames in linux

Legend:
line(s) removed in v.1.5 
line(s) changed
 line(s) added in v.1.6