Commit Graph

16689 Commits

Author SHA1 Message Date
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