Difference between revisions of "Cine/TODO"

From ScummVM :: Wiki
Jump to navigation Jump to search
(moving stuff around)
(update)
Line 6: Line 6:
* rename functions and variables that need it
* rename functions and variables that need it
* try to remove the huge switch in computeScriptStackSub, the computations performed should rely on the opcodes table setup in setupOpcodes. Maybe extend the "OpcodeProc" type to have a size field and base the "stack size" computation on it.
* try to remove the huge switch in computeScriptStackSub, the computations performed should rely on the opcodes table setup in setupOpcodes. Maybe extend the "OpcodeProc" type to have a size field and base the "stack size" computation on it.
* cleanup loading of BASESON.SND, this is just another bundle file, the existing code in part.cpp should be able to deal with it
* reorganize functions and variables in cine/various.cpp
* reorganize functions and variables in cine/various.cpp


Line 15: Line 14:


== ToDo ==
== ToDo ==
* add support for sound effects in Amiga/Atari versions
* add support for SoundFX music modules in Amiga/Atari versions (this should be done without duplicating the existing code in cine/sfx_player.cpp, if possible)
* add support for SoundFX music modules in Amiga/Atari versions (this should be done without duplicating the existing code in cine/sfx_player.cpp, if possible)
* add support for MT32 and PC Speaker instruments in the PC SoundFX player code
* add support for MT32 and PC Speaker instruments in the PC SoundFX player code

Revision as of 16:13, 13 May 2007

Status

Future Wars was completable with original cinE. Operation Stealth has gfx glitches and now crashes early.

Source Cleanup

  • try to OO'ify the code (wrap the code into C++ classes where applicable/suitable)
  • rename functions and variables that need it
  • try to remove the huge switch in computeScriptStackSub, the computations performed should rely on the opcodes table setup in setupOpcodes. Maybe extend the "OpcodeProc" type to have a size field and base the "stack size" computation on it.
  • reorganize functions and variables in cine/various.cpp

Bugs

  • fix gfx layers / z-ordering (FW)
  • alignment fixes (done ?)
  • endianness fixes (done ?)

ToDo

  • add support for SoundFX music modules in Amiga/Atari versions (this should be done without duplicating the existing code in cine/sfx_player.cpp, if possible)
  • add support for MT32 and PC Speaker instruments in the PC SoundFX player code
  • reconsider the various memory allocations (especially the buffers for offscreen rendering)
  • the original Amiga version of FW used 32 colors, allowing to display the control menu with some kind of transparency
  • finish OS support (crash early in-game)