Commit graph

132 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
Iris Morelle
3a8c7303e7
editor: Implement a Show Tool Information toggle option
This allows permanently hiding the obnoxious help text tooltip that
constantly dances between the top and bottom of the screen depending
on what you're doing in the editor.

Icons provided by babaissarkar.
2024-08-01 13:17:05 -04:00
Subhraman Sarkar
2660c0e086 new ui theme: modern (titlescreen only atm)
Design idea and concept art: Dalas
Implementation: babaissarkar

Co-authored-by: Dalas121 <33790750+Dalas121@users.noreply.github.com>
2024-07-16 13:07:57 +05:30
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
92d66554dd
UI : About dialog (#8803)
* Redesigned the version dialog to serve as a general purpose About dialog.

* Credits button removed from title screen

* Moved community dialog contents to about dialog as new tab

Co-Authored-By: Pentarctagon

* Bugfixes to the tab_container widget

* Success indication mechanism on copy buttons
2024-05-21 09:43:32 +05:30
doofus-01
dc820341c5
1.17 raised terrain (#6975)
* floodfill high/low terrain

* stone and wooden transitions
2022-09-05 19:41:07 -07:00
walodar
6eb2246eff
Colored attack type icons, resistances and movement costs. Reordered resistances. (#5264)
Using colors to make relevant information stand out at a quick glance.

The six attack type icons are recolored using the six equidistant hues cyan, green, yellow, red, magenta and blue, with the same saturation and lightness as the old icons. The images are optimized with woptipng.

Resistances and movement costs are colored using a gradient from red to green, like the defense values.

The resistance table in the help browser now also shows the attack type icons.

Previously, the resistance table was always ordered alphabetically by their original English names (not their translation, unlike the terrain modifiers). Now, the order is set to blade - pierce - impact - fire - cold - arcane.

These changes are made in all relevant areas, including the help browser, tooltips, the sidebar and dialogs.

Missing icons are handled by replacing them with a blank image scaled to the same size.
2022-08-01 17:57:46 -05:00
Charles Dang
743323414f Addon Manager: fixed erroneous 2px horizontal offset in Update button images 2021-08-16 17:14:24 -04:00
Iris Morelle
71c17a3b65
Add a special "broken" lock icon
Trivial edit of LordBob's open lock icon together with the Close cross
icon in red to make it highly conspicuous.
2021-06-19 07:40:13 -04:00
Iris Morelle
3eba42bcb8 Add lock icons by LordBob
[ci skip]
2021-05-21 19:51:43 -04:00
nemaara
acc96b165d Title screen: move language button to icon 2019-11-15 23:00:46 -05:00
josteph
08c469561c Sidebar: Show attack range and damage type icons 2019-02-24 12:02:28 +00: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
c75ca87517 GUI2/Addon List: improved a bunch of stuff related to inline control buttons
* Flipped the arrow on the Update icon set to point downwards, since it's a download operation.
* Renamed existing small Update icon set Publish, and added downwards version to replace Update.
* Renamed all addon manager icons and their respective button definitions to be clearer.
* Moved unused small icon versions to their own subfolder.
* Added separate Publish inline button to image list. This is now used in all cases to publish,
  regardless of whether the addon has been uploaded previously or not. Prior to this, the Install
  button was used for non-published addons, and the Update one for published ones. This means the
* Refactor addon_list inline button setup to be clearer.
* Made inline Uninstall button display in all cases where an addon was installed, instead of just
  INSTALLED and NSTALLED_UPGRADABLE. It will not display if a publishable addon has not been
  published, however.
* Changed is_local check to match the ADDON_INSTALLED_LOCAL_ONLY. I figured this is a bit more
  robust. TODO: do the same in the addon manager itself?

Art assets credit to @Lordbob
2018-02-10 21:26:33 +11:00
pentarctagon
6976091626 Renames the Dunefolk(formerly Khalifate) units based on forum discussions.
This commit actually changes the contents of the unit files, and adds deprecated.cfg for all the old IDs.
2018-02-04 11:46:50 +11:00
pentarctagon
5b31b87f6a MP: Renames the Khalifate to Dunefolk.
Part of an effort to make the faction better fit into Wesnoth. See:
https://forums.wesnoth.org/viewtopic.php?f=12&t=47643
https://forums.wesnoth.org/viewtopic.php?f=12&t=47703
2018-01-19 17:28:40 -05:00
Charles Dang
0737736d3c MP Lobby: completely redesigned game entry layout
I did one of these about a year ago, but in the time since I realize it was honestly really crowded
and had some fundamental problems (for example, the listbox would get a horizontal scrollbar if a game
with a lot of mods was started).

This time around, I've focused on simplicity. The main changes:
* The minimap has been made 10 px larger. This was to accommodate the 5 px borders, so now the actual
  map image is 72x72.
* Game name and scenario name have swapped places, and the latter is now larger.
* Game names are no longer colorized based on the number of vacant slots or whether you can observe
  the game or not.
* The Turns/Slots label coloring has been toned down and been made larger. It is now either white
  (game has started), green (vacant slots available), or yellow (vacant slots available for reloaded game).
* The Turns limit  no longer displays "/-" for games with unlimited turns. Now you just get "Turn n".
* Due to 1bfa170856, proper names of all missing content is displayed. I also got rid of those
  "Unknown Scenario"/"Unknown Campaign" labels in favor of a simple red-color game type token (S or C),
  respectively.
* All game setting icons have been moved to a tooltip attached to an info icon, except those for
  Password Required and Observes Allowed.
* The info icon will also change color (and its tooltip display a message) if the player need to download
  additional content to join that game.
2017-10-29 16:55:42 +11:00
Charles Dang
b79f04cf71 Fixed 2-pixel offset in most addon button images 2017-03-12 19:43:58 +11:00
Charles Dang
0702fe32a3 Rest of the set of Publish/Delete icon buttons
Includes corrected base graphics (has white background).
2017-03-10 13:12:02 +11:00
Charles Dang
f0a1698b20 New base graphics for Addon Manager publish/delete buttons (missing state variants) 2017-03-09 00:36:14 +11:00
Charles Dang
25eb58abb6 New Browse button definition and images
Edited version of the Editor Load icon, sans the arrow
2016-10-10 18:23:36 +11:00
ln-zookeeper
5d347bb61b Added a "Draw Number of Bitmaps" option to the editor
This is similar to "Draw Hex Coordinates" and "Draw Terrain Codes", and displays the number of terrain graphics surfaces draw for each hex. It is useful for spotting mistakes such as overlay images having non-transparent pixels in adjacent hexes where they shouldn't, or for comparing the efficiency of different kinds of terrain graphics rules.
2016-10-05 18:20:19 +03:00
Charles Dang
b264ed0626 Added gender and random icons 2016-09-21 04:11:29 +11:00
Charles Dang
9721910d98 Initial implementation of GUI2 MP Staging dialog (Connect + Wait) 2016-09-20 05:34:31 +11:00
Charles Dang
3359961b00 Various new icon graphics by LordBob and button definitions using them
The 'help_30' icon is a Ariel question mark generated with the text tool
in Gimp and not drawn by LB.
2016-04-23 19:01:45 +11:00
Charles Dang
f507a42188 Added Jetrel's trashcan icon set 2016-04-09 01:27:02 +11:00
Charles Dang
7aa0f77837 Proper full alignment icon set by LordBob 2016-04-07 12:51:13 +11:00
Charles Dang
d79cdd50bc GUI2: added minimal Close button definition 2016-03-23 07:50:02 +11:00
Charles Dang
7c239974da GUI2: added 'help' button definition 2016-03-11 00:03:12 +11:00
Charles Dang
49102677a9 Improved Hotkeys icon for prefs 2016-03-10 21:50:56 +11:00
ln-zookeeper
d891023737 Added new icon for hotkeys preferences 2016-03-05 03:26:34 +02:00
Charles Dang
961463e555 Tweaked design of Lawful and Neutral alignment icons 2015-11-07 19:13:36 +11:00
Charles Dang
701229d69d Added a set of Alignment icons
Designed by me based off and using pieces of previous icons by LordBob
2015-10-20 08:39:09 +11:00
Charles Dang
a83955fee5 Updated canvas size of preference and mp connect icons to standard sizes
icon-general.png was changes to 64x64 due to its usage in the hotkey preferences dialog
2015-07-30 03:07:33 +11:00
Charles Dang
ebd712c06f Fixup 3d0bae9bd0 with better renders 2015-07-30 01:04:27 +11:00
Charles Dang
3d0bae9bd0 Updated game icons with versions downscaled from the master 1920x image. 2015-07-30 00:10:14 +11:00
Charles Dang
4a676317c3 Use BLIT() IFP to generate addon Publish/Delete images
Previously, we used an icon with the game logo embedded. However, as the publish/delete
symbols are distinct, we can blit them on top
2015-07-30 00:09:10 +11:00
Charles Dang
da6e149100 Updated wesnoth icon image by Sgt. Groovy
Includes large 500x500 version.
2015-07-27 18:16:38 +11:00
Ignacio R. Morelle
a0aa111c91 Add new icon overlays for the About dialog button by pydsigner 2015-07-23 21:04:37 -03:00
Charles Dang
9b9e9a8670 Purged some transparent pixels I missed 2014-12-14 23:00:03 +11:00
Charles Dang
548927789d Improved addon Publish/Delete icons 2014-12-14 22:54:02 +11:00
Ignacio R. Morelle
a36bc41e36 Rename falcon race icon so the editor can actually find it 2014-11-16 21:22:27 -03:00
Zappaman
e55e596c9d added play single move replay button with callbacks to the function in replay_controller 2014-08-29 21:37:14 +03:00
aquileia
05641062c8 gitignore: Merge dozens of "Thumbs.db" rules
It suffices to apply the rule once in the root directory.
2014-06-09 01:00:26 +02: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
b9418a52f1 Added some 30x30 action and arrow icons that were missing 2014-02-21 22:51:31 +01:00
Emilien Rotival
0670d34c5c New icon for the 'preferences>hotkeys>title screen' category that was added in 1.11.8 2014-01-05 23:18:39 +01:00
Emilien Rotival
2924ed8217 New editor icons for khalifate unit groups 2014-01-05 20:09:39 +01:00
fendrin
c0e2795cba Rename the minimap action icons to match the action name. 2014-01-02 11:52:00 +01:00
Emilien Rotival
5cf5f8d6e0 Icons for the new minimal display functions 2013-12-22 10:53:00 +01:00