Thu Apr 1 21:35:44 PST 1999 David Pfitzner freeciv ChangeLog ChangeLog updates. Thu Apr 1 21:26:57 PST 1999 David Pfitzner freeciv/common shared.h Changed capability string to "+1.8". Thu Apr 1 21:18:09 PST 1999 David Pfitzner freeciv NEWS Some NEWS additions for 1.8.0: explained leadership changeover; added note of new website since previous release; added bug about goto-ing ships attacking cities. Moved some parts around. Thu Apr 1 21:06:20 PST 1999 David Pfitzner freeciv AUTHORS freeciv/server civserver.c Only call generate_ai_players() at the start of a game if is_new_game is true, since can cause problems otherwise (eg if aifill is set and any players have been removed). Fixes bug reported by Anders Wegge Jakobsen . Mon Mar 29 04:45:59 PST 1999 David Pfitzner freeciv AUTHORS Added a "Past administrator" section to credit Mitch. Mon Mar 29 03:26:06 PST 1999 David Pfitzner freeciv/client diplodlg.c Fixed a possible problem when trading cities in a game with more than 10 players. (With help from Kris Bubendorfer.) Mon Mar 29 03:09:13 PST 1999 David Pfitzner freeciv/client diplodlg.c Fixed bug where if a player only has 1 city (the capital), either player clicking on the trade cities button in the diplomacy dialog would crash their client. Patch submitted by Kris Bubendorfer. Sat Mar 27 20:22:56 PST 1999 David Pfitzner freeciv/data helpdata.txt This fixes the help text for the celebration ("We Love the __ Day") effect, as well as a couple other little changes in the help text. Patch submitted by Greg Wooledge. Sat Mar 27 20:15:18 PST 1999 David Pfitzner freeciv AUTHORS ChangeLog Updated ChangeLog provided by Mitch Davis. Sat Mar 27 20:06:25 PST 1999 David Pfitzner freeciv/server cityhand.c In remove_city(), wipe all supported units _before_ sending the PACKET_REMOVE_CITY. If we do this after, then since we now refresh the home city when a unit is lost (to update the upkeep etc) the refresh makes the client recreate its copy of the destroyed city! Sat Mar 27 03:43:17 PST 1999 Trent Piepho freeciv/common player.c player.h unit.c unit.h freeciv/client mapctrl.c mapview.c Finally fixed the submarine visibility bugs. Subs can't be see (old), nor can missiles in subs (new), unless there is an adjacent unit/city. They can also no longer be found by clicking the middle mouse button on them. However, a ship on the same tile as a hiding sub _can_ be seen. New function in unit.c, is_hiding_unit(), returns true for subs or missiles in subs. New function in player.c, player_find_visible_unit(), which returns a pointer to the first visible unit in a tile, or NULL if there are none. Thu Mar 25 03:19:24 PST 1999 David Pfitzner freeciv AUTHORS freeciv/client xmain.c freeciv/server unithand.c Fixed some warning indicated on Solaris: cast return value of getuid() for printf in xmain.c; fixed ambiguous 'else' in unithand.c From a patch submitted by Fabrice Noilhan . Thu Mar 25 02:37:47 PST 1999 David Pfitzner freeciv AUTHORS freeciv/client cityrep.c This patch fixes a bug that would sometimes cause the client to crash with a segmentation violation if you requested the city report and had built or otherwise acquired many cities since the last time you requested the report. Patch submitted by Patrick Smith . Wed Mar 24 02:48:07 PST 1999 Trent Piepho freeciv/client canvas.c canvasp.h Promote the canvas widget from a subclass of Core to a subclass of Simple. This shouldn't effect different Xaw variants, because they don't modify the widget tree until after Simple. Wed Mar 24 02:37:27 PST 1999 Trent Piepho freeciv/client repodlgs.c repodlgs.h xmain.c Made the dialogs in the repodlgs.c file (trade, science, active units) understand the window manager delete protocol. This way they can be closed via the window manager as well as the close button. This will hopefull reduce confusion to X newbies who have their window manager kill Freeciv's X connection and wonder why the client dies. Wed Mar 24 02:31:16 PST 1999 Trent Piepho freeciv/data helpdata.txt Added ability to display grid lines in the map. Turned on/off with control-G. Based on patch from Rizos Sakellariou . Wed Mar 24 02:27:38 PST 1999 Trent Piepho freeciv/data Freeciv freeciv/client Freeciv.h civclient.c mapctrl.c mapctrl.h mapview.c xmain.c Added ability to display grid lines in the map. Turned on/off with control-G. Based on patch from Rizos Sakellariou . Tue Mar 23 05:11:23 PST 1999 David Pfitzner freeciv AUTHORS Revised AUTHORS file. Adjusted some orderings, and give more information on previous contributions. Tue Mar 23 04:59:54 PST 1999 David Pfitzner freeciv README Mention "civclient -tiles classic". Tue Mar 23 04:44:06 PST 1999 David Pfitzner freeciv AUTHORS Added more names to the Bug Reports section; corrected mwh's email address again. Tue Mar 23 03:34:52 PST 1999 David Pfitzner freeciv README Adjusted the note on '--meta' again, to explain more why one might use it. Tue Mar 23 03:24:09 PST 1999 Nicolas Brunel freeciv configure configure.in freeciv/common shared.h set IS_BETA_VERSION to 0. Tue Mar 23 02:50:05 PST 1999 David Pfitzner freeciv/server unitfunc.c Minor change to previous fix to refresh home city of removed unit: if can't find home city, still remove the unit! Mon Mar 22 02:08:04 PST 1999 Nicolas Brunel freeciv/client Freeciv.h New file Freeciv.h generated by the new Freeciv ressource file. In the output of cvs diff -u, i see no change to aclocal.m4 Mon Mar 22 02:00:14 PST 1999 Nicolas Brunel freeciv/data Freeciv This patch adds constraint resources for the Change City Production dialog. It also removes a couple of duplicated lines from my previous patch. Written by Jeff Mallatt . Mon Mar 22 01:53:21 PST 1999 Nicolas Brunel freeciv/server unitfunc.c Losing a unit now update the home city dialog. Patch written by Andrew Donkin with a test suggested by --dwp. Sat Mar 20 04:26:22 PST 1999 David Pfitzner freeciv/server stdinhand.c Improved the help text for the "generator" server option, so the text better matches what actually happens. Sat Mar 20 03:58:37 PST 1999 David Pfitzner freeciv/data earth-160x90.sav earth-80x50.sav europe.sav Commented out game.randseed in scenarios, since it is not used (and thus gave a warning when loading the scenario). Sat Mar 20 03:53:37 PST 1999 David Pfitzner freeciv/server mapgen.c Fixed bug in flood_it(), where continents were not calculated for scenarios (generator=0), or for for reload games with generator other than 1. Could have caused problems for continent-based wonders (non-default rulesets only), and for the AI (invasions etc). Fri Mar 19 23:09:43 PST 1999 David Pfitzner freeciv/client Freeciv.h freeciv/data Freeciv This patch adds some constraint resource definitions so that the Find City and Goto City dialogs resize a little nicer (IMO). It also adds a comment for the section of resources for the Notify dialogs. Patch submitted by Jeff Mallatt . Fri Mar 19 22:53:06 PST 1999 David Pfitzner freeciv HOWTOPLAY README README.AI Some minor doc updates: HOWTOPLAY: Pointer to web page on tutorials instead of just 12-steps. Adjusted section about the generator option, though its a bit vague since I don't properly understand the options. README: Adjusted sample output of "explain xsize" to match code. Modified the note about '--nometa' to now explain '--meta'. Direct people to the web page of the new manual. Ask bug-submitters to say which Xaw variant they're using. README.AI: The "easy" skill level is no longer new; the AI now does use diplomats and spies for defense. Fri Mar 19 20:52:40 PST 1999 David Pfitzner freeciv/common packets.c Added #include , needed on OS/2. Submitted by Alexander Mai . Fri Mar 19 20:18:15 PST 1999 David Pfitzner freeciv/client Freeciv.h Update client/Freeciv.h for previous change to data/Freeciv. Thu Mar 18 08:28:57 PST 1999 Nicolas Brunel freeciv/ai advmilitary.c A boat is no more considered as a diplomat threat. Limit the radius to build diplomats. Thu Mar 18 06:26:25 PST 1999 Nicolas Brunel freeciv/data Freeciv freeciv/server civserver.c Change the date of release from second week of march to third week. Thu Mar 18 06:14:58 PST 1999 Nicolas Brunel freeciv/client citydlg.c spaceshipdlg.c Fix a potential with 2 variables having the same name in the 2 files. Thu Mar 18 03:15:01 PST 1999 David Pfitzner freeciv/data/default space.xpm New spaceship graphics by Alexandre Beraud , indexed to the colour palette of the default tileset. Thu Mar 18 03:10:39 PST 1999 David Pfitzner freeciv/data/default flags.xpm roads.xpm tiles.xpm units.xpm Re-indexed the colours of the default (Engels) tiles, based on the original xcf files and a new optimised palette. Thu Mar 18 02:43:59 PST 1999 David Pfitzner freeciv/server diplhand.c maphand.c maphand.h plrhand.c unitfunc.c unithand.c New function upgrade_city_rails() in maphand.c, to upgrade all cities squares to railroads when a player first gets Railroad advance. Used this function to replaced several sections of duplicated code for when player gets Railroad by various means (research, hut, treaty, diplo/spy stealing). Also, for the case of a diplomatic treaty, the message about new railroads previously went to the wrong player. Added calls to upgrade_city_rails() for cases where the Railroad upgrade was previously omitted: when gaining Railroad from the Great Library, or from conquering or inciting a city. (Railroad from Great Library case fixes bug reported by Patrick Smith .) Wed Mar 17 18:19:58 PST 1999 Trent Piepho freeciv/client graphics.c Give the unit pictures in the help dialog a background color based on unit type, rather than just black. Based on a patch by Jeff Mallatt Mon Mar 15 04:25:46 PST 1999 David Pfitzner freeciv/common unit.c Engineers should not be permitted to start transform when they have no moves left. Bug and fix reported by Rizos Sakellariou. Mon Mar 15 04:11:32 PST 1999 David Pfitzner freeciv/server citytools.c Set skill level correctly for AI player created by civil war. Fixes bug reported by Frank Schaefer . Mon Mar 15 03:48:26 PST 1999 David Pfitzner freeciv/client mapview.c ratesdlg.c In the main window, the big map's scroll bars didn't work, in that both left- and right- clicks scrolled in the same direction. The same behavior was observed in the Rates dialog. Now they can scroll in both directions. Patch submitted by Jeff Mallatt. Mon Mar 15 03:46:26 PST 1999 David Pfitzner freeciv/common game.c The function civ_score in common/game.c seems to have not been counting Elvii correctly. Now it accrues them, just like all others. Patch submitted by Jeff Mallatt. Mon Mar 15 03:44:29 PST 1999 David Pfitzner freeciv/client helpdlg.c In the Help dialog, for those items without a tree, resizing the window didn't affect the large text area. Now it does. For those items with a tree, the tree was arbitrarily sized, which led to funny clipping. Now it's sized to fit. Patch submitted by Jeff Mallatt. Mon Mar 15 03:42:16 PST 1999 David Pfitzner freeciv/client Freeciv.h repodlgs.c freeciv/data Freeciv In the Active Units report dialog, the "Upgrade" button is now disabled if the selected unit type cannot be upgraded. Also added a column title to the "Upgradable" column. Patch submitted by Jeff Mallatt . Sun Mar 14 18:34:34 PST 1999 David Pfitzner freeciv/common player.c player.h freeciv/data helpdata.txt freeciv/server citytools.c citytools.h unithand.c Add a random element to whether civil war occurs when a player's capital is captured. Random chance depends on government type, and on the numbers of cities celebrating and in revolt. Patch submitted by Kris Bubendorfer. Sun Mar 14 14:15:17 PST 1999 Nicolas Brunel freeciv/common city.c Correct a bug i introduce one or 2 hours ago. Sun Mar 14 12:05:00 PST 1999 Nicolas Brunel freeciv stamp-h.in freeciv/common city.c Allow to build HOOVER_DAM and HYDRO_PLANT on a MOUNTAIN or river tiles as said in the helpfile. Diff in could_build_improvement Bug reported by Patrick Smith Sat Mar 13 17:24:30 PST 1999 Nicolas Brunel freeciv README Little changes to README Sat Mar 13 17:06:20 PST 1999 David Pfitzner freeciv/server civserver.c Adjusted slightly initial server message, and made -v output concise. Sat Mar 13 17:02:02 PST 1999 Nicolas Brunel freeciv AUTHORS in These people helped us previous to the 1.8 series: add Daniel Gudlat (Earth scenarios) Kris Bubendorfer (diplomats) Trent Piepho (Core) Sat Mar 13 16:48:41 PST 1999 David Pfitzner freeciv/server civserver.c meta.c The civserver --help still said --nometa; fixed. Commented out printf's suggesting use of --nometa when can't connect to metaserver. Sat Mar 13 16:17:34 PST 1999 Nicolas Brunel freeciv acconfig.h config.h.in configure configure.in freeciv/common shared.h freeciv/server civserver.c Change the message the server displayed when launched. Give the http address of freeciv. Idea suggested by reinier Post Sat Mar 13 16:01:48 PST 1999 David Pfitzner freeciv/client citydlg.c citydlg.h civclient.c New function popdown_all_city_dialogs(), called when client loses connection. Fixes bug reported by Brent Nelson . Sat Mar 13 15:09:13 PST 1999 Nicolas Brunel freeciv/server civserver.c Change the option -n to -m. Change the text in the help message from "Don't send" to "Send" The default now is not to send info to the metaserver. Sat Mar 13 14:31:43 PST 1999 Nicolas Brunel freeciv AUTHORS Add Matt Busigin in the bug report section. Sat Mar 13 04:17:18 PST 1999 David Pfitzner freeciv/common unit.c You can put two settlers on a tile then set one mining and the other irrigating. Both processes run to completion, so whichever finishes last has the final effect. This patch prevents one order when another is being carried out, but it gives no explanation to the user. Patch submitted by Andrew Donkin . Sat Mar 13 03:58:35 PST 1999 David Pfitzner freeciv/server gamehand.c plrhand.c Moved update_research() in player_load() to later in game_load(), so happens after rulesets are loaded. Sat Mar 13 03:42:11 PST 1999 David Pfitzner freeciv/server plrhand.c unitfunc.c unithand.c Removed an unnecessary call to city_incite_cost() in plrhand.c:player_load() (which was problematic because rulesets are not set up at that stage). Adjusted handle_incite_inq() and diplomat_incite() so that the 1/2 factor for inciting a city you originally built will be correct, even if several players try to incite the same city at about the same time. Removed some obsolete (#if 0) code in diplomat_incite(). Sat Mar 13 03:32:13 PST 1999 David Pfitzner freeciv/server unithand.c Put "city is too big to add settlers" message before "city cannot add: needs Sewer System" message. Bug reported by Patrick Smith . Fri Mar 12 22:07:51 PST 1999 David Pfitzner freeciv/client Freeciv.h helpdlg.h menu.c freeciv/data Freeciv helpdata.txt Added a "Space Race" item to the Help menu, and adjusted the "Space Race" help text, mentioning the spacerace server option. Clarified for the help on each space part to say that the Apollo Program wonder must be built first. Standardised spelling to "spaceship" (not "space-ship" or "space ship"). Fri Mar 12 21:44:25 PST 1999 David Pfitzner freeciv/server plrhand.c unitfunc.c Removed calls to unit_bribe_cost in plrhand.c:player_load() and unitfunc.c:create_unit_full(). They were unnecessary, and the call in player_load() could cause segfault because rulesets are not set up at that stage. (The bribe cost gets set as required in unit_hand.c:handle_incite_inq().) Fixes bug reported by Falk Hueffner. Fri Mar 12 21:23:34 PST 1999 David Pfitzner freeciv/client packhand.c Fixed attribution in a comment. Fri Mar 12 21:11:09 PST 1999 David Pfitzner freeciv/client packhand.c Adjust order in which client chooses to place spaceship modules. Now "nice" governments (Republic, Democracy) build support/solar before habitation so the success rate stays high. Fri Mar 12 21:10:21 PST 1999 David Pfitzner freeciv/client spaceshipdlg.c Made order of parts in space.xpm more explicit in the code. Fri Mar 12 21:09:38 PST 1999 David Pfitzner freeciv NEWS Spelling/grammar fixes; a few more/less newsworthy items; mentioned new manual and civworld; removed some obsolete known bugs; some new stuff for "Things to do". Fri Mar 12 21:08:50 PST 1999 David Pfitzner freeciv ChangeLog Removed a duplicated (and misplaced) log message. Sun Mar 7 12:06:19 PST 1999 Nicolas Brunel freeciv AUTHORS Change the address of Martin Willemoes Hansen Sun Mar 7 02:35:56 PST 1999 David Pfitzner freeciv/client mapctrl.c menu.c packhand.c freeciv/common unit.c unit.h freeciv/server unithand.c Improved "Build City" menu item and related issues. Patches submitted by Jeff Mallatt : When a Settler/Engineer is sitting on a City, pressing 'b' will order it to add itself to that City (if the City is small enough). However, the Orders menu Build City item remains disabled. This patch enables the menu item in this case, and also renames it to "Add to City" when appropriate. The menu item is disabled if the city is already too big. This patch also changes handle_city_info to call update_menus after the City size has increased due to a Settler being added. Additional changes by me: New function can_unit_add_to_city(), which also takes into account aqueduct_size and sewer_size (for rulesets generality). In request_unit_build_city(), let the server decide the message if the build order in inappropriate (to avoid unnecessary code duplication). In handle_unit_build_city(), did some re-organisation, and adjusted some of the messages for when the build/add-to order is inapproriate. Sun Mar 7 02:33:02 PST 1999 David Pfitzner freeciv AUTHORS Authors updates and minor fixes. Sat Mar 6 11:46:53 PST 1999 Nicolas Brunel freeciv/server sernet.c Correct bug when timeout was set before game begin. Diff in fct sniff_packets. Bug reported by Rizos Sakellariou Fri Mar 5 16:36:11 PST 1999 David Pfitzner freeciv/client civclient.c freeciv/server civserver.c Minor adjustments to --help messages. Fri Mar 5 16:28:22 PST 1999 David Pfitzner freeciv/client menu.c freeciv/server civserver.c Changed menu items "Server options 1" and "Server options 2" to more descriptive "Server opt initial" and "Server opt ongoing". Also changed "Msg Options" to "Message Options" now that other items are longer. Changed old REPORT_SERVER_OPTIONS clause in civserver.c handle_report_request() as capabilities should mean this never happens anyway. Fri Mar 5 16:05:17 PST 1999 David Pfitzner freeciv/client diplodlg.c Fix problem on Solaris with scrollbar for treaty clauses. Patch submitted by Rizos Sakellariou. Fri Mar 5 15:58:20 PST 1999 David Pfitzner freeciv/common player.c Changed Anarchy max_rate to 100%, to avoid unnecessarily limiting rates during government change. (Rates in anarchy being irrelevant.) Fri Mar 5 15:56:46 PST 1999 David Pfitzner freeciv/server plrhand.c plrhand.h stdinhand.c The following patch fixes a long-standing problem w.r.t. the rates, namely: if one switches from a goverment of higher rate to another of lower rate, rates are not checked and one is allowed, for example, to have 100% science with a Republic (if switched to this from Democracy). The side-effect of this is that the taxmen/scientists/elvis icons may be blocked and the player will have to change rates through the menu option. The patch assigns whatever amount exceeds maxrate to the 2nd highest rate and sends an appropriate message. AI's are still allowed to set rates as they wish. Patch submitted by Rizos Sakellariou . Fri Mar 5 15:43:39 PST 1999 David Pfitzner freeciv/common packets.c packets.h shared.h freeciv/server sernet.c Changed protocol the network byte order, because its "the right thing to do". Byte order patch by Trent Piepho. Also put in code to handle the first packet received from a connection (on the server) specially, to detect and deal with connection from a client with the old byte order. (Only enough so that we can reject the client cleanly via capabilities, and so the old client gets a message it can deal with.) New clients connecting to old servers will still cause problems (connection at socket level, but no packet communication). Incremented the capability string to "+1.8pre2". Minor code cleanups in sernet.c Fri Mar 5 15:29:59 PST 1999 David Pfitzner freeciv/server mapgen.c There was an "#include " inside a function definition (createisland()). Moved include to the top of the file where it should have been. Wed Mar 3 12:51:51 PST 1999 Nicolas Brunel freeciv acconfig.h config.h.in configure configure.in freeciv/client civclient.c freeciv/common shared.h freeciv/server civserver.c Add message Report bugs to freeciv-dev@freeciv.org when civserver or civclient is launched with --help option. Wed Mar 3 06:12:24 PST 1999 Nicolas Brunel freeciv/client citydlg.c cityrep.c clinet.c dialogs.c diplodlg.c helpdlg.c mapctrl.c mapview.c menu.c ratesdlg.c repodlgs.c Size of pointer is 8 on alpha. This patch changes cast to pointer from (int) to (size_t). Patch written by christopher C Chimelis with 2 (int) to (size_t) modifications added by me. Wed Mar 3 03:10:17 PST 1999 David Pfitzner freeciv/data/classic flags.xpm roads.xpm tiles.xpm units.xpm Substituted the "brunus" tiles (by Bruno Gilleta ) for the "classic" tiles, as the brunus tiles are very similar to the classic tiles, but improved (with 3-d effects). I re-indexed the colours of the brunus xpm's, to a common pallete of 64 colours for all xpms. I also re-indexed the flags.xpm with this palette. (The "old_classic" tiles will be made available at the ftp site for any die-hard fans who don't like the new ones.) Wed Mar 3 02:17:41 PST 1999 David Pfitzner freeciv/common game.c Changed game_next_year() to adjust year progression, for better game balance (and better match to Civ2), and to ensure that turns = years for spaceships. Based on patch submitted by Peter Schaefer . Wed Mar 3 02:02:37 PST 1999 David Pfitzner freeciv/server unitfunc.c I changed my mind a bit about helicopters which get hp=0. Now test all unit types, not just heli's, in case any other units somehow get hp=0, and say "ran out of hit points" instead of "out of fuel", since fuel is a definite game concept, which _doesn't_ apply to helicopters. Wed Mar 3 01:53:57 PST 1999 David Pfitzner freeciv/client menu.c freeciv/common packets.h freeciv/server civserver.c stdinhand.c Removed obsolete "Server options" menu item (which was only kept before for backward compatiblity); use the "Server options 1" or "Server options 2" menu items instead. Tue Mar 2 14:33:37 PST 1999 Nicolas Brunel freeciv AUTHORS NEWS freeciv/server mapgen.c Patch written by Peter Schaefer so that the new mapgen behaves more like gen1. Tue Mar 2 13:58:55 PST 1999 Nicolas Brunel freeciv ChangeLog New Changelog up to date with pre-1.8.0. Thx Mitch ! Tue Mar 2 13:55:32 PST 1999 Nicolas Brunel freeciv/server unitfunc.c Helicopter with 0 or less hp after hit point calculation are removed of the game with a message saying that the helicopter has run out of fuel. Patch written by David Pfitzner Tue Mar 2 02:18:53 PST 1999 David Pfitzner freeciv/client cityrep.c Cosmetic patch to prevent `+' signs appearing in the city report when a city has no gold surplus. Based on a patch submitted by Andrew Donkin . Mon Mar 1 15:12:06 PST 1999 Lalo Martins freeciv/debian README.debian dirs docs freeciv-xaw3d.dirs freeciv-xaw3d.menu freeciv-xaw3d.postinst freeciv-xaw3d.postrm watch changelog control postinst rules README.Debian civ civ.man Finally updated the debian/ directory to cope with the new build system (for the freeciv-xaw3d package) Mon Mar 1 00:15:29 PST 1999 David Pfitzner freeciv/common city.h freeciv/server autoattack.c cityhand.c plrhand.c Default auto-attack options to all on, for new cities. That is, if you put a unit in auto-attack mode, it will attack all types of enemy units (unless you change the city options). (Otherwise, a unit put in auto-attack mode did nothing, unless you also remembered to change the city options.) Sun Feb 28 23:57:59 PST 1999 David Pfitzner freeciv/common game.c map.h Default game.spacerace to 1 (on). Sun Feb 28 23:54:44 PST 1999 David Pfitzner freeciv configure configure.in freeciv/client Freeciv.h freeciv/data Freeciv freeciv/server civserver.c Removed third arg to AM_INIT_AUTOMAKE. Slightly adjusted the beta notices. Sun Feb 28 23:49:25 PST 1999 David Pfitzner freeciv/data/classic flags.xpm freeciv/data/default flags.xpm Adjusted flags, so that they match for the default and classic tilesets. Also tidied up a few, and added some bonus/future-use flags. Sun Feb 28 13:26:13 PST 1999 Nicolas Brunel freeciv config.h.in configure configure.in freeciv/client Freeciv.h freeciv/common shared.h freeciv/data Freeciv Switch number version to 1.8.0. Sun Feb 28 12:20:38 PST 1999 Nicolas Brunel freeciv acconfig.h config.h.in configure configure.in freeciv/client Freeciv.h citydlg.c clinet.c clinet.h connectdlg.c diplodlg.c mapctrl.c menu.c packhand.c freeciv/common packets.c shared.h freeciv/data Freeciv freeciv/server civserver.c meta.h This patch cleans up the printing of beta version notices (which was used before the release of 1.7) so that they are now controlled by a define IS_BETA_VERSION, in configure.in (and also in shared.h, for non-configure builds This patch replaces all the current capability tags by the single tag "+1.8pre1". The idea is that for 1.8.0 the capability string will be "+1.8", and this patch is to test things properly before release. I also changed researched and researchpoints into 32 bit ints, to avoid possible over/under-flows. Patches written by David Pfitzner . Sun Feb 28 10:34:12 PST 1999 Nicolas Brunel freeciv/client clinet.c dialogs.c packhand.h When two race selection dialogs are generated, e.g. by disconnecting after the first has appeared, and connecting again, then the second try at nation selection will result in core dump. Bug spotted by Lalo Martins I try to fix it by checking if a races_dailog_shell exist when the connection to the server is lost. If it exists, it is closed. nb Sun Feb 28 09:48:35 PST 1999 Nicolas Brunel freeciv configure.in Wipe out the option -pipe for gcc. It wasn't supported by gcc on cygwin Bug reported by Todd Goodman Additionnal files are due to prevously applied and removed patches. Sat Feb 27 17:50:52 PST 1999 David Pfitzner freeciv/server stdinhand.c Adjusted help texts for spacerace server option, so that it is no longer called experimental. Sat Feb 27 10:58:24 PST 1999 Nicolas Brunel freeciv/data/default tiles.xpm This patch to data/default/tiles.xpm moves the hitpoint bar from the top left of the tile to the bottom center. (That is, so as to not obscure the flags.) Patch cut and pasted by David Pfitzner Sat Feb 27 10:54:18 PST 1999 Nicolas Brunel freeciv/client Freeciv.h citydlg.c freeciv/common city.h shared.h freeciv/data Freeciv freeciv/server autoattack.c cityturn.c Here is a modified version of Massimo's patch, which uses a tri-state toggle. Dwp also removed the NEW_WORKER option which Massimo pointed out was not needed, and changed the new option order so that this is still compatible with the previous "autoattack1" and previous savefiles. Fri Feb 26 23:36:25 PST 1999 David Pfitzner freeciv/common map.c Moved a comment about is_terrain_near_tile() to correct place. Fri Feb 26 23:33:43 PST 1999 David Pfitzner freeciv/server autoattack.c gotohand.c gotohand.h Renamed calculate_cost() to calculate_move_cost(), and changed treatment in this function for air/heli units, since warmap doesn't take account of air units. (Eg, before, auto-attacking air/heli units didn't attack boats.) Fri Feb 26 23:10:06 PST 1999 David Pfitzner freeciv/server cityhand.c cityhand.h citytools.c diplhand.c unitfunc.c unithand.c Fixed several problems with the traderoutes of a city that changes owner. Fixed typo in remove_city(); new function reestablish_city_trade_routes(); changes to transfer_city() and handle_unit_enter_city(). Also put in some extra calls to update_map_with_city_workers(), when city changes owner. Based on patches submitted by Rizos Sakellariou . Fri Feb 26 17:31:12 PST 1999 David Pfitzner freeciv/data/default roads.xpm Adjusted palette to match units and tiles. Thu Feb 25 14:50:04 PST 1999 Nicolas Brunel freeciv configure configure.in Add the flag -pipe for gcc options. Patch suggested by Tony & Thu Feb 25 02:24:01 PST 1999 David Pfitzner freeciv AUTHORS Removed duplicate entry for Markus Linnala. Wed Feb 24 11:59:09 PST 1999 Nicolas Brunel freeciv ChangeLog ChangeLog is uptodate till the 23th of february. Wed Feb 24 01:32:55 PST 1999 David Pfitzner freeciv/client mapctrl.c mapctrl.h menu.c freeciv/common unit.c unit.h freeciv/data helpdata.txt Allow caravan actions (help build wonder, or establish trade route) for caravan (or freight) units inside cities, via orders menu and key commands. Re-use keys: "b"=(b)uild wonder, "r"=trade (r)oute. Wed Feb 24 01:21:41 PST 1999 David Pfitzner freeciv/client Freeciv.h inteldlg.c freeciv/common player.c player.h freeciv/data Freeciv freeciv/server citytools.c citytools.h Added information about Capital (city name) to intelligence report. Only shows name of capital if that city is known by the client -- that is, within the known map. Moved find_capital() from server/citytools to common/player. Tue Feb 23 13:47:59 PST 1999 Nicolas Brunel freeciv/client mapctrl.c freeciv/server unithand.c The following patch handles in a more user-friendly way the case where a caravan cannot establish a trade route with an enemy city. At the moment, if this is not possible, the message appearing is the meaningless "You can't attack there". This no longer appears and a more elaborate message is displayed. Also, the modification of the server function allows to display an appropriate message in cases where the client `gives ok' but a traderoute cannot finally be established. Patch written by Rizos Sakellariou Tue Feb 23 09:07:35 PST 1999 Trent Piepho freeciv/data helpdata.txt Updated help to reflect ability to adjusting workers from the main map. Sun Feb 21 18:30:06 PST 1999 Trent Piepho freeciv/client Freeciv.h mapctrl.c mapctrl.h mapview.c mapview.h packhand.c xmain.c freeciv/data Freeciv Added ability to adjust the location of city workers from the main map. Use the 't' key to just display where the workers are, and use Shift-Button1 to adjust the workers just as you would in the city dialog. The effects of your change are displayed on the main map when the city info update is received from the server. Sun Feb 21 02:31:02 PST 1999 David Pfitzner freeciv/data/classic Makefile.am Makefile.in freeciv/data/default Makefile.am Makefile.in Added flags.xpm files to dist. Sat Feb 20 18:55:11 PST 1999 David Pfitzner freeciv/data helpdata.txt freeciv/server unitfunc.c Fixed up units gaining hit points, and movement, helicopter, and United Nations hit points effects. Based on a patch by Daniel Burrows . Tidied up the help pages to reflect code. Now units only regain hitpoints if they have not moved, regardless of cities, Barracks etc (to match Civ2). The United Nations and helicopter effects apply whether or not a unit has moved. Sat Feb 20 17:35:32 PST 1999 David Pfitzner freeciv/data/default tiles.xpm Fixed an off-by-1-pixel mistake I introduced into default/tiles.xpm Sat Feb 20 17:00:58 PST 1999 David Pfitzner freeciv/data/classic flags.xpm freeciv/data/default flags.xpm Added the extra flags.xpm files. Sat Feb 20 17:00:19 PST 1999 David Pfitzner freeciv/client graphics.c mapview.h freeciv/data/classic tiles.xpm freeciv/data/default tiles.xpm Moved race flags to separate flags.xpm Sat Feb 20 16:49:54 PST 1999 David Pfitzner freeciv/client Freeciv.h cityrep.c civclient.c messagewin.c optiondlg.c freeciv/data Freeciv Added client option "Center when Popup city". Affects whether the map is also centered when a city dialog is popped up from the Popup buttons for the City Report and Messages Window. This makes the centering behaviour of these two buttons consistent. Sat Feb 20 16:43:16 PST 1999 David Pfitzner freeciv configure configure.in Adjusted where X_PRE_LIBS (usually -lSM -lICE) get placed in the client link line. Now they come just to the left of "-lXext -lX11". Hopefully this fixes problems with IRIX (reported by Dee Jay Randall ) and Cygwin (reported by Todd Goodman ). Fri Feb 19 21:13:19 PST 1999 David Pfitzner freeciv/client helpdlg.c freeciv/data helpdata.txt freeciv/data/default buildings.ruleset Fixed tech_required for Barracks III to match Civ2 (now Mobile Warfare instead of Combustion); also obsolete_by for Barracks II. Based on a patch by Greg Wooledge, but I made the help about obsolescence dynamic so that its correct for Civ1 too. Fri Feb 19 21:09:39 PST 1999 David Pfitzner freeciv/data/civ1 buildings.ruleset Fixed tech_required for Space Module for Civ1 (Robotics, not Superconductors). Fri Feb 19 21:08:38 PST 1999 David Pfitzner freeciv/client packhand.c Fixed initial display of "0 People" when client re-connects to a reloaded game. Fixed by putting update_info_label() in handle_game_state(). Fri Feb 19 14:24:54 PST 1999 Nicolas Brunel freeciv/server mapgen.c little change asked for mapgen4 by Peter Schaefer Fri Feb 19 13:21:20 PST 1999 Nicolas Brunel freeciv/server unitfunc.c Units finishing their turn in a barracks recover hitpoints regarless of movement. Patch suggested by David Pfitzner Fri Feb 19 12:45:56 PST 1999 Nicolas Brunel freeciv/server unitfunc.c Substitute pcity=city_list_find_id(&pplayer->cities, game.global_wonders[B_UNITED]); if(pcity && !wonder_obsolete(B_UNITED)) by if (player_owns_active_wonder(pplayer, B_UNITED)) as suggested by David Pfitzner substitute if(!punit && (is_heli_unit(punit))) by (!map_get_city(punit->x,punit->y) && (is_heli_unit(punit))) and remove the variable pcity. Fri Feb 19 03:54:08 PST 1999 David Pfitzner freeciv/client Freeciv.h mapview.c mapview.h xmain.c freeciv/data Freeciv Fixed problem with layout of main window with 45x45 tiles (gap between left side information and map window), due to larger pixmaps for the display of units below the current unit. Made the number of such units displayed depend on the tile size. Thu Feb 18 15:00:18 PST 1999 Nicolas Brunel freeciv/common city.c In the list of American city names, Tucson was incorrectly rendered as "Tuscon". Mystake spotted by "Andrew E. Schulman" Wed Feb 17 19:36:17 PST 1999 Trent Piepho freeciv/client cityrep.c Change city report so it uses a list of city pointers instead of city IDs. Got rid of some arrays that aren't necessary anymore in the creation of the city report. Wed Feb 17 13:21:25 PST 1999 Trent Piepho freeciv Imakefile Makefile.noimake freeciv/client cityrep.c cityrep.h Makefile.am Makefile.in citydlg.c climisc.c menu.c optiondlg.c packhand.c repodlgs.c repodlgs.h Split the repodlgs.c file into two files. The second files is called cityrep.c and has the city report code in it. Adjusted includes in other files to refer to cityrep.h if necessary. Added cityrep.c and spacerace stuff to various makefiles. Tue Feb 16 04:13:29 PST 1999 Trent Piepho freeciv/server mapgen.c plrhand.c Cleaned up some egcs warnings about ambiguous braces. Tue Feb 16 03:44:04 PST 1999 David Pfitzner freeciv/client Freeciv.h spaceshipdlg.c freeciv/common packets.c freeciv/data Freeciv freeciv/server spacerace.c Cosmetic fixes for spaceships launched/arriving in BC years; bug reported by Massimo Campostrini. There could still be some quirks. Tue Feb 16 02:56:57 PST 1999 David Pfitzner freeciv/client Freeciv.h civclient.c packhand.c packhand.h spaceshipdlg.c freeciv/common spaceship.c spaceship.h Makefile.am Makefile.in city.c game.c game.h packets.c packets.h player.c player.h shared.h freeciv/data Freeciv helpdata.txt freeciv/server spacerace.c spacerace.h Makefile.am Makefile.in cityturn.c civserver.c gamehand.c plrhand.c plrhand.h unithand.c Improved spacerace, based partly on a patch by Falk Hueffner . New/changed features: - Travel time, success chance etc are implemented, based on reverse-engineered Civ1; you can now only launch a spaceship if it is "viable". - Only parts of the spacehip connnected to structurals count. - The protocol is such that the player could choose which type of module to build (like in Civ1), but currently the client makes this choice. That is, fixing this further should require changes to the client only. - Better handling of spaceships arriving in the same turn. - An arrived spaceship adds to your final score. But I don't know what the score bonus should be; for now, I chose an arbitrary bonus. - Capturing a player's capital stops that player's spaceship. - There is some help about spaceships and spaceship parts. The capability string now has "+spacerace2". There are still problems if you launch in BC years. Tue Feb 16 02:44:12 PST 1999 David Pfitzner freeciv/common shared.c Reverted to cvs revision 1.8, since 1.9 was checked in by mistake, and the 1.10 fix caused segfault if FREECIV_DATADIR is set. Mon Feb 15 16:28:03 PST 1999 Trent Piepho freeciv/common shared.c Clean up a gcc warning about an assignment to a const string. Mon Feb 15 14:55:59 PST 1999 Nicolas Brunel freeciv ChangeLog Last ChangeLog entry is now on Sat Feb 13 16:36:18 1999 by David Pfitzner Mon Feb 15 03:10:07 PST 1999 Nicolas Brunel freeciv/common shared.c freeciv/server unitfunc.c fixing problem with city workers when city changes owner... patch written by Rizos Sakellariou Sat Feb 13 16:36:18 PST 1999 David Pfitzner freeciv/data/default roads.xpm New roads and rails for the Engels 45x45 tiles, including diagonals. Sat Feb 13 16:19:34 PST 1999 Trent Piepho freeciv/data/default tiles.xpm units.xpm Changed the tiles from the crappy 30x30 reduction to the original 45x45. Sat Feb 13 15:38:14 PST 1999 David Pfitzner freeciv/client civclient.c Default flags_are_transparent=1, now that the default tiles are the Engels ones which look best transparent. Sat Feb 13 15:28:36 PST 1999 David Pfitzner freeciv/data/default Makefile.am Makefile.in Also refix pkgdatadir in data/default/Makefile.am, and undo accidental change previously uploaded for data/default/Makefile.in. Sat Feb 13 15:23:23 PST 1999 David Pfitzner freeciv/data/classic Makefile.am freeciv/data/default Makefile.in Changed back previous incorrect fix. When we install the "classic" tiles, they should go in, eg, /usr/local/share/freeciv/classic. Sat Feb 13 12:08:40 PST 1999 Nicolas Brunel freeciv/data/classic .cvsignore Makefile.am Makefile.in roads.xpm tiles.xpm units.xpm Added the directory classic for the classic tilesets. Change needed for the 2 tilesets version 1.8.0 . Sat Feb 13 12:00:42 PST 1999 unknown freeciv/data/classic - New directory Directory /home/freeciv/CVS/freeciv/data/classic added to the repository Sat Feb 13 11:59:07 PST 1999 Nicolas Brunel freeciv configure configure.in freeciv/data Makefile.am Makefile.in freeciv/data/default Makefile.am tiles.xpm units.xpm Change written by David Pfitzner to allow the use of a new dir data/classic. The ralph engels tiles 30 are now the default ones. The classic ones have been put into classic. I did a little change in data/default/Makefile.am and data/classic/Makefile.am. change $(datadir)/@PACKAGE@/classic to $(datadir)/@PACKAGE@/data/classic and $(datadir)/@PACKAGE@/default to $(datadir)/@PACKAGE@/data/default I forgot to add the dir data/classic. I will do this in my next commit. Sat Feb 13 10:25:36 PST 1999 Nicolas Brunel freeciv/server unitfunc.c lign 851 substitute (punit->type==U_HELICOPTER) by (is_heli_unit(punit)) Sequel of the patch submitted by Daniel Burrows concerning hit point regeneration. Fri Feb 12 19:59:08 PST 1999 David Pfitzner freeciv/client climisc.c climisc.h Include repodlgs.h for proto of city_report_dialog_update(), and declare "stuct city;" in climisc.h to quiet gcc -Wall warning. Fri Feb 12 16:41:16 PST 1999 Trent Piepho freeciv/client climisc.c climisc.h packhand.c Changed client_remove_city() to use a city pointer instead of a city ID. Also have client_remove_city() update the city report. Fri Feb 12 13:36:17 PST 1999 Nicolas Brunel freeciv/common unit.h freeciv/data helpdata.txt freeciv/server unitfunc.c unithand.c unittools.c Hit point regeneration. Now moving units don't regenerate their hitpoints. patch written by Daniel Burrows Fri Feb 12 13:21:14 PST 1999 Nicolas Brunel freeciv/common map.c map.h freeciv/server gamehand.c mapgen.c mapgen.h stdinhand.c mapgen4 by Peter Schaefer "I've included saveguards against a previously possible overflow of the islands array. I took care to include/not cancel the change made to mapgen.c I saw.(szenario==1) description text is included in server." Fri Feb 12 11:00:08 PST 1999 Nicolas Brunel freeciv/data helpdata.txt Terrain transformation help Patch written by Greg Wooledge Fri Feb 12 10:39:32 PST 1999 Nicolas Brunel freeciv/client Freeciv.h mapctrl.c mapctrl.h mapview.c mapview.h menu.c xmain.c freeciv/common map.c map.h unit.c unit.h freeciv/data Freeciv helpdata.txt freeciv/data/default tiles.xpm units.ruleset freeciv/server unitfunc.c Terrain transformation patch. Now engineers and settlers can achieve major transformation of terrain. Changing tundra to grassland is feasible. ( It will take a huge time. ) Patch submitted by Greg Wooledge with 2 minors changes - in menu.c change declaration of irrtext,mintext,roadtext and transtext to avoid segfault. - add a line in helpdata.txt concerning the terrain transform feature. The use of capability has to be implemented. Wed Feb 10 23:43:44 PST 1999 David Pfitzner freeciv/data helpdata.txt Adjusted present administrators part. Wed Feb 10 23:40:01 PST 1999 David Pfitzner freeciv/client chatline.c log_output_window() had a FILE ptr called flog (now freelog); changed to avoid confusion. Wed Feb 10 14:42:49 PST 1999 Nicolas Brunel freeciv/server civserver.c gamehand.c mapgen.c maphand.c stdinhand.c - patch to gamehand.c: This deals with a problem that seem to persist since before the stable 1.7.2 distribution: If you saved the server settings with any 1.7.2+ server, you couldn't load them again, as the unirandom section was missing while the savefile options said they should be there. (Did really no-one find this before me?!) - patch to server/stdinhand.c, gamehand.c, maphand.c: this allows now to save scenarios after loading them into the server and just changing some settings. now, the correct amount of information is saved for any of: server settings, all 3 types of scenario's and normal savegame. This means that for the first time, type 1 scenarios really work... Also did some clean up in game_load() and deleted an (incorrect) comment by dwp. (The thing may still need an overhaul, but the rest was wrong...) Patch written by Daniel Gudlat Wed Feb 10 14:24:41 PST 1999 Nicolas Brunel freeciv/data earth-160x90.sav earth-80x50.sav europe.sav scenario enhancement and modifications needed by CivWorld Patch written by Daniel Gudlat Wed Feb 10 13:49:28 PST 1999 Nicolas Brunel freeciv/server autoattack.c autoattack.h add the file autoattach.c and autoattach.h needed by the autoattach patch Wed Feb 10 13:44:42 PST 1999 Nicolas Brunel freeciv Imakefile Makefile.noimake freeciv/client Freeciv.h citydlg.c civclient.c clinet.c clinet.h mapctrl.c menu.c packhand.c packhand.h freeciv/common city.h packets.c packets.h shared.h unit.c unit.h freeciv/data Freeciv helpdata.txt freeciv/server Makefile.am Makefile.in cityhand.c cityhand.h civserver.c gotohand.c gotohand.h plrhand.c settlers.c unithand.c Autoattack-patch : unit can attach an approacing unit to defend a town patch written by sfischme@nexus.lzk.tuwien.ac.at and David Pfitzner Wed Feb 10 13:04:54 PST 1999 Nicolas Brunel freeciv/client dialogs.c freeciv/server unitfunc.c cannot sabotage wonders patch by Greg Wooledge Wed Feb 10 11:49:32 PST 1999 Nicolas Brunel freeciv/server cityhand.c cityhand.h diplhand.c unithand.c fixing problem with city workers when city changes owner... Patch by rizos@rice.edu Wed Feb 10 11:23:19 PST 1999 Nicolas Brunel freeciv/ai advdomestic.c "In the games that I have watched the AI play, they almost never build Marketplaces, Banks, or Stock Exchanges. These are some of the most useful buildings in the game. These equations give a higher and more realistic valuation to the buildings. This causes the AI to build them somewhat more often, but still only in cities with circa 20+ trade." Comment and patch by Tony Stuckey in function ai_eval_buildings(struct city *pcity) Wed Feb 10 11:11:30 PST 1999 Nicolas Brunel freeciv/common unit.c show veteran status in Unit Commands popup Patch submitted by Greg Wooledge Wed Feb 10 10:26:28 PST 1999 Nicolas Brunel freeciv/ai advmilitary.c aicity.c aihand.c freeciv/client chatline.c civclient.c climisc.c clinet.c colors.c graphics.c helpdlg.c optiondlg.c packhand.c repodlgs.c xmain.c freeciv/common city.c game.c log.c log.h packets.c unit.c freeciv/server citytools.c cityturn.c civserver.c diplhand.c gamehand.c gotohand.c mapgen.c maphand.c plrhand.c registry.c ruleset.c sernet.c stdinhand.c unitfunc.c unittools.c remplace flog by freelog to avoid linking problems with the standard mathematic library. Patch suggested by Vasco Alexandre da Silva Costa for an easiest integration of gtk in cvs. Tue Feb 9 14:44:22 PST 1999 Nicolas Brunel freeciv/server unitfunc.c remove punit->moves_left = 0 in update_unit_activity change hinted by Greg Wooledge Tue Feb 9 11:35:34 PST 1999 Nicolas Brunel freeciv/client mapview.c mapview.h put tiles definition from mapview.c to mapview.h change needed by Daniel Gudlat Tue Feb 9 08:27:09 PST 1999 Nicolas Brunel freeciv/data helpdata.txt add help about teamwork now available for settlers and engineers. patch submitted by Greg Wooledge correct the name of the present administrators. Mon Feb 8 16:38:26 PST 1999 Nicolas Brunel freeciv/common unit.c freeciv/server unitfunc.c Settlers and engineers can do teamwork. The activity of one unit is the sum of the activity all of units doing the same activity on the same tile. I added punit->moves_left = 0 for the following activities : POLLUTION FORTRESS IRRIGATE ROAD RAILROAD MINING patch submitted by Greg Wooledge Mon Feb 8 14:36:08 PST 1999 Nicolas Brunel freeciv/server gotohand.c Sat Feb 6 15:35:51 PST 1999 David Pfitzner freeciv/server civserver.c In end_turn(), fixed possible sefault when shuffled[i] is NULL due to a civil war caused by end-of-turn goto-ing units. Now process additional players in non-shuffled order after pre-existing players. Fixes bug reported by Rizos Sakellariou . Thu Feb 4 07:29:25 PST 1999 Trent Piepho freeciv/client climisc.c packhand.c freeciv/server cityhand.c cityhand.h unitfunc.c freeciv/common city.c city.h game.c game.h Moved the citycache stuff from server to common. Modified find_city_by_id, and related functions so they will work with or without the citycache. Removed game_find_city_by() and refrences to it. Wed Feb 3 18:11:16 PST 1999 Trent Piepho freeciv/server unitfunc.c Added a few braces to clean up some egcs -Wall warnings. Wed Feb 3 10:46:33 PST 1999 Nicolas Brunel freeciv/server gotohand.c in init_warmap simplify the initiazation of warmap. Tue Feb 2 13:52:57 PST 1999 Nicolas Brunel freeciv/client mapctrl.c Can activate any unit. Patch submitted by Massimo Campostrini Tue Feb 2 13:35:06 PST 1999 Nicolas Brunel freeciv/common unit.c Settlers or engineers who want to build a new town must have at least one move left. Patch submitted by Massimo Campostrini Mon Feb 1 14:56:33 PST 1999 Nicolas Brunel freeciv/client mapctrl.c Disallow to build town with 0 moves left Patch suggested by Massimo Campostrini Sat Jan 30 08:43:10 PST 1999 Nicolas Brunel freeciv/server civserver.c In handle_request_join_game swap server and client in sprintf. Fri Jan 29 19:41:12 PST 1999 David Pfitzner freeciv README.rulesets Makefile.am Makefile.in Some documentation for rulesets. Fri Jan 29 19:39:28 PST 1999 David Pfitzner freeciv/client Freeciv.h helpdlg.c freeciv/data Freeciv helpdata.txt Changes to help system for rulesets: show improvement/wonder variants, and make some help text more dynamic based on game.rtech etc. Fri Jan 29 19:36:49 PST 1999 David Pfitzner freeciv/ai advdomestic.c advmilitary.c aicity.c aiunit.c aiunit.h Changes to AI for rulesets: generalize unit roles. Fri Jan 29 19:35:23 PST 1999 David Pfitzner freeciv/client civclient.c packhand.c Core changes to client for rulesets: handle the new packets. Fri Jan 29 19:34:25 PST 1999 David Pfitzner freeciv Imakefile Makefile.noimake freeciv/server Makefile.am Makefile.in cityhand.c civserver.c gamehand.c settlers.c unitfunc.c unithand.c unittools.c Core changes to server for rulesets, including using ruleset.c functions and using unit_role functions. Fri Jan 29 19:28:49 PST 1999 David Pfitzner freeciv/common city.c game.c game.h shared.h tech.c unit.c unit.h Core changes to common/ for rulesets. Removed hardwire tables. Changed/new unit flags/roles. Removed set_civ_style() stuff. Fri Jan 29 19:25:10 PST 1999 David Pfitzner freeciv/common packets.c packets.h New packets for rulesets. Fri Jan 29 19:23:28 PST 1999 David Pfitzner freeciv/server stdinhand.c New server options for rulesets. Fri Jan 29 19:21:58 PST 1999 David Pfitzner freeciv/common game.h Added game.ruleset struct for ruleset server option strings. Fri Jan 29 19:19:46 PST 1999 David Pfitzner freeciv/common map.h Define GAME_DEFAULT_RULESET. Fri Jan 29 19:04:18 PST 1999 David Pfitzner freeciv/server ruleset.c ruleset.h New ruleset module, containing functions to read ruleset datafiles, and to send ruleset information to the client. Fri Jan 29 18:57:51 PST 1999 David Pfitzner freeciv configure configure.in freeciv/data civ1.serv Makefile.am Makefile.in freeciv/data/civ1 .cvsignore Makefile.am Makefile.in buildings.ruleset techs.ruleset units.ruleset freeciv/data/default buildings.ruleset techs.ruleset units.ruleset Makefile.am Makefile.in New datafiles for rulesets, and configure/Makefile changes so that "make dist" and "make install" know about the new files. Fri Jan 29 18:30:58 PST 1999 unknown freeciv/data/civ1 - New directory Directory /home/freeciv/CVS/freeciv/data/civ1 added to the repository Fri Jan 29 13:17:00 PST 1999 Nicolas Brunel freeciv/common map.c In real_map_distance, sq_map_distance and map_distance speed up calculation. Patch suggested by Tony Stuckey Thu Jan 28 15:15:04 PST 1999 Nicolas BRUNEL freeciv/server unitfunc.c In server/unitfunct correct the name used to notify a player when i diplomat is eliminated while infiltrating. Patch submitted by Rizos Sakellariou Thu Jan 28 13:33:47 PST 1999 Nicolas BRUNEL freeciv/common unit.c In unit_can_help_build_wonder i disable the possibility to help build a wonder when the wonder is finished. Thu Jan 28 09:26:12 PST 1999 Nicolas BRUNEL freeciv/server gotohand.c put a comment in init_warmap to test cvs commit Thu Jan 28 07:07:36 PST 1999 Trent Piepho freeciv/client citydlg.c repodlgs.c freeciv/server cityhand.c The client will not longer let you buy Capitalization via a city dialog or the city report. Neither the shield cost nor the buying cost of Capitalization are diplayed, since they don't apply and only confuse players. Even if the client tries to somehow, the server doesn't allow buying Capitalization anymore either. The AI should probably be modifed to understand about not buying capitalization too. Thu Jan 28 03:51:49 PST 1999 David Pfitzner freeciv/common game.c game.h freeciv/server unitfunc.c unithand.c New variable game.firepower_factor, currently fixed at 1, to be used in rulesets. In combat, all firepower values are multiplied by this factor. Also, unit hitpoints sent to the client are divided by this factor. Eg, units with hp=10, firepower=1 and firepower_factor=10 will look like units with hp=1 and firepower=1. (Note that hp are not used in common/ except as punit->hp/unit_type->hp so this doesn't break anything there.) This hackish setup is to help support civ1-style combat (with rulesets) without causing the normal AI calculations to core-dump and/or underflow/overflow (as they would with hp=1). Thu Jan 28 03:14:28 PST 1999 David Pfitzner freeciv/ai advdomestic.c advmilitary.c aiunit.c freeciv/common city.c city.h player.c player.h unit.c freeciv/server citytools.c cityturn.c plrhand.c settlers.c unitfunc.c unittools.c New variant field to improvement_type struct, to specify variant improvement effects. Some variant effects are implemented (via new function improvement_variant()), but are not yet documented (coming with rulesets proper), and at the moment all improvements have variant=0. Also new variant-related function player_owns_active_govchange_wonder(). In the future, improvement effects should be generalised still further, but this is a start. Thu Jan 28 03:10:57 PST 1999 David Pfitzner freeciv/ai advdomestic.c advmilitary.c aicity.c aiunit.c freeciv/common game.c game.h unit.c freeciv/server citytools.c plrhand.c settlers.c New struct game.rtech, which stores advances which have special effects (and game.rtech.nav, used by the AI). The advance values are currently fixed, but will be adjustable in the future with rulesets. Thu Jan 28 03:05:59 PST 1999 David Pfitzner freeciv/client climisc.c climisc.h packhand.c Added client-side continent calculations, to support continent-only wonder variants (in rulesets). The client may have imperfect knowledge of continents, but it still helps the client to know in many cases if an improvement is wonder-replaced. Tue Jan 26 03:38:47 PST 1999 David Pfitzner freeciv/server unitfunc.c When wipe_unit_safe() was re-done as a wrapper for new wipe_unit_spec_safe() (in civil war patch), it buggily didn't pass on the iterator argument, reintroducing various segfault bugs; fixed. Sat Jan 23 19:53:15 PST 1999 David Pfitzner freeciv/client civclient.c Fixed client --help and --version handling so that starting the client with no arguments doesn't segfault! Sat Jan 23 18:48:31 PST 1999 David Pfitzner freeciv/data helpdata.txt This adds a Terrain Alterations section to the terrain help. Patch submitted by Greg Wooledge. Sat Jan 23 18:38:23 PST 1999 David Pfitzner freeciv/data/default roads.xpm New road and rail tiles. Roads are less prominent and wiggly, like pre-diagonal roads. Rails are smaller-scale and less cluttering. Sat Jan 23 18:33:55 PST 1999 David Pfitzner freeciv/client civclient.c xmain.c In client, handle --help and --version ourselves in main(), so we don't need to connect to the X server. Patch submitted by Lalo Martins . Sat Jan 23 18:33:03 PST 1999 David Pfitzner freeciv/client messagedlg.c freeciv/common events.h freeciv/server cityturn.c When building a granary in a city, it is useful to postpone city growth until the granary is complete, so that you can save large amounts of your foodbox. This patch tries to notify players when this type of situation exists. Adds event E_CITY_GRAN_THROTTLE: "Suggest Growth Throttling". Patch submitted by Tony Stuckey. Sat Jan 23 18:31:41 PST 1999 David Pfitzner freeciv/server cityhand.c In really_handle_city_buy(), return early if cost is 0, to avoid unnecessary "bought for 0 gold" messages when watching AI. Patch submitted by Tony Stuckey. Fri Jan 22 21:17:53 PST 1999 David Pfitzner freeciv/server gotohand.c unitfunc.c unitfunc.h New function get_simple_defense_power(), to avoid hardwired U_HOWITZER in calls get_virtual_defense_power(U_HOWITZER, ...). Fri Jan 22 21:16:55 PST 1999 David Pfitzner freeciv/server stdinhand.c Code to allow string-valued server options. (None yet, but will be for rulesets.) Fri Jan 22 21:16:05 PST 1999 David Pfitzner freeciv/ai advmilitary.c freeciv/common unit.c freeciv/server settlers.c Always access unit flags via unit_flags(), and don't do bit operations on flag values. (For rulesets, where flags are an enumeration rather than bit defines.) Fri Jan 22 21:14:17 PST 1999 David Pfitzner freeciv/ai advmilitary.c Unhardwired A_AMPHIBIOUS for B_PORT in kill_something_with(). Fri Jan 22 21:13:00 PST 1999 David Pfitzner freeciv/ai advmilitary.c aicity.c aiunit.c aiunit.h New function is_ai_simple_military(), to unhardwire loops previously done as U_WARRIORS to U_BATTLESHIP. Fri Jan 22 21:08:36 PST 1999 David Pfitzner freeciv/ai aicity.c Pseudo-generalized has_a_normal_defender(), for rulesets, though not very well because I don't really understand the function's purpose. Fri Jan 22 21:07:39 PST 1999 David Pfitzner freeciv/client repodlgs.c Use is_wonder() instead of hardwired improvement range in trade_report_dialog_update(). Fri Jan 22 21:06:47 PST 1999 David Pfitzner freeciv/ai advmilitary.c aiunit.c freeciv/common city.c player.c player.h New function player_knows_improvement_tech(), used to reduce use of hard-wired advances when really mean improvement tech_required. Fri Jan 22 21:05:14 PST 1999 David Pfitzner freeciv/common city.h Moved some prototypes to better groups. Fri Jan 22 21:04:05 PST 1999 David Pfitzner freeciv/common tech.h In advance struct, changed "name" from char pointer to char array. This is now the same as unit_types and buildings, and is easier than managing memory when names are somewhat dynamic, for rulesets. Included shared.h, for MAX_LENGTH_NAME. Fri Jan 22 21:02:21 PST 1999 David Pfitzner freeciv/server gotohand.c In really_generate_warmap(), unhardwired a use of U_SETTLERS. Fri Jan 22 21:01:24 PST 1999 David Pfitzner freeciv/server registry.c In section_file_load(), print a log message if fopen() fails. Wed Jan 20 02:32:05 PST 1999 David Pfitzner freeciv/client helpdlg.c In boot_help_texts(), don't report filtering on first boot (for rulesets). Wed Jan 20 02:31:04 PST 1999 David Pfitzner freeciv ser freeciv/client climisc.c climisc.h freeciv/common shared.c shared.h Moved datafilename() from climisc to common/shared, and added default FREECIV_DATADIR to ser script. (Server will want to access datadir for rulesets.) Wed Jan 20 02:27:20 PST 1999 David Pfitzner freeciv/ai advmilitary.c freeciv/server unitfunc.c unittools.c unittools.h New convenience function unit_really_ignores_citywalls, taking into account move_type (for rulesets). Wed Jan 20 02:21:06 PST 1999 David Pfitzner freeciv/client menu.c Added a "spaceship" option to the report menu. From a patch submitted by Per Mathisen . Wed Jan 20 02:18:42 PST 1999 David Pfitzner freeciv/server citytools.c In transfer_city_units(), for case where changing unit to another homecity, use the correct owner of the new homecity. Based on a patch by Kris Bubendorfer. Also adjusted the messages depending on whether the unit changes owner. Sun Jan 17 03:28:52 PST 1999 David Pfitzner freeciv Imakefile Makefile.noimake freeciv/client spaceshipdlg.c spaceshipdlg.h Freeciv.h Makefile.am Makefile.in graphics.c packhand.c plrdlg.c xmain.c freeciv/common city.c game.c game.h map.h packets.c packets.h player.c player.h shared.h freeciv/data Freeciv freeciv/data/default space.xpm Makefile.am Makefile.in freeciv/server cityturn.c civserver.c gamehand.c plrhand.c plrhand.h stdinhand.c First pass at spacerace feature, based on a patch submitted by Falk Hueffner . Activated by a server option which defaults to off. The travel time calculation is still missing, it always arrives after 15 years, and it doesn't properly know when a spaceship is in a proper state to be launched. Sun Jan 17 01:47:44 PST 1999 David Pfitzner freeciv/server cityturn.c In citizen_happy_units(), calculate number of unhappy people directly rather than using loops. Patch submitted by Anthony J. Stuckey . Sun Jan 17 01:46:37 PST 1999 David Pfitzner freeciv/server citytools.c citytools.h diplhand.c unitfunc.c unittools.c unittools.h Conditionally added back messages about unit transfers in transfer_city_units() and resolve_unit_stack(), so that players get the messages when unciting or trading cities, but not for a civil war. Also fixed the text of the message when a unit's homecity is changed in these cases. Sun Jan 17 01:44:28 PST 1999 David Pfitzner freeciv/client Freeciv.h diplodlg.c freeciv/common diptreaty.h shared.h freeciv/data Freeciv helpdata.txt freeciv/server citytools.c diplhand.c Trade cities patch submitted by Kris Bubendorfer: This patch is essentially an extension to the diplomacy/treaty section, where you may now also TRADE CITIES. You cannot trade your capital, but any other city is fair game. Cities that the other player does not know about, may still be gifted, but obviously they cannot request these cities as they've got no idea they exist. So you still have secrecy/fog of war. If the recipient of a city does not have the part of the map with the city being traded, then that part of the map is lightened. You do NOT need to trade maps first - of course you could.... All units in the field that are supported by the city being traded are also transferred over, but any that are supported, but resident in other cities are not traded. None-the-less, you should be careful not to give the other person a better deal that you expect. There is also a new part on diplomacy in general in the Help, in the `How to play' section. Sat Jan 16 20:08:32 PST 1999 David Pfitzner freeciv/client colors.c Slightly adjusted colour of race13. Sat Jan 16 19:53:34 PST 1999 David Pfitzner freeciv/data/default roads.xpm small.xpm tiles.xpm treaty.xpm units.xpm Colourmap cleanup. The colours in some of the xpms where similar but not identical to colours in others. Also eliminated a couple of colours which were only used in small.xpm. Also replaced Artillery icon with one submitted (long ago) by Frank Muzzulini . Sat Jan 16 18:36:43 PST 1999 David Pfitzner freeciv/client climisc.c packhand.c freeciv/common game.c Added some extra debugging output, detailing new and removed cities and units, disabled by default. (Use configure --enable-debug, or change the "#define DEBUG 0" in the source.) Sat Jan 16 18:31:54 PST 1999 David Pfitzner freeciv/server citytools.c unittools.c Some fixes to civil war. Send game_info as soon as new player is created so clients get the correct game.nplayers, and send new player info earlier, so clients know name of new player before do cities, units. Deactivated some more over-verbose notify_player messages I missed last time. Set player.revolution to 1 for civil war leaders, so get to choose new government _next_ turn, not straight away. Sat Jan 16 03:15:45 PST 1999 David Pfitzner freeciv/client mapview.c A rail square with adjacent roads (but not adjacent rails) was not being shown as rail. Sat Jan 16 03:10:17 PST 1999 David Pfitzner freeciv/client packhand.c freeciv/common packets.c packets.h shared.h freeciv/server civserver.c plrhand.c Send capability strings so that clients know capabilities of other clients, to help future backward compatibility. This patch itself is backward compatible via capabilities. Patch submitted by Kris Bubendorfer. Fri Jan 15 17:15:24 PST 1999 David Pfitzner freeciv/data helpdata.txt Help text patch submitted by Greg Wooledge : This patch does some revision on the helpdata.txt file. I've standardized the capitalization of many words (Wonder->wonder, factory->Factory, etc.), removed trailing white space, cleaned up some minor grammar/phrasing problems, and added a couple comments based on Civ2 experience. More importantly, I've standardized some terminology: * I've used the terms "food production", "shield production", "science production", "tax production" and "luxury production" to refer to the output of cities. * I've used the terms "food resource", "shield resource" and "trade resource" to refer to what's harvested from squares around a city. * I've used the term "shields" to refer to shield resources, rather than the more ambiguous "production"; I've also used "shields" (or kept the phrase "production shields") in the government help to indicate unit upkeep costs. The only change I didn't make in terms of standardization is to reconcile the American and British spellings of certain words (particularly "defense"/"defence"). The "Coastal Defense" stanza is a rather glaring example of the need for this, but I didn't want to try to make that call.... Fri Jan 15 17:12:38 PST 1999 David Pfitzner freeciv/client mapview.c Fixed case when diagonal roads is off and we have a rail/road tile with only diagonally adjacent rail/road tiles. Now draws an "isolated" rail/road (used to draw no rail/road on that tile). Fri Jan 15 03:03:52 PST 1999 David Pfitzner freeciv/common game.c game.h map.h unit.c unit.h freeciv/data helpdata.txt freeciv/server citytools.c citytools.h civserver.c gamehand.c stdinhand.c unitfunc.c unitfunc.h unithand.c unittools.c unittools.h New feature: civil war. If a player's capital is captured and the number of cities the player owns is at least "civilwarsize" (a new server option), then the player's empire splits in a civil war, with cities and units being divided between the old player and a new AI player. (Civil wars only happen if there are less than 14 existing players.) From patch submitted by Kris Bubendorfer . Tue Jan 12 03:21:57 PST 1999 David Pfitzner freeciv/client citydlg.c Another fix to the "selecting idle autosettler" problem, this time when selecting the unit from the city dialog. Tue Jan 12 02:55:46 PST 1999 David Pfitzner freeciv/client mapctrl.c packhand.c freeciv/server unithand.c Fix so that a settler in auto-mode, but currently idle (between jobs), correctly goes out of auto-mode when selected by the user. Tue Jan 12 02:33:39 PST 1999 David Pfitzner freeciv Makefile.am Makefile.in configure configure.in New configure option --disable-make-data, which prevents make from recursing into the data directory (and subdirectories) when you do a make from the top level. The only time you _don't_ want to use this option is when you're going to do a "make install", since then you _do_ want to recurse into the data directories, else the data won't be installed. Tue Jan 12 02:32:07 PST 1999 David Pfitzner freeciv/data/default Makefile.am Makefile.in Fix so "make install" installs data/default properly. Mon Jan 11 00:21:47 PST 1999 David Pfitzner freeciv/data/default Makefile.am Makefile.in Left off a line-continuation backslash. Sun Jan 10 23:50:15 PST 1999 David Pfitzner freeciv/data/default .cvsignore Added data/default/.cvsignore Sun Jan 10 23:35:42 PST 1999 David Pfitzner freeciv configure configure.in freeciv/data Makefile.am Makefile.in freeciv/data/default Makefile.am Makefile.in Added Makefile.am and changed configure.in for new directory data/default. Sun Jan 10 23:24:44 PST 1999 Trent Piepho freeciv/client Freeciv.h civclient.c mapview.c optiondlg.c freeciv/data Freeciv Added a new client option to turn display of diagonal roads on or off. Sun Jan 10 23:22:28 PST 1999 Trent Piepho freeciv/client graphics.c Fix bug introduced by the diagonal roads tile rearrangement where the unit pictures in the help dialog didn't have flags. Sun Jan 10 00:12:09 PST 1999 Trent Piepho freeciv/data roads.xpm small.xpm tiles.xpm treaty.xpm units.xpm freeciv/data/default roads.xpm small.xpm tiles.xpm treaty.xpm units.xpm Moved the XPM files for the game tiles into the directory default. Sun Jan 10 00:08:17 PST 1999 unknown freeciv/data/default - New directory Directory /home/freeciv/CVS/freeciv/data/default added to the repository Sat Jan 9 21:27:32 PST 1999 David Pfitzner freeciv/server settlers.c Lots of reformating and variable renaming in auto_settler_findwork(), and extra comments. Sat Jan 9 21:22:39 PST 1999 David Pfitzner freeciv/server civserver.c Fixed code which sends select_race packets to players, to avoid sending multiple unnecessary packets, and to make the code cleaner. Problem reported by "Caz" Marko Lindqvist , but I did a more extensive fix than the one provided by Caz. Sat Jan 9 21:08:18 PST 1999 David Pfitzner freeciv/server stdinhand.c Don't inform connected clients when "server only" server options are changed (eg, random seeds, saveturns etc). Sat Jan 9 21:04:40 PST 1999 David Pfitzner freeciv Imakefile Also added server/gamelog.o to Imakefile. Sat Jan 9 20:06:25 PST 1999 Trent Piepho freeciv/client graphics.c Added support for tileset directories. Also added checking for the XPM file sizes. If an XPM file isn't the correct size the client will exit with an error message explaining this, rather than crashing. Sat Jan 9 20:03:39 PST 1999 Trent Piepho freeciv/client xmain.c resources.h Added new option "--tiles" which controls which directory the tiles comes from. e.g. civclient --tiles civ2, use the XPM files in the directory data/civ2 Sat Jan 9 19:58:23 PST 1999 Trent Piepho freeciv/client climisc.c climisc.h Added functions in support of multiple tile directories. Sat Jan 9 15:44:36 PST 1999 Trent Piepho freeciv/data Freeciv freeciv/client Freeciv.h Capitalized active units report title correctly. Sat Jan 9 15:41:02 PST 1999 Trent Piepho freeciv/client packhand.c Added braces to clear up egcs warnings. Sat Jan 9 15:33:39 PST 1999 Trent Piepho freeciv Makefile.noimake Updated to reflect the gamelog patch Fri Jan 8 19:33:46 PST 1999 David Pfitzner freeciv/server gamelog.c gamelog.h Makefile.am Makefile.in cityhand.c cityturn.c civserver.c diplhand.c plrhand.c stdinhand.c unitfunc.c unithand.c New "gamelog" feature. Enabled by new server command line option, "-g LOG" (or "--gamelog LOG") and a new server option, "gamelog", to control various levels of logging (or to turn it off and on (if enabled) mid-game). From patch submitted by Jake Kesinger . Fri Jan 8 17:42:47 PST 1999 David Pfitzner freeciv/server unithand.c Grammar fix to "helps build wonder" message. Based on patch submitted by Tony Stuckey. Fri Jan 8 17:35:45 PST 1999 David Pfitzner freeciv/server plrhand.c Use plural race name in message when race destroyed. Adapted from patch submitted by Tony Stuckey. Fri Jan 8 17:29:08 PST 1999 David Pfitzner freeciv/ai advdomestic.c Removed unused variable "tech" in ai_eval_buildings(). Patch submitted by Anthony J. Stuckey . Thu Jan 7 04:09:04 PST 1999 David Pfitzner freeciv/common city.c Additional American city names; patch submitted by Jake Kesinger . Thu Jan 7 04:03:07 PST 1999 David Pfitzner freeciv/client graphics.c mapview.c packhand.c freeciv/data roads.xpm Makefile.am Makefile.in tiles.xpm Changed the client to display diagonal road and rail connections. Old road tiles removed from data/tiles.xpm and new tiles put in new file data/roads.xpm. From patch submitted by Jeff Mallatt . Tue Jan 5 04:39:21 PST 1999 David Pfitzner freeciv/common unit.c In string_center(), put in a cast (printf arg to "%*" with a sizeof, now cast to int) to quiet warning on OS/2, reported by Alexander Mai . Then found out that string_center() is no longer used anywhere (not to mention this is a bad module for it), so #if-ed the function out. (Note also create_centered_string() in common/shared.c). Tue Jan 5 04:24:38 PST 1999 David Pfitzner freeciv/client mapctrl.c freeciv/data helpdata.txt Allow control + Button 2 to give tile information in the main map (the same as Button 3) to help those who don't have a 3 button mouse. Patch submitted Bussi Andrea , plus I added text for the new control to the "Help Controls" page. Tue Jan 5 04:05:44 PST 1999 David Pfitzner freeciv/client menu.c freeciv/common packets.h freeciv/server civserver.c stdinhand.c stdinhand.h Made several improvements to server options: - Classifed the options, and re-orderd them according to class. - Used classes to generalize the old "afterstart" data. - Split the help strings into short and long versions, and re-wrote many of them. - Print both help strings for individual "explain