Commit graph

84085 commits

Author SHA1 Message Date
Dalas121
f07b6ecbad
EI S99: prevent prisoner income if prisons are captured (#9112)
In EI's S99, you gain gold from defeating and capturing hostile drakes.  The drakes are physically moved to prison cells in the middle of the map.

Previously, the player could continue capturing drakes even if the prison cells were captured by enemies. This made it a strong strategy to abandon the center and turtle up in a corner of the map. Additionally, the prison cells stayed locked with prisoners inside.

This PR fixes this issue. This also adds 2 new strings; I'm planning to backport to 1.18.2, as this is arguably a bugfix.
2024-07-19 19:16:57 -05:00
Dalas121
fce2127c92
EI S11, S99: prevent backdoor entrance into prison cells (#9114)
EI's S11 and S99 have prison cells, one of which has an unintended backdoor entrance via an unwalkable deep water river. Flying units are involved in these scenarios, and can possibly fly into the cells through this unintended backdoor.

This PR changes the map hexes from unwalkable to impassable.
2024-07-19 19:16:13 -05:00
Charles Dang
8f26d5ede7 MP/Faction Select: fix help page handling (fixes #9102) 2024-07-18 10:02:42 -04:00
Charles Dang
e45b46107e
FS: use optional<string> to represent non-existent paths (#9107) 2024-07-18 09:58:55 -04:00
pentarctagon
4f40c9deb5 Move assert into filesystem::get_user_data_path()
As discussed previously in https://github.com/wesnoth/wesnoth/pull/9016#discussion_r1650036348
2024-07-17 17:50:03 -05:00
Oleksii
2704adf70d
LoW bigmap localization fix and folder regroup (#9101) 2024-07-17 18:48:40 -04:00
Tahsin Jahin Khalid
02f9c2186c
WC: delete no longer needed todo.txt file (#9099)
* WC: delete no longer needed todo.txt file
2024-07-17 19:29:28 +06:00
Oleksii
0f188acc9f Ukrainian maps for did,ei,low,l,sof,thot,tsg,tb 2024-07-17 08:38:22 +10:00
Oleksii
b254452c58 Update copyrights.csv 2024-07-17 08:38:22 +10:00
Oleksii
61c40732b6 uk maps for trow, nr and dw 2024-07-17 08:38:22 +10:00
Oleksii
313e83f58e l10n: Add Ukrainian Logo 2024-07-17 08:38:22 +10:00
gfgtdf
abb79ab055
wc: fix #9012 error when deserter list is empty (#9094)
we no longer show the deserter option if no deserters are avilable
2024-07-16 22:31:57 +02: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
99d66cc893 use drop cap for the tip of the day message
additionally, now only one of game_title and game_title_background is needed. An error will happen only if both of them are absent.
2024-07-16 13:07:57 +05:30
Subhraman Sarkar
a973fd4ab3 allow multiple backgrounds
Game_title_background can be a comma separted list of backgrounds.
if multiple backgrounds are present, one of them will be chosen at random when the UI reloaded.
2024-07-16 13:07:57 +05:30
Subhraman Sarkar
43f0e05d57 preferences dialog: expose option for switching gui2 themes 2024-07-16 13:07:57 +05:30
Subhraman Sarkar
636378f0f8
update bengali locale info (#9100)
without this Bengali will be sorted at the end of the language selection list
2024-07-15 22:58:15 +06:00
Wedge009
11506811ff Update copyrights: Write CSV as UTF-8 2024-07-15 15:05:27 +02:00
Gunter Labes
fe09128ee5
WC: documentation update 2024-07-15 11:57:34 +02:00
Gunter Labes
1f58cf1197
Simplify user data dir determination
Behavior should be generally as in 1.18 except for interpreting relative paths
normally instead of under $HOME. The latter was warned about for quite a few
versions now.

Also make sure normalize_path does not cause the path to become empty.
2024-07-14 14:46:39 +02:00
Charles Dang
95e81a48a6 Attack Prediction: clean up some unique_ptr usage
According to cppreference, this use of make_unique for array types value-initializes
the array, which here is equivalent to zero-initialization.
2024-07-13 16:32:09 -04:00
Charles Dang
43a574ac62 Replace a few more cases of INT_MAX 2024-07-13 16:29:11 -04:00
Wedge009
e49addc585 Update copyrights: Always use slashes for the file path
Avoid discarding the entire copyrights.csv when running the update on Windows, and force slashes in file path strings if adding new files.

* Also rename hash object to avoid collision with built-in hash function.
* Clarified file object is representing a file path string as opposed to an actual open file object.
2024-07-13 16:29:38 +02:00
Nils Kneuper
c0541dce06 updated Finnish translation 2024-07-13 11:31:53 +02:00
Nils Kneuper
448ab75188 updated Chinese (Simplified) translation 2024-07-13 11:30:37 +02:00
Nils Kneuper
d5958da34c updated Bengali translation 2024-07-13 11:29:40 +02:00
doofus-01
5fff9c5c3f
EI: Cleanup of urbanjungle terrain type
Cleans up the help browser and fixes #8497 (and makes the icon no longer pink).
2024-07-12 14:58:15 +02:00
Charles Dang
156630d314 Use std::numeric_limits instead of C macros 2024-07-12 02:49:27 -04:00
Steve Cotton
bcd97b209a updated German translation
Thanks to Wuzzy for all of these.
2024-07-11 22:27:07 +02:00
Gunter Labes
e7acc0e3b9 Perform multiplication in result type for types larger than int
Makes the code do what is commonly expected and avoids needless overflow since
otherwise the multiplication is done as int.
2024-07-11 20:57:57 +02:00
Subhraman Sarkar
e7c09868b7 fix whitespace 2024-07-11 20:46:27 +02:00
Subhraman Sarkar
7ba098a182 mention gui test dialog in manpage 2024-07-11 20:46:27 +02:00
Subhraman Sarkar
7b5b92a0e5 remove non-ASCII quotation 2024-07-11 20:46:27 +02:00
Subhraman Sarkar
10c498c993 update manpage 2024-07-11 20:46:27 +02:00
Subhraman Sarkar
9e87bdd67d fix whitespace 2024-07-11 20:46:27 +02:00
Subhraman Sarkar
815a4379e6 update documentation and move condition to top
thanks to stevecotton for the documentation message for no-log-sanitize
2024-07-11 20:46:27 +02:00
Subhraman Sarkar
8166ab25ab add a command line option for disabling log sanitization (#8505) 2024-07-11 20:46:27 +02:00
Gunter Labes
5461f226e7
Allow manual trigger 2024-07-11 18:04:37 +02:00
Gothyoba
102e1b4629
[Units] update Wyvern Rider description (#9020) 2024-07-10 12:55:44 +06:00
Gunter Labes
d7da385586
WC: Remove bogus comment 2024-07-09 15:26:09 +02:00
Wedge009
aebfcf72a1 EI: Minor changes to item wording. Resolves #9070. 2024-07-09 12:37:49 +10:00
Charles Dang
21cbe43a00 Clean up macOS CI job config 2024-07-08 22:02:32 -04:00
Charles Dang
5a77ff92c6 Revert "color_t: make macOS happy"
This reverts commit 19022f1181.
2024-07-08 22:02:32 -04:00
Charles Dang
c2decdfb58 Remove macOS compat path for std::variant and std::any 2024-07-08 22:02:32 -04:00
Charles Dang
8792655e26 Bump macOS deployment target to 10.13 2024-07-08 22:02:32 -04:00
Wedge009
f793be4fa5 EI S10: Clarify Dacyn's self-sacrifice. Resolves #9066.
[ci skip]
2024-07-09 12:01:23 +10:00
pentarctagon
888fbf13e5 changelog_entries 2024-07-08 17:42:20 -05:00
pentarctagon
f0991ec9c1 remove use of the config directory
the credentials and lan config files will now use the userdata folder
2024-07-08 17:42:20 -05:00
pentarctagon
a6a27ef947 get_prefs_file -> get_synced_prefs_file 2024-07-08 17:42:20 -05:00
pentarctagon
3f3c7628e8 default editor dir cleanup 2024-07-08 17:42:20 -05:00