Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADDED scaling support to the screen class.
The purpose is to keep using the desktop resolution and aspect ratio when running in fullscreen mode, while also keeping a fairly equal sized view of the game world. For that purpose, a minimum and maximum view size has been defined, so that the actual view size can be magnified to the desktop resolution by an integer scaling factor. x# Please enter the commit message for your changes. Lines starting
- Loading branch information
Kai Sterker
committed
Oct 31, 2010
1 parent
e5b5d9b
commit d6a2bb8
Showing
12 changed files
with
264 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,6 @@ | |
#ifndef GFX_H_ | ||
#define GFX_H_ | ||
|
||
#include "base/configuration.h" | ||
#include "gfx/screen.h" | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.