On Thu, Nov 11, 2010 at 12:06:31PM -0800, Jay Tennant wrote: > Oh, I forgot about that. I was thinking of preferences saved > as a resource in the dll. But an outside file would be easily > configurable. I don't think all backends should access the > same config file, though. Some resolutions for gfx_directx > won't work right in gfx_sdl, etc. > > Because there aren't any major configurations, though, storing > as a resource might be a little cleaner. If one wants to start > the backend in "safe mode", perhaps an extra param could be sent > through the v2 interface gfx_Initialize (that is, whenever we > switch over...)
Eek! Why does windows even let you write data into a dll like that? A config file is definitely preferable. I favor a simple text file using key=value pairs, maybe grouped under [headers] like the windows ini file format. --- James _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
