Commit graph

83861 commits

Author SHA1 Message Date
Nils Kneuper
02f8b8c2ea updated French translation 2024-08-10 15:10:27 +02:00
Gunter Labes
6bc7a80b5d
Properly implement DO_NOT_MODIFY_CACHE
This fixes node_to_string() by making sure the node is really not modified.
2024-08-10 10:36:55 +02:00
Gothyoba
0aa93bf94c
Revised Encyclopedia (#9188)
This is a series of mostly minor changes to the encyclopedia:

- The Wesnoth Calendar has been renamed to Wesnothian Calendar.
- The calendar page now explains YW, BW, and AF. As far as I’m aware, these are not explained in-game despite their use.
- The unused file drakes.txt has been removed.
- The Great Ocean section now mentions the drakish name World Ocean and some drakish mythology from drakes.txt. 
- The Great River page has had a section on the Ford of Abez added. This is partly copied from the wiki (section copied appears to have been added by Esr, 8 October 2008)
- Morogor has had Mount Krogor been added as a notable land feature in the encyclopedia, taken from drakes.txt.
- The Green Isle section has been greatly expanded to include details on settlements and terrain. I thought it would be useful to have this, as the Green Isle is the original home of the Wesnothians and a major part of the setting of TRoW.
- Added a short sentence on the Old Continent being the original homeland of orcs and humans.
- Westin has been added to the Wesnoth page.
- The Isle of Alduin has been added to the Wesnoth page.
- A section on the Green Swamp has been added to the Wesnoth page. This is copied from the wiki. (section copied appears to have been added by Octalot, 21 September 2021)
- The section on notable cities for the Southwestern Elves has been removed due to the lack of known cities in the region.
- The Northlands description has been modified.
- The local orcish names for the Heart Mountains are now mentioned on the page for the Heart Mountains.
- Tirigaz and Jotha now have short one-sentence descriptions.
- The Desert of Death has been added to the far north section.
- Various land features from the far north have had short descriptions added.
- A section on the Far South has been added. It does not expand much on current lore except for some mentions of monsters. It only includes the Mountains of Peril, Sandy Wastes, and the Black Forest (moved from Southwestern Elven Lands and slightly modified) and is intenced to be very vague to allow UMC creators to imagine details of the Far South.
2024-08-09 12:26:47 -05:00
Charles Dang
6fff6de906 Attempt to address overly enthusiastic minimap rendering
See #8607 and #7087
2024-08-09 11:40:27 -04:00
Sergey Popov
c10c47ebb1
wesnothd: avoid a race condition when logging on
Ensure that there is no coroutine yield between confirmation of login
and update of player_connections_. Otherwise another login under same
name could succeed if it happened before handle_player() which resulted
in an assert later.
2024-08-09 11:50:08 +02:00
Subhraman Sarkar
8863cd1bcd
MP: correctly register Start Game button's shortcut with hotkey system (#9181)
Correctly register the Start Game button's shortcut with hotkey system
2024-08-09 08:56:08 +05:30
Gothyoba
c761174331 New Titlescreen images 2024-08-08 21:37:42 -05:00
Charles Dang
884fdbeb95 Attempt to work around more accursed macOS build issues 2024-08-08 19:07:30 -04:00
Charles Dang
f8ca3ccd36 Update CodeBlocks and XCode projectfiles 2024-08-08 17:26:35 -04:00
Charles Dang
367c6c8aa3 Fix spritesheet generator 2024-08-08 17:26:35 -04:00
Charles Dang
c9ed3711b4 Make get_non_transparent_portion return a rect again
Reverts part of 37a45c32ce and moves the actual surface handling to the relevant IPF, which was also simplified
2024-08-08 17:26:35 -04:00
Charles Dang
518e0d2050
Added spritsheet generator (#6665)
This takes a folder with images and writes an assembled spritesheet to disk along with a config file.
2024-08-08 11:29:08 -04:00
Charles Dang
d762bea734 Split drawing_layer into its own file, make scoped enum 2024-08-08 02:14:22 -04:00
pentarctagon
8bebc86b6a damage_type tests 2024-08-07 21:32:46 -05:00
pentarctagon
9821e2037b macroify some preferences code 2024-08-07 21:31:11 -05:00
Drew Tate
da426144a6
Handling empty team in :droid (#9165) 2024-08-07 09:19:21 +02:00
Charles Dang
a3aca1c0be Small misc image-related cleanups 2024-08-07 00:14:03 -04:00
Charles Dang
613f72e188
Decouple image cache management from locator, and simplify (#9179)
Makes all the cache management functions local to the cache class. There's no reason
to publicly expose it through locator given that the actual cache objects which that
API needs to function are local to this translation unit anyway.

This also cleans up the cache implementation in order to take advantage of the switch
from a vector to map awhile back. `copy_from_cache` was removed in favor of bounds-
checked access.
2024-08-06 21:42:15 -04:00
Iris Morelle
8a54d10fe8
Merge pull request #8861 2024-08-06 21:14:47 -04:00
Wedge009
12606e2fc5 SotA S2: Avoid destroying unit potentially already occupying target hex. (Closes #9150) 2024-08-07 09:00:04 +10:00
Celtic Minstrel
959c616f05 add_source_file: Fix failure to add Boost unit tests to Xcode 2024-08-06 09:51:54 -04:00
Oleksii
5cf648bb2b Add Akademie Alte font 2024-08-06 21:44:59 +10:00
Oleksii
90b1a64fc9 Create PonomarUnicode.ttf 2024-08-06 21:44:59 +10:00
Oleksii
2ca67e72d8 Add Cyrillic fancy font 2024-08-06 21:44:59 +10:00
Gunter Labes
e1378188d3
Remove remnant of the SDL_ttf wrapper API 2024-08-06 08:48:56 +02:00
Gunter Labes
b92f352c66 Disable WML tests for debug builds
Not that useful to run them with debug as well as release binaries and it takes a lot of time.
2024-08-05 23:08:45 -04:00
Gunter Labes
0fbe71cca8
Simplify pot generation
Use a standard sed invocation and avoid rewriting the file.
2024-08-05 21:49:23 +02:00
Iris Morelle
de2d2e2bd6
hotkey: Identify Alt as "opt" on macOS
Fixes #9172.
2024-08-05 13:58:04 -04:00
doofus-01
8700338c75
Moving image data to the image (#9023)
Add two maintenance scripts, to help transition from external copyright tracking to putting all info in the file metadata.
- One script to read read copyrights.csv and write data to Exif tags.
- One script to read the image Exif tags, and write to a CSV
2024-08-04 18:40:45 -07:00
Gothyoba
4c3692bb78 THoT S6 Music Tweak 2024-08-04 17:57:35 -05:00
doofus-01
c4acf3ae27
Update changelog.md 2024-08-04 15:10:05 -07:00
doofus-01
552eed3f2e
(1.19) Cat units (#9040)
* Add Jumpcat, Forest Lion, and zombie cat

* update copyrights.csv
2024-08-04 15:07:15 -07:00
Gunter Labes
2b965290f6 Call Export appropriately instead of using locals() 2024-08-04 13:13:05 +03:00
Severin Glöckner
00c081cb4b Schema: support other mp_ keys too
In addition to the mp_village_gold used in mainline,
there exist as well:
- mp_fog
- mp_shroud
- mp_village_support
2024-08-03 11:29:02 -05:00
Tahsin Jahin Khalid
d467632398
[objectives.lua] improve clarity of error message (#8780) 2024-08-03 11:24:41 -05:00
Tahsin Jahin Khalid
657ed9419f Units/Skeletal-Dragon: cost 297 -> 288 2024-08-03 11:13:00 -05:00
Tahsin Jahin Khalid
fa361eba0e Skeletal Dragon: updated stats
- Resistance: Set to -20% Fire, -20% arcane
- HP: 171
- cost: 297
- fangs: 17-4
- claws: 24-3
2024-08-03 11:13:00 -05:00
Tahsin Jahin Khalid
84f99d9212 skele_dragon: remove ancient comment
This comment existed when the unit was still in EI campaign. It's been moved to core ages ago and yet, the comment, now no longer relevant outside of EI still persisted...
2024-08-03 11:13:00 -05:00
Oleksii
e768b6ce4c
THoT: Create heroes if they don't exist (#9130)
* fix for #5520
2024-08-03 10:44:57 -05:00
newfrenchy83
24859f861a move filter_abilitie/specials code in abilities.cpp
The code was moved to abilities.cpp so that it can be called from the units or attack_type functions, the attack_type function state necessary for the tags [filter_special_active] and [remove_specials] which I plan to implement when the code for filter_ability] is validated in its final form.
2024-08-03 10:43:31 -05:00
Toom
788cedc99a Update copyrights: use consistent output format 2024-08-03 10:24:20 -05:00
Gothyoba
53e0abe4b4 Update link to https in fortunes 2024-08-03 10:23:13 -05:00
Celtic Minstrel
21ac600c16 Fix unit tostring conversion causing a crash if the unit is invalid 2024-08-02 09:38:02 -04:00
Charles Dang
c8a47c0bca color_t: accept leading # for hex string input 2024-08-02 07:51:22 -04:00
Charles Dang
c48121ce05 color_t: take arguments as string_view 2024-08-02 07:47:52 -04:00
Iris Morelle
70231f14ab
Add changelog entry for the editor tool help toggle 2024-08-01 13:20:45 -04:00
Iris Morelle
c8af866e5b
Update copyrights.csv 2024-08-01 13:17:05 -04: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
Charles Dang
4a016139ed CL Opts: remove now-unnecessary final_log_redirect_to_file member 2024-08-01 13:12:16 -04:00
Charles Dang
80fbc3bab0 Fix Windows console not showing initial startup output 2024-08-01 00:50:14 -04:00