Open main menu
279 bytes removed ,  14:26, 9 March 2007
Line 25: Line 25:
** to get rid of all usages of fopen, etc. we could add backends/file and move the current file.cpp to backends/file/stdc (this is just a rough idea, mind you)
** to get rid of all usages of fopen, etc. we could add backends/file and move the current file.cpp to backends/file/stdc (this is just a rough idea, mind you)
** at the same time, finally change File to read-only, and add a DumpFile class, which can be used for script dumps, screenshots etc.; ports can simply provide an "empty" implementations if they don't support dumping large files
** at the same time, finally change File to read-only, and add a DumpFile class, which can be used for script dumps, screenshots etc.; ports can simply provide an "empty" implementations if they don't support dumping large files
** there is a getcwd call in gui/options.cpp used to compute a default savepath. This is bad for two reasons:
**# It differs from the default savepath value set in registerDefaults()
**# It's not portable and forces porters to provide a fake getcwd() for no good reason
** To enforce that no code uses fopen etc. directly, we could add our own #define's to scummsys.h to trigger errors in code doing it
** To enforce that no code uses fopen etc. directly, we could add our own #define's to scummsys.h to trigger errors in code doing it
* GUI
* GUI
** The options dialog shows a button for configuring the savepath even on systems where it is fixed -> bad, should be fixed
** The options dialog may show a button for configuring the savepath even on systems where it is fixed -> not good


== Wish list ==
== Wish list ==
1,079

edits