A
Akari
Guest
To einherjar (because you already write it a lot)
I don't like the way how Files are created. I don't want to specify FileSystem every time I want read file. I think the best way will be create base file class and derive two classes from him. GameFile and RealFile (for example). And all classes will be derived from them. Specifinng filesystem in classes like TimFile are bad, because this file should always be readed from CD or others GameFileSystem, ie this is always ingame file.
Apart from that we have savemap (load saves in future), Xml files and images (bmp).
ps: do you need FileStream template? and for what purpose.
pss: i wang generally finalize Filesystem before cleanup and rewrite other part of common (config for example).
I don't like the way how Files are created. I don't want to specify FileSystem every time I want read file. I think the best way will be create base file class and derive two classes from him. GameFile and RealFile (for example). And all classes will be derived from them. Specifinng filesystem in classes like TimFile are bad, because this file should always be readed from CD or others GameFileSystem, ie this is always ingame file.
Apart from that we have savemap (load saves in future), Xml files and images (bmp).
ps: do you need FileStream template? and for what purpose.
pss: i wang generally finalize Filesystem before cleanup and rewrite other part of common (config for example).