[Freeciv-Dev] Re: (PR#9173) rulesets and connection dialog
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#9173) rulesets and connection dialog |
From: |
"Per Inge Mathisen" <per@xxxxxxxxxxx> |
Date: |
Tue, 13 Jul 2004 05:45:23 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9173 >
On Mon, 5 Jul 2004, Jason Short wrote:
> > Given that we now have a read command, wouldn't it be a good idea to move
> > the ".serv" files into the ruleset directories, like you said, and then
> > reference them from the ruleset, instead of vice versa.Couldn't the
> > ruleset loading use the same system as the read command to read the serv
> > file automatically?I think it would make more sense to have rulesetdir
> > actually load the complete ruleset, instead of loading most of the rules,
> > and having the rest in a ".serv" file - it would be more self-contained,
> > that way.
>
> The problem is the ruleset is only read when the game starts, while the
> .serv files will actually change some server variables. This should
> happen in pregame so that the player will see the effect of it.
/rulesetdir is called in pregame, which merely sets the directory to load
rulesets from. I do not see a problem in making it also read the .serv
file immediately when it is called.
- Per
|
|