Patch #757827: Aspect-ratio correction

svn-id: r8605
This commit is contained in:
Max Horn 2003-06-22 11:55:40 +00:00
parent fa184730af
commit 11ff7fe9a3
10 changed files with 266 additions and 110 deletions

View file

@ -123,7 +123,7 @@ public:
virtual int16 RGBToColor(uint8 r, uint8 g, uint8 b);
virtual void colorToRGB(int16 color, uint8 &r, uint8 &g, uint8 &b);
static OSystem *create(int gfx_mode, bool full_screen);
static OSystem *create(int gfx_mode, bool full_screenm, bool aspect_ratio);
protected:
OSystem_SDL_Common();
@ -131,7 +131,7 @@ protected:
static OSystem_SDL_Common *create_intern();
void init_intern(int gfx_mode, bool full_screen);
void init_intern(int gfx_mode, bool full_screen, bool aspect_ratio);
// unseen game screen
SDL_Surface *_screen;
@ -142,6 +142,8 @@ protected:
int _tmpScreenWidth;
bool _overlayVisible;
bool _adjustAspectRatio;
// CD Audio
SDL_CD *_cdrom;
int cd_track, cd_num_loops, cd_start_frame, cd_end_frame;