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