Commit graph

394 commits

Author SHA1 Message Date
doofus-01
033012219e
Add Exif tags to images (#9254)
Artist & copyright Exif tags track the copyright info in images, replacing what used to be tracked with "copyrights.csv".
2024-08-25 20:18:16 -07:00
Oleksii
313e83f58e l10n: Add Ukrainian Logo 2024-07-17 08:38:22 +10:00
Subhraman Sarkar
103b80ff01
Editor enhancements (#8903)
Map/Scenario Editor

* Rename Load Map to Load Map/Scenario (since it can load both), Edit Scenario to Edit Scenario Settings, Save Map to just Save.
* Rearrange menu order
* Add icon for the preferences menu item (used the preexisting settings.png icon)
* Open folder correctly at Add-on's scenario directory instead of editor/scenarios. (#8910)
* Show Save Scenario As only for Scenarios
* Use the settings.png icon for Preferences menu item
* Add functionality to "Loyal" checkbox (Unit tool -> Place unit -> Right click menu) (#8445)
* Show warning when maps are saved in scenarios folder or vice versa (#8911)
* Unit List moved to Units menu from File menu to reduce some pressure from the latter.
* Status Table menu item disabled since it does nothing. (Should be reenabled once the functionality has been added.)
* Improve reload functionality in Editor (F5). Reload happens directly from memory and no temp files are needed. Also, the undo/redo stacks will be preserved. (#9024)

Time Schedule Editor

* Browse buttons now set wesnoth style paths instead of just pasting the absolute path returned by the file dialog
* Change text boxes from inactive to uneditable.
* Code generation improvements
* Add copyright notice to tod_new_schedule
* Confirmation messages
* Preview buttons for image and sound files and new icons for the preview button (2 sets : preview image and preview sound)

Unit Type Editor
 * Confirmation messages
 * New icons for the preview button (2 sets : preview image and preview sound)

Add-on menu
 * Two new menu entries for (1) opening the Add-on selection dialog, (2) opening the folder corresponding to the Add-on
The open add-on folder option shows a GUI2 file dialog at the add-on's folder which can be used to open any file. If it is a loadable map/scenario it will be opened in the editor, otherwise the OS's default application for that file will be opened.

File Dialog
 * Redesigned with new icons
 * New Open External button that opens selected file/folder in the platform's default application (independently of what pressing Open would do). This could be used to quickly open a folder or preview the file before actually selecting it.
 * Extension checking and filename validation. (See #8911)
2024-06-29 21:56:54 +05:30
Subhraman Sarkar
9b38089db0
Story screen redesign (#8510) 2024-05-24 19:29:46 +05:30
Subhraman Sarkar
95c62173a3
Bengali logo for Wesnoth (#8513)
* wesnoth logo localized to bengali

* update copyright
2024-03-07 18:26:50 +05:30
Toom
925dd0d3a4
Add a composite hero/leader ellipse, closes #8011 closes #6258 (#8375) 2024-02-10 14:29:32 -06:00
pentarctagon
e3ee472352 Remove transparent padding from the status icon image files.
Just removing transparency from all images on the top bar and side bar causes other issues, particularly with the unit sprite and the clock icon alignment.

Fixes #8335
2024-02-04 10:56:03 -06:00
Elvish_Hunter
a9d97b6a82 Ran woptipng on the two new status icons 2023-02-21 21:19:51 +01:00
Elvish_Hunter
7cfd699e9d
Add icons for invulnerable and unhealable states (#7363) 2023-02-13 10:01:35 +01:00
Tommy
178a09c2cc Convert images/misc/single-pixel.png to RGB format
There was a bug with SDL_image reading it wrongly.
2022-07-25 02:16:15 +12:00
Tommy
163c6e3949 Add a single-white-pixel PNG, for hardware stretching
It can be used to draw rectangles and lines, particularly when
passed via drawing_buffer_add as this only supports rendering
textures, not other drawing operations.

It can be loaded as "misc/single-pixel.png".
2022-07-21 12:16:04 +12:00
Steve Cotton
4a43d00522 Show a two-color tennis ball orb for the disengaged state (#5155)
As the disengaged state is part-way between the "partial" and "moved" states,
the orb has parts in each color. On the minimap these units are shown in the
partial color (which is also the color that would be used before this change).

This will match the mounted Quenoth units' "disengage" skill, when they
can still move but can't attack. It should also trigger for some UMC abilities
that get extra moves after a character attacks.

During testing, I found that TSG allows some of the bandits to attack on the
first turn of the bandit branch. There's no gameplay change there, but the orbs
make it much clearer that some units can still attack.

I think there are already too many preferences for orbs, so reused the existing
settings for the colors. A new "show disengaged orb" preference is added, which
when disabled shows the old partial orb instead.

Update the orb and ellipse sections of doc/manual/.

Notes about how I created the new orb image:

* create a color range to_ellipse_red with rgb=FF0000,FF0000,000000,FF0000
* wesnoth --render-image 'misc/orb.png~RC(magenta>to_ellipse_red)' images/misc/orb-ellipse-red.png
* open the orb.png and orb-ellipse-red.png images as layers in Gimp, add a layer mask to both of them
* use the layer mask to get each pixel from exactly one of the layers
2021-02-13 18:28:33 +01:00
Nils Kneuper
31c922c15e updated Turkish translation 2019-06-24 22:15:49 +02:00
Nils Kneuper
8491204c64 updated Turkish translation 2019-06-15 17:33:52 +02:00
Edward Chernenko
4384bd550a optipng run: ./utils/woptipng.py -d 15 images/
It has been a while since the last optipng run (it was in 2015),
and many non-optimized PNG files have accumulated in the repository.

288 of 1666 files optimized, 258992 bytes reduced to 156258 bytes; -102734 bytes, -39.66%

To avoid unnecessarily increasing the size of Git repository for minor
size reductions, we skip images that weren't reduced by at least 15%.
2019-01-02 19:26:48 +02:00
Charles Dang
097e1e37ef Removed old GUI1 MP lobby background image
[ci skip]
2017-10-11 12:58:59 +11:00
Nils Kneuper
d14ef5a743 updated Italian translation
also removed outdated logo file
2017-05-20 14:52:40 +02:00
Charles Dang
23884387bd Added an image for the MP Staging color menus I apparently never committed... 2017-02-25 01:00:50 +11:00
Ignacio R. Morelle
d1951b40b9 gui2/tfile_dialog: Add a bookmarks bar
The bookmarks bar holds predefined bookmarks (as in the stuff
src/desktop/paths.hpp exposes) and allows users to easily browse to them
in a single click. It will eventually be possible for the user to add or
remove custom bookmarks as well.

I might add a method to disable specific irrelevant bookmarks later, not
sure (e.g. nobody cares about the preferences dir when trying to find
wesnothd).
2016-10-12 03:11:01 -03:00
Charles Dang
090a2b7b1e Updated folder icon
This is an edited version of the editor Load Map icon, with the arrow removed
2016-10-10 18:10:38 +11:00
Charles Dang
aef6248d34 New map size icon by myself 2016-09-01 21:53:01 +11:00
Charles Dang
547bf2f1df Slight improvement to loadscreen decor 2016-04-08 16:21:01 +11:00
Charles Dang
465f5eece1 Implement new GUI2 loadscreen 2016-03-29 21:33:38 +11:00
Charles Dang
b7d56e0c11 gui2/tpreferences: implemented new gui2 Preferences dialog 2016-02-10 19:51:01 +11:00
aquileia
c281b3af08 l10n: Add Sgt. Groovy's logo translations 2015-11-05 11:54:14 +01:00
aquileia
b7cb892092 Update l10n-track for new logo
Fixes displayed logo for translations.
2015-10-23 12:16:09 +02:00
Charles Dang
6e0af4f77e Increased canvas size of English logo and logo bg to 600 (was 440)
This is for standardization as per discussion with Sgt. Groovy here:
http://forums.wesnoth.org/viewtopic.php?p=588663#p588663
2015-08-20 19:37:19 +11:00
Charles Dang
f1256049fd New style logo text by Sgt. groovy (English)
The background is kept in a separate image and the two layers will be blitted together at runtime.
This is to simplify any future needs regarding changes to the text or the background logo, without
having to re-render the whole thing.
2015-08-20 13:57:00 +11:00
Charles Dang
17eae18c33 Removed a blank, unused image 2014-12-24 22:55:43 +11:00
Nils Kneuper
3ca6988963 applied utils/wesnoth-optipng
Overall statistics (only for files with a smaller recompressed size):
  Original size: 14370 KiB on 172 files
 Optimized size: 12855 KiB
   Total saving: 1514 KiB = 10% decrease
2014-03-02 18:35:49 +01:00
Emilien Rotival
6a531db9dc High res orb artwork for the Pandora theme 2014-01-10 17:06:48 +01:00
David Mikos
86adae8b07 Move multiplayer lobby map size info to bottom icon area. 2013-12-15 19:22:44 +10:30
David Mikos
90ebb53855 Slightly tweak multiplayer lobby icon spacings for advertized games. 2013-12-15 18:29:52 +10:30
Emilien Rotival
4fcf6d0d95 Updated and nudged the orb and crowns so that they fit within the hex
Elements overlapping the neighboring hex were causing refresh glitches.
2013-12-06 00:26:48 +01:00
Nils Kneuper
98906f8c2b applied utils/wesnoth-optipng on images 2013-08-22 20:53:03 +02:00
Adrián Chaves Fernández (Gallaecio)
9eeaaff752 [Galician translation] Translated images and minor text changes 2013-08-10 19:23:49 +02:00
Alexander van Gessel
38b224c1ff Revert "Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old""
This reverts commit 23b72d6956.
2013-08-09 00:13:46 +02:00
Thibault Févry
23b72d6956 Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old"
This reverts commit 5fa5c03411, reversing
changes made to 06374c64ba.
2013-08-08 18:50:46 +02:00
Elvish_Hunter
446a6a0ca3 Renamed hero and leader nozoc ellipses to make them compatible with the automatic ellipse management
I had to rename these ellipses to make them compatible with the IS_HERO macro as well. This way, a user can assign a ellipse with the usual ellipse=misc/ellipse-hero, and when a unit loses its ZoC, it'll be updated accordingly. Leaving the file names as they were wasn't a good solution, because it required a way to split the ellipse-hero string to insert the nozoc- part.
With this solution, no WML change is required; however, we may want to add a wmllint rule to warn UMC authors if they have a ellipse= key in their unit cfgs.
2013-07-21 14:26:27 +02:00
Emilien Rotival
b89f1437f2 Provides missing artwork for the 'nozoc' ellipses that was causing errors in Northern Rebirth 2013-06-24 23:00:25 -04:00
Nils Kneuper
c9f6847f66 applied utils/wesnoth-optipng
Overall statistics (only for files with a smaller recompressed size):
  Original size: 16720 KiB on 404 files
 Optimized size: 15237 KiB
   Total saving: 1482 KiB = 8% decrease
2013-06-23 10:07:53 +02:00
Charles Dang
49da1b11e1 Moved tinygui energy bar image to attic 2013-06-15 22:49:14 +11:00
Charles Dang
05987f35bc Removed old sort arrow images 2013-06-15 22:43:11 +11:00
Emilien Rotival
82b8d9ecdf New artwork and TC ranges for team color-able icon bases and cursor hexes
The icon bases are meant for use with the terrain type icons and unit profile icons.
Team color-able hexes offer a flexible alternative to  single-color cursor components.
A set of color ranges specifically tailored for terrain type icons has been added to team-colors.cfg. Each color range is named after the base terrain type it corresponds to.
2013-06-15 02:53:11 +02:00
Emilien Rotival
677b11d986 Updated artwork for the hero/leader/loyal status icons
Reduced slightly the size of the icons so that the energy bars could be nudged back up
2013-06-15 02:39:32 +02:00
Emilien Rotival
505fdfb73e New artwork for the on-map unit status 2013-06-12 16:01:29 +02:00
Charles Dang
aec788c773 Moved selection images to images/dialogs 2013-06-12 20:07:00 +11:00
Charles Dang
6261ca4d63 Renamed selection2* images to selection* and selection3* to selection2* 2013-06-12 20:06:55 +11:00
Charles Dang
6138fe2288 Removed old selection border images and selection2 transparent images 2013-06-12 20:06:46 +11:00
Alexander van Gessel
00165dd5c0 Merge branch 'hover-hex'. Part of feature #16350. 2013-06-11 04:09:20 +02:00