Difference between revisions of "SCI/TODO"

Jump to navigation Jump to search
478 bytes removed ,  01:59, 24 February 2009
Got rid of various already resolved SCI TODOs
(Got rid of various already resolved SCI TODOs)
Line 20: Line 20:
* 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.


* Get rid of sci_sched_yield: This is used for two things:
#gfx/resource/sci_pic_0.cpp -> used here to make sure pic rendering doesn't starve the sound-playing thread(s), resulting in music/sound skipping
#./sfx/mixer/soft.cpp to implement ACQUIRE_LOCK -> replace ACQUIRE_LOCK and RELEASE_LOCK by using our mutex API. (And on the long run, replace the SCI mixer by our mixer :-)
* In fact: Do use File, SearchManager, FSNode etc. instead of paths, fopen, etc.
* Don't use fstat
* 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
1,079

edits

Navigation menu