[SDL] SDL 2.0 : File and internationalisation

Stephane Magnenat nct at ysagoon.com
Sat Mar 15 01:07:00 PST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I've taken a look at SDL 2.0 draft API, and it seems promising to me.
We are developing a free software RTS game, and we have gone through most of 
theses problems.

So, I've some proposal for modules :
File :
There should be a virtual filesystem. More directory should be added to it, 
for instance /usr/share/GAME_NAME and ~/.GAME_NAME and it has to provide a 
directory listing operator. In addition, it would be nice to be able to load 
archives from the this virtual filesystem into it, so that game development 
as well as release can be done in an easy and clean way. This problem is not 
trivial, and should be further discussed. We have a C++ working version that 
could be translated into C.

Settings :
Should it be in the core of SDL ? There seems to be dependancies from video to 
settings. Anyway, it's a good idea.

New module : internationalisation (perhaps not usefull in core)
It would be nice if all SDL applications could use the same system for string 
translation. It should depends on filesystem and being extensible, so when 
someone write a RTS map with script and messages, thoses messages could be 
translated. imho, in a portable way, UTF8 should be used. We also have a C++ 
version, which could be usefull as a basis.

So, this is just my ideas. I wish good luck to SDL 2.0 :-)

Steph

- -- 
Quand les riches se font la guerre, ce sont les pauvres qui meurent. 
		Jean-Paul Sartre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+cu0QkK/9a4l97XQRAhLHAJ97Rvs3oSTS/tTshVyvgR2zucvc0gCcD1/H
BjC9/WKJvTyGn1Yfq9A13LU=
=6Q4+
-----END PGP SIGNATURE-----




More information about the SDL mailing list