Added OSystem::getDefaultGraphicsMode(); renamed OSystem::get_height() and get_width() to getHeight and getWidth(); augmented some doxygen comments in common/system.h
svn-id: r13284
This commit is contained in:
parent
b585b9ac4b
commit
e46ba2f29f
12 changed files with 145 additions and 67 deletions
|
@ -45,6 +45,10 @@ const OSystem::GraphicsMode *OSystem_SDL::getSupportedGraphicsModes() const {
|
|||
return s_supportedGraphicsModes;
|
||||
}
|
||||
|
||||
int OSystem_SDL::getDefaultGraphicsMode() const {
|
||||
return GFX_DOUBLESIZE;
|
||||
}
|
||||
|
||||
bool OSystem_SDL::setGraphicsMode(int mode) {
|
||||
Common::StackLock lock(_graphicsMutex, this);
|
||||
|
||||
|
@ -715,11 +719,11 @@ void OSystem_SDL::add_dirty_rgn_auto(const byte *buf) {
|
|||
}
|
||||
}
|
||||
|
||||
int16 OSystem_SDL::get_height() {
|
||||
int16 OSystem_SDL::getHeight() {
|
||||
return _screenHeight;
|
||||
}
|
||||
|
||||
int16 OSystem_SDL::get_width() {
|
||||
int16 OSystem_SDL::getWidth() {
|
||||
return _screenWidth;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue