Open main menu

Difference between revisions of "SCI/TODO"

489 bytes removed ,  16:21, 26 February 2009
no edit summary
(Added note that CFSML for savegames in SCI should be replaced)
Line 11: Line 11:
* Convert stuff from "C pseudo classes" to real classes.
* Convert stuff from "C pseudo classes" to real classes.
* Replace various generic FreeSCI code by their ScummVM counterparts, where it make sense.
* Replace various generic FreeSCI code by their ScummVM counterparts, where it make sense.
* Replace sci_gettime and sci_get_current_time by OSystem::getTimeAndDate and OSystem::getMillis
# You first need to find out which is used where: Des the code try to determine the current time? Use getTimeAndDate(). Does it try to measure something, regulate timing? Using getMillis. It is possible that some code actually really wants to get a higher resolution than milli seconds, in that case get back to us and let's discuss what to do.
* Not specific to SCI, but: Replace "struct tm" in common/system.h (and places that implement/use it) by a custom struct, which would be a (partial) clone of struct tm, something like Common::OSystem::Time. That way, we wouldn't have to use <time.h> anymore anywhere.
* Not specific to SCI, but: Replace "struct tm" in common/system.h (and places that implement/use it) by a custom struct, which would be a (partial) clone of struct tm, something like Common::OSystem::Time. That way, we wouldn't have to use <time.h> anymore anywhere.
* const correctness in engines/sci/engine/savegame.c (this is a generated file, so change the source or generator, whatever is necessary)
* const correctness in engines/sci/engine/savegame.c (this is a generated file, so change the source or generator, whatever is necessary)
* change the many nice existing function documentation comments to use doxygen syntax
* change the many nice existing function documentation comments to use doxygen syntax
* Turn code into templates in following files (now they generate code via #defines):
* Turn code into templates in following files (now they generate code via #defines):
** gfx/gfx_pixmap_scale.cpp
** gfx/gfx_pixmap_scale.cpp
** gfx/gfx_line.cpp
** gfx/gfx_crossblit.cpp
** gfx/resource/sci_picfill.cpp
** gfx/resource/sci_picfill.cpp
** gfx/resource/sci_picfill_aux.cpp
** gfx/resource/sci_picfill_aux.cpp
1,079

edits