FULLPIPE: Map code difference for German version

This commit is contained in:
Eugene Sandulenko 2016-12-06 10:57:36 +01:00
parent 2a1651991a
commit 9d9c856479
3 changed files with 16 additions and 1 deletions

View File

@ -104,6 +104,7 @@ namespace Fullpipe {
#define PIC_MAP_A14 5276
#define PIC_MAP_I01 5295
#define PIC_MAP_I02 5296
#define PIC_MAP_I03 5395
#define PIC_MAP_P01 5277
#define PIC_MAP_P02 5278
#define PIC_MAP_P03 5279

View File

@ -272,7 +272,8 @@ void ModalVideoPlayer::play(const char *filename) {
ModalMap::ModalMap() {
_mapScene = 0;
_pic = 0;
_pic = NULL;
_picI03 = NULL;
_isRunning = false;
_rect1 = g_fp->_sceneRect;
_x = g_fp->_currentScene->_x;
@ -421,6 +422,18 @@ void ModalMap::initMap() {
_pic->_flags |= 4;
}
_picI03 = _mapScene->getPictureObjectById(PIC_MAP_I03, 0);
if (_picI03) {
_picI03->_flags &= 0xFFFB;
} else {
warning("No PIC_MAP_I03");
}
g_system->warpMouse(400, 300);
g_fp->_mouseScreenPos.x = 400;
g_fp->_mouseScreenPos.y = 300;
g_fp->setArcadeOverlay(PIC_CSR_MAP);
}

View File

@ -93,6 +93,7 @@ public:
class ModalMap : public BaseModalObject {
Scene *_mapScene;
PictureObject *_pic;
PictureObject *_picI03;
bool _isRunning;
Common::Rect _rect1;
int _x;