Author: sveinung Date: Thu Mar 31 08:50:34 2016 New Revision: 32286 URL: http://svn.gna.org/viewcvs/freeciv?rev=32286&view=rev Log: Comment fix: refer to the correct variable.
Fix reference in the comments explaining the "Civ (I|II)" research cost style. The researchcost setting is ancient and long gone. "Civ (I|II)" uses base_tech_cost. Modified: branches/S2_6/common/research.c branches/S2_6/data/alien/game.ruleset branches/S2_6/data/civ1/game.ruleset branches/S2_6/data/civ2/game.ruleset branches/S2_6/data/civ2civ3/game.ruleset branches/S2_6/data/classic/game.ruleset branches/S2_6/data/experimental/game.ruleset branches/S2_6/data/multiplayer/game.ruleset branches/S2_6/data/sandbox/game.ruleset branches/S2_6/data/stub/game.ruleset Modified: branches/S2_6/common/research.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/common/research.c?rev=32286&r1=32285&r2=32286&view=diff ============================================================================== --- branches/S2_6/common/research.c (original) +++ branches/S2_6/common/research.c Thu Mar 31 08:50:34 2016 @@ -712,7 +712,7 @@ from game.info.tech_cost_style and game.info.tech_leakage. tech_cost_style: - TECH_COST_CIV1CIV2: Civ (I|II) style. Every new tech add researchcost to + TECH_COST_CIV1CIV2: Civ (I|II) style. Every new tech add base_tech_cost to cost of next tech. TECH_COST_CLASSIC: Cost of technology is: base_tech_cost * (1 + reqs) * sqrt(1 + reqs) / 2 Modified: branches/S2_6/data/alien/game.ruleset URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/alien/game.ruleset?rev=32286&r1=32285&r2=32286&view=diff ============================================================================== --- branches/S2_6/data/alien/game.ruleset (original) +++ branches/S2_6/data/alien/game.ruleset Thu Mar 31 08:50:34 2016 @@ -352,7 +352,7 @@ [research] ; Method of calculating technology costs -; "Civ I|II" - Civ (I|II) style. Every new tech add researchcost to +; "Civ I|II" - Civ (I|II) style. Every new tech add base_tech_cost to ; cost of next tech. ; "Classic" - Cost of technology is: ; base_tech_cost * (1 + reqs) * sqrt(1 + reqs) / 2 Modified: branches/S2_6/data/civ1/game.ruleset URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/civ1/game.ruleset?rev=32286&r1=32285&r2=32286&view=diff ============================================================================== --- branches/S2_6/data/civ1/game.ruleset (original) +++ branches/S2_6/data/civ1/game.ruleset Thu Mar 31 08:50:34 2016 @@ -344,7 +344,7 @@ [research] ; Method of calculating technology costs -; "Civ I|II" - Civ (I|II) style. Every new tech add researchcost to +; "Civ I|II" - Civ (I|II) style. Every new tech add base_tech_cost to ; cost of next tech. ; "Classic" - Cost of technology is: ; base_tech_cost * (1 + reqs) * sqrt(1 + reqs) / 2 Modified: branches/S2_6/data/civ2/game.ruleset URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/civ2/game.ruleset?rev=32286&r1=32285&r2=32286&view=diff ============================================================================== --- branches/S2_6/data/civ2/game.ruleset (original) +++ branches/S2_6/data/civ2/game.ruleset Thu Mar 31 08:50:34 2016 @@ -408,7 +408,7 @@ [research] ; Method of calculating technology costs -; "Civ I|II" - Civ (I|II) style. Every new tech add researchcost to +; "Civ I|II" - Civ (I|II) style. Every new tech add base_tech_cost to ; cost of next tech. ; "Classic" - Cost of technology is: ; base_tech_cost * (1 + reqs) * sqrt(1 + reqs) / 2 Modified: branches/S2_6/data/civ2civ3/game.ruleset URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/civ2civ3/game.ruleset?rev=32286&r1=32285&r2=32286&view=diff ============================================================================== --- branches/S2_6/data/civ2civ3/game.ruleset (original) +++ branches/S2_6/data/civ2civ3/game.ruleset Thu Mar 31 08:50:34 2016 @@ -436,7 +436,7 @@ [research] ; Method of calculating technology costs -; "Civ I|II" - Civ (I|II) style. Every new tech add researchcost to +; "Civ I|II" - Civ (I|II) style. Every new tech add base_tech_cost to ; cost of next tech. ; "Classic" - Cost of technology is: ; base_tech_cost * (1 + reqs) * sqrt(1 + reqs) / 2 Modified: branches/S2_6/data/classic/game.ruleset URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/classic/game.ruleset?rev=32286&r1=32285&r2=32286&view=diff ============================================================================== --- branches/S2_6/data/classic/game.ruleset (original) +++ branches/S2_6/data/classic/game.ruleset Thu Mar 31 08:50:34 2016 @@ -425,7 +425,7 @@ [research] ; Method of calculating technology costs -; "Civ I|II" - Civ (I|II) style. Every new tech add researchcost to +; "Civ I|II" - Civ (I|II) style. Every new tech add base_tech_cost to ; cost of next tech. ; "Classic" - Cost of technology is: ; base_tech_cost * (1 + reqs) * sqrt(1 + reqs) / 2 Modified: branches/S2_6/data/experimental/game.ruleset URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/experimental/game.ruleset?rev=32286&r1=32285&r2=32286&view=diff ============================================================================== --- branches/S2_6/data/experimental/game.ruleset (original) +++ branches/S2_6/data/experimental/game.ruleset Thu Mar 31 08:50:34 2016 @@ -443,7 +443,7 @@ [research] ; Method of calculating technology costs -; "Civ I|II" - Civ (I|II) style. Every new tech add researchcost to +; "Civ I|II" - Civ (I|II) style. Every new tech add base_tech_cost to ; cost of next tech. ; "Classic" - Cost of technology is: ; base_tech_cost * (1 + reqs) * sqrt(1 + reqs) / 2 Modified: branches/S2_6/data/multiplayer/game.ruleset URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/multiplayer/game.ruleset?rev=32286&r1=32285&r2=32286&view=diff ============================================================================== --- branches/S2_6/data/multiplayer/game.ruleset (original) +++ branches/S2_6/data/multiplayer/game.ruleset Thu Mar 31 08:50:34 2016 @@ -409,7 +409,7 @@ [research] ; Method of calculating technology costs -; "Civ I|II" - Civ (I|II) style. Every new tech add researchcost to +; "Civ I|II" - Civ (I|II) style. Every new tech add base_tech_cost to ; cost of next tech. ; "Classic" - Cost of technology is: ; base_tech_cost * (1 + reqs) * sqrt(1 + reqs) / 2 Modified: branches/S2_6/data/sandbox/game.ruleset URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/sandbox/game.ruleset?rev=32286&r1=32285&r2=32286&view=diff ============================================================================== --- branches/S2_6/data/sandbox/game.ruleset (original) +++ branches/S2_6/data/sandbox/game.ruleset Thu Mar 31 08:50:34 2016 @@ -437,7 +437,7 @@ [research] ; Method of calculating technology costs -; "Civ I|II" - Civ (I|II) style. Every new tech add researchcost to +; "Civ I|II" - Civ (I|II) style. Every new tech add base_tech_cost to ; cost of next tech. ; "Classic" - Cost of technology is: ; base_tech_cost * (1 + reqs) * sqrt(1 + reqs) / 2 Modified: branches/S2_6/data/stub/game.ruleset URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/stub/game.ruleset?rev=32286&r1=32285&r2=32286&view=diff ============================================================================== --- branches/S2_6/data/stub/game.ruleset (original) +++ branches/S2_6/data/stub/game.ruleset Thu Mar 31 08:50:34 2016 @@ -232,7 +232,7 @@ [research] ; Method of calculating technology costs -; "Civ I|II" - Civ (I|II) style. Every new tech add researchcost to +; "Civ I|II" - Civ (I|II) style. Every new tech add base_tech_cost to ; cost of next tech. ; "Classic" - Cost of technology is: ; base_tech_cost * (1 + reqs) * sqrt(1 + reqs) / 2 _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits