From: Rainer M. <rai...@we...> - 2007-01-16 21:35:26
|
Hi, Log4j: Sounds good to me. Have no practice in logging yet. Had used log4j only = with external packages and using simple verbose & debug flags for log-output-management (which are set in a property-file). 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. GIF/SVG: Maybe I haven not read your discussion about revenue calculating and = trail showing yet complete, but I could not think about showing the track, = witch was used for best revenue with GIF-plates. I did not know by now what = SVG means, but I hope it has something to do with vector-graphics. Regards=20 Rainer |
From: brett l. <wak...@gm...> - 2007-01-16 23:10:40
|
> GIF/SVG: > Maybe I haven not read your discussion about revenue calculating and trail > showing yet complete, but I could not think about showing the track, witch > was used for best revenue with GIF-plates. I did not know by now what SVG > means, but I hope it has something to do with vector-graphics. > Yes, Scalable Vector Graphics (SVG) is the W3C's vector graphics format. It's a graphics format based on XML. Their site is at http://www.w3.org/Graphics/SVG/ We're currently using the Batik toolkit ( http://xmlgraphics.apache.org/batik/ ) for rendering SVG. The current SVG rendering code is very simplistic and is a bit of a kludge. I know there are much better ways of using Batik, but just haven't had the time to implement them. ---Brett |
From: Erik V. <eri...@hc...> - 2007-01-16 23:31:02
|
> 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. Other potential properties that crossed my mind today: - a location (directory) name to store copies of the Game Report (as currently replaced in the Log/Report window). Report file names would be like 18XX-date-hhmm.txt or such, 18XX being the real game name). Absence of this item would mean: don't store reports. - default player names, useful for testing. We now have 0, 1 and 2 playing, and I would prefer to replace these anonymi by Alice, Bob and Charlie (or names like that). So why not make it configurable. > GIF/SVG: > Maybe I haven not read your discussion about revenue > calculating and trail > showing yet complete, but I could not think about showing the > track, witch > was used for best revenue with GIF-plates. I did not know by > now what SVG > means, but I hope it has something to do with vector-graphics. Yes, it does, but it's not perfect yet. Tile display and tile-handling logic now use completely separate data (the GIFs and SVGs for display, and Tiles.xml for the logic). Both have been derived from Marco Rocci's TileDesigner database (which we have extended with a lot of preprinted tiles). Tiles.xml should contain enough data to base route and revenue calculation on, but all of that is not done yet. It's contents is currently only used to prevent invalid tile lays where track would end up at forbidden hex sides (sea, preprinted grey tiles, etc.) Erik. |
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. |
From: brett l. <wak...@gm...> - 2007-01-17 21:16:46
|
> In our case, it is included in LocalText (which is probably not > the right place, I would prefer to move it to Game). > Agreed. It needs to move. I put it there simply because I couldn't think of anywhere else to put it. However, we should probably just define it as a final static string somewhere. ---Brett. |