scummvm/engines/cryo
2017-01-25 22:42:03 +01:00
..
bugs.txt CRYO: Add sound playback 2017-01-25 22:42:02 +01:00
clerror.cpp CRYO: Use standard ScummVM types 2017-01-25 22:41:54 +01:00
clhnm.cpp CRYO: Replace long with portable int32 2017-01-25 22:42:00 +01:00
clsoundgroup.cpp CRYO: More renaming, get rid of CLMemory_Alloc and CLMemory_Free 2017-01-25 22:41:58 +01:00
clsoundraw.cpp CRYO: More renaming, get rid of CLMemory_Alloc and CLMemory_Free 2017-01-25 22:41:58 +01:00
configure.engine CRYO: Lost Eden game engine initial commit 2017-01-25 22:41:46 +01:00
cryo.cpp CRYO: Renaming, replace rect_t by Common::Rect 2017-01-25 22:41:56 +01:00
cryo.h CRYO: Added isDemo() 2017-01-25 22:42:00 +01:00
cryolib.cpp CRYO: Replace long with portable int32 2017-01-25 22:42:00 +01:00
cryolib.h CRYO: Replace long with portable int32 2017-01-25 22:42:00 +01:00
defs.h CRYO: Reduce some variable scopes 2017-01-25 22:42:03 +01:00
detection.cpp CRYO: Lost Eden - Add detection for 2 PC DOS versions 2017-01-25 22:42:02 +01:00
eden.cpp CRYO: Reduce some variable scopes 2017-01-25 22:42:03 +01:00
eden.h CRYO: Reduce some variable scopes 2017-01-25 22:42:03 +01:00
gameflow.txt CRYO: Fix line endings 2017-01-25 22:41:53 +01:00
LempelZiv.cpp CRYO: Fix line endings 2017-01-25 22:41:53 +01:00
LempelZiv.h CRYO: Fix line endings 2017-01-25 22:41:53 +01:00
module.mk CRYO: Add sound.cpp to compilation 2017-01-25 22:42:02 +01:00
platdefs.h CRYO: Added standard ScummVM headers 2017-01-25 22:41:54 +01:00
readme.txt CRYO: Support PC demo and retail versions 2017-01-25 22:42:00 +01:00
ResourceManager.cpp CRYO: Use standard ScummVM types 2017-01-25 22:41:54 +01:00
ResourceManager.h CRYO: Use standard ScummVM types 2017-01-25 22:41:54 +01:00
sound.cpp CRYO: Add sound playback 2017-01-25 22:42:02 +01:00
sound.h CRYO: Add sound playback 2017-01-25 22:42:02 +01:00
staticdata.cpp CRYO: Support PC demo and retail versions 2017-01-25 22:42:00 +01:00

Citadel of Mo, the last remaining place where humans can be safe from army
of vicious Tyrannosaurus led by allmighty Morkus Rex. What awaits young Adam,
prince of Mo, who just came of age and want to travel across the world?
Will he be able to restore long lost friendship between dinosaurus and humans?


This is SCUMMVM reimplementation of Cryo's Lost Eden game engine. In order to
stay as close as possible to original game and minimize number of bugs
introduced during code reconstruction, in its current state this project is
a straight reverse-engineered game code hooked up to SCUMMVM framework.
Because of that, this code in no way represent the quality or coding practices
of SCUMMVM itself. Essentially, this is how the game was originally written.

There are several Lost Eden game versions known to exists.

- Non-interactive PC demo version. Basically, a number of video files played
  in a loop with FM music in background. Google for "ANCIBUR2.HNM" file to
  find it.

- Interactive PC demo version. Allows to play through whole Citadel of Mo
  then shows "Coming Soon" banner.
  Can be found here: http://www.ag.ru/games/lost-eden/demos/2677
  Download is a self-extracting archive, unpack it with 7zip or similar tool.

- PC version. Main version of the game. Written in assembly and partially based
  on Dune's game code.
  Runs in real-mode DOS environment, uses VGA 320x200 graphics and digitized
  sounds/music. Allows to select several languages for in-game subtitles. It is
  rumored that bootleg Russian translation also exists. Has 3 predefined slots
  for game save/load. Uses two different video codecs for HNM files.

- MAC version. Almost identical to PC version. Has slightly modified UI. Such
  as exta spaces on the inventory bar, resized subtitles overlay and different
  implementation of mouse cursor (which is worse than the original one). Looks
  like screen transition effects are also changed / rearranged. Also comes with
  updated game script.
  This version have no limit on save game slots. Standard system file selection
  dialogs are used instead. All screen hot-spots coordinates loaded from the
  main resource file instead of hard-coded values used in PC version.

- 3DO version. Uses completely different resource formats.

- CDI version. Uses completely different resource formats.

- CD32 version. Mentioned in PC demo version, but never released?


This reimplementation project is based on MAC version, since it's much easier
to work with than any other versions.

At this moment the game is fully playabe/completeable. List of currently
discovered bugs can be found in bugs.txt file. None of those are critical or
game-breaking. No sound support is present in this version, although all
sound front-end code is in place and should be operational. Only single
game save/load slot is supported and saves are not cross-platform compatible.
Also, no game restart feature work due to the way it's implemented.

Due to the way original engine is coded, it is not fully portable in its
current state. Game uses conditional dialog system (similar system is used in
Dune game as well) and this system involves accessing native engine
variables through predefined offsets within large structure. Any modification
of this structure will result in broken dialog system.

Because of limited development environment, this code is only tested on
MSVS2013 32-bit compiler. There may be some issues with GCC/LLVM compilers
or on 64-bit platforms. As mentioned above, this code is neither pretty or
bug-free (aka it's a can of worms). Several original bugs, various oddities
and problematic areas are marked with TODO comment in the source code. There
are number of variables with non-descripitve names like byte_1234, those
purpose is yet to be clearly understood. To make code debugging easier,
EDEN_DEBUG macro activates several extra features. Some parts, like image
drawing routines, can be simplified/generalized. Other parts, like CLView,
can be replaced with existing SCUMMVM classes.

Because parts of this code (mainly decompression and video playback) used
by other Cryo's games, it might be worthy to make them reusable by future
engines.