William Kendrick schrieb:
I don’t care about it quite as much, now that it’s its own separate download.
(Asking people to download the ENTIRE demos archive just to get the mixer
to be able to use one of my games was kinda asking too much of some ;)…
I have no idea what they’re problem is! >I< get 140Kbps downloads! Doesn’t
everyone!?
)
Are you talking about 140 kilobits or bytes per second? I have at
average 30 Kilobytes per second (Cable) ggg
Speaking of SDL API and library stuff, has anyone worked on a generic datafile
library? (ie, something which, under Un*x’s would create “~/.FOOrc” files,
and under Win32 would create “FOO.ini” files, etc.)
Great Idea, see below
Someone else had a better suggestion which was an API for reading and
writing data to the data file in general.
Something like:
highscore = SDL_GetValue(“highscore”);
It could be done as follows:
Functions like these:
SDL_Settings set;
set=SDL_OpenSettings(“wurm”); /* Meaning the Game Name or another Unique
Identifier */
SDL_SetValue(&set,“highscore”,300);
SDL_GetValue(&set,“highscore”);
SDL_CloseSettings(&set);
And maybe something like SDL_EnumValues(&set,Callbackfunc,MySettings);
I personally would prefer C++ classes, but well… Not all seem to.
What do you think about this?
Under Windows, the registry could be used for this, under Linux you
could create a ~/.SDL or something like this, where the Settings are
stored in this format:
[wurm] # the identifier from above
highscore=300
numplayers=2
[lxdoom]
resolutionx=800
resolutiony=600
and so on…
You get the idea?–
Christian Biesinger
Get Paid To Surf:
http://www.AdOne.de/startup.php?werber=45130
Hi! I’m a signature virus! Copy me into your signature file to help me
spread!