Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Patch: Changes to ruleset loading
Home

[Freeciv-Dev] Patch: Changes to ruleset loading

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Patch: Changes to ruleset loading
From: Marko Lindqvist <caz@xxxxxxxxx>
Date: Thu, 27 Jul 2000 01:22:33 +0300 (EET DST)

 This patch divides most load_ruleset_xxx() functions into
load_xxx_names() and real load_ruleset_xxx().
 All load_xxx_names() functions are called before any load_ruleset_xxx().
This way ruleset loading order does not matter if rulesets depend on each
other. In the future there might be situations where ruleset A depends on
ruleset B and ruleset B depends on ruleset A.

 btw. Since there is no such problems at the moment, maybe
corresponding load_ruleset_xxx() function should be called immediately
after load_xxx_names(). This way only one (+included) ruleset file is open
at a time.


 Caz

--

Attachment: rset_load.diff.gz
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]