Commit Graph

179 Commits

Author SHA1 Message Date
Stian Grenborgen f23fa101e1 Updating image to have more room for the production labels in the colony. 2024-01-03 22:24:24 +01:00
Stian Grenborgen 52bff796a2 Added more visualizations to the new colony panel. Population, colonists to be added/removed because of bonus, rebel percentage and royalist percentage. The tooltip showing more details have been reenabled. 2024-01-02 22:33:31 +01:00
Stian Grenborgen a77adcc70a The selected carrier in the ColonyPanel is now displayed with a border. 2024-01-02 18:08:57 +01:00
Stian Grenborgen 6d4f5032c6 Reduces the height of the top colony panel decoration. 2024-01-02 18:08:57 +01:00
Stian Grenborgen 6355d96660 Updates the background for the colony warehouse. 2024-01-02 18:08:57 +01:00
Stian Grenborgen 19f71137d9 Massive redesign of the colony panel with background images and other styling. Buildings are now randomly distributed in the colony based on the available space (this is annoying when resizing the colony panel, but otherwise really good). The sizes of various panels have been tweaked to work both on small and large displays ... and panels that previously often required scrollbars have now been repositioned and made bigger. 2024-01-01 22:00:03 +01:00
Stian Grenborgen 1fc5957171 Adding new background graphics for the warehouse panel in the colony. 2024-01-01 22:00:03 +01:00
Stian Grenborgen 83a817bdc2 Adding background graphics for the cargo holds displayed in the colony panel (and possibly also later for the EuropePanel). 2024-01-01 22:00:03 +01:00
Stian Grenborgen f38565461d Adding placeholder graphics for the docks until we can make something better. 2024-01-01 22:00:03 +01:00
Stian Grenborgen 95ca60982c Adding a new background image/border for the upper right corner of the colony panel (tilesPanel etc). 2024-01-01 22:00:03 +01:00
Stian Grenborgen 9ee2eac74c Adding a carved wooden border that can also be rendered separately as an inner and an outer border. 2024-01-01 22:00:03 +01:00
Stian Grenborgen 50bc74a1eb Adding a simple wooden border. 2024-01-01 22:00:03 +01:00
Stian Grenborgen ae1f6796e5 Allow using 75% for display scaling. 2023-12-27 10:16:03 +01:00
Stian Grenborgen 15f70de737 Adding an empty image resource file to be used for replacing images with empty space in mods. 2023-06-08 20:22:39 +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
Stian Grenborgen edf47c35e7 Adding new styling for the menubar. 2023-05-20 19:05:57 +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 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 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 ba8b226cee Changes the color model for grayscale images to RGB since the results in GIMP and Java would otherwise be different. 2023-01-15 16:46:57 +01:00
Stian Grenborgen 1325ed8a75 Fixes copy-paste error when defining properties. 2023-01-15 16:28:37 +01:00
Stian Grenborgen 6d09745810 Adding order buttons for ranged attack. 2023-01-15 16:04:03 +01:00
Stian Grenborgen bae0f31651 Adds ranged combat to FreeCol. The "Hitpoints and Combat" mod uses the ranged combat for artillery and ships, and also contains adjustments to the ships' hitpoints. 2023-01-15 15:41:47 +01:00
Stian Grenborgen 58d38c9093 Adding more interesting base tile transitions. 2022-12-27 10:41:57 +01:00
Stian Grenborgen 6f892366b3 Minor corrections to the pistol. 2022-08-14 16:02:21 +02:00
Stian Grenborgen cc4254b397 Reintroducing separate volume sliders for music and sound effects. 2022-08-13 11:28:03 +02:00
Stian Grenborgen 4b6d2e0368 Reduces the number of skulls on the info panel skin. The skulls have been replaced by a pistol and a few coins. 2022-07-09 11:38:47 +02:00
Stian Grenborgen 73c63c773a Updating the background image so that it's smoother. This will hopefully make larger panels, with the background, look better than before. 2022-06-15 16:51:55 +02:00
Stian Grenborgen 8ba2309d6f Adds a higher resolution image of the menu border. The menu border's size is now determined using the scale. 2022-06-15 16:50:16 +02:00
Stian Grenborgen f42d8ed4c9 Adding new order buttons that matches the new infopanel and minimap. These buttons are also available with higher resolution than the old ones. 2022-06-15 16:12:46 +02:00
Stian Grenborgen f81e3fc57c Improves skin-support for InfoPanel and Minimap ... and adds new skins for them both.
* New skins for the info panel and the minimap.
* Draws the minimap skin on top of the minimap.
* Adds support for string properties with nested properties in order to support easy skin-definitions as one overridable property.
* Placement and sizes for the components on the minimap and infopanel can now be defined using resources.properties.
2022-06-15 16:06:08 +02:00
Stian Grenborgen 2f41e9a35f Adds code for animating the river. 2022-06-10 16:49:42 +02:00
Stian Grenborgen df843e941c Making base tile transitions prettier by properly rendering the corner of the tile. The prettier rendering is, for now, not activated by default. Please use graphics quality "High" in the client options if you want to see it. 2022-06-09 18:40:53 +02:00
Stian Grenborgen 88e6070b98 Adding a new client options for selecting the graphics quality. This option will allow us to provide more eye candy for players with sufficiently good systems, while still supporting lower spec-ed computers. 2022-06-09 18:17:29 +02:00
Stian Grenborgen 670d5f83ae Using an icon to show that a mod contains changes to the specification. 2022-05-27 17:41:08 +02:00
Stian Grenborgen 208f322ad1 Adding Alexander's music to the default playlist. 2022-05-08 12:41:00 +02:00
Stian Grenborgen 368d8518d7 Creating higher resolution versions of the borders, and apply scaling to them. The new borders are still work-in-progress, but good enough (TM). 2022-04-23 10:41:36 +02:00
Stian Grenborgen e67db04bac Improves the look and feel. Makes it easier to create custom borders and backgrounds for the UI. Allows spinners to be styled. Adds a few new borders and background images. Fixes various layout issues. Reduces the default DPI (thereby making autodetected sizes bigger). Adds checkbox styling. 2022-04-17 20:11:40 +02:00
Stian Grenborgen 1d171d49dd It's now possible to have fog of war enabled without the fog being displayed. Displaying the fog can be activated using a new menu option. The fog is now by default hidden -- the reason being that rendering fog of war properly is really slow on some systems. 2022-04-03 11:10:08 +02:00
Mike Pope 7ad69d2696 Move messages, warehouse and other groups to INTERFACE_GROUP. 2022-01-28 19:57:48 +10:30
Mike Pope f77cb1db5f Small glitch in client-options.xml. 2022-01-28 13:21:09 +10:30
Mike Pope 3120551e4f Smooth rendering option is no longer used. 2022-01-27 18:59:39 +10:30
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
Stian Grenborgen 1c55490087 Reorganizing the client options by making different groups. 2022-01-16 18:42:08 +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
Calebrw 1688ba5623 Update more copyrights to 2022 2022-01-06 22:42:39 -06:00
Stian Grenborgen d314f7aa55 Adding tool for extracting an isometric tile from a texture. A seamlessly tiling texture produces a seamlessly tiling isometric tile. 2021-12-24 07:47:05 +01:00
Stian Grenborgen 2dd2b92fe2 Adding masks for 512x256 with straight edges. 2021-12-11 20:34:43 +01:00
Stian Grenborgen 7c0a11c5ab New method for loading variations and different sizes of an image.
* Only one type of an image is defined in "resources.properties". All variations and different sizes are loaded from the same location as that image.
* An image can have anything from zero to 100 variations.
* Mods can redefine only one mapping in "resource.properties", and optionally provide as many variations and sizes as the author wants.
* Backwards compatible with mods that still redefine ".r0" keys.
* Resources can now again be loaded from ZIP-files. This allows mods to be just placed in the "mods"-directory without being unpacked.
2021-12-11 12:54:35 +01:00