Author: pepeto
Date: Tue Aug 26 20:06:37 2014
New Revision: 1676
URL: http://svn.gna.org/viewcvs/freeciv-warclient?rev=1676view=rev
Log:
Remove compilation warnings.
Modified:
trunk/common/nation.c
trunk/utility/md5.c
Modified: trunk/common/nation.c
URL:
Author: pepeto
Date: Sun Sep 21 11:48:49 2014
New Revision: 1678
URL: http://svn.gna.org/viewcvs/freeciv-warclient?rev=1678view=rev
Log:
Review of last commits, thanks to the help of Gilles.
Modified:
trunk/configure.ac
trunk/m4/gtk2-client.m4
trunk/utility/md5.c
Modified:
Author: pepeto
Date: Tue Apr 15 18:29:21 2014
New Revision: 24762
URL: http://svn.gna.org/viewcvs/freeciv?rev=24762view=rev
Log:
Units which ignore the terrain movement costs can benefit from roads with
lower movement cost, as expected.
Report by David Fernandez (bardo@gna), patch by Emmet
Author: pepeto
Date: Tue Apr 15 18:34:55 2014
New Revision: 24763
URL: http://svn.gna.org/viewcvs/freeciv?rev=24763view=rev
Log:
Fix typos in AI code: make iterator initialisation and end statements matching.
Report and patch by Emmet Hikory (persia@gna)
See gna bug #21895
Modified:
Author: pepeto
Date: Tue Apr 15 18:34:57 2014
New Revision: 24764
URL: http://svn.gna.org/viewcvs/freeciv?rev=24764view=rev
Log:
Fix typos in AI code: make iterator initialisation and end statements matching.
Report and patch by Emmet Hikory (persia@gna)
See gna bug #21895
Modified:
Author: pepeto
Date: Tue Apr 15 18:35:01 2014
New Revision: 24765
URL: http://svn.gna.org/viewcvs/freeciv?rev=24765view=rev
Log:
Fix typos in AI code: make iterator initialisation and end statements matching.
Report and patch by Emmet Hikory (persia@gna)
See gna bug #21895
Modified:
Author: pepeto
Date: Tue Apr 15 18:58:10 2014
New Revision: 24766
URL: http://svn.gna.org/viewcvs/freeciv?rev=24766view=rev
Log:
Check AI goto sanity with pathfinding.
Patch by Emmet Hikory (persia@gna)
See gna patch #4643
Modified:
trunk/ai/default/aiferry.c
trunk/ai/default/aitools.c
Author: pepeto
Date: Mon May 12 14:04:46 2014
New Revision: 24878
URL: http://svn.gna.org/viewcvs/freeciv?rev=24878view=rev
Log:
Free correctly the terrain selection lists for the island generator, not only
their elements. Also use genlist features to free the elements.
Reported by me (with the
Author: pepeto
Date: Mon May 12 14:04:52 2014
New Revision: 24879
URL: http://svn.gna.org/viewcvs/freeciv?rev=24879view=rev
Log:
Free correctly the terrain selection lists for the island generator, not only
their elements. Also use genlist features to free the elements.
Reported by me (with the
Author: pepeto
Date: Mon May 12 14:04:56 2014
New Revision: 24880
URL: http://svn.gna.org/viewcvs/freeciv?rev=24880view=rev
Log:
Free correctly the terrain selection lists for the island generator, not only
their elements. Also use genlist features to free the elements.
Reported by me (with the
Author: pepeto
Date: Mon May 12 14:41:18 2014
New Revision: 24881
URL: http://svn.gna.org/viewcvs/freeciv?rev=24881view=rev
Log:
Pathfinding: rewrite the move cost callbacks for getting more flexibility with
rulesets. The callbacks are no more selected mainly from the unit move type
(land, sea,
Author: pepeto
Date: Thu May 15 16:48:03 2014
New Revision: 24888
URL: http://svn.gna.org/viewcvs/freeciv?rev=24888view=rev
Log:
Fix that a unit which is tranporting other units can conquer a city.
Reported by Marko Lindqvist (cazfi@gna)
See gna bug #20789
Modified:
Author: pepeto
Date: Thu May 15 16:47:57 2014
New Revision: 24887
URL: http://svn.gna.org/viewcvs/freeciv?rev=24887view=rev
Log:
Fix that a unit which is tranporting other units can conquer a city.
Reported by Marko Lindqvist (cazfi@gna)
See gna bug #20789
Modified:
trunk/server/unithand.c
Author: pepeto
Date: Thu May 15 16:56:05 2014
New Revision: 24889
URL: http://svn.gna.org/viewcvs/freeciv?rev=24889view=rev
Log:
Improves how pathfinding handles pontoon bridges:
* Check transport only of they don't have orders (else, they would move and the
paths wouldn't be right) ;
* Check
Author: pepeto
Date: Thu May 15 17:01:19 2014
New Revision: 24890
URL: http://svn.gna.org/viewcvs/freeciv?rev=24890view=rev
Log:
Rewrite and fix is_native_move().
Report and patch by me
See gna bug #22026.
Modified:
trunk/common/movement.c
Modified: trunk/common/movement.c
URL:
Author: pepeto
Date: Sun May 18 15:04:18 2014
New Revision: 24896
URL: http://svn.gna.org/viewcvs/freeciv?rev=24896view=rev
Log:
Don't overwrite the link text when the links have been generated by the server.
From a report by log65536
See gna bug #21326
Modified:
Author: pepeto
Date: Sun May 18 15:04:18 2014
New Revision: 24897
URL: http://svn.gna.org/viewcvs/freeciv?rev=24897view=rev
Log:
Don't overwrite the link text when the links have been generated by the server.
From a report by log65536
See gna bug #21326
Modified:
Author: pepeto
Date: Sun May 18 15:04:13 2014
New Revision: 24895
URL: http://svn.gna.org/viewcvs/freeciv?rev=24895view=rev
Log:
Don't overwrite the link text when the links have been generated by the server.
From a report by log65536
See gna bug #21326
Modified:
Author: pepeto
Date: Tue May 20 13:24:31 2014
New Revision: 24902
URL: http://svn.gna.org/viewcvs/freeciv?rev=24902view=rev
Log:
Added utility to determine if a unit is contained (transported directly or
indirectly) within a transport.
See gna patch #4693
Modified:
Author: pepeto
Date: Tue May 20 13:24:37 2014
New Revision: 24903
URL: http://svn.gna.org/viewcvs/freeciv?rev=24903view=rev
Log:
Added utility to determine if a unit is contained (transported directly or
indirectly) within a transport.
See gna patch #4693
Modified:
Author: pepeto
Date: Tue May 20 13:41:00 2014
New Revision: 24905
URL: http://svn.gna.org/viewcvs/freeciv?rev=24905view=rev
Log:
Don't send out of sight for transported units when moving their transporter.
Reported anonymously
See gna bug #21899
Modified:
branches/S2_5/server/unittools.c
Author: pepeto
Date: Tue May 20 13:41:03 2014
New Revision: 24906
URL: http://svn.gna.org/viewcvs/freeciv?rev=24906view=rev
Log:
Don't send out of sight for transported units when moving their transporter.
Reported anonymously
See gna bug #21899
Modified:
branches/S2_4/server/unittools.c
Author: pepeto
Date: Tue May 20 13:40:57 2014
New Revision: 24904
URL: http://svn.gna.org/viewcvs/freeciv?rev=24904view=rev
Log:
Don't send out of sight for transported units when moving their transporter.
Reported anonymously
See gna bug #21899
Modified:
trunk/server/unittools.c
Author: pepeto
Date: Tue May 20 13:49:56 2014
New Revision: 24907
URL: http://svn.gna.org/viewcvs/freeciv?rev=24907view=rev
Log:
Even if errors are detected, do not return before unloading the cargo from a
transport. Else, there could potentially freed unit pointers in the cargo unit
list.
From
Author: pepeto
Date: Tue May 20 13:50:03 2014
New Revision: 24908
URL: http://svn.gna.org/viewcvs/freeciv?rev=24908view=rev
Log:
Even if errors are detected, do not return before unloading the cargo from a
transport. Else, there could potentially freed unit pointers in the cargo unit
list.
From
Author: pepeto
Date: Tue May 20 13:50:08 2014
New Revision: 24909
URL: http://svn.gna.org/viewcvs/freeciv?rev=24909view=rev
Log:
Even if errors are detected, do not return before unloading the cargo from a
transport. Else, there could potentially freed unit pointers in the cargo unit
list.
From
Author: pepeto
Date: Tue May 20 23:29:15 2014
New Revision: 24910
URL: http://svn.gna.org/viewcvs/freeciv?rev=24910view=rev
Log:
Rewrite hash table module to use open hashing. Collision
resolution is now done by separate chaining with linked lists.
Reported by Marko Lindqvist (cazfi@gna)
See
Author: pepeto
Date: Tue May 20 23:32:06 2014
New Revision: 24911
URL: http://svn.gna.org/viewcvs/freeciv?rev=24911view=rev
Log:
Optimize the priority queues.
See gna patch #4701
Modified:
trunk/utility/pqueue.c
Modified: trunk/utility/pqueue.c
URL:
Author: pepeto
Date: Tue May 20 23:36:20 2014
New Revision: 24912
URL: http://svn.gna.org/viewcvs/freeciv?rev=24912view=rev
Log:
Reduce the number of calls to priority queue functions and add
some extra checks to path-finding.
See gna patch #4702
Modified:
trunk/common/aicore/path_finding.c
Author: pepeto
Date: Tue May 20 23:43:52 2014
New Revision: 24913
URL: http://svn.gna.org/viewcvs/freeciv?rev=24913view=rev
Log:
Remove the usage of same_pos() from path-finding.
See gna patch #4703
Modified:
trunk/common/aicore/path_finding.c
Modified: trunk/common/aicore/path_finding.c
Author: pepeto
Date: Thu May 22 19:07:06 2014
New Revision: 24921
URL: http://svn.gna.org/viewcvs/freeciv?rev=24921view=rev
Log:
Allow unit paths to non-allied cities, even if cities aren't occupied and
cannot take over. This will always allow to attack fogged cities or build
paths when units are
Author: pepeto
Date: Thu May 22 19:14:41 2014
New Revision: 24922
URL: http://svn.gna.org/viewcvs/freeciv?rev=24922view=rev
Log:
Don't assume that player research is shared for the whole team and that every
player has its own structure for it.
From a report by taka@gna
See gna bug #21160 and
Author: pepeto
Date: Thu May 22 19:14:46 2014
New Revision: 24923
URL: http://svn.gna.org/viewcvs/freeciv?rev=24923view=rev
Log:
Don't assume that player research is shared for the whole team and that every
player has its own structure for it.
From a report by taka@gna
See gna bug #21160 and
Author: pepeto
Date: Thu May 22 19:14:50 2014
New Revision: 24924
URL: http://svn.gna.org/viewcvs/freeciv?rev=24924view=rev
Log:
Don't assume that player research is shared for the whole team and that every
player has its own structure for it.
From a report by taka@gna
See gna bug #21160 and
Author: pepeto
Date: Thu May 22 19:21:18 2014
New Revision: 24926
URL: http://svn.gna.org/viewcvs/freeciv?rev=24926view=rev
Log:
Fix caravan arrival handling when the unit is transported.
Reported by Sam Steingold (sds@gna)
See gna bug #22054
Modified:
branches/S2_5/client/packhand.c
Author: pepeto
Date: Thu May 22 19:24:08 2014
New Revision: 24930
URL: http://svn.gna.org/viewcvs/freeciv?rev=24930view=rev
Log:
Fix player research initialization for all players, not only the first one (or
the first team).
See gna bug #22056
Modified:
branches/S2_4/common/research.c
Author: pepeto
Date: Thu May 22 19:21:16 2014
New Revision: 24925
URL: http://svn.gna.org/viewcvs/freeciv?rev=24925view=rev
Log:
Fix caravan arrival handling when the unit is transported.
Reported by Sam Steingold (sds@gna)
See gna bug #22054
Modified:
trunk/client/packhand.c
Modified:
Author: pepeto
Date: Thu May 22 19:24:05 2014
New Revision: 24929
URL: http://svn.gna.org/viewcvs/freeciv?rev=24929view=rev
Log:
Fix player research initialization for all players, not only the first one (or
the first team).
See gna bug #22056
Modified:
branches/S2_5/common/research.c
Author: pepeto
Date: Thu May 22 19:29:15 2014
New Revision: 24931
URL: http://svn.gna.org/viewcvs/freeciv?rev=24931view=rev
Log:
Path-finding: Zoc handling correction and optimization:
* make ZOC_MINE the default;
* remove the duplicate of the city test;
* prefer terrain_has_flag(TER_NO_ZOC) to
Author: pepeto
Date: Thu May 22 19:24:05 2014
New Revision: 24928
URL: http://svn.gna.org/viewcvs/freeciv?rev=24928view=rev
Log:
Fix player research initialization for all players, not only the first one (or
the first team).
See gna bug #22056
Modified:
trunk/common/research.c
Modified:
Author: pepeto
Date: Thu May 22 19:21:23 2014
New Revision: 24927
URL: http://svn.gna.org/viewcvs/freeciv?rev=24927view=rev
Log:
Fix caravan arrival handling when the unit is transported.
Reported by Sam Steingold (sds@gna)
See gna bug #22054
Modified:
branches/S2_4/client/packhand.c
Author: pepeto
Date: Tue May 27 21:29:07 2014
New Revision: 24954
URL: http://svn.gna.org/viewcvs/freeciv?rev=24954view=rev
Log:
When resolving unit stacks, don't bounce transported units directly except if
the transporter is not owned by the player. The transporter now should always
be bounced
Author: pepeto
Date: Tue May 27 21:31:54 2014
New Revision: 24955
URL: http://svn.gna.org/viewcvs/freeciv?rev=24955view=rev
Log:
When resolving unit stacks and throwing the non-allied units from cities, try
to unload non-allied transported units in the city.
See gna patch #4697
Modified:
Author: pepeto
Date: Tue May 27 21:33:59 2014
New Revision: 24956
URL: http://svn.gna.org/viewcvs/freeciv?rev=24956view=rev
Log:
When bouncing a transport unit fails, try to bounce cargo units before
disbanding it.
See gna patch #4698
Modified:
trunk/server/unittools.c
Modified:
Author: pepeto
Date: Wed May 28 09:37:03 2014
New Revision: 24958
URL: http://svn.gna.org/viewcvs/freeciv?rev=24958view=rev
Log:
When resolving unit stacks and throwing the non-allied units from cities, try
to unload non-allied transported units in the city.
See gna patch #4697
Modified:
Author: pepeto
Date: Wed May 28 09:37:01 2014
New Revision: 24957
URL: http://svn.gna.org/viewcvs/freeciv?rev=24957view=rev
Log:
When resolving unit stacks, don't bounce transported units directly except if
the transporter is not owned by the player. The transporter now should always
be bounced
Author: pepeto
Date: Wed May 28 09:37:04 2014
New Revision: 24959
URL: http://svn.gna.org/viewcvs/freeciv?rev=24959view=rev
Log:
When bouncing a transport unit fails, try to bounce cargo units before
disbanding it.
See gna patch #4698
Modified:
branches/S2_5/server/unittools.c
Modified:
Author: pepeto
Date: Thu May 29 00:46:36 2014
New Revision: 24961
URL: http://svn.gna.org/viewcvs/freeciv?rev=24961view=rev
Log:
Request the client to lose vision of the units when the client was really
able to see them before. Also remove obsolete part of server code.
See gna bug #22049
Author: pepeto
Date: Thu May 29 00:46:41 2014
New Revision: 24962
URL: http://svn.gna.org/viewcvs/freeciv?rev=24962view=rev
Log:
Request the client to lose vision of the units when the client was really
able to see them before. Also remove obsolete part of server code.
See gna bug #22049
Author: pepeto
Date: Thu May 29 00:46:32 2014
New Revision: 24960
URL: http://svn.gna.org/viewcvs/freeciv?rev=24960view=rev
Log:
Request the client to lose vision of the units when the client was really
able to see them before. Also remove obsolete part of server code.
See gna bug #22049
Author: pepeto
Date: Thu May 29 20:45:07 2014
New Revision: 24969
URL: http://svn.gna.org/viewcvs/freeciv?rev=24969view=rev
Log:
Fix a typo in revision 10691 (rt PR#13394) which was causing diplomat units
unable to steal futures techs.
See gna bug #22057
Modified:
Author: pepeto
Date: Thu May 29 20:45:02 2014
New Revision: 24968
URL: http://svn.gna.org/viewcvs/freeciv?rev=24968view=rev
Log:
Fix a typo in revision 10691 (rt PR#13394) which was causing diplomat units
unable to steal futures techs.
See gna bug #22057
Modified:
trunk/server/diplomats.c
Author: pepeto
Date: Thu May 29 20:45:13 2014
New Revision: 24970
URL: http://svn.gna.org/viewcvs/freeciv?rev=24970view=rev
Log:
Fix a typo in revision 10691 (rt PR#13394) which was causing diplomat units
unable to steal futures techs.
See gna bug #22057
Modified:
Author: pepeto
Date: Thu May 29 20:48:58 2014
New Revision: 24971
URL: http://svn.gna.org/viewcvs/freeciv?rev=24971view=rev
Log:
Remove the out of sight concept. Use the PACKET_UNIT_REMOVE instead.
See gna patch #4707
Modified:
trunk/client/packhand.c
trunk/common/packets.def
Author: pepeto
Date: Mon Jun 2 09:14:01 2014
New Revision: 25005
URL: http://svn.gna.org/viewcvs/freeciv?rev=25005view=rev
Log:
Do not slow down unit_transport_get() with the useless usage of
game_unit_by_number().
See gna patch #4694
Modified:
trunk/common/unit.c
Modified:
Author: pepeto
Date: Mon Jun 2 09:14:09 2014
New Revision: 25006
URL: http://svn.gna.org/viewcvs/freeciv?rev=25006view=rev
Log:
Do not slow down unit_transport_get() with the useless usage of
game_unit_by_number().
See gna patch #4694
Modified:
branches/S2_5/common/unit.c
Modified:
Author: pepeto
Date: Mon Jun 2 09:14:14 2014
New Revision: 25007
URL: http://svn.gna.org/viewcvs/freeciv?rev=25007view=rev
Log:
Do not slow down unit_transport_get() with the useless usage of
game_unit_by_number().
See gna patch #4694
Modified:
branches/S2_4/common/unit.c
Modified:
Author: pepeto
Date: Mon Jun 2 09:18:49 2014
New Revision: 25009
URL: http://svn.gna.org/viewcvs/freeciv?rev=25009view=rev
Log:
Add error messages to catch packets from server for unknown units, allowing
client hackers to guess units known seen.
See gna patch #4725
Modified:
Author: pepeto
Date: Mon Jun 2 09:18:45 2014
New Revision: 25008
URL: http://svn.gna.org/viewcvs/freeciv?rev=25008view=rev
Log:
Add error messages to catch packets from server for unknown units, allowing
client hackers to guess units known seen.
See gna patch #4725
Modified:
Author: pepeto
Date: Mon Jun 2 09:24:46 2014
New Revision: 25010
URL: http://svn.gna.org/viewcvs/freeciv?rev=25010view=rev
Log:
Do not assume the hash values of the caller will match the number of buckets.
Move the modulo inside genhash module.
See gna patch #4729
Modified:
Author: pepeto
Date: Mon Jun 2 09:26:58 2014
New Revision: 25011
URL: http://svn.gna.org/viewcvs/freeciv?rev=25011view=rev
Log:
Cache the hash values for every entry of the hash tables.
See gna patch #4730
Modified:
trunk/utility/genhash.c
Modified: trunk/utility/genhash.c
URL:
Author: pepeto
Date: Mon Jun 2 09:47:46 2014
New Revision: 25013
URL: http://svn.gna.org/viewcvs/freeciv?rev=25013view=rev
Log:
Rename 'player_research' to 'research'.
See gna patch #4727
Modified:
trunk/ai/default/advdiplomacy.c
trunk/ai/default/aidiplomat.c
Author: pepeto
Date: Mon Jun 2 09:51:03 2014
New Revision: 25014
URL: http://svn.gna.org/viewcvs/freeciv?rev=25014view=rev
Log:
Add utility to iterate players which share the same research.
See gna patch #4728
Modified:
trunk/common/research.c
trunk/common/research.h
Author: pepeto
Date: Thu Jun 5 00:00:42 2014
New Revision: 25047
URL: http://svn.gna.org/viewcvs/freeciv?rev=25047view=rev
Log:
Fix recursive transport feature:
* really check if an unit is a valid cargo for a transport (not of the same
type of one of an upper-level transport) ;
* units can be
Author: pepeto
Date: Thu Jun 5 00:00:50 2014
New Revision: 25048
URL: http://svn.gna.org/viewcvs/freeciv?rev=25048view=rev
Log:
Fix recursive transport feature:
* really check if an unit is a valid cargo for a transport (not of the same
type of one of an upper-level transport) ;
* units can be
Author: pepeto
Date: Thu Jun 5 00:08:38 2014
New Revision: 25050
URL: http://svn.gna.org/viewcvs/freeciv?rev=25050view=rev
Log:
Do not assume that nation traits is an integer array.
See gna bug #22126
Modified:
branches/S2_5/common/nation.c
Modified: branches/S2_5/common/nation.c
URL:
Author: pepeto
Date: Thu Jun 5 00:08:30 2014
New Revision: 25049
URL: http://svn.gna.org/viewcvs/freeciv?rev=25049view=rev
Log:
Do not assume that nation traits is an integer array.
See gna bug #22126
Modified:
trunk/common/nation.c
Modified: trunk/common/nation.c
URL:
Author: pepeto
Date: Sun Jun 15 11:58:06 2014
New Revision: 25145
URL: http://svn.gna.org/viewcvs/freeciv?rev=25145view=rev
Log:
Fix client attribute hash value function. It might cause floating point
exception since patch #4729 was applied.
See gna bug #22185 bug #22193
Modified:
Author: pepeto
Date: Mon Jun 16 10:21:16 2014
New Revision: 25151
URL: http://svn.gna.org/viewcvs/freeciv?rev=25151view=rev
Log:
Specific genhash improvements:
* functions are no more blindly casted to genhash_XXX_fn_t ;
* differentiation between internal key|data types (used inside genhash) and
Author: pepeto
Date: Tue Jun 17 14:09:37 2014
New Revision: 25188
URL: http://svn.gna.org/viewcvs/freeciv?rev=25188view=rev
Log:
Node behavior optimization in pathfinding:
* TB_NORMAL is set to zero ;
* node::can_invade is suppressed ;
* Do not calculate all cache values if we cannot enter the
Author: pepeto
Date: Wed Jun 18 11:49:45 2014
New Revision: 25195
URL: http://svn.gna.org/viewcvs/freeciv?rev=25195view=rev
Log:
update_unit_activity() fixes:
* Do not use clears silently the orders of the units ;
* Really stop units doing illegal activities ;
* Do not check for adjacent units if
Author: pepeto
Date: Wed Jun 18 11:49:53 2014
New Revision: 25196
URL: http://svn.gna.org/viewcvs/freeciv?rev=25196view=rev
Log:
update_unit_activity() fixes:
* Do not use clears silently the orders of the units ;
* Really stop units doing illegal activities.
From a report by Jacob Nevins
Author: pepeto
Date: Wed Jun 18 12:06:09 2014
New Revision: 25198
URL: http://svn.gna.org/viewcvs/freeciv?rev=25198view=rev
Log:
Make unit activity updating more predicable:
* in first phase, update activity (road|irrigation|mine building, terraform,
pillage, pollution cleaing etc.) ;
* in second
Author: pepeto
Date: Wed Jun 18 12:06:05 2014
New Revision: 25197
URL: http://svn.gna.org/viewcvs/freeciv?rev=25197view=rev
Log:
Make unit activity updating more predicable:
* in first phase, update activity (road|irrigation|mine building, terraform,
pillage, pollution cleaing etc.) ;
* in second
Author: pepeto
Date: Thu Jun 19 10:37:06 2014
New Revision: 25202
URL: http://svn.gna.org/viewcvs/freeciv?rev=25202view=rev
Log:
Added PACKET_RESEARCH_INFO. The fields of this new packet type were formely
in PACKET_PLAYER_INFO. But since the research can be team pooled, it appeared
better to have
Author: pepeto
Date: Fri Jun 20 12:18:32 2014
New Revision: 25213
URL: http://svn.gna.org/viewcvs/freeciv?rev=25213view=rev
Log:
Fix patch #4768. Node behavior was broken taken in account if the tile was known
or not.
Reported by Marko Lindqvist (cazfi@gna) and me
See bug #22217 bug #4
Author: pepeto
Date: Wed Jun 25 15:42:56 2014
New Revision: 25264
URL: http://svn.gna.org/viewcvs/freeciv?rev=25264view=rev
Log:
Update the tile info after a city is removed because infrastructures may have
changed.
From a report by Emmet Hikory (persia@gna)
See gna bug #22074
Modified:
Author: pepeto
Date: Wed Jun 25 15:42:58 2014
New Revision: 25265
URL: http://svn.gna.org/viewcvs/freeciv?rev=25265view=rev
Log:
Update the tile info after a city is removed because infrastructures may have
changed.
From a report by Emmet Hikory (persia@gna)
See gna bug #22074
Modified:
Author: pepeto
Date: Wed Jun 25 15:42:51 2014
New Revision: 25263
URL: http://svn.gna.org/viewcvs/freeciv?rev=25263view=rev
Log:
Update the tile info after a city is removed because infrastructures may have
changed.
From a report by Emmet Hikory (persia@gna)
See gna bug #22074
Modified:
Author: pepeto
Date: Wed Jun 25 15:51:10 2014
New Revision: 25267
URL: http://svn.gna.org/viewcvs/freeciv?rev=25267view=rev
Log:
When creating a city, hide the units on the tile to non-allied players. When
removing a city, reveal units on the tile to non-allied players.
Additionally remove the
Author: pepeto
Date: Wed Jun 25 15:51:05 2014
New Revision: 25266
URL: http://svn.gna.org/viewcvs/freeciv?rev=25266view=rev
Log:
When creating a city, hide the units on the tile to non-allied players. When
removing a city, reveal units on the tile to non-allied players.
Additionally remove the
Author: pepeto
Date: Wed Jun 25 15:54:19 2014
New Revision: 25268
URL: http://svn.gna.org/viewcvs/freeciv?rev=25268view=rev
Log:
When removing a unit from the game (server side), clear the vision before
sending unit remove. Else, we might duplicate the PACKET_UNIT_REMOVE if we lose
vision of the
Author: pepeto
Date: Wed Jun 25 15:54:26 2014
New Revision: 25269
URL: http://svn.gna.org/viewcvs/freeciv?rev=25269view=rev
Log:
When removing a unit from the game (server side), clear the vision before
sending unit remove. Else, we might duplicate the PACKET_UNIT_REMOVE if we lose
vision of the
Author: pepeto
Date: Thu Jun 26 22:35:49 2014
New Revision: 25279
URL: http://svn.gna.org/viewcvs/freeciv?rev=25279view=rev
Log:
Fix pf_map_XXX_iterate() macros since patch #4768 is applied. Also ass many
assertions in pf_map_XXX() functions, preventing crashes.
Report by Marko Lindqvist
Author: pepeto
Date: Thu Jun 26 22:44:19 2014
New Revision: 25280
URL: http://svn.gna.org/viewcvs/freeciv?rev=25280view=rev
Log:
Use parameter-based hash table instead of unittype-based array for
pf_reserve_map.
See gna patch #4820
Modified:
trunk/common/aicore/path_finding.c
Modified:
Author: pepeto
Date: Mon Jun 30 11:03:45 2014
New Revision: 25334
URL: http://svn.gna.org/viewcvs/freeciv?rev=25334view=rev
Log:
Rename player_invention_XXX() to research_invention_XXX(). Move these
functions from common/tech.[ch] to common/research.[ch]. These functions now
take as first
Author: pepeto
Date: Sun Jul 6 10:23:07 2014
New Revision: 25393
URL: http://svn.gna.org/viewcvs/freeciv?rev=25393view=rev
Log:
Downgrade Map topology and tileset incompatible message to
LOG_NORMAL to avoid error messages (and backtraces), but keep
the popup for warning the user.
See gna bug
Author: pepeto
Date: Sun Jul 6 10:34:55 2014
New Revision: 25394
URL: http://svn.gna.org/viewcvs/freeciv?rev=25394view=rev
Log:
Move the research advance name accessor from common/tech.[ch]
to research.[ch]. Renumbered A_UNSET, A_FUTURE and A_UNKNOWN.
See gna patch #4888
Modified:
Author: pepeto
Date: Sun Jul 6 10:40:36 2014
New Revision: 25395
URL: http://svn.gna.org/viewcvs/freeciv?rev=25395view=rev
Log:
Send research info when editing the advances for a player via
the editor. Also, handle correctly this case in client side.
Reported by Marko Lindqvist (cazfi@gna)
See
Author: pepeto
Date: Sun Jul 6 10:48:40 2014
New Revision: 25396
URL: http://svn.gna.org/viewcvs/freeciv?rev=25396view=rev
Log:
Add utility for iterating all requirements for reaching an
advance, instead of building recursive functions.
See gna patch #4890
Modified:
trunk/common/tech.c
Author: pepeto
Date: Sun Jul 6 10:59:49 2014
New Revision: 25397
URL: http://svn.gna.org/viewcvs/freeciv?rev=25397view=rev
Log:
precalc_tech_data() renamed tech_precalc_data(). This function
is now called only in server side. The client just admits the
values the server send to it. Base tech
Author: pepeto
Date: Sun Jul 6 11:11:36 2014
New Revision: 25398
URL: http://svn.gna.org/viewcvs/freeciv?rev=25398view=rev
Log:
Move num_unknown_techs_for_goal(), total_bulbs_required_for_goal()
and is_tech_a_req_for_goal() from common/tech.[ch] to
common/research.[ch] as
Author: pepeto
Date: Wed Jul 9 09:34:36 2014
New Revision: 25463
URL: http://svn.gna.org/viewcvs/freeciv?rev=25463view=rev
Log:
Do not write calculated advance costs into ruleset.
Originally reported by Sveinung Kvilhaugsvik (sveinung@gna)
See gna bug #22287 bug #22288
Modified:
Author: pepeto
Date: Wed Jul 9 09:41:08 2014
New Revision: 25464
URL: http://svn.gna.org/viewcvs/freeciv?rev=25464view=rev
Log:
Remove advance_by_flag() and techs_with_flag_iterate macro couple.
See gna patch #4909
Modified:
trunk/client/helpdata.c
trunk/common/tech.c
Author: pepeto
Date: Wed Jul 9 09:52:06 2014
New Revision: 25465
URL: http://svn.gna.org/viewcvs/freeciv?rev=25465view=rev
Log:
Send the real cost of the researching advance (after tech leakage,
EFT_TECH_COST_FACTOR,
and AI cost reduction) to the clients.
See gna bug #22062
Modified:
Author: pepeto
Date: Wed Jul 9 09:55:22 2014
New Revision: 25466
URL: http://svn.gna.org/viewcvs/freeciv?rev=25466view=rev
Log:
Rename and move player_research_step() to research_goal_step()
See gna patch #4911
Modified:
trunk/common/research.c
trunk/common/research.h
Author: pepeto
Date: Wed Jul 9 14:58:35 2014
New Revision: 25467
URL: http://svn.gna.org/viewcvs/freeciv?rev=25467view=rev
Log:
Pathfinding refactoring. Main changes are that can_invade is now hard-coded,
more calculated values are cached, action handling (for attack, diplomat
actions and trade
Author: pepeto
Date: Wed Jul 9 15:04:22 2014
New Revision: 25468
URL: http://svn.gna.org/viewcvs/freeciv?rev=25468view=rev
Log:
pf_parameter now has a unit_type pointer field. It replaces the former
unit_flags, uclass and unknown_MC fields.
See gna patch #4910
Modified:
Author: pepeto
Date: Wed Jul 9 15:15:13 2014
New Revision: 25469
URL: http://svn.gna.org/viewcvs/freeciv?rev=25469view=rev
Log:
Respect of embarking and disembarking restrictions in pathfinding.
Reported by Jacobs Nevins (jtn@gna)
See gna bug #22187
Modified:
Author: pepeto
Date: Fri Jul 11 17:13:04 2014
New Revision: 25492
URL: http://svn.gna.org/viewcvs/freeciv?rev=25492view=rev
Log:
Move, rename, and fix base_total_bulbs_required() to
research_total_bulbs_required(). Now the call to this
function returns the same value for the same research,
taking
1 - 100 of 485 matches
Mail list logo