Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] Re: (PR#2930) building requirements for units v2
Home

[Freeciv-Dev] Re: (PR#2930) building requirements for units v2

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2930) building requirements for units v2
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Mon, 3 Feb 2003 03:40:04 -0800
Reply-to: rt.freeciv.org@xxxxxxxxxxxxxx

Raahul Kumar via RT wrote:

>>--- server/ruleset.c  30 Jan 2003 19:26:08 -0000      1.132
>>+++ server/ruleset.c  30 Jan 2003 20:14:23 -0000
>>@@ -651,7 +651,11 @@
>>   /* main stats: */
>>   unit_type_iterate(i) {
>>     u = &unit_types[i];
>>-    
>>+
>>+    u->impr_requirement = find_improvement_by_name(
>>+                           secfile_lookup_str_default(file, "None", 
>>+                           "%s.impr_req", sec[i]));
>>+
> 
> 
> I'm going to triple your workload with this request, but don't use _default
> here. secfile_lookup_str is your friend ; ). People may want to send in
> rulesets other than default using your idea.  I know I want to at any rate.
> Getting Default changed can be an uphill battle. 

I don't understand.  Do you know what secfile_lookup_str_default means? 
  It has nothing to do with the default ruleset.

jason




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