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:
Max Horn 2004-03-15 00:45:45 +00:00
parent b585b9ac4b
commit e46ba2f29f
12 changed files with 145 additions and 67 deletions

View file

@ -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;
}