Compare commits

...

685 Commits

Author SHA1 Message Date
translatewiki.net 62338c77fe
Localisation updates from https://translatewiki.net. 2024-06-06 14:06:01 +02:00
translatewiki.net 2af8874ceb Localisation updates from https://translatewiki.net. 2024-05-27 14:05:36 +02:00
translatewiki.net d2a69edd88 Localisation updates from https://translatewiki.net. 2024-05-20 14:05:15 +02:00
translatewiki.net f3ce0b0dcf Localisation updates from https://translatewiki.net. 2024-05-13 14:06:05 +02:00
translatewiki.net fc8ddf5ac8 Localisation updates from https://translatewiki.net. 2024-04-29 14:05:29 +02:00
translatewiki.net 53f5d5726a Localisation updates from https://translatewiki.net. 2024-04-22 14:05:54 +02:00
translatewiki.net 888b6e3fc9 Localisation updates from https://translatewiki.net. 2024-04-18 14:07:12 +02:00
translatewiki.net 93a2d4410e Localisation updates from https://translatewiki.net. 2024-04-15 14:06:20 +02:00
translatewiki.net a6346d8078 Localisation updates from https://translatewiki.net. 2024-04-08 14:05:37 +02:00
translatewiki.net 75cae7c355 Localisation updates from https://translatewiki.net. 2024-04-04 14:07:51 +02:00
translatewiki.net a89b03119c Localisation updates from https://translatewiki.net. 2024-04-01 14:07:04 +02:00
translatewiki.net f4332fdd30 Localisation updates from https://translatewiki.net. 2024-03-28 13:06:45 +01:00
translatewiki.net 34bf147e84 Localisation updates from https://translatewiki.net. 2024-03-25 13:06:30 +01:00
translatewiki.net a3e931ce80 Localisation updates from https://translatewiki.net. 2024-03-21 13:06:57 +01:00
translatewiki.net 2e70e9080e Localisation updates from https://translatewiki.net. 2024-03-18 13:06:11 +01:00
translatewiki.net 240e474110 Localisation updates from https://translatewiki.net. 2024-03-11 13:05:43 +01:00
translatewiki.net 70109e93b7 Localisation updates from https://translatewiki.net. 2024-03-07 13:05:17 +01:00
translatewiki.net 94b517462c Localisation updates from https://translatewiki.net. 2024-02-29 13:05:20 +01:00
translatewiki.net 4593e67c31 Localisation updates from https://translatewiki.net. 2024-02-26 13:06:00 +01:00
translatewiki.net 7d77430950 Localisation updates from https://translatewiki.net. 2024-02-22 13:05:47 +01:00
translatewiki.net c3dcdfd7b7 Localisation updates from https://translatewiki.net. 2024-02-19 13:05:39 +01:00
translatewiki.net 882813c760 Localisation updates from https://translatewiki.net. 2024-02-12 13:06:45 +01:00
translatewiki.net ac2d6b6fce Localisation updates from https://translatewiki.net. 2024-02-08 13:05:24 +01:00
translatewiki.net f5a13f6aae Localisation updates from https://translatewiki.net. 2024-02-01 13:05:56 +01:00
translatewiki.net 5231ba9c8a Localisation updates from https://translatewiki.net. 2024-01-29 13:07:31 +01:00
Stian Grenborgen 5c950718d4 Updating the CHANGELOG with recent changes. 2024-01-28 08:57:14 +01:00
Stian Grenborgen e7cecf5e26 Ensures that European starting units are not spawned on the same tile. 2024-01-28 08:45:04 +01:00
Stian Grenborgen 4f05e70000 Hides the display of the "option only"-nation type from the start game panel. This nation type was already hidden from display in the Colopedia. 2024-01-28 08:06:52 +01:00
Stian Grenborgen 19e5e9a22b Adding the four extra nations to the classic ruleset. These nations are deactivated by default. Having them as a part of the classic ruleset make it easier to play a game with the classic rules, while still having additional players. 2024-01-28 07:55:07 +01:00
Stian Grenborgen 4ee64d08fe The European starting areas defined by map authors can now be used when starting a new game. 2024-01-27 20:36:46 +01:00
Stian Grenborgen a35f586e61 Moving the map generator code for European starting units to a separate class. The code has been restructured to allow map defined starting positions in a later commit. 2024-01-27 18:33:26 +01:00
Stian Grenborgen b3baff9650 Fixes ships just going back and forth to Europe. The issue was caused by the ship's mission being overridden to PrivateerMission in Europe. 2024-01-26 22:18:06 +01:00
translatewiki.net b39385eb80 Localisation updates from https://translatewiki.net. 2024-01-25 13:07:05 +01:00
Stian Grenborgen 24ff8ab8bb The colony panel now has a non-rectangular shape when resizing. This avoids stealing mouse events that should be handled by the map instead (since a large part of the border is transparent). 2024-01-21 11:39:14 +01:00
Stian Grenborgen 9657c8a65d Caps the automatic font size at no more than 25% larger than the current scaleFactor. In debug mode, resizing the application frame now updates the scaleFactor (if automatic). This behavior can only be enabled outside of the debug mode when all panels are automatically refreshed when the scalingFactor and/or font size changes. 2024-01-21 11:39:14 +01:00
Stian Grenborgen 697096c0da Using 75% display scaling for screens with less than 720px height. 2024-01-21 11:39:14 +01:00
Stian Grenborgen 8e203ac4a1 Paints the docks/drydocks/shipyard in the colony panel. 2024-01-21 11:39:14 +01:00
Stian Grenborgen ce92508e43 Allows the outside-of-the-colony panel to have a background when there are no defensive images. 2024-01-21 11:39:14 +01:00
translatewiki.net 9bcb9be230 Localisation updates from https://translatewiki.net. 2024-01-18 13:06:28 +01:00
translatewiki.net 918af19cb9 Localisation updates from https://translatewiki.net. 2024-01-15 13:06:20 +01:00
Stian Grenborgen 031fa81599 Shows the styling in the cargo panel when using the vertical scrollbars. 2024-01-14 15:03:36 +01:00
Stian Grenborgen 8e4c9c7ed9 Map editor: A new game is now always loaded before importing or generating a new map. This fixes lots of issues caused by stuff from the old map leaking into the new one. 2024-01-14 14:31:42 +01:00
Stian Grenborgen 16b98ecf42 Bugfix: Closes old map editor dialogs that depends on the old map when creating a new map or loading a map. 2024-01-14 14:06:23 +01:00
Stian Grenborgen ab4b40c2db Fixes a bug where map width was used for height, and the other way around, when scaling a map in the map editor. 2024-01-14 13:50:05 +01:00
Stian Grenborgen 53dc415abe Allows areas to be separately hidden from view. 2024-01-14 13:48:55 +01:00
Stian Grenborgen 7dfa486570 The WrapLayout can now make every child component have the same size as the largest child. 2024-01-14 13:47:41 +01:00
Stian Grenborgen dd23a7c3ac Areas are now only showed in the map editor while editing them. 2024-01-14 08:57:51 +01:00
Stian Grenborgen 7870bc7bb8 Shows all the areas in the map editor when there are overlapping areas. 2024-01-14 08:32:12 +01:00
Stian Grenborgen 06dcf01df9 Areas can now be edited in the map editor. Areas can now be used for defining the locations a given native nation can have settlements (when generating settlements semi-randomly). 2024-01-13 22:00:44 +01:00
Stian Grenborgen c6ed870630 Fixes regions used for native settlement placements by deleting duplicates. 2024-01-13 18:44:13 +01:00
Stian Grenborgen e80cc21a55 Allows areas to be defined for a game. An area is a collection of tiles that can easily be referenced and changed in the map editor. Note that areas are defined on the Game instead of a specific map. The reason for this is that we should be able to have areas crossing different maps if we later allow multiple maps for a game. 2024-01-13 18:12:33 +01:00
Stian Grenborgen e601fb1dcd This allows wagon trains to be built when the shippable wagons mod has been enabled (BR#3353). 2024-01-13 15:26:45 +01:00
translatewiki.net a35bad4d5b Localisation updates from https://translatewiki.net. 2024-01-11 13:08:33 +01:00
Stian Grenborgen 146009a942 Allows the map to be iterable over tiles. 2024-01-09 21:50:39 +01:00
Stian Grenborgen dfbd8b8671 Fixes placements and aggression levels for natives to better match the classic. 2024-01-09 21:50:39 +01:00
Stian Grenborgen 6c9fb07414 Fixes geographical region intitialization so that native settlements can be placed correctly. 2024-01-09 21:50:39 +01:00
Stian Grenborgen cb44400862 Directly use an image with an exact match if available. 2024-01-09 21:50:39 +01:00
Stian Grenborgen 63b053b868 Allows background images for the Colony's "Outside Colony" panel. The background images are stretched to fit the current size of the panel. Alternative images with different aspect ratios can be provided -- and the image with the closest aspect ratio will be used. 2024-01-09 21:50:39 +01:00
Stian Grenborgen 01e4070aea Updating the code to get rid of warnings. Neither of these caused an issue. 2024-01-09 21:50:39 +01:00
Stian Grenborgen 5170516801 Updating the security policy. 2024-01-09 21:50:39 +01:00
translatewiki.net 1d52c8466c Localisation updates from https://translatewiki.net. 2024-01-08 13:06:46 +01:00
Stian Grenborgen 5bb6194e7e Updates the changelog with recent changes. 2024-01-07 00:18:21 +01:00
Stian Grenborgen fcb4ecd200 Allow to run FreeCol with only 512MB memory. Please keep in mind that 2GB is still needed for higher resolution, smoother scroll and high rendering quality. 2024-01-07 00:04:52 +01:00
Stian Grenborgen 2c1a48e4cb Website: Updating various parts of the website and adding a roadmap. 2024-01-06 22:32:33 +01:00
Stian Grenborgen 036dd1edfa Various fixes to the map editor and action logic.
* Store panel positions and sizes (if enabled) in more cases (for example, before closing all panels when starting a new game or creating a new map).
* Don't store sizes and positions for fullscreen panels.
* Adds title to map editor frames.
* Plays the default music playlist in the editor.
* Add an action/menu item for disabling/enabling the tile transform panel in the meap editor.
2024-01-06 19:10:00 +01:00
Stian Grenborgen 394d591169 Don't start scrolling if there's no map. 2024-01-06 12:54:19 +01:00
Stian Grenborgen ac3ad7c91b Stops the asyncpainter thread from exiting when getting an exception. 2024-01-06 12:51:07 +01:00
Stian Grenborgen b77b15dce5 Using resizable and minimizable frames for controls in the map editor. 2024-01-06 12:48:25 +01:00
Stian Grenborgen 9d36d7ef4a WrapLayout can now force components to have a specific size. This allows the use of WrapLayout in many of the places we earlier had fixed column based layouts with GridLayout. 2024-01-05 19:59:00 +01:00
Stian Grenborgen a45d17226a Better log messages when failing to start the game. 2024-01-04 22:00:29 +01:00
Stian Grenborgen ee61fdedd5 Prioritize displaying a new goto-order above a previous unit path (that will be overridden). 2024-01-04 21:59:31 +01:00
Stian Grenborgen dd3fb87223 Shows the goto-path with lines instead of the old icons. Using lines makes it easier to read the path. 2024-01-04 21:42:18 +01:00
Stian Grenborgen e66d3f5d8c Fixes a NPE in the minimap when loading a new game. 2024-01-04 08:52:00 +01:00
Stian Grenborgen 7a9607ec13 Only use white foreground color if styling has been applied to the cargo panel. 2024-01-03 23:34:07 +01:00
Stian Grenborgen 11bdd7e957 Drawing the actual number of goods images, but compressed, for high amounts for goods. We can add a separate graphics for bulk goods if this causes a performance hit on slow systems. 2024-01-03 22:57:16 +01:00
Stian Grenborgen f23fa101e1 Updating image to have more room for the production labels in the colony. 2024-01-03 22:24:24 +01:00
Stian Grenborgen f69e2e9c88 Fixes units getting clipped when the building image is too small. 2024-01-03 22:22:55 +01:00
Stian Grenborgen bfb78c325c Allows the fullscreen colony panel to be in front of other panels. 2024-01-03 21:43:43 +01:00
Stian Grenborgen 00a8b8b42c Accelerator keys for unload and load are now working again. 2024-01-03 21:38:26 +01:00
Stian Grenborgen ad5bd6bd27 Allows two lines of goods production to be displayed in the ColonyPanel. 2024-01-03 19:59:26 +01:00
Stian Grenborgen a24ccff806 WrapLayout now allows more control of alignment and gap between components. For example, only the last row in the layout can be centered. 2024-01-03 19:57:14 +01:00
Stian Grenborgen 74b2f2989b Goods labels in the colony warehouse has color coding again. It's now possible to specifiy separate goods' color codes for white and black backgrounds. 2024-01-02 23:33:05 +01:00
Stian Grenborgen b58eda6b68 Turns on antialiasing when rendering text in the ColonyPanel. 2024-01-02 23:05:42 +01:00
Stian Grenborgen e8f5735461 Added a black background to the contruction panel. This is both in the ColonyPanel and the BuildQueuePanel. 2024-01-02 22:36:22 +01:00
Stian Grenborgen 52bff796a2 Added more visualizations to the new colony panel. Population, colonists to be added/removed because of bonus, rebel percentage and royalist percentage. The tooltip showing more details have been reenabled. 2024-01-02 22:33:31 +01:00
Stian Grenborgen a77adcc70a The selected carrier in the ColonyPanel is now displayed with a border. 2024-01-02 18:08:57 +01:00
Stian Grenborgen 393f9da340 Allows the colony panel to be moved when the dragevent starts in child panels. 2024-01-02 18:08:57 +01:00
Stian Grenborgen aebb741bbb The build queue is no longer displayed when clicking on other buildings than the carpenter type of buildings. 2024-01-02 18:08:57 +01:00
Stian Grenborgen 94bf55cd16 Adjusts breakpoint for colony panel (window/fullscreen). 2024-01-02 18:08:57 +01:00
Stian Grenborgen 6d4f5032c6 Reduces the height of the top colony panel decoration. 2024-01-02 18:08:57 +01:00
Stian Grenborgen 6355d96660 Updates the background for the colony warehouse. 2024-01-02 18:08:57 +01:00
Stian Grenborgen 4cfcf1e43f The ColonyPanel can now be displayed as a fullscreen panel. 2024-01-02 18:08:57 +01:00
Stian Grenborgen 1b0d267494 The FreeColProgressBar and ConstructionPanel now have a max font size to avoid overflowing layouts. Building images are now sized so that images of different dimensions can be used. Updates the ConstructionPanel layout. 2024-01-02 18:08:57 +01:00
Stian Grenborgen 4f5d9bc9f9 Moving the buttons in the colony panel to the same line as the warehouse. This allows the construction panel to have a larger size. The colony is now automatically reopened after changing the font size and/or scaling factor. 2024-01-02 18:08:57 +01:00
Stian Grenborgen 53fb3c5cf6 Make the debug buttons in the colony panel less distracting. 2024-01-01 22:00:04 +01:00
Stian Grenborgen 19f71137d9 Massive redesign of the colony panel with background images and other styling. Buildings are now randomly distributed in the colony based on the available space (this is annoying when resizing the colony panel, but otherwise really good). The sizes of various panels have been tweaked to work both on small and large displays ... and panels that previously often required scrollbars have now been repositioned and made bigger. 2024-01-01 22:00:03 +01:00
Stian Grenborgen 1fc5957171 Adding new background graphics for the warehouse panel in the colony. 2024-01-01 22:00:03 +01:00
Stian Grenborgen 83a817bdc2 Adding background graphics for the cargo holds displayed in the colony panel (and possibly also later for the EuropePanel). 2024-01-01 22:00:03 +01:00
Stian Grenborgen f38565461d Adding placeholder graphics for the docks until we can make something better. 2024-01-01 22:00:03 +01:00
Stian Grenborgen 95ca60982c Adding a new background image/border for the upper right corner of the colony panel (tilesPanel etc). 2024-01-01 22:00:03 +01:00
Stian Grenborgen 9ee2eac74c Adding a carved wooden border that can also be rendered separately as an inner and an outer border. 2024-01-01 22:00:03 +01:00
Stian Grenborgen 50bc74a1eb Adding a simple wooden border. 2024-01-01 22:00:03 +01:00
Stian Grenborgen 31154cd8ac Removing unneeded ; 2024-01-01 22:00:03 +01:00
Stian Grenborgen 45ad080205 Units placed in cargo is now in color. 2024-01-01 22:00:03 +01:00
Stian Grenborgen d665a4276f A FreeColPanel can now explicitly set the border to be used on the JInternalFrame. 2024-01-01 22:00:03 +01:00
Stian Grenborgen 2567d30062 The WrapLayout now renders more components in the next row if this reduces the width without increasing the height. Using the improved layout for the warehouse dialog. 2024-01-01 22:00:03 +01:00
Stian Grenborgen 0c8f29975b Adding support for complex borders (added decorations next to the corners). 2024-01-01 22:00:03 +01:00
translatewiki.net 788d7dfa47 Localisation updates from https://translatewiki.net. 2024-01-01 13:07:06 +01:00
Stian Grenborgen 6135a10263 The size of the file chooser now scales according to the scaling factor. Some of the icons are still not scaled, but the entire panel should instead be replaced by a customized panel for FreeCol. 2023-12-31 12:01:36 +01:00
Stian Grenborgen 6c54d042e4 The scrollbar now scales using the UI scaling factor. 2023-12-31 12:01:36 +01:00
Stian Grenborgen 8968c75297 Makes the AI mission debug text easier to read when there are units on neighboring tiles. 2023-12-31 11:59:05 +01:00
translatewiki.net 30b17aa2dc Localisation updates from https://translatewiki.net. 2023-12-28 13:07:14 +01:00
Stian Grenborgen d2d0baa68a Some code cleaning of amount types when dragging. 2023-12-28 12:20:29 +01:00
Stian Grenborgen 4d5efcb91b Check the validity of goods transfers (except equipping units) before showing the dialog where the player can set the amount (BR#3344). 2023-12-28 10:38:47 +01:00
Stian Grenborgen 870592ad18 Makes the debug AI extra mission information easier to read. 2023-12-28 09:43:33 +01:00
Stian Grenborgen 672b14aaea Better handling of buildings of different sizes. Properly places more than three workers in buildings (if allowed by mods). 2023-12-27 21:30:58 +01:00
Stian Grenborgen 7e83f0c8d5 Adds compatibility code for adding 75% scaling options to stored client options. 2023-12-27 12:04:37 +01:00
Stian Grenborgen c95425a99a Stops internal frames from getting a smaller size than the minimum. 2023-12-27 11:33:04 +01:00
Stian Grenborgen 6f9e4f6545 Removes the black background from the colony tiles panel. The colony tiles panels now has room for forest/mountain extending beyond the base tile. 2023-12-27 11:33:04 +01:00
Stian Grenborgen ae1f6796e5 Allow using 75% for display scaling. 2023-12-27 10:16:03 +01:00
translatewiki.net 157c76d3cc Localisation updates from https://translatewiki.net. 2023-12-25 13:07:08 +01:00
Stian Grenborgen 3221600148 Fixes unintended rendering differences between systems.
There was a bug in the version of MigLayout we used, prior to this commit, that applied DPI scaling even when that option was disabled (we do our own DPI scaling) for default/logical pixels.
2023-12-11 20:56:45 +01:00
translatewiki.net 578502c434 Localisation updates from https://translatewiki.net. 2023-12-11 13:06:43 +01:00
Stian Grenborgen c48ef135ca Deactivates cache debug and updates the Javadoc. 2023-12-10 16:22:53 +01:00
Stian Grenborgen 0c6109419f Handles low memory being assigned to FreeCol.
This is performed by:
* Deactivates map scaling above 100%.
* Deactivates the loading of high resolution images.
* Deactivates smooth map scrolling.

It should now be possible to run FreeCol with only 512MB of memory assigned.
2023-12-10 15:42:42 +01:00
Stian Grenborgen da05dbdb5e Automatically frees the low-priority-cache when memory runs out. 2023-12-10 14:53:05 +01:00
translatewiki.net 91a8055e2f Localisation updates from https://translatewiki.net. 2023-12-07 13:09:06 +01:00
translatewiki.net f8dff02c0d Localisation updates from https://translatewiki.net. 2023-12-04 13:07:49 +01:00
Stian Grenborgen 6cb9e505f3 Adding better error handling when loading mods. 2023-12-03 11:08:04 +01:00
Stian Grenborgen 4c3c7696e6 Added "preserve-attributes" that, if true, preserves the attributes of a specification element. 2023-12-03 08:59:29 +01:00
Stian Grenborgen 039b14b0be Mods can now reference abstract types from the base rule without extending a specific base rule. 2023-12-03 08:41:45 +01:00
Stian Grenborgen 09a3e86a31 Updating changelog. 2023-12-01 21:12:39 +01:00
Stian Grenborgen 1dccd64dc9 Updating the changelog with changes since 1.1.0. 2023-12-01 21:05:08 +01:00
translatewiki.net be894168b2 Localisation updates from https://translatewiki.net. 2023-11-30 13:06:04 +01:00
translatewiki.net ac867f2659 Localisation updates from https://translatewiki.net. 2023-11-27 13:06:06 +01:00
translatewiki.net d7a309b5d0 Localisation updates from https://translatewiki.net. 2023-11-23 13:07:07 +01:00
translatewiki.net 9895fa74f9 Localisation updates from https://translatewiki.net. 2023-11-20 13:07:59 +01:00
translatewiki.net 73ef0b57c3 Localisation updates from https://translatewiki.net. 2023-11-16 13:06:34 +01:00
translatewiki.net 70b27e74cf Localisation updates from https://translatewiki.net. 2023-11-13 13:07:29 +01:00
translatewiki.net 3c38f27433 Localisation updates from https://translatewiki.net. 2023-11-09 13:07:36 +01:00
translatewiki.net b81225e5bc Localisation updates from https://translatewiki.net. 2023-11-06 13:07:45 +01:00
translatewiki.net 6f20db04df Localisation updates from https://translatewiki.net. 2023-10-30 13:07:07 +01:00
translatewiki.net 7ca7935b36 Localisation updates from https://translatewiki.net. 2023-10-26 13:07:24 +02:00
translatewiki.net d5c8c22eda Localisation updates from https://translatewiki.net. 2023-10-23 13:07:34 +02:00
translatewiki.net 349b0854b6 Localisation updates from https://translatewiki.net. 2023-10-19 13:06:47 +02:00
translatewiki.net 3c8e7ad5fd Localisation updates from https://translatewiki.net. 2023-10-12 13:07:48 +02:00
translatewiki.net 0a99660445 Localisation updates from https://translatewiki.net. 2023-10-09 13:07:58 +02:00
translatewiki.net 99f3a812e8 Localisation updates from https://translatewiki.net. 2023-09-28 13:06:28 +02:00
translatewiki.net 1059893132 Localisation updates from https://translatewiki.net. 2023-09-25 13:06:16 +02:00
translatewiki.net 9188f73a25 Localisation updates from https://translatewiki.net. 2023-09-21 13:09:49 +02:00
translatewiki.net be0202aeed Localisation updates from https://translatewiki.net. 2023-09-11 13:06:12 +02:00
translatewiki.net 41e3279072 Localisation updates from https://translatewiki.net. 2023-08-31 13:06:49 +02:00
translatewiki.net 87b25f3b4d Localisation updates from https://translatewiki.net. 2023-08-21 13:06:04 +02:00
translatewiki.net 1e0762c4b5 Localisation updates from https://translatewiki.net. 2023-08-17 13:07:38 +02:00
Stian Grenborgen 0c230e99fb Deactivate using bitmask on lowest setting in order to let players experiment with the difference. 2023-08-12 14:32:16 +02:00
Stian Grenborgen a16f9b32b5 Using compatible images for rendering instead of ARGB. Forcing usage of bitmask for transparency on lowest quality setting. 2023-08-12 13:44:32 +02:00
Stian Grenborgen 3a1cf9191e Removes usage of an intermediate image when rendering tile overlays. This makes rendering of tile overlays a little faster. 2023-08-11 16:54:38 +02:00
translatewiki.net a050a1369e Localisation updates from https://translatewiki.net. 2023-08-07 13:05:50 +02:00
Stian Grenborgen 3c91272621 Deactivating sync for now since it sometimes causes tearing. 2023-08-03 20:03:57 +02:00
Stian Grenborgen 13e54e2bb0 Painting is now performed asynchronously while scrolling. This allows smooth scrolling after the tile caches have been updated with the current zoom level.
Remaining work:
* Move the actual painting code from MapViewer to a new class -- so that state fields like MapViewerBounds are not accidentally used.
* Reuse buffers in MapAsyncPainter.
* Handle fast scrolling direction changes. For example in MapAsyncPainter.scrollFocusOnBufferSize.
2023-08-03 19:27:59 +02:00
translatewiki.net 8064031533 Localisation updates from https://translatewiki.net. 2023-08-03 13:05:34 +02:00
Stian Grenborgen 6293ac3ef8 Merge branch 'master' of ssh://git.code.sf.net/p/freecol/git 2023-08-02 12:11:48 +02:00
Stian Grenborgen c469435d4f Adding delayed update of the minimap. This is necessary for really large map in order to avoid stuttering terrain animations while moving units. 2023-08-02 12:05:26 +02:00
Stian Grenborgen f983adddb5 The minimap is now rendered using a buffer image. This is needed in order to get sufficient performance when scrolling on the main map -- since painting the minimap just takes too long. 2023-08-02 11:15:46 +02:00
translatewiki.net 3527ea802c Localisation updates from https://translatewiki.net. 2023-07-31 13:06:47 +02:00
Stian Grenborgen 8d001b94fd Fixes a scrolling issue when the terrain animations are turned off. Resets the scrolling speed when the scrolling stops. 2023-07-28 09:39:28 +02:00
Stian Grenborgen 2fd179387a Extends the scrolling area and stops scrolling when the mouse is on the menu bar. 2023-07-28 09:02:14 +02:00
Stian Grenborgen d68f54e953 Rewrites the positionMap calculations. Allows scrolling pixel-by-pixel. The focus tile is now placed exactly in the center. Allowing scrolling past the borders of a map so that edge tiles can also be placed in focus. 2023-07-28 08:56:39 +02:00
translatewiki.net 721be7cdc3 Localisation updates from https://translatewiki.net. 2023-07-24 13:06:41 +02:00
translatewiki.net 778a90ad68 Localisation updates from https://translatewiki.net. 2023-07-03 13:06:44 +02:00
translatewiki.net ff8c33ac5d Localisation updates from https://translatewiki.net. 2023-06-12 13:14:54 +02:00
Stian Grenborgen 62fd6987ab Adjusts sizes for the buildings in the colony panel. The height requirement of a building no longer changes when a worker is added. The vertical gap between buildings are now reduced on small screens. 2023-06-11 14:30:37 +02:00
Stian Grenborgen c9379c201b A single click now also focus on explored tiles. 2023-06-11 14:16:46 +02:00
Stian Grenborgen a30935bc96 Unit dragging can now only be started by clicking on the unit. In addition, the drag can now be started for units that are currently not the active unit. 2023-06-11 14:06:21 +02:00
Stian Grenborgen 7a1b489c63 Focus is now changed on the mapboard with a single mouse click. The active unit is kept when opening a colony panel. 2023-06-11 13:43:47 +02:00
Stian Grenborgen ba94de3705 The confirm declaration dialog now fits on small screen. 2023-06-11 11:54:51 +02:00
Stian Grenborgen 416d0e0caf Simplifies the code somewhat. 2023-06-11 11:34:30 +02:00
Stian Grenborgen 77ac0ec849 Moves drawing of the menu bar status text to a utility method. 2023-06-11 11:34:08 +02:00
Stian Grenborgen 6b976523ac Allows panels to cover the entire mapboard area (that is, all the frame except the menu bar). This is needed for some panels on very small screen. 2023-06-11 11:32:46 +02:00
Stian Grenborgen 77b71fdd6a Scales the panel showing the signing of the Declaration of Independence. 2023-06-11 11:29:07 +02:00
Stian Grenborgen ad6d09d4bf Reduces the spacing above the ok button. 2023-06-11 11:14:56 +02:00
Stian Grenborgen a97bb10117 Makes the ColonyPanel work better on small screen. When specifying layouts using MigLayout, numbers without units are now scaled using the current interface scaling factor. 2023-06-11 11:03:40 +02:00
Stian Grenborgen 2591943d4d Fixes hidden OK-button on small screens. 2023-06-10 21:40:41 +02:00
Stian Grenborgen 15f70de737 Adding an empty image resource file to be used for replacing images with empty space in mods. 2023-06-08 20:22:39 +02:00
Stian Grenborgen 6a6efc1b0a The WarehouseDialog is now a resizable panel. 2023-06-08 20:22:39 +02:00
Stian Grenborgen 07465c6df7 Adding WrapLayout that is a FlowLayout that can easily wrap components on a new line and increase height when necessary.
The code seem to be originally from:
https://tips4java.wordpress.com/2008/11/06/wrap-layout/

It has been copied across multiple GPL licensed projects (unmodified) without a reference to the original after the author stated that: "You can use/modify the code however you wish."

Any future changes to this file is licensed as the rest of FreeCol.
2023-06-08 20:22:39 +02:00
translatewiki.net 53b9a5f581 Localisation updates from https://translatewiki.net. 2023-06-08 13:04:16 +02:00
translatewiki.net ea7b34ea2a Localisation updates from https://translatewiki.net. 2023-06-05 13:04:04 +02:00
translatewiki.net 9f63befce6 Localisation updates from https://translatewiki.net. 2023-06-01 13:05:23 +02:00
translatewiki.net 0ce18f088e Localisation updates from https://translatewiki.net. 2023-05-25 13:04:55 +02:00
Stian Grenborgen e45f4d428a Fixes the focus order of radio buttons when using the arrow keys for navigation. 2023-05-23 19:07:19 +02:00
Stian Grenborgen fe99698c1e Adds styling for radio buttons and checkbox/radio menu items. 2023-05-23 19:07:19 +02:00
Stian Grenborgen bf59cd7245 Updated top menu border.
Changes:
* Increases the contrast of the top menu border so that it appears more gold like.
* Adds a higher resolution version of the border.
* Removes the top and bottom lines so that the border blends nicer with the background (some additional work needed to make it blend even better).
2023-05-23 19:07:19 +02:00
translatewiki.net 837d3dbc3b Localisation updates from https://translatewiki.net. 2023-05-22 13:04:26 +02:00
Stian Grenborgen 4f4d481a88 Adds partially transparent selection effect on top level menus. 2023-05-20 19:43:25 +02:00
Stian Grenborgen edf47c35e7 Adding new styling for the menubar. 2023-05-20 19:05:57 +02:00
Stian Grenborgen d60fb12a93 Reduces the contrast for the menu button backgrounds by making it partially transparent. 2023-05-20 19:03:08 +02:00
Stian Grenborgen 06abc66dd0 Adding missing file. 2023-05-20 12:41:09 +02:00
Stian Grenborgen ea28fd7756 Hides the unit order buttons when in the map editor. 2023-05-20 12:09:03 +02:00
Stian Grenborgen a09ee4f10f Show the top level menus (menubar) in a button like style. This increases the contrast between the text and background texture without having to apply the brighter color to the entire menu bar. 2023-05-20 12:01:15 +02:00
Stian Grenborgen 10ca820998 Updating version number. 2023-05-20 11:52:27 +02:00
Stian Grenborgen 0c9c7b0ec1 Fixes an issue where the texture paint is not removed after use. This stopped text etc from being rendered. 2023-05-20 11:24:57 +02:00
Stian Grenborgen 5e1479cfcb Updating the face of Peter Minuit to be more realisticly colored. 2023-05-20 10:57:39 +02:00
Stian Grenborgen 53c96b7a29 Removing ClassicMapControls since CornerMapControls is skinable. The latter can be expanded with more functionality if needed. 2023-05-19 22:22:13 +02:00
Stian Grenborgen 13a490ce67 Fixes options that cannot be found. The bug was caused by optionMap not being updated after reading options. 2023-05-19 22:22:13 +02:00
translatewiki.net f19c99ed74 Localisation updates from https://translatewiki.net. 2023-05-18 13:04:47 +02:00
translatewiki.net 1e9cf3efa3 Localisation updates from https://translatewiki.net. 2023-05-15 13:04:14 +02:00
Stian Grenborgen c4101225fa Fixes a bug preventing the REF from surrendering. The bug was triggered when having non-military unit(s) in Europe and all land military units defeated. The fix is simply removing the check (that is really not needed). 2023-05-11 16:28:24 +02:00
Stian Grenborgen 23da6fe46b Fixes BR#3332 that was caused be a NPE. 2023-05-11 16:18:09 +02:00
translatewiki.net e9c909bfc0 Localisation updates from https://translatewiki.net. 2023-05-11 13:18:55 +02:00
translatewiki.net 8697bcf6bd Localisation updates from https://translatewiki.net. 2023-05-08 13:07:40 +02:00
Stian Grenborgen e66700b342 Website: Preparing release of FreeCol 1.1.0. 2023-05-07 14:43:30 +02:00
Stian Grenborgen 1e32346f4a A new standard paper background. This is the same background as the previous, but enlarged and with obvious patterns removed when tiled. 2023-05-07 14:35:58 +02:00
Stian Grenborgen c6177db774 Highscores can now be added and displayed. 2023-05-06 17:26:41 +02:00
Stian Grenborgen 43378317a0 Updated the changelog. 2023-05-06 10:15:36 +02:00
Stian Grenborgen 2d668b5676 Adjusting the number of colonies being built (fewer) and reduces cheating. The AI trade profit modifier is now reduced linearly until a turn number determined by a new option. The AI difficulty and colony expansion has been tuned for the default (small) map. We might want to make the number of colonies being built by the AI depend on the map size. 2023-05-06 10:02:23 +02:00
Stian Grenborgen 112201316a Updating the change log. 2023-05-05 19:20:33 +02:00
Stian Grenborgen 8b1288cb77 Military unit wishes and transports are now centrally managed. 2023-05-05 19:16:18 +02:00
Stian Grenborgen 470106d806 Removes the destination check for the base transport priority since the method is only called during construction of the mission. 2023-05-05 19:09:16 +02:00
Stian Grenborgen ccb75288d3 Only consider transportables going to the next location on the transport list when queuing extra cargo. 2023-05-05 19:06:05 +02:00
Stian Grenborgen 1315bdb5f3 AI: Allows better use of the tranport's capacity by filling it with all possible resources that should be going to the same destination. This was a capability that was present for years in FreeCol, but was lost in a refacturing someone did in 2008. 2023-05-02 21:21:05 +02:00
Stian Grenborgen 20b08818e9 Adding a separate method for getting all transportables. Changing the amount of urgent transportables seem to have little effect. Deactivating for now. 2023-05-02 21:21:05 +02:00
Stian Grenborgen 18ec0e754a Uses changeMission instead of setMission since the former handles dispose and setting transportation priority. 2023-05-02 21:21:05 +02:00
Stian Grenborgen 146923ee2e Fixes slow AI turns caused by not being able to build new colonies. This is a temporary fix that should be removed when BuildColonyMissions are building colonies according to a grand plan (and the costly searches per unit therefor can be avoided). 2023-05-02 21:21:05 +02:00
Stian Grenborgen 18c969071e (Debug menu) Avoid getting the skip dialog when stopping the skipping of turns. 2023-05-02 21:21:05 +02:00
Stian Grenborgen 7f38d76c58 Adding asserts for ensuring that the EDT is used when updating the GUI. Run with "-ea" to enable checking. 2023-05-02 21:21:05 +02:00
Stian Grenborgen 3345d42808 Doing the animations on the EDT. This fixes a concurrent modification exception that sometimes prevented animations from displaying properly. 2023-05-02 21:21:05 +02:00
translatewiki.net 55c7beabc0 Localisation updates from https://translatewiki.net. 2023-05-01 13:05:46 +02:00
Stian Grenborgen b2b0a2420f Adding Misiulo's new mountain graphics. 2023-05-01 09:54:36 +02:00
Stian Grenborgen 955ba1ca5d Starts game option settings fresh every time. We should probably add support for loading and saving options back in. 2023-04-30 12:22:26 +02:00
Stian Grenborgen 93fddc0a21 Adding Alexander's update of volume levels to match the other tracks. 2023-04-30 12:20:58 +02:00
Stian Grenborgen 5cad5dc603 Adding more of Alexander Zhelanov's excellent music. 2023-04-30 12:20:10 +02:00
Stian Grenborgen 5e80b3e2d9 Speeds up AI turns by reusing existing defend settlement missions. This will mostly produce the same result as doing path finding every turn -- although in some special cases (that I think can be ignored) will produce a poorer result. 2023-04-30 10:20:13 +02:00
Stian Grenborgen ebd427ea65 The default river setting should be medium. 2023-04-29 07:47:20 +02:00
translatewiki.net 6e29459deb Localisation updates from https://translatewiki.net. 2023-04-27 13:06:00 +02:00
translatewiki.net a9567fe630 Localisation updates from https://translatewiki.net. 2023-04-24 13:06:55 +02:00
Stian Grenborgen 63fcca2f2a The map generator option for controlling the number of rivers to be generated now produced different results according to the selected value. Enabled generation of rivers that are only two tiles long (the previous limit was three). Map generator options are no longer stored nor loaded since this causes issues when changing the default options. It might be a good idea to support loading/saving of map generator options using the dialog. 2023-04-23 15:33:36 +02:00
Stian Grenborgen 9981570e24 Allows the founding father selection to be postponed without an error message. We can choose to force the choice to be made before the turn has ended, but that is currently not implemented. 2023-04-23 10:58:44 +02:00
Stian Grenborgen 1a1cb33420 The menu bar needs to be recreated after actions are recreated. 2023-04-23 10:37:21 +02:00
Stian Grenborgen ac03cdb724 Changing the occupation string for clear forest to "C" instead of reusing "P". 2023-04-23 10:29:20 +02:00
Stian Grenborgen cc72b7d261 Units in Europe are no longer included in the list of possible active units. The previous behaviour of having them included seems to have been deliberate, but causes several problems. If someone wants to include units in Europe in the list of possible active units, then this should only be added as an option. In that case, please do test that all unit actions either work or are disabled. 2023-04-23 10:02:36 +02:00
Stian Grenborgen ba940440f8 Fixes activation of improvement actions after reconnecting. Obsolete improvement actions are now removed when loading savegames etc. 2023-04-23 09:26:40 +02:00
translatewiki.net f250fd68ce Localisation updates from https://translatewiki.net. 2023-04-20 13:04:41 +02:00
translatewiki.net dce0939a95 Localisation updates from https://translatewiki.net. 2023-04-17 13:04:31 +02:00
translatewiki.net d95b8f5dd8 Localisation updates from https://translatewiki.net. 2023-04-13 13:06:32 +02:00
translatewiki.net ac223a5ba1 Localisation updates from https://translatewiki.net. 2023-04-10 13:04:57 +02:00
translatewiki.net 37dca83165 Localisation updates from https://translatewiki.net. 2023-04-03 13:07:47 +02:00
translatewiki.net f19f857604 Localisation updates from https://translatewiki.net. 2023-03-30 13:04:50 +02:00
translatewiki.net 32e54b5aba Localisation updates from https://translatewiki.net. 2023-03-27 17:32:31 +02:00
translatewiki.net 6a1b12d1d6 Localisation updates from https://translatewiki.net. 2023-03-23 13:05:55 +01:00
translatewiki.net 0cbad7b412 Localisation updates from https://translatewiki.net. 2023-03-20 13:06:52 +01:00
translatewiki.net 8fb54eda33 Localisation updates from https://translatewiki.net. 2023-03-16 13:05:10 +01:00
translatewiki.net 07e4d59878 Localisation updates from https://translatewiki.net. 2023-03-13 13:04:16 +01:00
translatewiki.net 3ba85048be Localisation updates from https://translatewiki.net. 2023-03-06 13:05:07 +01:00
translatewiki.net 727d507f85 Localisation updates from https://translatewiki.net. 2023-03-02 13:06:00 +01:00
translatewiki.net 53c2e6e5d9 Localisation updates from https://translatewiki.net. 2023-02-27 13:04:11 +01:00
translatewiki.net bc0af2075e Localisation updates from https://translatewiki.net. 2023-02-20 13:04:55 +01:00
translatewiki.net e3d8367918 Localisation updates from https://translatewiki.net. 2023-02-16 13:04:43 +01:00
translatewiki.net fa5e7a5852 Localisation updates from https://translatewiki.net. 2023-02-13 13:04:17 +01:00
Stian Grenborgen ef8cbf23aa Immediately aborts the escort unit mission if the protected unit gets destroyed. 2023-02-11 17:59:14 +01:00
Stian Grenborgen d84b2f5a4b Fixes a couple of NPEs caused by missing &. 2023-02-11 17:28:20 +01:00
Stian Grenborgen 07ed3eda55 Uses a cache for turns to reach. This fixes a performance issue that is caused by the turns to reach a given tile being calculated multiple times. 2023-02-11 11:44:35 +01:00
translatewiki.net a8ada0fd9f Localisation updates from https://translatewiki.net. 2023-02-09 13:04:49 +01:00
translatewiki.net a3dab0e89a Localisation updates from https://translatewiki.net. 2023-02-06 13:05:47 +01:00
Stian Grenborgen 8c420d3a5b Explicitly ignore candidate tiles with infinite cost. 2023-02-05 13:24:36 +01:00
Stian Grenborgen f03e0e9ad5 Fixes a bug that aborted pathfinding when encountering a tile that the CostDecider marks as an illegal move. For example, this happened if there was a lost city rumour in the search area of a wagon train on a trade route. 2023-02-05 12:42:47 +01:00
translatewiki.net 1205bd45ad Localisation updates from https://translatewiki.net. 2023-01-30 13:04:27 +01:00
translatewiki.net 5b303fa061 Localisation updates from https://translatewiki.net. 2023-01-26 13:06:18 +01:00
translatewiki.net 09e354a091 Localisation updates from https://translatewiki.net. 2023-01-23 13:04:20 +01:00
translatewiki.net 37fc5d2221 Localisation updates from https://translatewiki.net. 2023-01-19 13:05:42 +01:00
Stian Grenborgen 3291a5fb23 Handles the cases of forced repair (classic combat model) and volunatary repair (hitpoints model) differently. 2023-01-18 22:24:11 +01:00
Stian Grenborgen d20be439b8 Panels/internal frames no longer disappears when switching to window mode from fullscreen. This is solved by resizing and relocating internal frames when the application frame changes size, so that all windows remain visible. 2023-01-17 18:00:06 +01:00
Stian Grenborgen a5f5467735 The start game panel can now be scaled smaller than the initial size. Places the chat panel below the table. 2023-01-16 21:05:13 +01:00
artoo b98c68fa97
TrainPanel: allow 5 columns wrap to better support more units; (#131)
mods can overcrowd the default of 3 easily
2023-01-16 18:24:06 +01:00
Stian Grenborgen a00bbbee6b Adds new specification fields to the XSD. 2023-01-16 17:52:30 +01:00
translatewiki.net 5eb0713943 Localisation updates from https://translatewiki.net. 2023-01-16 13:04:23 +01:00
Stian Grenborgen e874000e62 Adds new specification fields to the XSD. 2023-01-15 21:19:45 +01:00
Stian Grenborgen 26ebe2b718 Fixes a NPE at initalization of the game. 2023-01-15 16:47:21 +01:00
Stian Grenborgen ba8b226cee Changes the color model for grayscale images to RGB since the results in GIMP and Java would otherwise be different. 2023-01-15 16:46:57 +01:00
Stian Grenborgen 3f49df9781 Disable ranged attack button for non-offensive units. 2023-01-15 16:36:54 +01:00
Stian Grenborgen bd865f20f6 Recreate order buttons on demand so that mods can define other order buttons without having to restart the game in order to get them applied. 2023-01-15 16:30:40 +01:00
Stian Grenborgen 1325ed8a75 Fixes copy-paste error when defining properties. 2023-01-15 16:28:37 +01:00
Stian Grenborgen c17fe5a5b0 Adding Misiulo's hills with a slight deglossing. 2023-01-15 16:13:41 +01:00
Stian Grenborgen 6d09745810 Adding order buttons for ranged attack. 2023-01-15 16:04:03 +01:00
Stian Grenborgen f6d89ed403 Fixes an issue that allowed a malicious client to attack with a unit that had no moves left. 2023-01-15 15:46:21 +01:00
Stian Grenborgen bae0f31651 Adds ranged combat to FreeCol. The "Hitpoints and Combat" mod uses the ranged combat for artillery and ships, and also contains adjustments to the ships' hitpoints. 2023-01-15 15:41:47 +01:00
Stian Grenborgen f6e9484b7b This fixes a regression introduced in 0.11.x that prevented "partial" modifications of the specification. 2023-01-15 15:22:23 +01:00
Stian Grenborgen d52660e416 Fixes a bug preventing loading of savegames. The cause was a NPE since specification is null when loading a savegame (it gets added later). 2023-01-14 23:37:49 +01:00
Stian Grenborgen 5ae490d556 Updates mod descriptions. 2023-01-14 20:06:34 +01:00
Stian Grenborgen e0973fe2c4 Adds a new combat model with hitpoints and a mod for activating it. 2023-01-14 20:02:14 +01:00
Stian Grenborgen 7e8f798c7c Allows the player to easily view all files while loading savegames/maps. 2023-01-13 22:18:10 +01:00
Stian Grenborgen 49e6f77e6a Allows different types of hills/mountains to be used by the map generator (depending on the latitude). 2023-01-13 21:47:27 +01:00
translatewiki.net 4395084fb2 Localisation updates from https://translatewiki.net. 2023-01-12 13:04:49 +01:00
translatewiki.net 79b2ec5b50 Localisation updates from https://translatewiki.net. 2023-01-09 13:10:52 +01:00
Stian Grenborgen f9365d1c21 Fixes a bug that prevented getting units through combat that is not available to the defender. In addition, revenge mode has been fixed: Colonies can be captured again and captured units are turned undead. 2023-01-08 12:10:04 +01:00
Stian Grenborgen fcd6424f42 Website: Adding instructions on how to get the downloaded file out of quarantine on macOs. 2023-01-08 09:00:52 +01:00
Stian Grenborgen 0072a7490d Adjusts the AI trading profit multiplier based on difficulty level. 2023-01-07 23:20:59 +01:00
Stian Grenborgen b1459b1be6 A unit in a building is no longer drawn at the top of the building (that is, the area for showing goods production) if the production is zero. 2023-01-07 22:06:19 +01:00
Stian Grenborgen 340817da63 Fixes scaling and placement of goods production icons on colony tiles. 2023-01-07 21:59:12 +01:00
Stian Grenborgen 5ca1434ece Fails gracefully if the server cannot be started. 2023-01-07 10:04:17 +01:00
Stian Grenborgen 8d487b1ab6 Fixes a bug that caused the same maps always being generated when starting a new game. There's no need to use the stored seed for a new game. 2023-01-07 09:52:03 +01:00
Stian Grenborgen 1809346476 Fixes an issue where the map editor Game object lingers after returning to the main menu -- thereby preventing mods from being removed in the Preferences window. 2023-01-06 22:28:32 +01:00
Stian Grenborgen f3734dfb0c Allows mods to be loaded when making maps in the map editor. 2023-01-06 22:23:02 +01:00
Stian Grenborgen d85aaff3d0 This fixes a bug that prevented the shortcut buttons on the Map Generator dialog from working properly. The bug caused the button to have no effect the first time it was clicked after restarting the application. 2023-01-06 22:07:43 +01:00
Stian Grenborgen 68415503c3 Fixes missing sounds when attacking. The problem was caused by not reading the attributes that are merged into the MultipleMessage in ChangeSet. 2023-01-06 20:43:33 +01:00
Stian Grenborgen 424867957d Adding a Map Generator option for Great River. The default is now that Great Rivers are no longer generated. 2023-01-06 19:28:52 +01:00
translatewiki.net ab14fdbdb5 Localisation updates from https://translatewiki.net. 2023-01-05 13:07:34 +01:00
Stian Grenborgen 9f2250899e This fixes BR#3315 by allowing Jesuit Missionary to recommision itself in colonies without a church. 2023-01-04 18:29:45 +01:00
Stian Grenborgen a164796ec2 Website: Adding updated screenshots. 2023-01-03 21:44:28 +01:00
Stian Grenborgen 317861fcb8 This fixes BR#3310 Hangs on end turn uc.probability is zero. 2023-01-03 19:50:58 +01:00
Stian Grenborgen fc293ffcd6 This fixes BR#3314 - Weird colony build screen with mod added new buildings. The problem was caused by the mod being reloaded into a specification that had the changes already applied. 2023-01-03 19:19:28 +01:00
Stian Grenborgen 90d88c5a15 Updates version number after release. 2023-01-03 00:29:57 +01:00
Stian Grenborgen 9367c6e09a Updates version number for release. 2023-01-03 00:27:49 +01:00
Stian Grenborgen cb3d16c125 Website: Download now points to 1.0.0 release. 2023-01-03 00:26:45 +01:00
Stian Grenborgen fe35ef3e67 Adding Misiulo's new forest graphics. 2023-01-02 23:38:24 +01:00
Stian Grenborgen 668509b4ec Removes workaround for the version number on macOs since it's not needed after reaching 1.0.0. 2023-01-02 23:27:51 +01:00
Stian Grenborgen dc29208dfe Updating changelog before release. 2023-01-02 23:25:31 +01:00
Stian Grenborgen f5a44027bf Adds support for drawing forest corner transitions. 2023-01-02 23:16:17 +01:00
Stian Grenborgen 611d058b85 Adding a AI failsafe that stops buying more units if they cannot be utilized. 2023-01-02 23:15:28 +01:00
Stian Grenborgen 2d44597a7c Fixes NPE caused by missing &. 2023-01-02 21:12:13 +01:00
Stian Grenborgen e23be483ac The REF now uses the MilitaryCoordinator. Makes minor modifications to the transportation prioritization in order to better utilize transports. 2023-01-02 20:52:26 +01:00
Stian Grenborgen 85a16d879e Website: Removing shrubberies that don't look good on a white background. 2023-01-02 20:22:34 +01:00
Stian Grenborgen f862818de9 Website: Adding news item for the 1.0.0 release. 2023-01-02 19:05:08 +01:00
Stian Grenborgen a2a2aa4794 This fixes BR#3309 for buildings as well. 2023-01-02 15:34:43 +01:00
Stian Grenborgen fe0931d2e8 This fixes BR#3309 must refresh colony panel after clear specialty. 2023-01-02 15:13:05 +01:00
Stian Grenborgen 851cc97538 This fixes BR#3311 with ships waiting outside native settlements. 2023-01-02 14:54:29 +01:00
translatewiki.net c2fd92cb4c Localisation updates from https://translatewiki.net. 2023-01-02 13:04:57 +01:00
Stian Grenborgen 8e55c26e1c Saves calculation time by only running the AI MilitaryCoordinator once. 2023-01-01 19:33:41 +01:00
Stian Grenborgen 17942c8d62 The AI now transports extra military units from Europe as it should. 2023-01-01 17:22:35 +01:00
Stian Grenborgen f7a6e98119 The AI now buys ships when needing more transport. The AI with conquest-nation-type (spanish) now start attacking native settlements after 100 turns. The AI now buy dragoons with excess money. 2023-01-01 17:21:36 +01:00
Stian Grenborgen f2bd54332f Stops the AI military coordinator from being afraid of native units/settlements. 2023-01-01 17:18:54 +01:00
Stian Grenborgen 6e4591fb72 Fixes issue where the GUI is updated outside of the EDT. 2023-01-01 17:17:38 +01:00
Stian Grenborgen b0da3ebad6 Fixes a problem where the AI only attacked unarmed enemy veteran soldiers if there were enemy offensive units in the same defensive zone. 2023-01-01 09:57:46 +01:00
Stian Grenborgen 51c27a3298 The AI behavior (aggressiveness/attacking natives) is now slightly different depending on national advantage. 2023-01-01 09:52:02 +01:00
Stian Grenborgen 90eb2bb2ed The AI can now attack enemy settlements outside of its defensive zones. 2022-12-31 15:00:26 +01:00
Stian Grenborgen 91a611c744 It's now possible to only target settlements with the AI UnitSeekAndDestroyMission. 2022-12-31 14:59:13 +01:00
Stian Grenborgen 5527d47ca5 Enemy settlements are now included in the AI defensive zones and counts as an attack. 2022-12-31 14:58:02 +01:00
Stian Grenborgen 9f379aa013 The AI defensive map no longer includes the units hidden in a settlement. 2022-12-31 14:45:37 +01:00
Stian Grenborgen 3f27201bdc Adding a new AI mission for escorting units. This mission can, for example, be used to escort treasure trains and artillery. 2022-12-31 14:44:37 +01:00
Stian Grenborgen d7d3e3c0c7 Adds a coordinator for managing all the military (land) units for an AI. This allows the AI to both defend and attack using multiple units. 2022-12-30 16:11:21 +01:00
Stian Grenborgen 6433343ecc Adds a debug option for displaying the AI defensive map. Allows the debug menu to be displayed while in the map editor. 2022-12-30 15:47:45 +01:00
Stian Grenborgen e2a48a852b Adds a tactical map for determining the area to be defended by the AI player. 2022-12-30 15:42:23 +01:00
Stian Grenborgen cdffcb8129 The AI no longer equips (non-soldier) experts with weapons. The AI can now arm a colonist with muskets if horses are unavailable. 2022-12-29 10:25:00 +01:00
Stian Grenborgen c6789a7736 Allows braves to have a DefendSettlementMission even when unarmed. 2022-12-27 18:21:03 +01:00
Stian Grenborgen 46f6d470e4 The AI will now buy dragoons. 2022-12-27 18:12:46 +01:00
Stian Grenborgen 93bd1359d4 Fixes a bug that prevented the AI from having dragoons defending the colony. 2022-12-27 17:41:49 +01:00
Stian Grenborgen ca95a76377 The AI no longer defends its colonies with scouts. 2022-12-27 15:22:20 +01:00
Stian Grenborgen 66e8165715 The tooltip text for units inside a colony now displays the current mission (if enabled using the debug menu). 2022-12-27 14:52:32 +01:00
Stian Grenborgen 8cece0c7c1 Multiplies the income when AIs are selling goods in Europe. 2022-12-27 14:39:45 +01:00
Stian Grenborgen fcf6c57f89 Quickfix to avoid having all soldies being given a BuildColonyMission. 2022-12-27 14:29:03 +01:00
Stian Grenborgen 4de0391900 The AI is now able to buy units in Europe (without cheating). This was previously supported in FreeCol, but seem to have been removed in 2012. 2022-12-27 14:28:22 +01:00
Stian Grenborgen b527eac6ac Stops the AI from deliberatly transporting less than 100 goods. 2022-12-27 12:47:04 +01:00
Stian Grenborgen da6ae1ebf3 Fixes a bug that prevents the AI from exporting goods. The bug happens when the number of goods to be exported is larger than the capacity of the ship. For example, when having 300 rum in a colony and trying to transport it with a caravel. 2022-12-27 11:45:01 +01:00
Stian Grenborgen bf12558d5a Stop wasting resources exporting lumber. 2022-12-27 11:20:20 +01:00
Stian Grenborgen 58d38c9093 Adding more interesting base tile transitions. 2022-12-27 10:41:57 +01:00
translatewiki.net 9f345a57b6 Localisation updates from https://translatewiki.net. 2022-12-26 13:05:48 +01:00
Stian Grenborgen 9cda2c6032 BR#3313 is fixed by closing open file descriptors after use. 2022-12-25 11:46:27 +01:00
Stian Grenborgen efbb217825 The AI now avoids having regular colonists as defenders. This gets rid of having loads of colonists just standing outside of the colony doing nothing. 2022-12-23 14:17:49 +01:00
translatewiki.net b43f86094f Localisation updates from https://translatewiki.net. 2022-12-22 13:04:34 +01:00
translatewiki.net 5ac44c8456 Localisation updates from https://translatewiki.net. 2022-12-19 13:04:39 +01:00
translatewiki.net 63db0a3ef8 Localisation updates from https://translatewiki.net. 2022-12-15 13:04:27 +01:00
Stian Grenborgen 0fc1b6ebf6 This fixes unattended production so that it matches the original game on viceroy difficulty. 2022-12-11 14:57:35 +01:00
Stian Grenborgen 46e12489f4 Adding test for colony tile production. This is a combined regression and verification test. The values in verified-tile-production.csv has been verified using actual ingame production data from the classic 2.25 (DOS). 2022-12-11 10:54:42 +01:00
Stian Grenborgen d20dedb592 Fixes colony tile production so that the values matches the classic. 2022-12-11 09:46:47 +01:00
Stian Grenborgen 73fcf5cf13 Fixes the production of the Expert Farmer. 2022-12-11 09:12:38 +01:00
translatewiki.net a423b515e3 Localisation updates from https://translatewiki.net. 2022-12-08 13:04:27 +01:00
translatewiki.net 50c951e34d Localisation updates from https://translatewiki.net. 2022-12-05 13:04:00 +01:00
translatewiki.net 27efdc91d5 Localisation updates from https://translatewiki.net. 2022-12-01 13:04:15 +01:00
translatewiki.net d1c4bd6c91 Localisation updates from https://translatewiki.net. 2022-11-21 13:03:45 +01:00
translatewiki.net e5befa81db Localisation updates from https://translatewiki.net. 2022-11-07 13:11:27 +01:00
translatewiki.net 8347f39c49 Localisation updates from https://translatewiki.net. 2022-11-03 13:04:31 +01:00
translatewiki.net 45d3b8816a Localisation updates from https://translatewiki.net. 2022-10-31 13:09:54 +01:00
translatewiki.net 8eee6bcaf0 Localisation updates from https://translatewiki.net. 2022-10-27 13:07:26 +02:00
translatewiki.net 5c60ccc7c6 Localisation updates from https://translatewiki.net. 2022-10-24 13:04:06 +02:00
translatewiki.net 87d18c694f Localisation updates from https://translatewiki.net. 2022-10-20 13:04:50 +02:00
translatewiki.net d4d2f74593 Localisation updates from https://translatewiki.net. 2022-10-17 13:03:52 +02:00
Stian Grenborgen 13bb619f8d Updating team and credits with Misiulo. 2022-10-13 20:59:16 +02:00
translatewiki.net f899a45c57 Localisation updates from https://translatewiki.net. 2022-10-13 13:04:19 +02:00
Stian Grenborgen e211325a73 Allows a scope check to be applied to a unit-change-type. 2022-10-10 21:40:05 +02:00
Stian Grenborgen 083b581a21 Allows clear speciality to be called even when a unit cannot be assigned a role. 2022-10-10 21:38:50 +02:00
Stian Grenborgen 47fb2cc774 BuildingType.getPotentialProduction now gives the same number as the actual production. 2022-10-10 21:38:07 +02:00
translatewiki.net bf7d6761ed Localisation updates from https://translatewiki.net. 2022-10-10 13:04:04 +02:00
Stian Grenborgen d1ac2c1281 macOs: Fixes reference to data directory when building with recent versions of jpackage. 2022-10-05 14:50:51 +02:00
translatewiki.net 44217d9bfd Localisation updates from https://translatewiki.net. 2022-10-03 13:04:19 +02:00
translatewiki.net bb9eec6265 Localisation updates from https://translatewiki.net. 2022-09-29 13:04:14 +02:00
translatewiki.net 1bd9c32431 Localisation updates from https://translatewiki.net. 2022-09-26 13:04:33 +02:00
Stian Grenborgen 560cdc4e04 Infrastructure: Checks permissions again after new GH branch protection. 2022-09-23 21:43:28 +02:00
Stian Grenborgen 1b49d7da33 Infrastructure: Checks permissions after new GH branch protection. 2022-09-23 21:36:27 +02:00
FreeCol Bot 7da338ad03 Merge branch 'sf-auto-merge' of https://github.com/FreeCol/freecol 2022-09-23 18:21:26 +00:00
Stian Grenborgen 7f96e5393f
Infrastructure: Test synchronization from SF to Github. (#126) 2022-09-23 20:13:05 +02:00
Stian Grenborgen 943a8fc449
Infrastructure: Test conflict in Github PR (#125) 2022-09-23 20:09:52 +02:00
Stian Grenborgen 933a669c6a Infrastructure: Test synchronization from SF to Github. 2022-09-23 20:07:55 +02:00
Stian Grenborgen 0b3a31407f
Test PR auto push (#124) 2022-09-23 19:57:12 +02:00
Stian Grenborgen 6de6f43a9b
Verify auto-merge. 2022-09-23 16:54:41 +02:00
translatewiki.net 036d231ac0 Localisation updates from https://translatewiki.net. 2022-09-22 13:04:50 +02:00
David lewis fdf31a5bd5
Add Mazim EA's 19th Century Nations Mod 2022-09-21 17:59:11 -07:00
b'David Lewis 81dcce6d92 Merge /u/davidjedi/freecol/ branch basicBuildings-update into master
https://sourceforge.net/p/freecol/git/merge-requests/61/
2022-09-21 17:24:11 +00:00
b'David Lewis ef15a3fea3 Merge /u/davidjedi/freecol/ branch treasure_cargo_report into master
https://sourceforge.net/p/freecol/git/merge-requests/60/
2022-09-21 17:22:06 +00:00
David lewis f3879543cb
Conditionals should have braces. This isn't Python 2022-09-21 10:19:35 -07:00
David lewis f7e46cbf38
Limit the scope of the basicBuildings mod
* Keep the Townhall as a default building
* Each house is now half the building requirements
* Adjust the mod: We no longer increase production of anything, out of scope of the mod to do that.
2022-09-21 10:13:25 -07:00
b'David Lewis 17161f134f Merge /u/davidjedi/freecol/ branch basicBuildings into master
https://sourceforge.net/p/freecol/git/merge-requests/47/
2022-09-21 17:02:33 +00:00
David lewis 826cad5d9e
[BR-164] Add Treasure trains to the cargo report
* [BR-164](https://sourceforge.net/p/freecol/ideas-for-freecol/164/): #164 List treasure chests somewhere.
2022-09-20 14:40:49 -07:00
David lewis e2354a5313
Additional strings found missing 'gold' 2022-09-20 14:17:17 -07:00
David lewis 8f5474ae50
IR-246: Add the text "gold" after gold amounts
Fixes/Addresses:
* [IR-246](https://sourceforge.net/p/freecol/improvement-requests/246/): #246 Add the word "gold" after gold amounts in texts
2022-09-20 13:56:50 -07:00
Stian Grenborgen 9134236a5a Website: Adding music and a screenshot. 2022-09-20 21:07:33 +02:00
Stian Grenborgen 447a33870f This fixes a bug occuring when a mod replaces an image that is used for more than one mapping. The bug caused an image overridden by a mod to sometimes revert back to the original image (depending on zoom level and pure chance). 2022-09-20 21:04:49 +02:00
Stian Grenborgen 0a063c595f The ActionManager should be called on the EDT. 2022-09-20 21:04:49 +02:00
Stian Grenborgen c5df56196d Adding new desert graphics. 2022-09-20 21:04:49 +02:00
Stian Grenborgen 3bdda582bd Creates calculator classes replacing the functionality previously in ColonyTile and Building.
* Production output can now reliably be tested without having built a Colony. This will be used by the new AI Colony Management code.
* Fixes several differences/bugs that occured because of code duplication.
2022-09-20 21:04:49 +02:00
translatewiki.net f59cc15566 Localisation updates from https://translatewiki.net. 2022-09-19 13:04:53 +02:00
Stian Grenborgen 37f141ae9a Texture2Tile now produces an alternate result where the texture is rotated 45 degrees. 2022-09-18 16:05:47 +02:00
Stian Grenborgen 1eb4979b3f Adding support for recruiting nation specific units in Europe. 2022-09-17 18:43:49 +02:00
Stian Grenborgen bb21d54e4c Reverts default escape behaviour from commit 9f1cf3a. The default behaviour was wrong in many cases -- especially when closing the MainPanel, NewPanel and StartGamePanel, since the result is no panel being open (and the player is forced to use ALT+F4 to exit the game). I have explicitly added escape handling for the FreeCol panels (but not for the dialogs). 2022-09-17 16:17:10 +02:00
Stian Grenborgen fe60a38de5 This fixes automatic generation of specification documentation. Resource URI keys are now supported. Location of the resource directory has been updated. 2022-09-17 09:31:48 +02:00
Stian Grenborgen dd2094cae1 Adding support for buying nation specific units in Europe. 2022-09-17 08:55:29 +02:00
Stian Grenborgen 9f1e47af60 Adding methods for getting raw materials that are either used for making storable or unstorable building materials. 2022-09-17 08:52:53 +02:00
translatewiki.net 94b0754773 Localisation updates from https://translatewiki.net. 2022-09-15 13:04:42 +02:00
Stian Grenborgen 0cf011a4f3 Updates the documentation with the 2GB memory requirement. 2022-09-14 21:55:23 +02:00
Stian Grenborgen 90e4df323e Handles uncaught errors (OutOfMemoryError, StackOverflowError etc) by freeing memory, showing an error message and force quit. 2022-09-14 20:15:11 +02:00
Stian Grenborgen eabb0ea56b Increase required memory and exit on uncaught *Error. 2022-09-14 20:15:11 +02:00
Mike Pope fcd04a5ba5 Apply pre-build production at end of turn, BR#3261. 2022-09-14 17:00:59 +09:30
Stian Grenborgen 2bdcec888d Fixes a bug causing modifiers not to be written when generating XML.
* Expert farmers and fishermen will now get the additional production bonus as they should.
* This fixes the issue with different production in the server and the client (that occured unless the server is loaded from a savegame).

The bug was introduced July, 27th 2013 -- so it has been in the code for a while.
2022-09-14 07:43:40 +02:00
Mike Pope 75940a99f7 Drop warning, no regression seen for old bug for some time. 2022-09-13 10:58:06 +09:30
translatewiki.net 0da80a63c4 Localisation updates from https://translatewiki.net. 2022-09-12 13:04:31 +02:00
Mike Pope 9aed5ca7aa Further string refinement, BR#3285. 2022-09-12 16:25:59 +09:30
Mike Pope dccab2ee3e Disable accept button when trade conditions change. 2022-09-09 10:21:58 +09:30
translatewiki.net eae68125be Localisation updates from https://translatewiki.net. 2022-09-08 13:04:20 +02:00
Mike Pope e53fa8b24d Drop trace. 2022-09-08 13:52:26 +09:30
Mike Pope 543cfbfa57 Use country label more widely, BR#3288. 2022-09-07 20:31:38 +09:30
Mike Pope 2f8ce717d1 Drop another autosave trace. 2022-09-07 17:07:56 +09:30
Mike Pope 65363a3760 Prevent NPE with old game load. 2022-09-07 16:50:17 +09:30
Mike Pope e6a977df81 Another event thread fix. 2022-09-07 16:40:11 +09:30
Mike Pope ab12298d0f Another event thread fix. 2022-09-07 16:15:18 +09:30
Mike Pope 49c2a6282b Revert getLongThreadID use, its not present in Java 11. 2022-09-06 19:57:46 +09:30
Mike Pope 6f399d438f Bad message label, BR#3295. 2022-09-05 22:35:55 +09:30
Mike Pope 3856bae906 Text fixes, BR#3285. 2022-09-05 21:46:52 +09:30
Mike Pope bdab6f49a6 Drop trace for autosave bug. 2022-09-05 21:30:47 +09:30
Mike Pope e63ce19701 Prevent autosave-in-autosave, BR#3276. 2022-09-05 21:22:57 +09:30
translatewiki.net 1fbc0d6ea3 Localisation updates from https://translatewiki.net. 2022-09-05 13:04:26 +02:00
Mike Pope aca9e63c20 Try to improve unit repair location, BR#3271. 2022-09-05 20:29:00 +09:30
Mike Pope 26aaa7224a Add a helper for the RebelToolTip that correctly finds the next/50%/100% bonus turn numbers, BR#3217. 2022-09-05 20:10:57 +09:30
Mike Pope 0185cc5a4a Untangle the SoL/Tories mess. 2022-09-05 19:38:52 +09:30
Mike Pope 9f1cf3a632 Escape breaks out of FreeColPanels, BR#3035. 2022-09-04 20:09:53 +09:30
Mike Pope 41e2109f8b setCancelComponent was a noop, removed. 2022-09-04 19:23:34 +09:30
Mike Pope 46c5934945 Missing strings for audio volume option. 2022-09-04 16:24:50 +09:30
Mike Pope 18810e5aad Fix deprecation warning. 2022-09-04 15:24:00 +09:30
Mike Pope 7a914ea66f Replace use of "king", BR#3286. 2022-09-04 14:38:00 +09:30
Mike Pope 4ea1dda492 Drop some "%nation% nation" strings as they look bad if the nation is the REF, BR#3296. 2022-09-04 14:08:43 +09:30
Stian Grenborgen ce7d92d69e Reduces the focus switching when animating enemy units. We now only scroll back to the original focus if there was an active unit selected. 2022-09-03 11:18:06 +02:00
Stian Grenborgen 84c3b6c417 Fixes two issues with the trade route panel (BR##3259). Goods types are no longer removed from the list of all goods types when adding it to a stop. It's now possible to add the same goods type multiple times to the same stop. 2022-09-02 17:49:32 +02:00
translatewiki.net cb10784763 Localisation updates from https://translatewiki.net. 2022-09-01 13:04:48 +02:00
Stian Grenborgen f6fc09a823 Fixes BR#3281 - endless loop with errors. 2022-08-29 19:29:23 +02:00
translatewiki.net a5d5de6f94 Localisation updates from https://translatewiki.net. 2022-08-29 13:04:43 +02:00
Stian Grenborgen 7e3990ef6d Improves AI colony development and expansion.
This change has been tested with five games with 300 AI-only turns each. The simple fix was simply stop making tools in every colony. Prior to this commit, tools was prioritized above hammers (slowing down the construction of buildings) and even made elder statesmen work in the fields instead of producing liberty bells.

There are still lots of silly decisions, but these decisions are more complicated to fix -- and will therefor have to wait for the AI colony management rewrite.
2022-08-28 08:51:29 +02:00
Stian Grenborgen 34e610f426 Adds a method for checking if a raw material is used for an unstorable building material. This can be used for prioritizing hammers higher than tools. 2022-08-28 08:51:29 +02:00
Stian Grenborgen 6b09ae9e2e The AI can now build docks. This commit fixes a bug where only autoproduction was considered when calculating the potential production of a tile. This prevented docks from being built since ocean tiles have no autoproduction. The production with the best expert is now used instead of the autoproduction. This will also give higher priority to production where the experts enhances bonuses. 2022-08-28 08:51:29 +02:00
translatewiki.net 0257c66708 Localisation updates from https://translatewiki.net. 2022-08-25 13:05:06 +02:00
Stian Grenborgen ae212f5ba2 Fixes BR#3282 by allowing unit graphics to extend above the tile it is on. 2022-08-23 20:05:50 +02:00
Stian Grenborgen 4aed94381f Fixes to the new end-of-turn behaviour (units with moves left after goto-orders aborts end-of-turn).
* Return to normal next-unit-handling when end-of-turn has been aborted.
* All waiting units are now skipped when ending the turn. This prevents these units from having to be handled again if the end turn is aborted.
2022-08-22 18:19:12 +02:00
translatewiki.net a29e455790 Localisation updates from https://translatewiki.net. 2022-08-22 13:04:23 +02:00
Stian Grenborgen d325f761ce Allows the buffers to be updated without repainting. This reduces the time to redraw the map while scrolling diagonally. 2022-08-21 21:11:55 +02:00
Stian Grenborgen 7d890b1fa7 Allows the game to continue when an AI fail with an unhandled exception. 2022-08-21 14:41:54 +02:00
Stian Grenborgen 3636a7d445 The native AI no longer crashes the game when all settlements have been eliminated. 2022-08-21 14:10:26 +02:00
Stian Grenborgen 3ceb2e4ef1 Fixes BR#3277 - game hangs after end of turn. 2022-08-21 12:57:43 +02:00
Stian Grenborgen 165051da85 Moves the handling of autoscrolling to a separate class. Additional fixes:
* Allows autoscrolling to be performed properly in the upper left corner (ie handling of mouse motion events over the menu items).
* Scales the scroll area according to the UI scaling factor.
2022-08-21 12:57:43 +02:00
translatewiki.net 334cb7144d Localisation updates from https://translatewiki.net. 2022-08-18 13:04:45 +02:00
translatewiki.net a3d0af90a8 Localisation updates from https://translatewiki.net. 2022-08-15 13:04:21 +02:00
Stian Grenborgen 06e70d9c9b Accelerator keys can now be loadedf. The solution is using read instead of merge since the former supports dynamically generated options (like FreeColAction), while the latter requires all options to be present in the option file. 2022-08-14 19:41:12 +02:00
Stian Grenborgen 1d3560a313 The keyboard accelerator preferences are not scaled according to the font size. 2022-08-14 18:01:12 +02:00
Stian Grenborgen 74e676938e Adding a new debug option for debugging the rendering code. When active, a red rectangle is drawn above all dirty areas being redrawn. The same flag is also used for displaying frame rates etc. 2022-08-14 16:55:27 +02:00
Stian Grenborgen b831f2abb6 Fixes a bug giving full repaints when scrolling right or down. This was caused by a union with an empty dirty rectangle ... that suprisingly sets x and y to zero. 2022-08-14 16:37:39 +02:00
Stian Grenborgen 6f892366b3 Minor corrections to the pistol. 2022-08-14 16:02:21 +02:00
Stian Grenborgen e27010552a Website: Adding music to the art preview. 2022-08-14 15:46:02 +02:00
Stian Grenborgen f8d9a1dfa1 Adding Alexander to the team credit. 2022-08-14 15:26:58 +02:00
Stian Grenborgen 970ee9d51f Updating the version number for development. 2022-08-14 15:24:08 +02:00
Stian Grenborgen 485dde01e7 The AI now chooses to build colonies in better locations.
* Tiles where there are many nearby enemy units are no longer prioritized (!) as a location to build a colony.
* We heavily prioritize building colonies with distance 3 between each other. This is the closest distance you can have without getting an overlap.
2022-08-14 11:19:09 +02:00
Stian Grenborgen de6b1dfea4 Increasing buffer size to ensure smooth playback of audio. 2022-08-14 10:47:25 +02:00
Stian Grenborgen 6025d5c679 Fixes an issue where a circleiterator with radius 0 still returned a tile. 2022-08-14 09:22:57 +02:00
Stian Grenborgen cc4254b397 Reintroducing separate volume sliders for music and sound effects. 2022-08-13 11:28:03 +02:00
Stian Grenborgen fda26e7afa Adding Misiulo's nation specific graphics for settlements. Part 4 and last: Settlements with fortress. 2022-08-13 10:38:42 +02:00
Stian Grenborgen d137dd3ffb Adding Misiulo's nation specific graphics for settlements. Part 3: Settlements with fort. 2022-08-13 10:10:46 +02:00
Stian Grenborgen aa61352043 Adding Misiulo's nation specific graphics for settlements. Part 2: Settlements with stockade. 2022-08-13 09:28:29 +02:00
Stian Grenborgen af91ecbba0 Adding Misiulo's nation specific graphics for settlements. Part 1: Settlements without fortifications. 2022-08-11 20:33:53 +02:00
Stian Grenborgen 90acf2ab3f Updating java version again in order to get the fix for JDK-8276150. 2022-08-09 19:26:36 +02:00
Stian Grenborgen f9c47d1942 Updating java version in order to get the fix for JDK-8276150. 2022-08-09 18:45:48 +02:00
translatewiki.net 77d6032013 Localisation updates from https://translatewiki.net. 2022-08-08 13:04:08 +02:00
translatewiki.net 43275ad7da Localisation updates from https://translatewiki.net. 2022-08-04 13:04:50 +02:00
translatewiki.net 5d93465514 Localisation updates from https://translatewiki.net. 2022-08-01 13:05:53 +02:00
Mike Pope cf9d2332b5 Quash NPE in addNewUnitToTile. 2022-07-30 14:33:20 +09:30
translatewiki.net 98cbda12ce Localisation updates from https://translatewiki.net. 2022-07-25 13:05:23 +02:00
Stian Grenborgen cd0d781d2f Website: Fixes typo (BR#3278). 2022-07-21 16:59:37 +02:00
translatewiki.net 12c643d058 Localisation updates from https://translatewiki.net. 2022-07-21 13:04:53 +02:00
translatewiki.net d4d7820d52 Localisation updates from https://translatewiki.net. 2022-07-14 13:04:53 +02:00
translatewiki.net 0e1ba5dee4 Localisation updates from https://translatewiki.net. 2022-07-11 13:05:05 +02:00
Stian Grenborgen 3b8314a68e Website: Updates the screenshots. 2022-07-09 23:28:35 +02:00
Stian Grenborgen b19559f007 Website: Moving screenshots from 0.8.0 to more-screenshosts.html. 2022-07-09 23:08:00 +02:00
Stian Grenborgen 28ea9ea1c7 Website: Removing the current version number from the status page so that we do not need to update it when making new releases. 2022-07-09 18:51:00 +02:00
Stian Grenborgen c1f007f983 Website: News item for the 0.13.0 release. 2022-07-09 18:33:04 +02:00
Stian Grenborgen 3ece1921d4 Updating changelog before release. 2022-07-09 17:33:34 +02:00
Stian Grenborgen 4b6d2e0368 Reduces the number of skulls on the info panel skin. The skulls have been replaced by a pistol and a few coins. 2022-07-09 11:38:47 +02:00
Stian Grenborgen 40cbdc4b81 Removes the shadow around the colony panel when playing on low resolution. This allows the buttons on the colony panel to be displayed properly when having only a 768px height window. 2022-07-09 10:39:41 +02:00
translatewiki.net c05a99e246 Localisation updates from https://translatewiki.net. 2022-07-04 13:04:41 +02:00
translatewiki.net ccc499ae30 Localisation updates from https://translatewiki.net. 2022-06-30 13:05:14 +02:00
Stian Grenborgen cc56aef11e Adding high resolution versions of the old pioneer-with-tools-on-chest graphics. 2022-06-21 17:36:21 +02:00
translatewiki.net 5392b21ed4 Localisation updates from https://translatewiki.net. 2022-06-20 13:04:59 +02:00
Stian Grenborgen 4b3781fd8d Fixes scaling of founding father panel in Colopedia. 2022-06-19 16:11:48 +02:00
Stian Grenborgen 047a6d305a Adding a news post about the countdown to version 1.0. Fixing wrong year in the 0.12.0 release announcement. 2022-06-19 14:03:18 +02:00
Stian Grenborgen cc3895d000 Website: Fixes more overflowing content on mobile. 2022-06-19 09:48:43 +02:00
Stian Grenborgen 7a7b22a1c4 Website: Fixes overflowing content on mobile. 2022-06-19 09:40:03 +02:00
Stian Grenborgen b13fd385c0 Website: Updating the information about how to contribute. 2022-06-19 09:22:48 +02:00
Stian Grenborgen 35e4409504 This fixes BR#3273 with active unit not changing. 2022-06-19 09:03:58 +02:00
Stian Grenborgen 2d9a45c6f4 The StartGamePanel's initial size is now scaled according to the scale factor. The start game button has been made important (thick border as a call-to-action). 2022-06-19 07:46:09 +02:00
Stian Grenborgen 4247075223 Adding a mod for smaller map controls, while still retaining some decorative-only space. 2022-06-18 22:37:37 +02:00
Stian Grenborgen faafabe6ce Overrides scaling based on DPI for small screens. This ensures that we have a usable scaled 768px height for panels. 2022-06-18 21:57:34 +02:00
Stian Grenborgen b70e86eccf StartGamePanel is now updated for every player when a new player connects or changes nation. 2022-06-18 20:49:05 +02:00
Stian Grenborgen 2f568533ee This fixes two bugs where disposed units are still selected as an active unit. The first bug is that the unit was explicitly set as the active unit after it disappeared. The second bug was that the active unit was not updated after the current active unit got disposed. 2022-06-18 19:21:11 +02:00
Stian Grenborgen 2ce7e4827e The panel showing the log file can now be resized properly. 2022-06-18 18:04:33 +02:00
Stian Grenborgen 88beabba3f Adjusts the position of the chat text. 2022-06-18 17:45:33 +02:00
Stian Grenborgen a34f43425e Fixes selection of nation when connecting to a running multiplayer game. 2022-06-18 10:41:56 +02:00
Stian Grenborgen c28b893007 Uses the standard (straight line) transition if variations have been disabled. 2022-06-16 19:01:19 +02:00
Stian Grenborgen b9d54db845 The cursor now changes when the terrain is selected instead of a unit. 2022-06-16 18:07:45 +02:00
Stian Grenborgen 25d79e390e Adding support for having variations of the base transitions. Both sides of the base transition gets the same variation number -- so the transitions does not need to follow a straight line. Please note that no new base transitions have been added with this commit. 2022-06-16 18:07:45 +02:00
translatewiki.net fa25cffedb Localisation updates from https://translatewiki.net. 2022-06-16 13:05:53 +02:00
Stian Grenborgen 70b3e9e6e7 Re-adds the main panel if client options are changed. This makes any display scaling / font size change take immediate effect. 2022-06-15 18:28:54 +02:00
Stian Grenborgen f71b2e43dc Fixes an issue where changing the active unit on a tile does not result in a repaint. 2022-06-15 18:23:16 +02:00
Stian Grenborgen a1d0ae39e0 Fixes sizing of object images (displayed in information panel etc). 2022-06-15 18:14:42 +02:00
Stian Grenborgen b6d7f96aa6 Layout unit buttons in two rows if they doesn't fit on one row. 2022-06-15 17:02:59 +02:00
Stian Grenborgen a7ec6c84e8 Fixes the initial value of the minimap's toggle buttons. This prevents the old behaviour where you needed to double click the button if the initial value was not political/fog-on. 2022-06-15 16:53:24 +02:00
Stian Grenborgen 73c63c773a Updating the background image so that it's smoother. This will hopefully make larger panels, with the background, look better than before. 2022-06-15 16:51:55 +02:00
Stian Grenborgen 8ba2309d6f Adds a higher resolution image of the menu border. The menu border's size is now determined using the scale. 2022-06-15 16:50:16 +02:00
Stian Grenborgen bf611437ad Adding a mod for making the infopanel and minimap as compact as possible. 2022-06-15 16:43:19 +02:00
Stian Grenborgen 9362f5c8c2 Sets properties to ensure correct positions and sizes for the components on the minimap and infopanel. 2022-06-15 16:42:53 +02:00
Stian Grenborgen f42d8ed4c9 Adding new order buttons that matches the new infopanel and minimap. These buttons are also available with higher resolution than the old ones. 2022-06-15 16:12:46 +02:00
Stian Grenborgen f81e3fc57c Improves skin-support for InfoPanel and Minimap ... and adds new skins for them both.
* New skins for the info panel and the minimap.
* Draws the minimap skin on top of the minimap.
* Adds support for string properties with nested properties in order to support easy skin-definitions as one overridable property.
* Placement and sizes for the components on the minimap and infopanel can now be defined using resources.properties.
2022-06-15 16:06:08 +02:00
Stian Grenborgen 4742528011 Fixes problem with missing transition rendering in the colony panel. 2022-06-15 08:53:28 +02:00
translatewiki.net de0007bb57 Localisation updates from https://translatewiki.net. 2022-06-13 13:06:08 +02:00
Stian Grenborgen 71843b5240 Base transition corners and river animations are now activated on "Normal" graphics quality instead of "High" and "Highest". 2022-06-12 12:50:38 +02:00
Stian Grenborgen 7c269f8235 River deltas are now animated using the standard water animation. The river delta animation could be greatly improved by making a separate animation with directional water flow -- but I'm not prioritizing that now. 2022-06-12 11:41:20 +02:00
Stian Grenborgen 58105480c8 The river mouth graphics is no longer drawn on unexplored tiles. 2022-06-11 20:49:02 +02:00
Stian Grenborgen 4a61e3fb89 Updating the source files with correct padding and shadow. The source files can now directly be scaled to the desired size, and exported, if larger sizes are required. 2022-06-11 20:40:28 +02:00
Stian Grenborgen ce6e9d5b93 Adding higher resolution images for the coat-of-arms. 2022-06-11 20:33:50 +02:00
Mike Pope c2e76eeff8 Prevent NPE if trying to set a playlist with sound turned off. 2022-06-11 13:52:43 +09:30
Mike Pope db03ef01e8 Fix doco, BR#3266. 2022-06-11 13:25:14 +09:30
Stian Grenborgen bcd5a58067 Adding higher resolution images of the pioneers. I can make a new high resolution image of the fur hat (and change the pose so that the tools are held to the chest) if people miss the old low quality graphics. 2022-06-10 20:47:04 +02:00
Stian Grenborgen 19fdfba4c6 Adding the native settlements from Hutzli's mod. 2022-06-10 20:11:29 +02:00
Stian Grenborgen 9e78cd763f Adding source files for the bonus resources. 2022-06-10 20:03:37 +02:00
Stian Grenborgen 262394dcc5 Adding higher resolution images for the resources. 2022-06-10 19:57:22 +02:00
Stian Grenborgen fd183b4250 Adapting the minerals bonus from Misiulo's mod for use in higher resolutions. 2022-06-10 19:53:51 +02:00
Stian Grenborgen 4e3512ce3d Adding graphics for river animation. We have not yet implemented different animations based on the natural direction of river flow. This might be implemented later. Please note that you need to increase the graphics quality to "Highest" in the client options in order to see the animations. 2022-06-10 18:19:17 +02:00
Stian Grenborgen 5051012f2c The unit selection cursor is now drawn on top of everything. This solution is a lot faster than the previous solution where the tile (and neighouring tiles) needed to be redrawn in the buffer. We should replace the cursor graphics with something prettier though. 2022-06-10 18:14:24 +02:00
Stian Grenborgen 2f41e9a35f Adds code for animating the river. 2022-06-10 16:49:42 +02:00
Stian Grenborgen 3ff851e839 Fixes problem with rivers not connecting smoothly. 2022-06-10 16:43:23 +02:00
Stian Grenborgen 1b949b61fa Reduces visibility of methods that no longer needs to be public. 2022-06-09 20:14:15 +02:00
Stian Grenborgen 624550eaf4 Moving more image production code from ImageLibrary into the image creators. This includes resource methods only used by a single image creator. 2022-06-09 20:05:51 +02:00
Stian Grenborgen b6b6225e95 Moving the creation of base tile transition images into a separate class. Adding some more comments explaining the code. 2022-06-09 19:40:08 +02:00
Stian Grenborgen df843e941c Making base tile transitions prettier by properly rendering the corner of the tile. The prettier rendering is, for now, not activated by default. Please use graphics quality "High" in the client options if you want to see it. 2022-06-09 18:40:53 +02:00
Stian Grenborgen 88e6070b98 Adding a new client options for selecting the graphics quality. This option will allow us to provide more eye candy for players with sufficiently good systems, while still supporting lower spec-ed computers. 2022-06-09 18:17:29 +02:00
Stian Grenborgen 72daaa0863 Fixes an issue where minor-to-major transitions were drawn in places the style said they should be omitted. 2022-06-06 21:54:56 +02:00
Stian Grenborgen c08e9a1d58 Fixes an issue where you needed to click on a map icon twice in order to actually select it. 2022-06-06 21:29:21 +02:00
Stian Grenborgen d0bdf0730b Adding new river graphics to the game. Rivers are now generated using a background image (pebbles), a water image that can be animated and masks for handling different variations. 2022-06-06 19:32:56 +02:00
Stian Grenborgen bc24fff0d8 The major river now gets twice the production bonus as the minor river. This is the correct behaviour, and the reason why we have different graphics for minor and major river. 2022-06-06 18:17:44 +02:00
Stian Grenborgen 616c814bb8 Tile improvement magnitude is now kept when using a map. The magnitude is used for determining if a river is minor or major -- and all rivers reverted to being minor before this fix. 2022-06-06 18:14:07 +02:00
translatewiki.net e4b2bde7f7 Localisation updates from https://translatewiki.net. 2022-06-06 13:05:50 +02:00
Stian Grenborgen 2279d68f41 Adding another Latex package. 2022-06-04 11:33:01 +02:00
Stian Grenborgen acc07984a3 Adding additional Latex package and uploads the entire dist directory for Linux builds. 2022-06-04 10:59:18 +02:00
Stian Grenborgen f13747080b Install pdflatex so that the manual can be built. 2022-06-04 10:41:14 +02:00
Stian Grenborgen 33b7ab2de0 Link to the Windows installer with Java included. 2022-06-04 10:34:47 +02:00
Stian Grenborgen 252dff79d7 The macos installer can now be built using pre-1.0.0 versions. The solution is just removing the leading "0." from the version number and changing the mac package identifier when reaching 1.0.0. 2022-06-04 10:34:16 +02:00
translatewiki.net 758de3d1db Localisation updates from https://translatewiki.net. 2022-06-02 13:05:39 +02:00
translatewiki.net a6081da860 Localisation updates from https://translatewiki.net. 2022-05-30 13:05:30 +02:00
Stian Grenborgen 3e3927d0ff Reintroduces the separation between rules and TC. A different TC can now be loaded using the --tc command line parameter. 2022-05-28 12:02:34 +02:00
Stian Grenborgen ca4b113927 Adding high resolution images of the ore bonus resource. 2022-05-28 10:52:17 +02:00
Stian Grenborgen f1f3a627a8 Moving all resources from rules/freecol to rules/classic. 2022-05-28 10:40:38 +02:00
Stian Grenborgen 670d5f83ae Using an icon to show that a mod contains changes to the specification. 2022-05-27 17:41:08 +02:00
translatewiki.net 9240deeced Localisation updates from https://translatewiki.net. 2022-05-26 13:05:36 +02:00
Mike Pope de474502b1 Odd log omission in price variation generation. 2022-05-25 14:55:11 +09:30
translatewiki.net f8d1684fce Localisation updates from https://translatewiki.net. 2022-05-23 13:04:35 +02:00
Mike Pope ede264786d Perhaps clean up github false positive security warnings, BR#3262. 2022-05-23 12:36:37 +09:30
translatewiki.net a690be8c74 Localisation updates from https://translatewiki.net. 2022-05-12 13:03:59 +02:00
translatewiki.net 16786906c9 Localisation updates from https://translatewiki.net. 2022-05-09 13:04:33 +02:00
Stian Grenborgen 755ad51d06 Changing target name to snake-case. 2022-05-09 07:43:36 +02:00
Stian Grenborgen fc985bede6 Adding missing prefix to workflow inputs. 2022-05-08 22:17:57 +02:00
Stian Grenborgen 81946086a3 Deactivating the manual until pdflatex is set up. 2022-05-08 21:47:03 +02:00
Stian Grenborgen 529588465f Fixes workflow syntax. 2022-05-08 20:55:58 +02:00
Stian Grenborgen 47dce71253 Allows release tag to be set when triggering manual build. 2022-05-08 20:44:48 +02:00
Stian Grenborgen f40df0b0fd Adding build setup for manual releases with the creation of JVM-bundled versions for macOs and Windows. 2022-05-08 20:17:56 +02:00
Stian Grenborgen 866e96d251 Do not allow mods with a specification to be reordered, added or removed when a game is running. 2022-05-08 17:09:35 +02:00
Stian Grenborgen 85f61452be Adds font scaling to the transaction panel in Europe. 2022-05-08 16:17:58 +02:00
Stian Grenborgen 06c811b8a8 Increases thread priority for the audio playing threads in order to avoid stuttering on slow systems. 2022-05-08 15:30:47 +02:00
Stian Grenborgen e29e5f1dbf Adding more information on the licenses. 2022-05-08 13:18:51 +02:00
Stian Grenborgen 50e1c6e997 Adding change missing from the previous commit. 2022-05-08 12:51:36 +02:00
Stian Grenborgen e31a8c6f4f Adding compatibility code for setting previewEnabled on the audio volume. 2022-05-08 12:48:55 +02:00
Stian Grenborgen 208f322ad1 Adding Alexander's music to the default playlist. 2022-05-08 12:41:00 +02:00
Stian Grenborgen 68ab667bcb Adds method (to be used later) for checking if a specifion is included in a mod. 2022-05-08 12:30:07 +02:00
Stian Grenborgen 533d7b3f7b Do not overwrite the client options with values from the savegame -- except for the mods. 2022-05-08 11:27:54 +02:00
Stian Grenborgen 28ccccc9a5 Duplicates are no longer allowed in the mod list. 2022-05-08 09:45:22 +02:00
Stian Grenborgen b4811ba834 Fixing and commenting out code for adding a label to the EditOptionsDialog. We should consider if a label is needed or not (and if yes, add the missing texts for FreeColMessages.properties. 2022-05-08 09:43:49 +02:00
Stian Grenborgen 8d544c2b45 The jarbundler does not support entering the correct jvmversion ("11"). Leaving the wrong value for now, so that the distribution still builds. 2022-05-08 09:33:54 +02:00
Mike Pope a8664789b5 Change MacOS required Java version syntax as suggested in BR#3255. 2022-05-08 12:06:44 +09:30
Mike Pope 2463628b35 Fixed advantages break initial units, BR#5115. 2022-05-08 11:30:38 +09:30
Stian Grenborgen bb5564d3d4 Minor improvements to the portrait of laSalle. 2022-05-07 22:45:21 +02:00
Stian Grenborgen 7590969578 Using the provided Player owner instead of always sending null. 2022-05-07 22:22:54 +02:00
Stian Grenborgen b59e08beba Adds a default playlist (without songs right now) that is played when no other specific music is. 2022-05-07 21:54:13 +02:00
Stian Grenborgen 5b7ea5e7b0 Adds support for picking tracks from a playlist when the current track has completed. Fixes an additional old regression preventing volume changes from taking immediate effect. 2022-05-07 21:10:29 +02:00
Stian Grenborgen 732cd19f1d This restores the preview-functionality for the audio volume option. Changing the volume in the client options now have immediate effect, and any changes are reverted if cancelling the client options. The functionality was removed erroneously in 60e1bb9 with the explanation: "Remove dead code from options and their UIs." way back in 2011. 2022-05-07 21:03:22 +02:00
Stian Grenborgen a71a0b472c Fixes selection of audio mixer in the client options. 2022-05-07 12:16:05 +02:00
Stian Grenborgen 66c7307595 This hopefully fixes BR#3250 that prevents the founding father colopedia panel from being displayed properly. 2022-05-07 08:10:08 +02:00
Stian Grenborgen 0473282b69 Fixes BR#3253 by removing cleanup code that is probably not needed. 2022-05-07 08:05:03 +02:00
Stian Grenborgen 94803fe20c Converting the options dialog to regular panels. Fixing and renaming the button for reverting back to default values in the client options. 2022-05-07 08:01:17 +02:00
Mike Pope 7f027facea Prevent NPE in tools equip, BR#3256. 2022-05-07 10:34:33 +09:30
translatewiki.net bbf606aed5 Localisation updates from https://translatewiki.net. 2022-05-05 13:04:27 +02:00
Calebrw c7e01194fd Merge branch 'master' of ssh://git.code.sf.net/p/freecol/git 2022-05-04 19:54:03 -05:00
Stian Grenborgen f67ecfd8bd Makes the website look better on mobile. 2022-05-04 19:52:05 -05:00
Mike Pope 69ec58b69e Split FreeColAction:275 so we can see where the NPE in BR#3249. 2022-05-04 19:52:05 -05:00
Mike Pope f5b0996d7d Finish cleaning up *Was (MarketWas). 2022-05-04 19:52:05 -05:00
Mike Pope 16a8f3e5cd Git fumble omission from previous. 2022-05-04 19:52:05 -05:00
Mike Pope 809b9294da Move property change firings to event thread, BR#3248. 2022-05-04 19:52:05 -05:00
Calebrw 3d51236222 Update issue templates
Add Issue Templates in GitHub pointing back to SourceForge.
2022-05-04 19:51:21 -05:00
Stian Grenborgen 0d623427d4 Makes the website look better on mobile. 2022-05-04 21:21:45 +02:00
Mike Pope 4f0f2807f5 Split FreeColAction:275 so we can see where the NPE in BR#3249. 2022-05-03 16:57:42 +09:30
Mike Pope 1629cdd80a Finish cleaning up *Was (MarketWas). 2022-05-02 18:29:53 +09:30
Mike Pope 765e4a62f9 Git fumble omission from previous. 2022-05-02 17:07:04 +09:30
Mike Pope 8e2730ffff Move property change firings to event thread, BR#3248. 2022-05-02 17:05:06 +09:30
Calebrw f0f3790217
Update issue templates
Add Issue Templates in GitHub pointing back to SourceForge.
2022-05-01 13:50:00 -05:00
Mike Pope 17ebbfce16 Update release doco, especially with the website changes. 2022-05-01 15:40:27 +09:30
Mike Pope 12f4b13787 Update the website upload script (incremental mode no longer works). 2022-05-01 15:29:55 +09:30
Mike Pope 751a5bbe55 Update README.md. 2022-05-01 13:36:05 +09:30
Mike Pope b124abba05 Update website for 0.12.0 release. 2022-05-01 13:24:41 +09:30
Mike Pope 65e2398a54 Tighten gitignore around build files. 2022-05-01 12:49:10 +09:30
Mike Pope 823ae3be93 Stop ignoring all the build directory. 2022-05-01 12:44:54 +09:30
Mike Pope aae9b12bba Bump doco version. 2022-05-01 12:27:59 +09:30
Mike Pope 27b963c615 Bump version, at last. 2022-05-01 12:26:47 +09:30
Mike Pope b306b880b5 Revert overreach with previous Coronado fix. 2022-05-01 12:17:21 +09:30
Mike Pope faa899670c Cosmetic javadoc. 2022-05-01 12:13:14 +09:30
Stian Grenborgen 77185f3009 Updating with Mike's release notes from the wiki. 2022-04-30 19:59:11 +02:00
Stian Grenborgen 60118bbf97 Fixes a crash on Windows caused by low default memory (512MB). Increasing default memory to 2GB. This amount of memory is needed for the highest scaling+zoom level+map size. 2022-04-30 17:18:51 +02:00
Stian Grenborgen bb8f3e4db3 Testing automated development release. 2022-04-30 18:08:56 +02:00
Stian Grenborgen ece80d03ee Increasing timeout when connecting to the metaserver. 2022-04-30 11:46:45 +02:00
Stian Grenborgen 2027bb10b8 Stops a public server that fails to register with the metaserver. 2022-04-30 11:46:02 +02:00
Stian Grenborgen 4f7f25171d Fixes multiple issues with connections, multiplayer games and the meta server. Changes:
* Network messages expecting a reply now have a timeout (default 30 seconds).
* Fixes issue where multiplayer games only listened on the loopback address (for systems where the hostname resolves to the localhost address).
* It's now possible to specify the binding address when running a multiplayer game. Only IPv4 is supported for now. It's easy to support IPv6, but we need to find a better way of displaying possible addresses first (perhaps using the NIC's name instead of the address?)
* The player gets an error when trying to register a server as public if the server is not connectable.
* Fixes game crash after the LoadingSavegameDialog gets cancelled (happened when a new game got loaded).
* Fixes the LoadingSavegameDialog so that the chosen values are actually used.
* The header now gets the translated title (the message key was wrong).
2022-04-30 11:05:01 +02:00
translatewiki.net 73eeedc754 Localisation updates from https://translatewiki.net. 2022-04-28 13:04:41 +02:00
Stian Grenborgen b42686f38a Trigger workflow. 2022-04-27 22:24:36 +02:00
Stian Grenborgen a3ea2e95cd Adding workflow for building on push. 2022-04-27 22:22:00 +02:00
Stian Grenborgen 9ea4e8d631 Testing server hook. 2022-04-27 22:13:34 +02:00
Stian Grenborgen 028ea444ee Testing server hook. 2022-04-27 22:04:34 +02:00
Stian Grenborgen c56c2267d8 Testing server hook. 2022-04-27 22:01:21 +02:00
Stian Grenborgen 5cbd3867cd Testing server hook. 2022-04-27 21:59:36 +02:00
Stian Grenborgen 3ed89ef9be Testing server hook. 2022-04-27 21:44:56 +02:00
Stian Grenborgen 84c529c1cd Testing server hook. 2022-04-27 21:42:21 +02:00
Stian Grenborgen f6c1336503 Testing server hook. 2022-04-27 21:38:50 +02:00
Stian Grenborgen 04b2c7c2e0 The chat is now drawn properly when the UI is scaled. Fixed a problem causing the UI to freeze. 2022-04-26 17:49:07 +02:00
Stian Grenborgen e2356d8f9c Changing SF-logo to https in order to avoid mixed content. 2022-04-26 08:39:18 +02:00
Mike Pope 333b2c48a5 Cosmetic javadoc. 2022-04-26 13:37:46 +09:30
Mike Pope 4f3e50a833 Tidy up with Coronado. 2022-04-26 11:01:40 +09:30
translatewiki.net 9cc752f9ac Localisation updates from https://translatewiki.net. 2022-04-25 13:04:24 +02:00
Mike Pope 880f6cb236 Allow end turn panel to work again. 2022-04-25 15:45:27 +09:30
Mike Pope cb682cb1dd Restore reconnect confirmation box. 2022-04-25 15:02:01 +09:30
Mike Pope a871c56ddb Reduce random tax raises in line with new data of PF#71. 2022-04-25 13:30:46 +09:30
Stian Grenborgen cea97dfb2d Deselect the active unit before ending the turn. This avoids jumping between animated units and the active unit while watching the other players move. 2022-04-24 14:55:26 +02:00
Stian Grenborgen 6c4dee3eda Quick-and-dirty fix for scaling pure-text tooltips. 2022-04-24 13:56:32 +02:00
Stian Grenborgen 519f694c32 Cancelling the game in the StartGamePanel now works. Previously two NewPanels were opened, and the application freezed if a new game was started. 2022-04-24 13:01:23 +02:00
Mike Pope fcd1d5c914 Cosmetic javadoc. 2022-04-24 20:06:28 +09:30
Mike Pope b3c08db7fd Prevent another event dispatch crash. 2022-04-24 18:57:43 +09:30
Mike Pope 4832bb2532 Oops left trace print in. 2022-04-24 18:51:00 +09:30
Mike Pope 0dffd8793e Teach scouting AI units to disembark before speaking to the chief, BR#3228,3247. 2022-04-24 18:28:56 +09:30
Stian Grenborgen b7872e6b5f Fixes video playback on system without a space in "java.vendor". This is a workaround for a bug in Cortado. 2022-04-24 09:55:33 +02:00
Stian Grenborgen 2c6b0a7a12 Adding the old hill and mountain graphics back to the game before our next release. The reason being that we need more variations (and possibly a better texture) before the new graphics look better than the old when building mountain ranges. 2022-04-24 09:24:06 +02:00
Stian Grenborgen f7c129738b Reduces the number of messages that pop up at the same time. 2022-04-24 09:10:55 +02:00
Stian Grenborgen 2e34193e4f Improves display of maps in map generator options. Adds a button for removing the imported map. Selects a sensible optiongroup when clicking on a generator/map button. 2022-04-24 08:58:38 +02:00
Mike Pope 0353836d7f Make sure async dialog invocation is in the event dispatch thread. 2022-04-24 16:06:39 +09:30
Mike Pope 260bfb1b2c Prevent crash in emigration dialog handling. 2022-04-24 15:09:00 +09:30
Mike Pope c9eedcf155 Again, checkREFDefeat improvements, BR#3246. 2022-04-24 10:33:18 +09:30
Mike Pope 6621e7e089 Bump to java 11. 2022-04-24 09:10:51 +09:30
Stian Grenborgen 01b5a1d1ab Scales the row height based on the font. Disallows reordering since it produces visual artifacts. 2022-04-23 16:04:36 +02:00
Stian Grenborgen 2e47bab6ce Allow the start game panel to be resized. 2022-04-23 16:03:53 +02:00
Stian Grenborgen 2cc96709f3 Fixes sorting of tile improvements. Bonus resources are now displayed above the river graphics. 2022-04-23 14:49:30 +02:00
Stian Grenborgen fcf58e431b Using fish bonus resource image from Misiulo's mod. Using the image for scale 256x128 -- so the image appears smaller than in the mod. 2022-04-23 14:22:20 +02:00
Stian Grenborgen 752845c44f Resource loading with mods has now been fixed. Resources are reloaded when changing the active mods. Added a debug option for reloading resources from disk (great for testing new ingame graphics). 2022-04-23 13:51:23 +02:00
Stian Grenborgen 368d8518d7 Creating higher resolution versions of the borders, and apply scaling to them. The new borders are still work-in-progress, but good enough (TM). 2022-04-23 10:41:36 +02:00
Stian Grenborgen 47f2fbd763 Avoids NPE when selecting unit type with count 0. Fixes problem where content disappears when the panel gets resized. 2022-04-22 17:31:41 +02:00
Stian Grenborgen ce57704eff Makes the main menu unresizable. 2022-04-21 21:00:50 +02:00
Stian Grenborgen 6883a2089e Fixes rendering and scaling issues on Windows. 2022-04-21 17:55:56 +02:00
translatewiki.net 6877d359d3 Localisation updates from https://translatewiki.net. 2022-04-21 13:04:39 +02:00
Stian Grenborgen 79ea99a460 Fixes scaling of checkbox without requiring a restart. 2022-04-21 07:11:48 +02:00
David Lewis 90d8b8dac0 Add basicBuildings mod 2017-08-06 10:05:32 -07:00
2341 changed files with 123583 additions and 13107 deletions

11
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,11 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
** Please report bugs to SourceForge **
https://sourceforge.net/p/freecol/bugs/

View File

@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

102
.github/workflows/build-manual.yml vendored Normal file
View File

@ -0,0 +1,102 @@
name: Create Release Packages
on:
workflow_dispatch:
inputs:
release_tag:
description: 'Release tag (tag/sha/branch)'
required: true
type: string
release_version:
description: 'Release version (x.y.z)'
required: true
type: string
jobs:
build_linux:
name: Linux Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.release_tag }}
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Run tests
shell: bash
run: |
ant -noinput -buildfile build.xml testall
- name: Install pdflatex
shell: bash
run: |
sudo apt-get install -y texlive-latex-base texlive-latex-recommended texlive-latex-extra
- name: Build artifacts
shell: bash
run: |
ant -noinput -buildfile build.xml -Dfreecol.version=$FREECOL_VERSION dist
env:
FREECOL_VERSION: ${{ github.event.inputs.release_version }}
- uses: actions/upload-artifact@v3
with:
name: Linux-packages
path: dist/
build_windows:
name: Windows Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.release_tag }}
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '19'
- name: Build artifacts
shell: cmd
run: |
ant -noinput -buildfile build.xml -Dfreecol.version=%FREECOL_VERSION% -Dprint.manual.is.up.to.date=true -Dprint.devmanual.is.up.to.date=true win-complete-installer
env:
FREECOL_VERSION: ${{ github.event.inputs.release_version }}
- uses: actions/upload-artifact@v3
with:
name: Windows-packages
path: dist/releases/
build_mac:
name: Mac Build
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.release_tag }}
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '19'
- name: Build artifacts
shell: bash
run: |
ant -noinput -buildfile build.xml -Dfreecol.version=$FREECOL_VERSION -Dprint.manual.is.up.to.date=true -Dprint.devmanual.is.up.to.date=true mac-complete-installer
env:
FREECOL_VERSION: ${{ github.event.inputs.release_version }}
- uses: actions/upload-artifact@v3
with:
name: Mac-packages
path: dist/releases/

37
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: Build
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Run tests
shell: bash
run: |
ant -noinput -buildfile build.xml testall
- name: Build artifacts
shell: bash
run: |
ant -noinput -buildfile build.xml nightly-release
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
dist/releases/*

9
.gitignore vendored
View File

@ -16,8 +16,15 @@ nbproject
FreeCol.log
FreeCol*.jar
src/*.MF
build/
build/installer/
build/net/
doc/specification_*.html
doc/*.aux
doc/*.idx
doc/*.log
doc/*.out
doc/*.pdf
doc/*.toc
dist/
a/
b/

View File

@ -1,66 +1,292 @@
## FreeCol 0.12.0 (Unreleased) ##
## FreeCol 1.2.0 (In development) ##
### Developer issues ###
All savegames from 0.12.0 and up should continue working with 1.2.0.
* **Java 8 is required to build FreeCol.**
* Resource keys for same images in different resolution can now be added to support higher resolution images when zooming or using --gui-scale option.
* All client-server interaction now *must* be asynchronous, as askExpecting() has been removed.
* DOM is gone, and there was much rejoicing.
### Graphics ###
* Massive redesign of the colony panel with background images and other styling
* A new styling for the top menu bar with better contrast. This includes changes like showing the top level menus in a button like style.
* New styling for radio and checkbox buttons.
* The face of Peter Minuit now has more realistic coloring.
### Common problems ###
### Performance ###
* Improved rendering performance, and especially when scrolling or moving units.
* Allow to run FreeCol with only 512MB memory. Please keep in mind that 2GB is still needed for higher resolution, smoother scroll and high rendering quality.
* Better handling of memory -- for example prioritized automatic clearing of caches when running low on memory.
* Java 7 is no longer receiving active support, therefore the previous version of FreeCol switched to using Java 8 which is the currently supported release. This hopefully fixed the problems that many Mac users have been experiencing. If FreeCol 0.12.0 fails to run, check first if your installed Java libraries are up to date.
### Rule Changes ###
* Adding the four extra nations to the classic ruleset. These nations are deactivated by default. Having them as a part of the classic ruleset make it easier to play a game with the classic rules, while still having additional players.
* Bugfix: Fixed a bug that made native settlements be scattered all over the map instead of being grouped by nation (this happened mostly on small maps).
* Bugfix for "Shippable wagons mod": Wagon trains can now be built when the shippable wagons mod has been enabled.
### User Interface ###
* The mapboard scrolling is now much smoother and supports pixel-by-pixel scrolling.
* Allowing scrolling past the borders of a map so that edge tiles can also be placed in focus.
* It's now possible to use 75% display scaling. This can be used when playing on very small screens where fixed size dialogs would otherwise be larger than the screen.
* The warehouse dialog can now be resized.
* Focus is now changed on the mapboard with a single mouse click.
* Unit dragging can now only be started by clicking on the unit (in order to reduce the likelyhood of accidental goto-orders). In addition, the drag can now be started for units that are currently not the active unit.
* The active unit is kept when opening a colony panel.
* The colony panel now works better on small screens.
* The build queue is no longer displayed when clicking on other buildings than the carpenter type of buildings.
* The colony panel can now be more easily dragged by clicking-and-dragging almost anywhere on the colony panel's open spaces.
* Various fixes and a new visualization of goto-paths.
* Buildings are now randomly distributed in the colony based on the available space, and can be of different sizes.
* The panel showing the signing of the Declaration of Independence is now made larger on bigger screens.
* Panels can now cover the entire mapboard area (this is needed for very small screens in order to show all content).
* The confirm declaration dialog now fits on small screen.
* Bugfix: Fixes hidden OK-button in the Colopedia on small screens.
* Bugfix: The height of a colony building no longer changes when a worker is added.
* Bugfix: Lots of small rendering differences between different systems (DPI and OS) have been fixed.
* Bugfix: Caps the automatic font size at no more than 25% larger than the current scaleFactor.
* Bugfix: Hides the display of the "option only"-nation type from the start game panel
* Bugfix: Fixes the tab order on the new game panel.
### Map Editor ###
* Allow the minimap and other map controls to be resized in the map editor.
* The areas for native nations can now be defined in the map editor. These areas mark the allowed locations for native settlements for each nations. Overlapping areas are allowed, since proper distance between native settlements are still checked, and can be used for having a random element to the overlap/size of each nation. In addition, it's still possible to define specific settlements that will be used if "Import settlements" is checked when starting a new game.
* The starting areas for European nations can now be defined in the map editor. A random tile in each nation's starting area is used when starting a new game. The areas may overlap.
* Unit order buttons are now hidden when in the map editor.
* Bugfix: Fixes a bug where map width was used for height, and the other way around, when scaling a map in the map editor.
* Bugfix: A new game is now always loaded before importing or generating a new map. This fixes lots of issues caused by stuff from the old map leaking into the new one.
### AI/computer players ###
* Bugfix: Fixed a bug that prevented the REF computer player (AI) from completing its turn.
* Bugfix: Fixed a bug preventing the REF from surrendering.
* Bugfix: Fixed a bug where the AI sometimes sent ships back and forth to Europe without doing anything.
### Mod development ###
* Adding an empty image resource file (resource:image.empty) to be used for replacing images with empty space.
* Mods can now reference abstract types from the base rule without extending a specific base rule.
* Added "preserve-attributes" that, if true, preserves the attributes of a specification element. This simplifies changing only the subelements. Please note that any "extends" attribute still needs to be repeated since this attributes changes the subelements.
* The game now displays mod initialization errors to the user in the new game and start game dialogs.
* An exception is now thrown if a referenced type is used before it's defined.
## FreeCol 1.1.0 (May 7, 2023) ##
All savegames from 0.12.0 and up should continue working with 1.1.0.
### Music ###
* New track: El Dorado
* New track: Free Colonist
* New track: Lost City
* New track: Rainy Day
* New track: Royal Troops
* New track: Wagon Wheels
* Updated the old tracks with new updated versions.
### Graphics ###
* New graphics for hills and mountains.
* The standard panel background image is now both brighter and without obvious tiling artifacts on larger screens.
### Rule changes ###
* Jesuit Missionary can now recommision itself in colonies without a church.
* Added the mod "Hitpoints and Combat" that adds hitpoints and ranged combat to the game.
### Map Generator ###
* Great rivers (ocean like, navigable by ships only) are no longer generated by default, but can still be generated if enabled using the Map Generator Options.
* The number of rivers generated can now be properly controlled using the "Number of rivers" map generator option even when changing map sizes and/or amount of mountains.
* Enabled generation of rivers that are only two tiles long (the previous limit was three).
### User Interface ###
* Units in Europe are no longer included in the list of possible active units.
* Game options and Map generator options are no longer automatically saved and loaded. The default values are initially displayed for all new games.
* Panels/dialogs are now automatically resized and relocated when changing the size of the application window (including when switching between full screen and windowed mode).
* Allows the player to easily view all files while loading savegames/maps.
* The start game panel can now be resized to smaller than the initial size.
* The chat panel (start game panel in multiplayer) is now placed directly below the list of players making the dialog work better on small screens.
* The displayed occupation string on a pioneer now shows "C" for clear forest instead of "P".
### AI/computer players ###
* Greatly reduces the time needed by the AI (the wait time after ending the turn).
* The AI now gets less benefits on lower difficulty levels to make everything easier.
* Escort unit missions are now immediately aborted if the protected unit gets destroyed.
* More efficient transportation of goods and units (better utilization of the capacity of ships and wagon trains).
* The AI now produces fewer and better colonies.
### Mod development ###
* Allow mods to be loaded when making maps in the map editor. This allows maps to be made with new terrain types, and other resources, added by mods.
* New types of mountains and hills defined by mods are now used when generating maps. The specific type of hill/mountain is determined by the latitude.
* Partial modifications to the specification is now possible again. This fixes a regression introduced in 0.11.x that prevented the "partial" flag from working.
* Mods can now define new order buttons (and have them applied without having to restart the game).
* Bugfix: Mods are no longer loaded twice (thereby causing varius problems in the colony panel and other places when modifications were made).
* Bugfix: Units that are not available to a player can now be captured if a valid "unit-change" exist.
### Bug fixes ###
* Fixed a bug that caused the same maps always being generated when starting a new game.
* Fixes game hangs on end turn in some specific cases.
* Fixed scaling and placement of goods production icons on colony tiles.
* A unit in a building is no longer drawn at the top of the building (that is, the area for showing goods production) if the production is zero.
* Sound effects are now properly played when attacking.
* Fixed a bug that prevented the map shortcut buttons on the Map Generator dialog from working properly. The bug caused the button to have no effect the first time it was clicked after restarting the application.
* Fixed an issue that sometimes prevented mods from being deactivated in the Preferences.
* The game now fails gracefully if the server cannot be started. This prevents an application freeze when failing to start a new game or failing to load a savegame.
* Revenge mode is now working again.
* Fixes an issue that allowed a malicious client (in a multiplayer game) to attack with a unit that had no moves left.
* The "Train" panel in Europe now has five columns of unit buttons instead of just three.
* Fixes a bug that sometimes stopped trade routes / goto orders from working. For example, this happened if there was a lost city rumor in the search area of a wagon train on a trade route.
* Fixes activation of tile improvement actions (like "Plow") after reconnecting.
* Allows the founding father selection to be postponed without an error message.
* Fixed a bug that sometimes prevented the map from being redrawn properly after a unit move/attack animation.
* Highscores can now be stored and displayed again.
## FreeCol 1.0.0 (January 2, 2023) ##
On this very day, 20 years ago, we made the first public release of FreeCol. Our releases have until now been marked as alpha/beta even though the number of downloads for our game has long been counted in the millions.
We are extremely proud to finally announce FreeCol 1.0.0!
All 0.12.0 and 0.13.0 games should continue to work with 1.0.0.
### User-visible changes since 0.13.0-release ###
#### Graphics ####
* New nation specific colony graphics.
* New forest graphics
* New graphics for deserts.
* New transitions between the base tiles.
* Minor changes to other graphics.
#### Rule changes ####
* Major changes to the tile goods production so that the actual values matches the original game.
#### Mod development ####
* It's now possible to define nation specific unit types that can be recruited and purchased in Europe.
* Added tools for easily making new base tiles from a single tiling texture.
* A bug that prevented certain images from being overridden by mods has been fixed.
#### AI/computer players ####
* The AI now chooses better locations when constructing colonies, and also avoid placing the colonies too close to one another.
* The AI colony development and expansion have been improved.
* The AI can now construct docks.
* More efficient transportation of goods.
* The AI can now buy units from Europe without cheating.
* The computer players will now use more advanced tactics when defending and attacking.
* The AI no longer defends its colonies with scouts.
* Adding a new escort mission for protecting units. This mission is used for dragoons that are escorting artillery when attacking.
* National advantages will now change how the AI utilizes its military units. For example, the conquest advantage (spanish) will make the player focus on destroying the natives.
* The AI will no longer equip specialists (like Elder Statemen) with muskets.
* AI ships should no longer get stuck outside native settlements.
#### Bugfixes ####
* Several bugs that might cause the game to crash have been fixed (for example when all settlements of a native player was destroyed).
* Fixed several issues with goto-orders that made the game hang after end of turn.
* Fixed several issues that forced a server reconnect.
* Fixed leaking file descriptors that crashed the game on Windows.
* Reduces the amount of jumping around on the map while animating the moves of enemy units.
* Accelerator keys can now be changed, saved and loaded in the preferences.
* It's now possible to add the same goods multiple times to the same stop in the trade route panel.
* Fixes the scaling of several different panels (preferences).
* Scrolling on the map should now be smoother.
* Units should no longer have their graphics clipped on the map.
* Smoother playback of audio.
* The colony panel is now properly updated when clearing the speciality of a worker.
* Recursive autosave directories should no longer be created.
* Several text template fixes.
* Lots of other minor bugfixes.
#### Other changes ####
* The escape key can now be used to close most panels.
* There are now separate volume sliders for music and sound effects.
* Added a mod where basic buildings (level 1) needs to be constructed (except Town Hall and Carpenter's house).
* Added a mod for having 19th century nations.
* Treasure trains are now displayed in the cargo report panel.
* A malfunctional AI should no longer stop the game.
* Better handling of severe errors like out-of-memory and stack-overflow.
* Translation updates (a total of 5191 translation strings updated in 53 different languages).
## FreeCol 0.13.0 (July 9, 2022) ##
The FreeCol team are pleased to announce the release of FreeCol 0.13.0. All 0.11.x (x != 4) and 0.12.0 games should continue to work with 0.13.0, but not vice versa.
We hope you enjoy FreeCol 0.13.0. Onward to 1.0.
The FreeCol Team
### User-visible changes since 0.12.0-release ###
* In-game music by Alexander Zhelanov.
* New skins for the minimap and the unit info panel.
* New animated rivers.
* Major river tiles now gets the minor river production bonus twice.
* The rendering performance has been improved.
* Rendering quality can now be modified using a new option in the Preferences.
* More high resolution versions of existing images have been added.
* Better support for screens with low resolution.
* Adding two new mods for changing the skins for the minimap and the unit info panel.
* Multiplayer savegame loading has been fixed.
* Over 30 bugs fixed.
## FreeCol 0.12.0 (May 1, 2022) ##
The FreeCol team are pleased to announce the release of FreeCol 0.12.0. Its been a while. All 0.11.x (x != 4) games should continue to work with 0.12.0, but not vice versa.
We hope you enjoy FreeCol 0.12.0. Onward to 1.0.
The FreeCol Team
### Java Platform ###
FreeCol requires Java 11 at minimum. Java 11 is a "Long Term Support" release, but later releases are also known to work.
#### Mac OS ####
Running FreeCol in Full-screen mode on OSX is known to be problematic and may not work.
Running FreeCol in Full-screen mode on OSX is known to be problematic and may not work well. As far we can tell this is due to a problem with the Java there, which we are unable to fix.
#### Older Mods ####
Old saved games that use old versions of the mods may lose functionality with the new release. Most of the packaged mods should continue to work (there are known problems with "convertUpgrade"). New games using the updated mods will work.
### User-visible changes since 0.11.6-release ###
#### New Features ####
#### New features ####
* A number of higher resolution images for units, goods and more have been added to the game.
* A unit may now be ordered to go to an unexplored tile, as long as there is an adjacent explored tile that the unit can reach (without requring transport).
* Display of European prices in several dialogs [IR#43](https://sourceforge.net/p/freecol/improvement-requests/43), from Brian Kim, Louise Zhang, Seongmin Park and Michael Jeffers,
* Move all goods with a hot key [IR#199](https://sourceforge.net/p/freecol/improvement-requests/199/) from Brian Kim, Louise Zhang, Seongmin Park and Michael Jeffers.
* Easier river editing in map editor through separate options for adding/removing and changing the river style.
* Major graphics rework
* New tile and building images from Misiulo
* Support for high-DPI screens, customizable font size and high resolution versions of existing graphics
* Support for animations, smooth map scrolling and other improvements to the graphics engine
* Many new maps, from Euzimar, piotrus, Mazim, organized by Blake
* A huge expansion of the name lists (regions, ships, colonies) from Marcin
* A unit may now be ordered to go to an unexplored tile, as long as there is an adjacent explored tile that the unit can reach (without requring transport)
* Display of European prices in several dialogs [IR#43](https://sourceforge.net/p/freecol/improvement-requests/43), from Brian Kim, Louise Zhang, Seongmin Park and Michael Jeffers
* Move all goods with a hot key [IR#199](https://sourceforge.net/p/freecol/improvement-requests/199/) from Brian Kim, Louise Zhang, Seongmin Park and Michael Jeffers
* Easier river editing in map editor through separate options for adding/removing and changing the river style
* There are now separate options controlling movement speed of your units, other friendly nation units, and other hostile nation units (formerly just your units and other nation units)
* Over 150 bugs fixed
#### Improvements ####
#### Other improvements ####
* Added tool tip to explain the last sale price annotation on the native settlement panel
* Added "About FreeCol" button to the opening menu screen [IR#15](https://sourceforge.net/p/freecol/improvement-requests/15/)
* Added option to disable / enable region naming dialog. [IR#222](https://sourceforge.net/p/freecol/improvement-requests/222)
* Images of native converts who become dragoons or scouts retain ethnicity, [BR#3086](https://sourceforge.net/p/freecol/bugs/3086).
* Game options added to adjust trade bonus for native alarm. [BR#3092](https://sourceforge.net/p/freecol/bugs/3092/)
#### Bug Fixes ####
* Fixed scout with goto-orders looping at lost city rumours, and broken messages following exploration of "strange mounds", [BR#2932](https://sourceforge.net/p/freecol/bugs/2932)
* "slowed by" message no longer reveals enemy privateer nation, [BR#2933](https://sourceforge.net/p/freecol/bugs/2933)
* The most recently arrived carrier is selected by default when the Europe panel is displayed, [BR#2941](https://sourceforge.net/p/freecol/bugs/2941)
* Various path finding fixes with middle-click gotos, [BR#2943](https://sourceforge.net/p/freecol/bugs/2943), [BR#2944](https://sourceforge.net/p/freecol/bugs/2944), [BR#2980](https://sourceforge.net/p/freecol/bugs/2980).
* Abandoning an improvement no longer corrupts the work of other pioneers also working on the same improvement, [BR#2946](https://sourceforge.net/p/freecol/bugs/2946).
* Trying to overfill a unit with goods in Europe now just does nothing (like other such cases) and does not provoke the "server can not do that" message [IR#214 but really a bug](https://sourceforge.net/p/freecol/improvement-requests/214/)
* Custom options were broken, again, [BR#2948](https://sourceforge.net/p/freecol/bugs/2948).
* Fixed bad "trade refused" message, [BR#2950](https://sourceforge.net/p/freecol/bugs/2950).
* deSoto and scouts could desynchronize the map, [BR#2953](https://sourceforge.net/p/freecol/bugs/2953).
* Bad turn number when sailing from Europe, [BR#2955](https://sourceforge.net/p/freecol/bugs/2955).
* Suppress bogus payment listing when dumping in Europe, [BR#2956](https://sourceforge.net/p/freecol/bugs/2956).
* Suppress bogus colony abandonment warning when spying, [BR#2957](https://sourceforge.net/p/freecol/bugs/2957).
* Drop carried goods when a brave is captured, [BR#2958](https://sourceforge.net/p/freecol/bugs/2958).
* Fix colony tile ownership inconsistency, [BR#2963](https://sourceforge.net/p/freecol/bugs/2963).
* Clickable link problems, [BR#2965](https://sourceforge.net/p/freecol/bugs/2965).
* Correctly update after feature change (such as goods party), [BR#2966](https://sourceforge.net/p/freecol/bugs/2966).
* Problems using units that have exhausted their moves, [BR#2968](https://sourceforge.net/p/freecol/bugs/2968).
* Slight clarification of unattended production modifiers, [BR#2973](https://sourceforge.net/p/freecol/bugs/2973).
* Stop accumulating colonies in classic colony report, [BR#2974](https://sourceforge.net/p/freecol/bugs/2974).
* Many Col1-compatibility checks and bugfixes with tile and building production with help from Lone_Wolf, [BR#2978](https://sourceforge.net/p/freecol/bugs/2978), [BR#2979](https://sourceforge.net/p/freecol/bugs/2979), [BR#2981](https://sourceforge.net/p/freecol/bugs/2981).
* New versions of the national anthems and addition of the missing ones, from CalebRW.
* Problems with selecting from multiple wagons in the build queue [BR#2014](https://sourceforge.net/p/freecol/bugs/2014), fixed by Lars Willemsens.
* Problems with auto-save cleanup [BR#1307](https://sourceforge.net/p/freecol/bugs/1307), fixed by Lars Willemsens.
* Various fixes to the map editor including smaller dialog for changing river styles [BR#2926](https://sourceforge.net/p/freecol/bugs/2926).
* Layout of Warehouse Panel got improved to better fit inside the minimum supported resolution [BR#3033](https://sourceforge.net/p/freecol/bugs/3033), contributed by Jonas Stevnsvig.
* Seasoned Scouts no longer disappear at LSR's according to Col1 and no longer increase negative results. [BR#3093](https://sourceforge.net/p/freecol/bugs/3093/)
* Delivering gifts to Natives has a stronger effect on reducing native alarm. [BR#3092](https://sourceforge.net/p/freecol/bugs/3092/)
### Developer issues ###
* **Java 11 is required to build FreeCol.**
* Resource keys for same images in different resolution can now be added to support higher resolution images when zooming or using --gui-scale option.
* DOM is gone, and there was much rejoicing.
## FreeCol 0.11.6 (October 16, 2015) ##
@ -216,4 +442,4 @@ but rejected suggested colony names are now recycled.
- Large message renaming for consistency and ease of checking.
- Nation options now have a distinct tag that does not rely on capitalization.
- Other serialization naming consistency fixes.
- Added --headless command line option.
- Added --headless command line option.

View File

@ -42,8 +42,6 @@ image of what Colonization 2 would have been.
#### Supports Mac OS X, Windows, and Linux
Current stable release is _0.11.6_, since this release, there has been a complete code overhaul over the last 2 years, and we are nearing a stable release (0.12.0)
The latest binary releases are created weekly and contain Mac OS X, Windows, and Linux installers.
* See: [Weekly Releases](https://github.com/FreeCol/freecol/releases)
@ -69,5 +67,10 @@ Build the latest version of the code by running:
ant
```
Requires Java 9, Ant, and Java SDK to build.
Requires Java 11, Ant, and Java SDK to build.
## License
The source code is licensed under the GPL v2. Most of the content, like artwork, music and sound effects, are also licensed under GPL v2. Some of the content is licensed using CC BY 4.0. Please refer to the README file in the same directory as the included content for more details.

View File

@ -2,12 +2,16 @@
## Supported Versions
| Version | Supported |
| ------- | ------------------ |
| Version | Supported |
| ---------- | ------------------ |
| 1.1.0 | :white_check_mark: |
| 1.0.0 | :white_check_mark: |
| 0.13.0 | :white_check_mark: |
| 0.12.0 | :white_check_mark: |
| 0.11.7-dev | :white_check_mark: |
| 0.11.6 | :white_check_mark: |
| < 0.11.6 | :x: |
| 0.11.6 | :white_check_mark: |
| < 0.11.6 | :x: |
## Reporting a Vulnerability
Email freecol-developers@lists.sourceforge.net for any major security vulnerabilities.
Email abuse@freecol.org for any major security vulnerabilities.

View File

@ -1,11 +1,13 @@
#! /bin/sh
# Upload the website
#
# Default is to upload what changed recently, with -g from a specific commit.
# -a just uploads all of it.
# Former default is to upload what changed recently, with -g from a
# specific commit. -a just uploads all of it. But with the jekyll
# stage, we can not reliably tell what has changed, so now defaulting to
# full upload.
#
set -xv
MODE=prev
#set -xv
MODE=all
while test "x$1" != "x" ; do
case "x$1" in
"x-a")
@ -26,14 +28,24 @@ if test "x$USERNAME" = "x" ; then
exit 1
fi
WEBDIR=www.freecol.org
if test ! -d "$WEBDIR" ; then
echo "run from the top of the source tree, $WEBDIR should be a subdirectory" >&2
exit 1
fi
# Build the website
(cd "$WEBDIR" ; jekyll build) || exit $?
if test "x$MODE" = "xall" ; then
{
echo "cd /home/project-web/freecol/htdocs"
find www.freecol.org -type f -print \
| sed -e 's|^www.freecol.org/\(.*\)$|put \1 \1|'
} | (cd "$WEBDIR" ; sftp $USERNAME,freecol@web.sf.net)
find "$WEBDIR/_site" -type f -print \
| sed -n -e "s|^$WEBDIR/_site/"'\(.*\)$|put \1 \1|p'
} | (cd "$WEBDIR/_site" ; sftp $USERNAME,freecol@web.sf.net)
else
echo "incremental mode disabled" >&2
exit 1
if test "x$MODE" = "xprev" ; then
PREV=`git log --pretty=oneline "$WEBDIR" | sed -n -e '2s/^\([^ ]*\).*$/\1/p'`
else
@ -41,6 +53,6 @@ else
fi
{
echo "cd /home/project-web/freecol/htdocs"
git diff --name-only "$PREV" HEAD -- "$WEBDIR" | sed -e 's|^[^/]*/\(.*\)$|put \1 \1|p'
} | (cd "$WEBDIR" ; sftp $USERNAME,freecol@web.sf.net)
git diff --name-only "$PREV" HEAD -- "$WEBDIR" | sed -n -e 's|^[^/]*/\(.*\)$|put \1 \1|p'
} | cat #(cd "$WEBDIR" ; sftp $USERNAME,freecol@web.sf.net)
fi

78
build.xml Normal file → Executable file
View File

@ -9,7 +9,7 @@
the metaserver, distribution packages, running tests
and creating documentation.
</description>
<property name="java.target.version" value="1.9"/>
<property name="java.target.version" value="11"/>
<property name="freecol.name" value="freecol"/>
<property environment="env"/>
<property name="freecol.data.dir" value="${basedir}/data"/>
@ -28,9 +28,9 @@
value="${freecol.src.dir}/overview.html"/>
<property name="test" value="AllTests"/>
<property name="miglayout-swing.jar"
value="jars/miglayout-swing-5.0.jar"/>
value="jars/miglayout-swing-5.3.jar"/>
<property name="miglayout-core.jar"
value="jars/miglayout-core-5.0.jar"/>
value="jars/miglayout-core-5.3.jar"/>
<property name="cli.jar" value="jars/commons-cli-1.4.jar"/>
<property name="cortado.jar" value="jars/cortado-0.6.0.jar"/>
@ -387,7 +387,7 @@
<authors>
<author name="The FreeCol Team" email="developers@freecol.org" />
</authors>
<javaversion>1.9</javaversion>
<javaversion>11</javaversion>
</info>
<guiprefs width="640" height="480" resizable="no">
<laf name="looks">
@ -510,6 +510,70 @@
<jsmoothgen project="${freecol.release.dir}/installer.jsmooth"
skeletonroot="${freecol.build.dir}/skeletons"/>
</target>
<target name="win-complete-installer"
description="Builds an installer for Windows with an included JVM."
depends="initDist,prepareManual,prepareBaseFiles">
<exec executable="jpackage" dir="." >
<arg value="--input"/>
<arg file="${freecol.release.dir}/base/freecol/"/>
<arg value="--type"/>
<arg value="exe"/>
<arg value="--name"/>
<arg value="FreeCol"/>
<arg value="--dest"/>
<arg file="${freecol.release.dir}"/>
<arg value="--add-modules"/>
<arg value="java.base,java.datatransfer,java.desktop,java.logging,java.xml"/>
<arg value="--main-jar"/>
<arg value="FreeCol.jar"/>
<arg value="--win-dir-chooser"/>
<arg value="--win-menu"/>
<arg value="--win-shortcut"/>
<arg value="--arguments"/>
<arg value="--freecol-data app/data"/>
<arg value="--app-version"/>
<arg value="${freecol.version}"/>
<arg value="--icon"/>
<arg file="packaging/icons/freecol.ico"/>
</exec>
<mkdir dir="${freecol.release.dir}/releases"/>
<copy todir="${freecol.release.dir}/releases">
<fileset dir="${freecol.release.dir}" includes="FreeCol-*"/>
</copy>
</target>
<target name="mac-complete-installer"
description="Builds an installer for macOs with an included JVM."
depends="initDist,prepareManual,prepareBaseFiles">
<exec executable="jpackage" dir="." >
<arg value="--input"/>
<arg file="${freecol.release.dir}/base/freecol/"/>
<arg value="--name"/>
<arg value="FreeCol"/>
<arg value="--dest"/>
<arg file="${freecol.release.dir}"/>
<arg value="--add-modules"/>
<arg value="java.base,java.datatransfer,java.desktop,java.logging,java.xml"/>
<arg value="--main-jar"/>
<arg value="FreeCol.jar"/>
<arg value="--arguments"/>
<arg value="--freecol-data $$APPDIR/data"/>
<arg value="--app-version"/>
<arg value="${freecol.version}"/>
<arg value="--mac-package-identifier"/>
<arg value="org.freecol.FreeCol"/>
<arg value="--icon"/>
<arg file="packaging/icons/FreeCol.icns"/>
</exec>
<mkdir dir="${freecol.release.dir}/releases"/>
<copy todir="${freecol.release.dir}/releases">
<fileset dir="${freecol.release.dir}" includes="FreeCol-*"/>
</copy>
</target>
<!-- Builds a doubleclickable application bundle running on Mac OS X -->
<target name="macJavaBundle" unless="skip.dist.mac"
@ -529,8 +593,8 @@
name="FreeCol"
mainclass="${freecol.main.class}"
version="${freecol.version}"
vmoptions="-Xmx1G -Dapple.awt.fakefullscreen=true"
jvmversion="1.9+"
vmoptions="-Xmx2G -Dapple.awt.fakefullscreen=true"
jvmversion="1.11"
arguments="--windowed --freecol-data FreeCol.app/Contents/Resources/"
stubfile="${freecol.build.dir}/skeletons/universalJavaApplicationStub"
useJavaXKey="true"
@ -962,7 +1026,7 @@
<!-- This is a shortcut for NetBeans, and possibly other IDEs. -->
<target name="run" depends="package" description="Runs the game">
<java jar="FreeCol.jar" fork="true">
<jvmarg value="-Xmx1G" />
<jvmarg value="-Xmx2G" />
</java>
</target>

View File

@ -15,13 +15,13 @@
<embeddedJar>false</embeddedJar>
<executableName>freecol.exe</executableName>
<iconLocation>../packaging/icons/freecol.ico</iconLocation>
<initialMemoryHeap>134217728</initialMemoryHeap>
<initialMemoryHeap>1073741824</initialMemoryHeap>
<javaProperties>
<name>sun.java2d.d3d</name>
<value>false</value>
</javaProperties>
<mainClassName>net.sf.freecol.FreeCol</mainClassName>
<maximumMemoryHeap>536870912</maximumMemoryHeap>
<maximumMemoryHeap>2147483647</maximumMemoryHeap>
<maximumVersion></maximumVersion>
<minimumVersion>1.8</minimumVersion>
<skeletonName>Windowed Wrapper</skeletonName>

View File

@ -13,7 +13,6 @@
type="Application"
commandLine="--windowed"
workingDirectory="$INSTALL_PATH"
categories="Application;Game;StrategyGame"
description="A turn-based strategy game based on 'Sid Meier's Colonization'."
iconFile="$INSTALL_PATH/freecol.xpm"
iconIndex="0"

View File

@ -33,6 +33,7 @@
<rangeOption id="model.option.displayScaling"
defaultValue="0" localizedLabels="true">
<rangeValue label="model.option.displayScaling.automatic" value="0"/>
<rangeValue label="model.option.displayScaling.75" value="75"/>
<rangeValue label="model.option.displayScaling.100" value="100"/>
<rangeValue label="model.option.displayScaling.125" value="125"/>
<rangeValue label="model.option.displayScaling.150" value="150"/>
@ -53,7 +54,18 @@
<!-- Use XRender or not? -->
<booleanOption id="model.option.useXRender"
defaultValue="true"/>
<booleanOption id="model.option.useTerrainAnimations" defaultValue="true"/>
<rangeOption id="model.option.graphicsQuality"
defaultValue="20" localizedLabels="true">
<rangeValue label="clientOptions.gui.graphicsQuality.lowest" value="0"/>
<rangeValue label="clientOptions.gui.graphicsQuality.low" value="10"/>
<rangeValue label="clientOptions.gui.graphicsQuality.normal" value="20"/>
<rangeValue label="clientOptions.gui.graphicsQuality.high" value="30"/>
<rangeValue label="clientOptions.gui.graphicsQuality.highest" value="40"/>
</rangeOption>
<!-- Animation speed for our units. -->
<rangeOption id="model.option.moveAnimationSpeed"
defaultValue="3" localizedLabels="true">
@ -144,14 +156,7 @@
defaultValue="false"/>
<!-- Whether to display the map controls by default or not. -->
<booleanOption id="model.option.displayMapControls"
defaultValue="true"/>
<!-- What type of map controls, corner or classic? -->
<stringOption id="model.option.mapControls"
defaultValue="clientOptions.gui.mapControls.CornerMapControls">
<choice value="clientOptions.gui.mapControls.CornerMapControls"/>
<choice value="clientOptions.gui.mapControls.ClassicMapControls"/>
</stringOption>
defaultValue="true"/>
<!-- Draw the fog of war on the minimap. -->
<booleanOption id="model.option.miniMapToggleFogOfWar"
defaultValue="true"/>
@ -359,9 +364,15 @@
<!-- Which mixer to use by default. -->
<audioMixerOption id="model.option.audioMixer"
defaultValue="AUTO" />
<!-- The default volume percent. -->
<percentageOption id="model.option.audioVolume"
<!--The music volume -->
<percentageOption id="model.option.musicVolume"
defaultValue="100" previewEnabled="true"/>
<!--The sound effects volume -->
<percentageOption id="model.option.soundEffectsVolume"
defaultValue="100" previewEnabled="true"/>
<!-- Play an alert sound on message arrival. -->
<booleanOption id="model.option.audioAlerts"
defaultValue="false"/>

View File

@ -1,6 +1,7 @@
## Colors
color.background.MiniMap=urn:color:0x000000
color.border.MiniMap=urn:color:0xffffff
color.carrier.selected=urn:color:0x957357
# used in FreeColLookAndFeel
color.primary1.LookAndFeel=urn:color:0x7a6d52
color.backgroundSelect.LookAndFeel=urn:color:0xfff4c3
@ -27,6 +28,7 @@ animatedfont.signature=resources/fonts/signature.faf
## Images
# Backgrounds
image.empty=resources/images/empty.png
image.background.Paper=resources/images/ui/bg_paper.png
image.background.ColorCellRenderer=resource:image.background.Paper
image.background.FreeColBrightPanel=resources/images/ui/bg_paper_bright.png
@ -35,9 +37,11 @@ image.background.FreeColButton=resources/images/ui/bg_button.png
image.background.MainPanel=resources/images/ui/bg_brown.png
image.background.AboutPanel=resources/images/ui/bg_brown.png
image.background.ColopediaPanel=resources/images/ui/bg_brown.png
image.background.ColonyPanel=resources/images/ui/bg_paper_brown.png
image.background.FreeColList=resource:image.background.Paper
image.background.FreeColMenuBar=resources/images/ui/bg_brown.png
image.background.FreeColMenuBar=resources/images/ui/bg_menubar.png
image.background.FreeColMenu=resources/images/ui/bg_paper_brown.png
image.background.FreeColOptionPane=resource:image.background.Paper
image.background.FreeColPanel=resource:image.background.Paper
image.background.FreeColPopupMenu=resource:image.background.Paper
@ -46,7 +50,15 @@ image.background.FreeColTextArea=resource:image.background.FreeColBrightPanel
image.background.FreeColTextField=resource:image.background.FreeColBrightPanel
image.background.FreeColToolTip=resource:image.background.Paper
image.cargohold.available=resources/images/ui/cargohold.png
image.cargohold.unavailable=resources/images/ui/cargohold-unavailable.png
image.colony.docks.background=resources/images/ui/colonydocks.png
image.colony.docks.sky.background=resources/images/ui/colonydocks-sky.png
image.colony.warehouse.background=resources/images/ui/warehouse-bg.png
image.colony.upperRight.background=resources/images/ui/colony-upper-right-bg.png
# Borders
#image.border.menu.s=resource:image.empty
image.border.menu.s=resources/images/ui/menuborder.png
image.border.panel.noshadow.n=resources/images/ui/panelborder-noshadow-n.png
@ -85,8 +97,74 @@ image.border.button.simple.ne=resources/images/ui/simplebuttonborder-ne.png
image.border.button.simple.sw=resources/images/ui/simplebuttonborder-sw.png
image.border.button.simple.se=resources/images/ui/simplebuttonborder-se.png
image.border.wooden.n=resources/images/ui/border/wooden/woodenborder-n.png
image.border.wooden.w=resources/images/ui/border/wooden/woodenborder-w.png
image.border.wooden.e=resources/images/ui/border/wooden/woodenborder-e.png
image.border.wooden.s=resources/images/ui/border/wooden/woodenborder-s.png
image.border.wooden.nw=resources/images/ui/border/wooden/woodenborder-nw.png
image.border.wooden.ne=resources/images/ui/border/wooden/woodenborder-ne.png
image.border.wooden.sw=resources/images/ui/border/wooden/woodenborder-sw.png
image.border.wooden.se=resources/images/ui/border/wooden/woodenborder-se.png
image.border.colonyWarehouse.n=resources/images/ui/border/wooden/woodenborder-n.png
#image.border.colonyWarehouse.w=resources/images/ui/border/wooden/woodenborder-w.png
image.border.colonyWarehouse.e=resources/images/ui/border/wooden/woodenborder-e.png
#image.border.colonyWarehouse.s=resources/images/ui/border/wooden/woodenborder-s.png
image.border.colonyWarehouse.nw=resources/images/ui/border/wooden/woodenborder-nw.png
image.border.colonyWarehouse.ne=resources/images/ui/border/wooden/woodenborder-ne.png
#image.border.colonyWarehouse.sw=resources/images/ui/border/wooden/woodenborder-sw.png
#image.border.colonyWarehouse.se=resources/images/ui/border/wooden/woodenborder-se.png
image.border.colony.panel.n=resources/images/ui/border/carvedwood/carvedwoodenborder-n.png
image.border.colony.panel.w=resources/images/ui/border/carvedwood/carvedwoodenborder-w.png
image.border.colony.panel.e=resources/images/ui/border/carvedwood/carvedwoodenborder-e.png
image.border.colony.panel.s=resources/images/ui/border/carvedwood/carvedwoodenborder-s.png
image.border.colony.panel.nw=resources/images/ui/border/carvedwood/carvedwoodenborder-nw.png
image.border.colony.panel.ne=resources/images/ui/border/carvedwood/carvedwoodenborder-ne.png
image.border.colony.panel.sw=resources/images/ui/border/carvedwood/carvedwoodenborder-sw.png
image.border.colony.panel.se=resources/images/ui/border/carvedwood/carvedwoodenborder-se.png
image.border.colony.panel.inner.n=resources/images/ui/border/carvedwood/carvedwoodenborder-inner-n.png
image.border.colony.panel.inner.w=resources/images/ui/border/carvedwood/carvedwoodenborder-inner-w.png
image.border.colony.panel.inner.e=resources/images/ui/border/carvedwood/carvedwoodenborder-inner-e.png
image.border.colony.panel.inner.s=resources/images/ui/border/carvedwood/carvedwoodenborder-inner-s.png
image.border.colony.panel.inner.nw=resources/images/ui/border/carvedwood/carvedwoodenborder-inner-nw.png
#image.border.colony.panel.inner.ne=resources/images/ui/border/carvedwood/carvedwoodenborder-inner-ne.png
image.border.colony.panel.inner.sw=resources/images/ui/border/carvedwood/carvedwoodenborder-inner-sw.png
image.border.colony.panel.inner.se=resources/images/ui/border/carvedwood/carvedwoodenborder-inner-se.png
image.border.colony.panel.inner.ne=resources/images/ui/border/carvedwood/carvedwood-colony-inner-ne.png
image.border.colony.panel.inner.nne=resources/images/ui/border/carvedwood/carvedwood-colony-inner-nne.png
image.border.colony.panel.inner.ene=resources/images/ui/border/carvedwood/carvedwood-colony-inner-ene.png
image.border.colony.panel.outer.n=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-n.png
image.border.colony.panel.outer.w=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-w.png
image.border.colony.panel.outer.e=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-e.png
image.border.colony.panel.outer.s=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-s.png
image.border.colony.panel.outer.nw=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-nw.png
#image.border.colony.panel.outer.ne=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-ne.png
image.border.colony.panel.outer.sw=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-sw.png
image.border.colony.panel.outer.se=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-se.png
image.border.colony.panel.outer.nnw=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-nnw.png
#image.border.colony.panel.outer.nne=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-nne.png
#image.border.colony.panel.outer.ene=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-ene.png
image.border.colony.panel.outer.ese=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-ese.png
image.border.colony.panel.outer.sse=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-sse.png
image.border.colony.panel.outer.ssw=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-ssw.png
image.border.colony.panel.outer.wsw=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-wsw.png
image.border.colony.panel.outer.wnw=resources/images/ui/border/carvedwood/carvedwoodenborder-outer-wnw.png
image.border.colony.panel.outer.ne=resources/images/ui/border/carvedwood/carvedwood-colony-outer-ne.png
image.border.colony.panel.outer.nne=resources/images/ui/border/carvedwood/carvedwood-colony-outer-nne.png
image.border.colony.panel.outer.ene=resources/images/ui/border/carvedwood/carvedwood-colony-outer-ene.png
# Interface
image.ui.button.radio=resources/images/ui/button-radio.png
image.ui.button.radio.selected=resources/images/ui/button-radio-selected.png
image.ui.checkmark=resources/images/ui/checkmark.png
image.ui.includesSpecification=resources/images/ui/includes-specification.png
image.ui.noSpecification=resources/images/ui/no-specification.png
# Cursors
image.icon.cursor.go=resources/images/ui/go.png
@ -97,13 +175,18 @@ image.mask.sw=resources/images/masks/mask-center-sw.png
image.mask.ne=resources/images/masks/mask-center-ne.png
image.mask.nw=resources/images/masks/mask-center-nw.png
image.mask.se=resources/images/masks/mask-center-se.png
image.mask.special.beach.ne=resources/images/masks/mask-special-beach_ne.png
image.mask.special.beach.sw=resources/images/masks/mask-special-beach_sw.png
# Miscellaneous
image.flavor.Canvas.map=resources/images/ui/map.jpg
image.flavor.Title=resources/images/ui/freecol2.png
image.miscicon.delete=resources/images/misc/delete.png
image.miscicon.FrameIcon=resources/images/ui/frame-icon.png
image.rangedTarget=resources/images/ui/ranged-target.png
# Order buttons
image.miscicon.button.normal.ranged=resources/images/ui/order-buttons/normal/ranged.png
image.miscicon.button.normal.wait=resources/images/ui/order-buttons/normal/wait.png
image.miscicon.button.normal.done=resources/images/ui/order-buttons/normal/done.png
image.miscicon.button.normal.fortify=resources/images/ui/order-buttons/normal/fortify.png
@ -119,6 +202,7 @@ image.miscicon.button.normal.toggle_fog_of_war=resources/images/ui/order-buttons
image.miscicon.button.normal.toggle_fog_of_war_no=resources/images/ui/order-buttons/normal/toggle_fog_of_war_no.png
image.miscicon.button.normal.toggle_view_politics=resources/images/ui/order-buttons/normal/toggle_view_politics.png
image.miscicon.button.normal.toggle_view_economic=resources/images/ui/order-buttons/normal/toggle_view_economic.png
image.miscicon.button.highlighted.ranged=resources/images/ui/order-buttons/highlighted/ranged.png
image.miscicon.button.highlighted.wait=resources/images/ui/order-buttons/highlighted/wait.png
image.miscicon.button.highlighted.done=resources/images/ui/order-buttons/highlighted/done.png
image.miscicon.button.highlighted.fortify=resources/images/ui/order-buttons/highlighted/fortify.png
@ -134,6 +218,7 @@ image.miscicon.button.highlighted.toggle_fog_of_war=resources/images/ui/order-bu
image.miscicon.button.highlighted.toggle_fog_of_war_no=resources/images/ui/order-buttons/highlighted/toggle_fog_of_war_no.png
image.miscicon.button.highlighted.toggle_view_politics=resources/images/ui/order-buttons/highlighted/toggle_view_politics.png
image.miscicon.button.highlighted.toggle_view_economic=resources/images/ui/order-buttons/highlighted/toggle_view_economic.png
image.miscicon.button.pressed.ranged=resources/images/ui/order-buttons/pressed/ranged.png
image.miscicon.button.pressed.wait=resources/images/ui/order-buttons/pressed/wait.png
image.miscicon.button.pressed.done=resources/images/ui/order-buttons/pressed/done.png
image.miscicon.button.pressed.fortify=resources/images/ui/order-buttons/pressed/fortify.png
@ -149,6 +234,7 @@ image.miscicon.button.pressed.toggle_fog_of_war=resources/images/ui/order-button
image.miscicon.button.pressed.toggle_fog_of_war_no=resources/images/ui/order-buttons/pressed/toggle_fog_of_war_no.png
image.miscicon.button.pressed.toggle_view_politics=resources/images/ui/order-buttons/pressed/toggle_view_politics.png
image.miscicon.button.pressed.toggle_view_economic=resources/images/ui/order-buttons/pressed/toggle_view_economic.png
image.miscicon.button.disabled.ranged=resources/images/ui/order-buttons/disabled/ranged.png
image.miscicon.button.disabled.wait=resources/images/ui/order-buttons/disabled/wait.png
image.miscicon.button.disabled.done=resources/images/ui/order-buttons/disabled/done.png
image.miscicon.button.disabled.fortify=resources/images/ui/order-buttons/disabled/fortify.png
@ -167,8 +253,11 @@ image.miscicon.button.disabled.toggle_view_economic=resources/images/ui/order-bu
# Skins
image.skin.MiniMap=resources/images/ui/minimap-skin.png
image.skin.InfoPanel=resources/images/ui/infopanel-skin_120.pct.png
image.skin.MiniMap.properties="minimap.x=41,minimap.y=203,minimap.width=224,minimap.height=160,politicalButton.x=22,politicalButton.y=234,fogOfWarButton.x=22,fogOfWarButton.y=270,zoomInButton.x=22,zoomInButton.y=306,zoomOutButton.x=22,zoomOutButton.y=337"
image.skin.InfoPanel=resources/images/ui/infopanel-skin.png
image.skin.InfoPanel.properties="panel.x=52,panel.y=146,panel.width=250,panel.height=138"
image.skin.compass=resources/images/ui/compass.png
## Sounds (one is needed for SoundTest)
sound.intro.general=resources/sound/intro.ogg
sound.intro.general.type="music"

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 980 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Some files were not shown because too many files have changed in this diff Show More