From: Erik V. <eri...@hc...> - 2007-01-17 20:57:00
|
> > my.properties: > > good place for user-properties (like language/country). I > > would like to use > > rails.properties for version-number and other system things, > > with normally > > the user should not change. > > Yes, I had already thought of putting language there. > On the version number, I wonder if we can't better leave that hardcoded. The number is used to find the right jar file to retrieve XML files and tile pictures. So it should not be tampered with. I have seen versions numbers automatically generated in some development environments. In such cases, the generator changes the source code to insert the version number in some predefined place. In our case, it is included in LocalText (which is probably not the right place, I would prefer to move it to Game). Erik. |