[Freeciv-Dev] (PR#40612) Patch: migration

2008-12-27 Thread Matthias Pfafferodt
://forum.freeciv.org/viewtopic.php?t=1348 [2] http://forum.freeciv.org/viewtopic.php?t=4095 -- Matthias Pfafferodt - http://www.mapfa.de Matthias.Pfafferodt at mapfa.de diff -ur -X./freeciv-2.1.99svn15387/diff_ignore freeciv-2.1.99svn15387/common/game.c freeciv-2.1.99svn.patch/common/game.c

Re: [Freeciv-Dev] (PR#40612) updated patch

2008-12-30 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40612 Hello all, here is an updated version of the patch. The changes are * I added 3 configuration options game.info.migrationdist: - distance for migration (largest value) game.info.migrationplayer: - chance for migration within one

Re: [Freeciv-Dev] (PR#40612) updated patch

2008-12-30 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40612 Hello all, missed to small changes (city_refresh = city_refresh_vision) Matthias diff -ur -X./freeciv-2.1.99svn15387/diff_ignore freeciv-2.1.99svn15387/common/game.c freeciv-2.1.99svn.patch/common/game.c ---

Re: [Freeciv-Dev] (PR#40612) Patch: migration

2008-12-31 Thread Matthias Pfafferodt
... --- 私の人生は大移住の話から始まります。 -- Matthias Pfafferodt - http://www.mapfa.de Matthias.Pfafferodt at mapfa.de diff -ur -X./freeciv-2.1.99svn15391/diff_ignore freeciv-2.1.99svn15391/common/game.c freeciv-2.1.99svn.patch/common/game.c

Re: [Freeciv-Dev] (PR#40612) Patch: migration

2009-01-02 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40612 Am Friday 02 January 2009 07:08:22 schrieb Madeline Book: URL: http://bugs.freeciv.org/Ticket/Display.html?id=40612 Most of the time I just put in printfs for debugging and remove them later. ;) This is also possible; I think it is

[Freeciv-Dev] (PR#40620) fortress vanished after save/load

2009-01-02 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40620 see engineer near Vigo; after that turn the fortress will be build save the game and reload it - no fortress (it is a network game) civgame-0625.sav.bz2 Description: BZip2 compressed data

[Freeciv-Dev] (PR#40619) gold upkeep

2009-01-02 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40619 This patch gives the possibility to take the gold for the units from the overall finances _after_ all cities have added their gold surplus. There is a ruleset parameters used to describe the economic system 0: gold upkeep for

Re: [Freeciv-Dev] (PR#40618) randomize genlist

2009-01-03 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40618 Am Saturday 03 January 2009 02:27:31 schrieb Madeline Book: URL: http://bugs.freeciv.org/Ticket/Display.html?id=40618 [matthias.pfaffer...@mapfa.de - Fri Jan 02 21:15:47 2009]: This patch adds the possibility to randomize the

Re: [Freeciv-Dev] (PR#40612) AutoReply: Patch: migration

2009-01-04 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40612 The migration patch (version 6) changes: - split the patch in three parts: * the patch * patch to add an option for the food check * some freelog(LOG_NORMAL,...) debugging messages The patch was tested. Matthias diff -ur

Re: [Freeciv-Dev] (PR#40619) AutoReply: gold upkeep

2009-01-04 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40619 The gold upkeep patch (version 2) changes: - give the struct for the list some memory and free all used memory - split the patch in two parts: * the patch * some freelog(LOG_NORMAL,...) debugging messages - correct an error in the

Re: [Freeciv-Dev] (PR#40381) AutoReply

2009-01-05 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40381 The new option 'endspaceship' allows it to play the game after a spaceship arrived at Alpha Centauri. Matthias diff -ur -X./freeciv-2.1.99svn15393/diff_ignore freeciv-2.1.99svn15393/common/game.c

Re: [Freeciv-Dev] (PR#40381) AutoReply

2009-01-05 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40381 ups - missed a '_'. Version 2 of the patch attached Matthias diff -ur -X./freeciv-2.1.99svn15393/diff_ignore freeciv-2.1.99svn15393/common/game.c freeciv-2.1.99svn.patch_noend/common/game.c --- freeciv-2.1.99svn15393/common/game.c

[Freeciv-Dev] (PR#40657) missings events in server/scripting/api.pkg

2009-01-11 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40657 I checked the event list in common/events.h, common/events.c and server/scripting/api.pkg. With the attached patch the lists in all files are identical (but not in the same order). Matthias diff -urN

[Freeciv-Dev] (PR#40760) [patch] extended_gold_upkeep_style

2009-04-11 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40760 extend the gold upkeep system: 0 - old system 1 - cities pay for buildings; the nation pays for units 2 - the nation pays for buildings and units depends on ticket 40619, 40759 compile tested and also with a short game

[Freeciv-Dev] (PR#40761) [patch] shield2gold_basics

2009-04-11 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40761 add an effect which changes shield upkeep to gold upkeep; it is activated if 'The Corporation' is researched depends on ticket 40619, 40759, 40760 compile tested and also with a short game diff -ur

[Freeciv-Dev] (PR#40763) [patch] economic report

2009-04-11 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40763 if the upkeep for all units is calculated each turn, this information can be used for the economic report depends on ticket 40619, 40759 compile tested and also with a short game diff -ur

[Freeciv-Dev] (PR#40764) update the default ruleset

2009-04-11 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40764 There are a lot of new things are possible but they are not activated in the default ruleset. Perhaps a 'new' default should be defined, which uses all the new goodies? I tried to activate some options but I don't know enough about

[Freeciv-Dev] (PR#40759) [patch] calc_city_units_upkeep

2009-04-11 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40759 calculate the upkeep for all units of all cities at the start of the turn and save it in the unit struct depends on ticket 40619 compile tested and also with a short game diff -ur freeciv-2.1.99svn15584.gold//common/unit.c

[Freeciv-Dev] (PR#40762) [patch] shield2gold_units

2009-04-11 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40762 add a flag to the units there the upkeep change shields = gold is allowed depends on ticket 40619, 40759, 40760, 40761 compile tested and also with a short game diff -ur freeciv-2.1.99svn15584.gold3//common/unittype.c

Re: [Freeciv-Dev] (PR#40764) AutoReply: update the default ruleset

2009-04-12 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40764 There are a lot of new things are possible but they are not activated in the default ruleset. Perhaps a 'new' default should be defined, which uses all the new goodies? I tried to activate some options but I don't know enough about

Re: [Freeciv-Dev] (PR#40763) AutoReply: [patch] economic report

2009-04-12 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40763 if the upkeep for all units is calculated each turn, this information can be used for the economic report depends on ticket 40619, 40759 compile tested and also with a short game similar simplification are possible(?) in

Re: [Freeciv-Dev] (PR#40619) gold upkeep

2009-04-12 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40619 Am Sunday 12 April 2009 04:16:10 schrieb Madeline Book: URL: http://bugs.freeciv.org/Ticket/Display.html?id=40619 I committed gold_upkeep_v4.patch; is unit_upkeep.patch.diff intended to be applied on top of it as part of this

Re: [Freeciv-Dev] (PR#40761) AutoReply: [patch] shield2gold_basics

2009-04-12 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40761 add an effect which changes shield upkeep to gold upkeep; it is activated if 'The Corporation' is researched depends on ticket 40619, 40759, 40760 compile tested and also with a short game In this patch the effect

Re: [Freeciv-Dev] (PR#40759) AutoReply: [patch] calc_city_units_upkeep

2009-04-12 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40759 calculate the upkeep for all units of all cities at the start of the turn and save it in the unit struct depends on ticket 40619 compile tested and also with a short game If unitgold is changed to unit_list or similar take into

Re: [Freeciv-Dev] (PR#40759) [patch] calc_city_units_upkeep

2009-04-13 Thread Matthias Pfafferodt
to units_list but I did not get it to work. To get something out, I did not changed this part. How would a c99 dynamic array look like? -- Matthias Pfafferodt - http://www.mapfa.de Matthias.Pfafferodt at mapfa.de ___ Freeciv-dev mailing list Freeciv-dev

Re: [Freeciv-Dev] (PR#40759) [patch] calc_city_units_upkeep

2009-04-13 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40759 Am Monday 13 April 2009 03:38:44 schrieb Madeline Book: URL: http://bugs.freeciv.org/Ticket/Display.html?id=40759 [guest - Sun Apr 12 18:29:01 2009]: - Perhaps the values of the unit upkeep field should be sent in unit info

Re: [Freeciv-Dev] (PR#40759) [patch] calc_city_units_upkeep

2009-04-13 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40759 version 3: * remove city_unit_upkeep(); the functionality is provided by calc_city_units_upkeep() * additional simplification (common/city.c:city_support) not tested at all - only something that I checked before going to sleep ...

Re: [Freeciv-Dev] (PR#40763) AutoReply: [patch] economic report

2009-04-13 Thread Matthias Pfafferodt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40763 if the upkeep for all units is calculated each turn, this information can be used for the economic report depends on ticket 40619, 40759 compile tested and also with a short game update the clients to use the upkeep information

[Freeciv-Dev] [bug #13581] [patch] city_units_upkeep (was PR#40759)

2009-05-28 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13581 Summary: [patch] city_units_upkeep (was PR#40759) Project: Freeciv Submitted by: syntron Submitted on: Donnerstag 28.05.2009 um 11:36 Category: general Severity: 3 - Normal

[Freeciv-Dev] [bug #13582] [patch] extend the gold upkeep system (was PR#40760)

2009-05-28 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13582 Summary: [patch] extend the gold upkeep system (was PR#40760) Project: Freeciv Submitted by: syntron Submitted on: Donnerstag 28.05.2009 um 11:44 Category: general

[Freeciv-Dev] [bug #13583] [patch] shield2gold_basics (was PR#40761)

2009-05-28 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13583 Summary: [patch] shield2gold_basics (was PR#40761) Project: Freeciv Submitted by: syntron Submitted on: Donnerstag 28.05.2009 um 11:53 Category: general Severity: 3 -

[Freeciv-Dev] [bug #13585] [patch] shield2gold_units (was PR#40762)

2009-05-28 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13585 Summary: [patch] shield2gold_units (was PR#40762) Project: Freeciv Submitted by: syntron Submitted on: Donnerstag 28.05.2009 um 11:56 Category: None Severity: 3 - Normal

[Freeciv-Dev] [bug #13586] [patch] economic report (was PR#40763) - help needed

2009-05-28 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13586 Summary: [patch] economic report (was PR#40763) - help needed Project: Freeciv Submitted by: syntron Submitted on: Donnerstag 28.05.2009 um 12:13 Category: None Severity: 3

[Freeciv-Dev] [bug #13587] [patch] add upkeep information to units in city dialog

2009-05-28 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13587 Summary: [patch] add upkeep information to units in city dialog Project: Freeciv Submitted by: syntron Submitted on: Donnerstag 28.05.2009 um 12:15 Category: general

[Freeciv-Dev] [bug #13587] [patch] add upkeep information to units in city dialog

2009-05-28 Thread Matthias Pfafferodt
Follow-up Comment #1, bug #13587 (project freeciv): possible problem: to much information for a diplomat/spy? ___ Reply to this item at: http://gna.org/bugs/?13587 ___ Nachricht geschickt

Re: [Freeciv-Dev] [bug #13587] [patch] add upkeep information to units in city dialog

2009-05-28 Thread Matthias Pfafferodt
dependency exists or applying the patches would mean to rebase each patch. I could rewrite this patch, so it is independant ... Am Thursday 28 May 2009 15:39:56 schrieb Marko Lindqvist: 2009/5/28 Matthias Pfafferodt: depends on 13856 You may want to make your patches a bit less interdependant

Re: [Freeciv-Dev] [bug #13582] [patch] extend the gold upkeep system (was PR#40760)

2009-05-29 Thread Matthias Pfafferodt
。 ___ Reply to this item at: http://gna.org/bugs/?13582 ___ Message sent via/by Gna! http://gna.org/ -- Matthias Pfafferodt - http://www.mapfa.de Matthias.Pfafferodt at mapfa.de diff -ur

[Freeciv-Dev] [bug #13582] [patch] extend the gold upkeep system (was PR#40760)

2009-05-29 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #13582 (project freeciv): Perhaps the comments in the rulesets civ1 and civ2 should also be updated? See attached patch. (file #5835) ___ Additional Item Attachment: File name: gold2.1.patch.diff

[Freeciv-Dev] [bug #13583] [patch] shield2gold_basics (was PR#40761)

2009-05-29 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #13583 (project freeciv): Thanks for looking at the patch! changes in version2: - fix all the basic stuff - remove ruleset changes - add documentation (file #5836) ___ Additional Item Attachment: File name:

[Freeciv-Dev] [bug #13585] [patch] shield2gold_units (was PR#40762)

2009-05-29 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #13585 (project freeciv): changes in version 2: - remove ruleset changes (file #5837) ___ Additional Item Attachment: File name: version2-gold4.patch.diff Size:2 KB

[Freeciv-Dev] [bug #13586] [patch] economic report (was PR#40763) - help needed

2009-05-29 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #13586 (project freeciv): Ok, after some (a lot of!) searching I found my error. The upkeep information has to be processed two times in packhand.c - in unpackage_unit() and handle_unit_packet_common()! changes in version 2: - it's working! - move city_units_upkeep()

[Freeciv-Dev] [bug #13586] [patch] economic report (was PR#40763) - help needed

2009-05-29 Thread Matthias Pfafferodt
Follow-up Comment #3, bug #13586 (project freeciv): one remark: if the editor is used the changes are visible in the next turn. I'm not sure, how to force an update. ___ Reply to this item at: http://gna.org/bugs/?13586

[Freeciv-Dev] [bug #13587] [patch] add upkeep information to units in city dialog

2009-05-29 Thread Matthias Pfafferodt
Follow-up Comment #3, bug #13587 (project freeciv): changes in version 2: - use astring - upkeep information are only visible for own units - also update unit_activity_text() (file #5844) ___ Additional Item Attachment: File name:

[Freeciv-Dev] [bug #13595] [patch] remove unigold struct

2009-05-29 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13595 Summary: [patch] remove unigold struct Project: Freeciv Submitted by: syntron Submitted on: Freitag 29.05.2009 um 22:58 Category: general Severity: 3 - Normal

[Freeciv-Dev] [bug #13596] [patch] use city_refresh queue

2009-05-29 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13596 Summary: [patch] use city_refresh queue Project: Freeciv Submitted by: syntron Submitted on: Freitag 29.05.2009 um 23:05 Category: general Severity: 3 - Normal

[Freeciv-Dev] [bug #13598] [patch] update rulesets (missing part of 13582)

2009-05-30 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13598 Summary: [patch] update rulesets (missing part of 13582) Project: Freeciv Submitted by: syntron Submitted on: Samstag 30.05.2009 um 10:23 Category: rulesets Severity: 2 -

[Freeciv-Dev] [bug #13599] [RFC; patch] pollution on lakes / ocean

2009-05-30 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13599 Summary: [RFC; patch] pollution on lakes / ocean Project: Freeciv Submitted by: syntron Submitted on: Samstag 30.05.2009 um 20:24 Category: general Severity: 3 - Normal

[Freeciv-Dev] [bug #13600] ruleset requirement option: negated

2009-05-30 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13600 Summary: ruleset requirement option: negated Project: Freeciv Submitted by: syntron Submitted on: Samstag 30.05.2009 um 22:05 Category: rulesets Severity: 2 - Minor

[Freeciv-Dev] [bug #13603] [patch] update for health patch

2009-05-31 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13603 Summary: [patch] update for health patch Project: Freeciv Submitted by: syntron Submitted on: Sonntag 31.05.2009 um 13:59 Category: general Severity: 3 - Normal

[Freeciv-Dev] [bug #13583] [patch] shield2gold_basics (was PR#40761)

2009-05-31 Thread Matthias Pfafferodt
Follow-up Comment #3, bug #13583 (project freeciv): add comment to the range limitation. Due to the definition of /common/unittype.c:utype_upkeep_cost() this effect can only be used with a range of player or world. (file #5854) ___

[Freeciv-Dev] [bug #13603] [patch] update for health patch

2009-05-31 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #13603 (project freeciv): changes in version 2: - rename city_health_effects to city_illness_effects (file #5855) ___ Additional Item Attachment: File name: version2-health.patch.diff Size:0 KB

[Freeciv-Dev] [bug #13604] [patch] show effect of pollution on illness

2009-05-31 Thread Matthias Pfafferodt
Follow-up Comment #1, bug #13604 (project freeciv): ups - missed a semicolon and one call to city_illness() ... (file #5857) ___ Additional Item Attachment: File name: version2-health.patch.diff Size:0 KB

[Freeciv-Dev] [bug #13604] [patch] show effect of pollution on illness

2009-05-31 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #13604 (project freeciv): and added the wrong file ... (file #5858) ___ Additional Item Attachment: File name: version2-health1.patch.diffSize:4 KB

[Freeciv-Dev] [bug #13600] ruleset requirement option: negated

2009-05-31 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #13600 (project freeciv): OK; but it should working, or? (it is not used at all in the ruleset ...) ___ Reply to this item at: http://gna.org/bugs/?13600 ___

[Freeciv-Dev] [bug #13605] Pollution's effect to plague probability should be ruleset configurable

2009-05-31 Thread Matthias Pfafferodt
Follow-up Comment #1, bug #13605 (project freeciv): attached patch does: - rename ruleset option health_trade_penalty to illness_trade_penalty - add ruleset option illness_pollution_factor (file #5859) ___ Additional Item Attachment:

[Freeciv-Dev] [bug #13605] Pollution's effect to plague probability should be ruleset configurable

2009-06-01 Thread Matthias Pfafferodt
Follow-up Comment #3, bug #13605 (project freeciv): version 2: - rename health_trade_penalty to illness_trade_infection remark: I don't like the calculation of the illness possibility and yesterday evening I reworked the entire illness calculation. More in another patch. (file #5867)

[Freeciv-Dev] [bug #13611] [patch] rework city health

2009-06-01 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13611 Summary: [patch] rework city health Project: Freeciv Submitted by: syntron Submitted on: Montag 01.06.2009 um 17:50 Category: None Severity: 3 - Normal

[Freeciv-Dev] [bug #13600] ruleset requirement option: negated

2009-06-01 Thread Matthias Pfafferodt
Follow-up Comment #5, bug #13600 (project freeciv): Thanks for your patch! I tested it and freeciv is runing now with the changed ruleset. The desired effect for the Hydro Plant is there ... Would it be possible to include a hint in the README.effects file (version2-nreqs_impr.patch.diff)?

[Freeciv-Dev] [bug #13600] ruleset requirement option: negated

2009-06-01 Thread Matthias Pfafferodt
Follow-up Comment #7, bug #13600 (project freeciv): If I understand the code right, the same functions are used for effects and buildings. So I could negate an effect in the effects 'reqs' part to implement the 'nreqs'. ___ Reply to this

[Freeciv-Dev] [bug #13605] Pollution's effect to plague probability should be ruleset configurable

2009-06-01 Thread Matthias Pfafferodt
Follow-up Comment #5, bug #13605 (project freeciv): please look at gna#13611 there the entire illness calculation is reworked. In this patch you could simple delete the ceil()-function. ___ Reply to this item at:

[Freeciv-Dev] [bug #13600] ruleset requirement option: negated

2009-06-02 Thread Matthias Pfafferodt
Follow-up Comment #11, bug #13600 (project freeciv): Yes it's fine. What about a possible cleanup patch to use 'negated' and remove 'nreqs'? ___ Reply to this item at: http://gna.org/bugs/?13600

Re: [Freeciv-Dev] [Freeciv-commits] r15710 - /trunk/doc/README.effects

2009-06-03 Thread Matthias Pfafferodt
done ... Am Wednesday 03 June 2009 11:13:20 schrieb Matthias Pfafferodt: [send also to the mailing list] I will update the wiki file for the effect 'Shield2Gold_Factor' and the unit flag 'Shield2Gold'. Matthias 2009/6/3 Madeline Book madeline.b...@gmail.com: Author: mbook Date: Wed

[Freeciv-Dev] [bug #13621] [patch] load game settings from ruleset

2009-06-03 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13621 Summary: [patch] load game settings from ruleset Project: Freeciv Submitted by: syntron Submitted on: Mittwoch 03.06.2009 um 23:18 Category: general Severity: 3 - Normal

[Freeciv-Dev] [bug #13611] [patch] rework city health

2009-06-04 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #13611 (project freeciv): patch rebased to svn 15717 changes: - create health info file as doc/README.ruleset.health (I will also create a similar file for migration) - spell checking (file #5887) ___

[Freeciv-Dev] [bug #13621] [patch] load game settings from ruleset

2009-06-04 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #13621 (project freeciv): updated version of the patch changes: - change 'do {...} while (...)' to 'for(...) {...}' - update is _not_ needed as this function is called pre-game so the ruleset information are send to the client(s) after the function call - the '{}

[Freeciv-Dev] [bug #13611] [patch] rework city health

2009-06-05 Thread Matthias Pfafferodt
Follow-up Comment #3, bug #13611 (project freeciv): I think I will include the extra README file into http://freeciv.wikia.com/wiki/Math_of_Freeciv. The information can be found in the code; a special file is not needed. An updated patch will follow.

[Freeciv-Dev] [bug #13611] [patch] rework city health

2009-06-06 Thread Matthias Pfafferodt
Follow-up Comment #4, bug #13611 (project freeciv): I added all the information about the calculation of the city health to http://freeciv.wikia.com/wiki/Math_of_Freeciv. ___ Reply to this item at: http://gna.org/bugs/?13611

[Freeciv-Dev] [bug #13586] [patch] economic report (was PR#40763) - help needed

2009-06-06 Thread Matthias Pfafferodt
Follow-up Comment #5, bug #13586 (project freeciv): The extra 'upkeep_info' field is needed for homeless units because even for the player who owns them they have no upkeep. ___ Reply to this item at: http://gna.org/bugs/?13586

[Freeciv-Dev] [bug #13621] [patch] load game settings from ruleset

2009-06-06 Thread Matthias Pfafferodt
Follow-up Comment #4, bug #13621 (project freeciv): updated patch (version 3) changes: - remove {} /* no error */ - reorder include files alphabetical (file #5896) ___ Additional Item Attachment: File name:

[Freeciv-Dev] [bug #13600] ruleset requirement option: negated

2009-06-06 Thread Matthias Pfafferodt
Follow-up Comment #15, bug #13600 (project freeciv): Could you please add the change to the README file? (file #5874: NegatedREADME_13600.diff) ___ Reply to this item at: http://gna.org/bugs/?13600

[Freeciv-Dev] [bug #13611] [patch] rework city health

2009-06-06 Thread Matthias Pfafferodt
Follow-up Comment #5, bug #13611 (project freeciv): updated patch changes: - remove README file (file #5897) ___ Additional Item Attachment: File name: version3-13611-health3.patch.diff Size:14 KB

[Freeciv-Dev] [bug #13587] [patch] add upkeep information to units in city dialog

2009-06-06 Thread Matthias Pfafferodt
Follow-up Comment #5, bug #13587 (project freeciv): version 3 changes: - both functions take an astring parameter - unit_activity_text() is now a wrapper for unit_activity_astr() - move include file to unit.c Also, do not include headers in other headers (as I have told you in another

[Freeciv-Dev] [bug #13636] [patch] update for migration

2009-06-06 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13636 Summary: [patch] update for migration Project: Freeciv Submitted by: syntron Submitted on: Samstag 06.06.2009 um 13:09 Category: general Severity: 3 - Normal

[Freeciv-Dev] [bug #13637] [patch] add effect Migration_Pct

2009-06-06 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13637 Summary: [patch] add effect Migration_Pct Project: Freeciv Submitted by: syntron Submitted on: Samstag 06.06.2009 um 13:12 Category: general Severity: 3 - Normal

[Freeciv-Dev] [bug #13599] [RFC; patch] pollution on lakes / ocean

2009-06-06 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #13599 (project freeciv): could you give me some hints which code I should look at to find examples in the AI code? (autosettler?) ___ Reply to this item at: http://gna.org/bugs/?13599

[Freeciv-Dev] [bug #13600] ruleset requirement option: negated

2009-06-06 Thread Matthias Pfafferodt
Follow-up Comment #17, bug #13600 (project freeciv): ups; I did not used the right directory ...; Yes, it is there! ___ Reply to this item at: http://gna.org/bugs/?13600 ___ Nachricht

[Freeciv-Dev] [bug #13586] [patch] economic report (was PR#40763) - help needed

2009-06-06 Thread Matthias Pfafferodt
Follow-up Comment #7, bug #13586 (project freeciv): Would it be so bad just to show zero upkeep for those units? Are there any other circumstances when the extra boolean field would be needed? I know only of the case of homeless unit. So the upkeep_info field can be removed. Please try it

[Freeciv-Dev] [bug #13587] [patch] add upkeep information to units in city dialog

2009-06-06 Thread Matthias Pfafferodt
Follow-up Comment #6, bug #13587 (project freeciv): version 4: - remove upkeep_info (see 13586) (file #5904) ___ Additional Item Attachment: File name: version4-13587-gold6.patch.diff Size:8 KB

[Freeciv-Dev] [bug #13611] [patch] rework city health

2009-06-06 Thread Matthias Pfafferodt
Follow-up Comment #6, bug #13611 (project freeciv): version 4: - the values display for the health effects (buildings, ...) were not calculated correctly. I change the calculation and checked it; only the error due to the use of an integer variable is still present (approx 0.1) (file

[Freeciv-Dev] [bug #13611] [patch] rework city health

2009-06-07 Thread Matthias Pfafferodt
Follow-up Comment #8, bug #13611 (project freeciv): but the effect is _reduced_ illness by amount percent changes: - change EFT_HEALTH to EFT_HEALTH_PCT - update comment in README file (file #5910) ___ Additional Item Attachment: File

Re: [Freeciv-Dev] [bug #13661] [Patch] Fix SDL client compilation

2009-06-10 Thread Matthias Pfafferodt
Sorry for the compiling errors in the clients. If I send another patch which touchs client code I will try to test/compile all clients to check for such simple errors ... Matthias Pfafferodt Am Tuesday 09 June 2009 23:38:18 schrieb Marko Lindqvist: URL: http://gna.org/bugs/?13661

[Freeciv-Dev] [bug #13621] [patch] load game settings from ruleset

2009-06-10 Thread Matthias Pfafferodt
Follow-up Comment #6, bug #13621 (project freeciv): Thanks for looking at this patch. Could A cleanup for the FIXME reminders be the following: - a function game_setting(op, bool *bval, int *ival, char* sval) which set the requested option (in stdinhand.c) switch (op-stype) { case

[Freeciv-Dev] [bug #13636] [patch] update for migration

2009-06-15 Thread Matthias Pfafferodt
Follow-up Comment #3, bug #13636 (project freeciv): updated version; changes: - check variable declaration - fix coding style (beginning of a function '{' on the next line) - fix !pplayer (file #5981) ___ Additional Item Attachment:

[Freeciv-Dev] [bug #13621] [patch] load game settings from ruleset

2009-06-17 Thread Matthias Pfafferodt
Follow-up Comment #7, bug #13621 (project freeciv): version 5; changes: - separate functions to set the bool, int string values - called from ruleset.c and stdinhand.c - reordering of set_command() (file #5991) ___ Additional Item

[Freeciv-Dev] how to use git locally for freeciv

2009-06-17 Thread Matthias Pfafferodt
web sides to explain git. But how to handle different patchsets? Create a new branch for each? Up to now I used cvs on my own projects (only one user) but with the freeciv code it is kind of confusing, especially rebasing to the up-to-date svn. Thanks for help Matthias Pfafferodt -- Matthias

[Freeciv-Dev] rework game settings (was: [bug #13621] [patch] load game settings from ruleset)

2009-06-18 Thread Matthias Pfafferodt
feature, it can wait. I will need some time for the next version of the patch ... first learning a little bit git and there is also real life ... -- Matthias Pfafferodt - http://www.mapfa.de Matthias.Pfafferodt at mapfa.de ___ Freeciv-dev mailing list

[Freeciv-Dev] [bug #13637] [patch] add effect Migration_Pct

2009-06-27 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #13637 (project freeciv): version 2; changes: - as suggested by Marko Lindqvist use 'v += amount' as AI want value. This is used for _each_ city within migration range. (file #6063) ___ Additional Item

[Freeciv-Dev] [bug #13637] [patch] add effect Migration_Pct

2009-06-27 Thread Matthias Pfafferodt
Follow-up Comment #3, bug #13637 (project freeciv): and now the correct file ... (file #6064) ___ Additional Item Attachment: File name: version2-13637-migration2.patch.diff Size:3 KB

[Freeciv-Dev] [bug #13559] [RT #39700] AI should not ask for help against enemies we have not yet met

2009-06-27 Thread Matthias Pfafferodt
Follow-up Comment #1, bug #13559 (project freeciv): As the AI also ask me for help against someone I have not meet I think this patch should be applied. ___ Reply to this item at: http://gna.org/bugs/?13559

[Freeciv-Dev] [bug #13804] remove unused function prototype report_server_options()

2009-06-28 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13804 Summary: remove unused function prototype report_server_options() Project: Freeciv Submitted by: syntron Submitted on: Sonntag 28.06.2009 um 14:16 Category: general

[Freeciv-Dev] [bug #13805] [patch] change call by id (int) to call by reference (struct settings_s)

2009-06-28 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13805 Summary: [patch] change call by id (int) to call by reference (struct settings_s) Project: Freeciv Submitted by: syntron Submitted on: Sonntag 28.06.2009 um 14:21 Category: general

[Freeciv-Dev] [bug #13807] [patch] define the settings within a function

2009-06-28 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13807 Summary: [patch] define the settings within a function Project: Freeciv Submitted by: syntron Submitted on: Sonntag 28.06.2009 um 17:31 Category: general Severity: 2 -

[Freeciv-Dev] [bug #13805] [patch] change call by id (int) to call by reference (struct settings_s)

2009-06-28 Thread Matthias Pfafferodt
Follow-up Comment #3, bug #13805 (project freeciv): This patch is good, but you can reduce references to the global variable 'settings' even more by using helper functions to get a setting pointer from a setting id: So ideally there would be _no_ global variable settings but helper

[Freeciv-Dev] [bug #13807] [patch] define the settings within a function

2009-06-28 Thread Matthias Pfafferodt
Follow-up Comment #3, bug #13807 (project freeciv): If you are worried that you cannot use static initializers with unions, you need not be, since you can use the syntax: union foo { int i; const char *s; bool b; }; union foo f1 = { .b = TRUE }; union foo f2 = { .s = hi };

[Freeciv-Dev] [bug #13810] [patch] use unions to save the game settings

2009-06-28 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13810 Summary: [patch] use unions to save the game settings Project: Freeciv Submitted by: syntron Submitted on: Sonntag 28.06.2009 um 22:07 Category: general Severity: 2 - Minor

[Freeciv-Dev] [bug #13810] [patch] use unions to save the game settings

2009-06-29 Thread Matthias Pfafferodt
Follow-up Comment #5, bug #13810 (project freeciv): new patch on top of the last one (depends on gna13805): update union in struct settings_s + wrapper functions * new union in struct settings_s by pepeto * idea for wrapper functions by mbook I also added a patch which includes both

[Freeciv-Dev] [bug #13805] [patch] change call by id (int) to call by reference (struct settings_s)

2009-06-29 Thread Matthias Pfafferodt
Follow-up Comment #5, bug #13805 (project freeciv): added a patch against trunk which includes both changes (file #6080) ___ Additional Item Attachment: File name: version2-gna13805.patch.diff Size:17 KB

Re: [Freeciv-Dev] how to use git locally for freeciv

2009-06-29 Thread Matthias Pfafferodt
reason I learned to use git a long time, though git has many more advantages beyond just that. ;) あなたも同化される。 -- Matthias Pfafferodt - http://www.mapfa.de Matthias.Pfafferodt at mapfa.de

[Freeciv-Dev] settings rework

2009-06-30 Thread Matthias Pfafferodt
#Work_in_progress Matthias -- Matthias Pfafferodt - http://www.mapfa.de Matthias.Pfafferodt at mapfa.de ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

[Freeciv-Dev] [bug #13828] move definition of GAME_*_COMPRESS_TYP to game.h

2009-06-30 Thread Matthias Pfafferodt
URL: http://gna.org/bugs/?13828 Summary: move definition of GAME_*_COMPRESS_TYP to game.h Project: Freeciv Submitted by: syntron Submitted on: Dienstag 30.06.2009 um 19:49 Category: general Severity: 2 -

  1   2   3   4   5   6   7   8   9   10   >