[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.h,1.42,1.43

Max Horn fingolfin at users.sourceforge.net
Sun Oct 5 07:42:09 CEST 2003


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv17929

Modified Files:
	sdl-common.h 
Log Message:
cleanup

Index: sdl-common.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl-common.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- sdl-common.h	4 Oct 2003 23:49:04 -0000	1.42
+++ sdl-common.h	5 Oct 2003 14:41:30 -0000	1.43
@@ -136,8 +136,6 @@
 	int _tmpScreenWidth;
 	bool _overlayVisible;
 
-	bool _adjustAspectRatio;
-
 	// CD Audio
 	SDL_CD *_cdrom;
 	int cd_track, cd_num_loops, cd_start_frame, cd_duration;
@@ -155,6 +153,9 @@
 	uint32 _mode_flags;
 	bool _modeChanged;
 
+	/** True if aspect ratio correction is enabled. */
+	bool _adjustAspectRatio;
+
 	enum {
 		NUM_DIRTY_RECT = 100,
 
@@ -164,7 +165,7 @@
 	};
 
 	// Dirty rect managment
-	SDL_Rect _dirty_rect_list[100];
+	SDL_Rect _dirty_rect_list[NUM_DIRTY_RECT];
 	int _num_dirty_rects;
 	uint32 *_dirty_checksums;
 	bool cksum_valid;





More information about the Scummvm-git-logs mailing list