Difference between revisions of "Cine/TODO"

From ScummVM :: Wiki
Jump to navigation Jump to search
(update)
(update)
Line 3: Line 3:


== Source Cleanup ==
== Source Cleanup ==
* try to OO'ify the code (wrap the code into C++ classes where applicable/suitable)
* Wrap the code into C++ classes where applicable/suitable. Possible classes candidates :
** Gfx/Screen (bg_list.cpp, gfx.cpp)
** Script (script.cpp)
** Resource (bg.cpp, msg.cpp, part.cpp, prc.cpp, pal.cpp)
** CineEngine (object.cpp, anim.cpp, various.cpp)
** Sound (already done)
* rename functions and variables that need it
* rename functions and variables that need it
* reorganize functions and variables in cine/various.cpp
* reorganize functions and variables in cine/various.cpp


== ToDo ==
== ToDo ==
* fix resource leaks (implement freePartEntry, freeAnimDataTable, freeOverlay)
* implement, adapt or remove the following options in the system menu :
* implement, adapt or remove the following options in the system menu :
** Pause
** Pause
Line 15: Line 19:
* add support for AtariST sound and music resources (if different from Amiga)
* add support for AtariST sound and music resources (if different from Amiga)
* add support for MT32 and PC Speaker instruments in the PC SoundFX player code (write PCSoundDriver subclasses)
* add support for MT32 and PC Speaker instruments in the PC SoundFX player code (write PCSoundDriver subclasses)
* reconsider the various memory allocations (especially the buffers for offscreen rendering)
* optimize the rendering (doing a full screen and palette refresh on each frame could be avoided)
* the original Amiga version of FW used 32 colors, allowing to display the control menu with some kind of transparency
* 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)
* finish OS support (crash early in-game)
Line 21: Line 25:
== Bugs ==
== Bugs ==
* Adlib sound glitches ([http://sourceforge.net/tracker/index.php?func=detail&aid=1599270&group_id=37116&atid=418820 #1599270])
* Adlib sound glitches ([http://sourceforge.net/tracker/index.php?func=detail&aid=1599270&group_id=37116&atid=418820 #1599270])
* fix resource leaks (implement freePartEntry, freeAnimDataTable, freeOverlay)

Revision as of 21:58, 19 May 2007

Status

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

Source Cleanup

  • Wrap the code into C++ classes where applicable/suitable. Possible classes candidates :
    • Gfx/Screen (bg_list.cpp, gfx.cpp)
    • Script (script.cpp)
    • Resource (bg.cpp, msg.cpp, part.cpp, prc.cpp, pal.cpp)
    • CineEngine (object.cpp, anim.cpp, various.cpp)
    • Sound (already done)
  • rename functions and variables that need it
  • reorganize functions and variables in cine/various.cpp

ToDo

  • implement, adapt or remove the following options in the system menu :
    • Pause
    • Restart Game
    • Change Backup Drive
  • add support for AtariST sound and music resources (if different from Amiga)
  • add support for MT32 and PC Speaker instruments in the PC SoundFX player code (write PCSoundDriver subclasses)
  • optimize the rendering (doing a full screen and palette refresh on each frame could be avoided)
  • 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)

Bugs

  • Adlib sound glitches (#1599270)
  • fix resource leaks (implement freePartEntry, freeAnimDataTable, freeOverlay)