[Scummvm-tracker] [ScummVM :: Bugs] #15575: Flat objects on the floor flicker in Total Eclipse (DOS)

ScummVM :: Bugs trac at scummvm.org
Sun Dec 8 21:37:50 UTC 2024


#15575: Flat objects on the floor flicker in Total Eclipse (DOS)
-------------------------+--------------------------------
Reporter:  NigeNigeNige  |       Owner:  neuromancer
    Type:  defect        |      Status:  new
Priority:  normal        |   Component:  Engine: Freescape
 Version:                |  Resolution:
Keywords:                |        Game:  Total Eclipse
-------------------------+--------------------------------
Comment (by neuromancer):

 It seems that certain size information used by the renderer (but not in
 the original implementation) is missing in the game data (!). This is a
 simple workaround:

 {{{
 diff --git a/engines/freescape/games/eclipse/dos.cpp
 b/engines/freescape/games/eclipse/dos.cpp
 index f9aefea0fa0..24d70ba87da 100644
 --- a/engines/freescape/games/eclipse/dos.cpp
 +++ b/engines/freescape/games/eclipse/dos.cpp
 @@ -141,6 +141,19 @@ void EclipseEngine::loadAssetsDOSFullGame() {
                 swapPalette(_startArea);
         } else
                 error("Invalid or unsupported render mode %s for Total
 Eclipse", Common::getRenderModeDescription(_renderMode));
 +
 +       Object *obj = nullptr;
 +       obj = _areaMap[9]->objectWithID(7);
 +       assert(obj);
 +       obj->_size = Math::Vector3d(3, 0, 2);
 +
 +       obj = _areaMap[9]->objectWithID(8);
 +       assert(obj);
 +       obj->_size = Math::Vector3d(3, 0, 2);
 +
 +       obj = _areaMap[9]->objectWithID(9);
 +       assert(obj);
 +       obj->_size = Math::Vector3d(3, 0, 2);
  }

  void EclipseEngine::drawDOSUI(Graphics::Surface *surface) {

 }}}

 I will investigate if the same is happening in other releases.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15575#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list