Page 3 of 3

Re: I/O reworking

PostPosted: 02 Oct 2009, 16:45
by silly freak
I want to point you to Button and Menu Actions in the Wiki, which shows an example how to use ForgeAction and the new localization feature to create buttons and menus easily

More to come, check the Programming category if there's an explanation for your problem already.

Re: I/O reworking

PostPosted: 05 Oct 2009, 21:26
by Chris H.
DennisBergkamp wrote:Ok, I'll make these changes too :)

By the way, there used to be a checkbox in the menu at the top to make the game pause at the End of Turn of the AI. This option somehow disappeared?
`
I have examined the property files and the NewConstants.java/ForgeProps.java files. I think that we could add several lines to the end of the lang prop files which would provide the default settings for:

Resizable Game Area
Stack AI land
Card jpg height and width size
Stop at End of Turn

I'm wondering if Silly Freak has any plans to do this himself, if not, I could try to see if I can make the changes myself. But I want to see if he has any plans for this himself before I do any work on this part of the project. :)

Re: I/O reworking

PostPosted: 06 Oct 2009, 08:55
by silly freak
i have sort-of thought of this. that would be a readonly-thing, i don't think it's possible easily to save the properties back to the file from those chosen in-game. it is easy, though, to add a "preferences/" property for all the things forge should set up at startup