- Added some stubs for the SAGA2 games dino and fta2
- Stopped loading the isomap and puzzle game modules for IHNM, as they are not used for that game (this saves some memory for IHNM) - Removed getDisplayWidth() and getDisplayHeight() svn-id: r35473
This commit is contained in:
parent
f6547e0691
commit
2257db88d3
20 changed files with 244 additions and 95 deletions
|
@ -1879,7 +1879,7 @@ void Interface::drawStatusBar() {
|
|||
// Erase background of status bar
|
||||
rect.left = _vm->getDisplayInfo().statusXOffset;
|
||||
rect.top = _vm->getDisplayInfo().statusYOffset;
|
||||
rect.right = rect.left + _vm->getDisplayWidth();
|
||||
rect.right = rect.left + _vm->getDisplayInfo().logicalWidth;
|
||||
rect.bottom = rect.top + _vm->getDisplayInfo().statusHeight;
|
||||
|
||||
_vm->_gfx->drawRect(rect, _vm->getDisplayInfo().statusBGColor - offset);
|
||||
|
@ -2787,7 +2787,7 @@ void Interface::mapPanelDrawCrossHair() {
|
|||
_mapPanelCrossHairState = !_mapPanelCrossHairState;
|
||||
|
||||
Point mapPosition = _vm->_isoMap->getMapPosition();
|
||||
Rect screen(_vm->getDisplayWidth(), _vm->_scene->getHeight());
|
||||
Rect screen(_vm->getDisplayInfo().logicalWidth, _vm->_scene->getHeight());
|
||||
|
||||
if (screen.contains(mapPosition)) {
|
||||
_vm->_sprite->draw(_vm->_sprite->_mainSprites,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue