Commit Graph

15921 Commits

Author SHA1 Message Date
translatewiki.net ae8f327729 Localisation updates from https://translatewiki.net. 2022-01-31 13:03:44 +01:00
Mike Pope f364a0bbb1 guiShowArrived should be guiShowUnitArrived. 2022-01-28 20:35:43 +10:30
Mike Pope 038f88eabb Client options name issue. 2022-01-28 20:18:12 +10:30
Mike Pope 7ad69d2696 Move messages, warehouse and other groups to INTERFACE_GROUP. 2022-01-28 19:57:48 +10:30
Mike Pope 6880aa0a5c Update ClientOptions backward compatibility for new options and layout. 2022-01-28 14:33:48 +10:30
Mike Pope 94ac5ddb67 Backward compatibility, MAPCONTROLS_GROUP matches client-options.xml. 2022-01-28 14:30:36 +10:30
Mike Pope b6de361881 Backward compatibility, MAPVIEW_GROUP matches client-options.xml. 2022-01-28 14:15:15 +10:30
Mike Pope 7cb94c3bed ClientOptions DISPLAY_GROUP matches client-options.xml. 2022-01-28 13:59:23 +10:30
Mike Pope 6953d58f86 Backward compatibility, move LANGUAGE option to PERSONAL_GROUP. 2022-01-28 13:56:44 +10:30
Mike Pope 470a833086 Clean up client options group naming. 2022-01-28 13:42:07 +10:30
Mike Pope cc9639915a Backward compatibility for display client option group. 2022-01-28 13:30:44 +10:30
Mike Pope f77cb1db5f Small glitch in client-options.xml. 2022-01-28 13:21:09 +10:30
translatewiki.net 80c564e921 Localisation updates from https://translatewiki.net. 2022-01-27 13:04:04 +01:00
Mike Pope 2f55e3145d Fix constant for model.option.displayColonyLabels. 2022-01-27 19:36:11 +10:30
Mike Pope 557248bdd2 Quick first cut at option backward compatibility, fixing crash when the scaling option is missing. 2022-01-27 19:24:19 +10:30
Mike Pope f9e9627777 Rename defaultZoomLevel constant to be consistent. 2022-01-27 19:10:22 +10:30
Mike Pope 3120551e4f Smooth rendering option is no longer used. 2022-01-27 18:59:39 +10:30
Mike Pope e66d705a80 Do not display zero production on ColonyTiles, BR#3240. 2022-01-27 18:00:09 +10:30
translatewiki.net f1a6f55793 Localisation updates from https://translatewiki.net. 2022-01-24 13:04:43 +01:00
Stian Grenborgen 81541c93f7 Fixes problem where actions were active when panels are being displayed. This caused the actions to be executed when writing chat messages etc. 2022-01-20 17:46:27 +01:00
Stian Grenborgen 73a3a5e0a7 [#3239] Adds beaches to colony tiles again. 2022-01-20 17:42:11 +01:00
translatewiki.net 0933900865 Localisation updates from https://translatewiki.net. 2022-01-20 13:04:15 +01:00
Stian Grenborgen d64cc7f23b Stops issuing extra repaints for terrain cursor -- as it is better to repaint together with any other animation. 2022-01-18 17:50:24 +01:00
Stian Grenborgen 9c84553c5e Closes the main panel before opening it again. This fixes a bug where to main panels are displayed on top of eachother. 2022-01-18 17:50:24 +01:00
Stian Grenborgen 89c6b1ebbf Adds font scaling, and allows both UI scaling and font size to be changed using the client options.
- Determines the DPI of the current screen and sets scaling and font size accordingly.
- Allows the scaling and font size to be overridden by client options.
- IntegerOption can now specify stepSize.
- Options can now be enabled/disabled by a BooleanOption in the same group by specifying a key in "enabledBy".
- Deactivates "sun.java2d.uiScale" so that we can manually manage the scaling ourself on all OSes.
2022-01-18 17:50:24 +01:00
Calebrw f2c553169e
Merge pull request #100 from rrobgill/updatedesktop
Mark as single window application in .desktop file
2022-01-17 17:44:22 -06:00
translatewiki.net 31381371d1 Localisation updates from https://translatewiki.net. 2022-01-17 13:03:46 +01:00
Rob Gill 1484e9f9af Mark as single window application in .desktop file
SingleMainWindow is a standard .desktop entry key signaling that an app only
supports having a single one of its main window open.

https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html

Signed-off-by: Rob Gill <rrobgill@protonmail.com>
2022-01-17 10:11:41 +10:00
Stian Grenborgen 1c55490087 Reorganizing the client options by making different groups. 2022-01-16 18:42:08 +01:00
Stian Grenborgen d6aa1e9cb2 Adds missing update. 2022-01-16 18:40:22 +01:00
Stian Grenborgen ebcb964cba The map view is now properly refreshed when units move without animations. 2022-01-16 18:17:29 +01:00
Stian Grenborgen 163bc65446 Adds a utility method for determining the DPI. 2022-01-16 12:21:30 +01:00
Stian Grenborgen 9188781944 Updating the tile bounds in order to support larger images. 2022-01-16 12:12:33 +01:00
Stian Grenborgen 02a5b1cbb1 Fixes multiple issues with the server list / metaserver. These fixes are not backwards compatible. Only new versions will work with the meta server when it's up and running again.
- Renames "update", "register" and "remove" to "updateServer", "registerServer" and "removeServer". This is necessary to avoid name collision with UpdateMessage and RemoveMessage which means the meta server messages are sent without content.
- Keep sending keep alive requests to the metaserver so that the server doesn't get removed.
- Fixes reported server state.
- Using the correct host and port number for the server (the metaserver's host and port were reported instead).
2022-01-16 11:00:53 +01:00
Stian Grenborgen 3e3ddddc79 Removes unnecessary calls to refresh. Adding better documentation for repaint and refresh. 2022-01-15 15:37:12 +01:00
Stian Grenborgen 340478c317 Only mark buffer as clean if the entire screen has been updated. Adding a INFO message when repaint have not been called as it should. This should be changed into a WARNING if we can avoid getting this message during normal startup. 2022-01-15 13:33:43 +01:00
Stian Grenborgen d5566cbe89 Goto paths and chat are no longer rendered to the back buffer. Goto-dragging is now faster while the animation rendering is still more than fast enough. 2022-01-15 13:28:37 +01:00
translatewiki.net 77bf2725e9 Localisation updates from https://translatewiki.net. 2022-01-13 13:03:31 +01:00
Stian Grenborgen 3a18e10988 Removing delayed repositioning as I can see no justification for it. 2022-01-11 22:25:48 +01:00
Stian Grenborgen f1510f9829 Removing positionMap(Tile) method since positioning should only be performed by setting the focus. 2022-01-11 22:17:48 +01:00
Stian Grenborgen dae10efb80 Fixing the actual problem with setOffsetFocus: It repositioned the map without setting the focus. 2022-01-11 22:10:05 +01:00
Stian Grenborgen 2671572831 Fixes problem with repainting and offsetFocus reported in BR#3235. 2022-01-11 21:32:11 +01:00
translatewiki.net 971f8950de Localisation updates from https://translatewiki.net. 2022-01-10 13:03:05 +01:00
Stian Grenborgen 02b449d306 Fixes varius focus problems. 2022-01-09 20:53:49 +01:00
Stian Grenborgen 0ac5608503 Always display terrain cursor after stopping blinking. 2022-01-09 14:09:00 +01:00
Stian Grenborgen 02db3ff05e Next active unit no longer looses focus when animations are turned on. 2022-01-08 21:41:20 +01:00
Stian Grenborgen 1f2acf409c Fixing bug preventing the active unit from being selected. 2022-01-08 21:23:55 +01:00
Stian Grenborgen 8f4939174f Adds animated beaches. The images are generated automatically based on a single beach center tile, all the animated ocean tiles and a list of masks. There are masks for all combinations of adjacent land tiles. 2022-01-08 20:29:54 +01:00
Stian Grenborgen 99daace111 Clearing all caches, not just the low priority one, on map scale changes. On my computers, this adds a negligible delay when changing the scale yet saves massive amounts of memory. 2022-01-08 12:29:07 +01:00
Stian Grenborgen 77c0d6e35f Fixes problem with large graphics being cut when reusing old buffers. 2022-01-08 12:23:42 +01:00