Commit Graph

16503 Commits

Author SHA1 Message Date
David lewis 63f8ac740a
Move all srcdata files to new repo 2023-05-23 21:03:12 -07: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