Commit Graph

16289 Commits

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