Follow-up Comment #5, patch #1252 (project freeciv):

as requested I created an updated patch:

cleanup of load_ruleset_game()

* define min/max/default values for most ruleset settings
* define the standard values for all ruleset settings in
  game.h using 'RS_*'
* add secfile_lookup_int_default_min_max() function which
  uses the min/max value if the ruleset setting is out of
* move definition of ruleset_error to the head of the
  ruleset.c file
* repair definition of SLOW_INVASION
* add error handle for registry functions

Please consider to delete line 302 in game.c:


I will follow up with a patch to use a generalized error
handling function within registry.c

The min/max values are only estimated by myself. Please
check these values.

(file #6550)

Additional Item Attachment:

File name: 0001-cleanup-of-load_ruleset_game.patch Size:31 KB


Reply to this item at:


  Nachricht geschickt von/durch Gna!

Freeciv-dev mailing list

Reply via email to