78908 Commits

Author SHA1 Message Date
Iris Morelle
00fbce5872 gui2/game_version: Add logs dir to the Game Version dialog on Windows 2021-03-25 21:21:59 -03:00
Steve Cotton
2e2f551199 git-subtree like tool for exporting campaigns
As with git-subtree, it creates reproducible SHA1 ids for the new branch, the
history of An Orcish Incursion will appear as:

* master branch (pre-removal) 2637115bd92334444f1e03d9387266a92ae478da
* master branch (removal) 3d4a4b06 and 8deac9bb
* 1.14 branch 6b5ccb5fd12e7bb4795b25d1aa10d6f0c88a7490

Wesnoth's po/<textdomain> folder is copied into the subtree as "translations".
If there already was a "translations" in the subtree, it's renamed to
"umc_translations_dir".

The campaign will still need a few fixups for paths in _main.cfg, and
the scenarios' map_data or map_file attributes. The map_file paths
were made more portable in a5a1fec2, but this was after AOI's removal.

Many thanks to Lord Knightmare for porting AOI to 1.15 without this script,
which provided a reference to check the script against. LK's 1.0.0 matches
this script's output from the 1.14 branch, including the fix in b9f93cf that
was applied to 1.14 after the removal in master, and with the rank (but not the
"Rookie") from cc01ccae.
2021-03-25 18:30:18 +01:00
Steve Cotton
0f0343e3b6 UtBS S01: Spawn the mystics on the island, not in the lake
They were both placed on the same hex, which meant the engine moved one of
them a hex north-west, into the water.
2021-03-25 11:22:22 +01:00
mattsc
f1c37f64ac
Merge pull request #5630 from mattsc/remove_fai_uses
Remove Formula AI uses
2021-03-24 08:04:47 -07:00
Pentarctagon
124adb308f
Add and use is_dev_version() to version_info. 2021-03-24 09:32:13 -05:00
Gunter Labes
e4a803360d
Fixup migration to wesnoth.map module 2021-03-24 08:53:12 +01:00
Iris Morelle
fd37a05ffe ui: Claim back unused space from the 800 px minimap theme
This allows the minimap widget to be 2 pixels wider, and frees up 7
pixels of vertical space for the rest of the sidebar
2021-03-24 04:23:25 -03:00
Iris Morelle
5f462c6064 ui: Remove orphaned references to the zoom slider 2021-03-24 04:05:18 -03:00
Iris Morelle
73e5bff25c ui: Remove unused zoom slider portion of the minimap panel
This allows us to claim back 10px for the rest of the sidebar.
2021-03-24 04:05:18 -03:00
Pentarctagon
7050eaf03e
Show deprecation warnings ingame on the dev branch. 2021-03-24 00:12:39 -05:00
Celtic Minstrel
7c95e9d1a4 Lurker FAI: map(x, self) is exactly the same as just self
This caused the crash fixed in the previous commit. Although the crash is fixed, it's still stupid and we shouldn't do it.
2021-03-23 00:34:44 -04:00
Celtic Minstrel
7756242160 WFL: Prevent a crash if an object is destroyed before the formula is finished with it 2021-03-23 00:34:44 -04:00
Celtic Minstrel
c6486bd7cc Fix a misleading (and grammatically poor) log message 2021-03-23 00:34:44 -04:00
Steve Cotton
41fa00de2a Update changelog for EI changes 2021-03-23 01:37:48 +01:00
Steve Cotton
b24c88a7b1 EI S07b: Wake the sea creatures with noise instead of magic
This comes from a discussion about which archaic-sounding pronoun should be
used instead of "you" in "Creatures from the deep, I summon you to destroy this
foe". The conclusion with that was that "thee" or "ye" would sound better, but
"you" is the correct archaic pronoun.

The .ogg file is copied from Northern Rebirth.
2021-03-23 01:37:48 +01:00
Heiko Becker
a737065505 Remove obsolete FindSDL2_ttf cmake module
It's unused since 2dfdc0061d400ffad39f974d7fe9348204af0d08.
2021-03-22 19:13:03 -05:00
Iris Morelle
59baba0eb3 pofix: 1.14 announcement rules for 1.14.16
[ci skip]
2021-03-22 19:01:28 -03:00
mattsc
64b672f9ef Add Swarm Micro AI [filter] tag to schema 2021-03-22 10:54:59 -07:00
mattsc
8d03d3ef08 Swarm Micro AI: add optional parameter [filter] 2021-03-22 09:09:30 -07:00
mattsc
4086758214 Remove Formula AI lurkers from Lurkers test scenario
This is part of removing Formula AI uses from mainline.
2021-03-21 17:15:43 -07:00
mattsc
92d22f18e6 Remove Home Guardian Formula AI from Guardians test scenario
This is part of removing Formula AI uses from mainline.
2021-03-21 17:03:50 -07:00
mattsc
f462416111 Remove MP dev (debug) AIs
This is part of removing Formula AI uses from mainline.  These are just small experimental additions to the default AI that have been superseded by more recent additions to the AI.
2021-03-21 16:51:11 -07:00
mattsc
4562bbae56 Add new Micro AI parameters to schema and emacs_mode 2021-03-21 16:23:59 -07:00
mattsc
af86d00e91 LoW The Chief Must Die: replace Formula AI with Micro AI
Formula AI is not maintained any more and will be removed in the future.  This replaces the Patrol FAI use in this scenario with a Patrol Micro AI.

Note that the FAI guard_radius=3 is equivalent to the MAI attack_range=4 as the former is the distance to the hex from which the patrol attacks, while the latter is the distance to the enemy.
2021-03-21 15:01:09 -07:00
mattsc
4fe45bf22a Patrol Micro AI: add two optional parameters
attack_range: the patrol interrupts its route to attack enemies within this distance, not just enemies that it happens to end up next to

attack_invisible_enemies: include invisible enemies when considering whether there are enemies within attack_range

The default behavior is unchanged.
2021-03-21 14:56:37 -07:00
Martin Hrubý (hrubymar10)
c59e71b974
Update Xcode project 2021-03-21 10:39:28 +01:00
Pentarctagon
76e6ec39a7
1.15.11+dev. 2021-03-20 20:22:18 -05:00
Pentarctagon
fa5592eb05
1.15.11. 1.15.11 2021-03-20 20:20:24 -05:00
Iris Morelle
eee53c32e9 pot and documentation update 2021-03-20 22:05:48 -03:00
josteph
13c4c8f305 EI S11: Annotate bonus objectives as such.
Part of #4145
2021-03-20 17:19:21 +01:00
josteph
bfedcdccb9 EI S10: Switch shroud to fog
The scenario was otherwise generally unwinnable on the first attempt. Although
the extra turns in added in ab900b0093503809d91fc9c48ead19e388b63fe7 help with
that, it's still worth changing to fog instead of shroud.

Part of #4145
2021-03-20 17:19:21 +01:00
josteph
22e34d7dde EI S10: Make recall undoable
This event shows a warning about recalled units having low / no movement
through mountainous terrain.

Part of #4145
2021-03-20 17:19:21 +01:00
josteph
4c1d6295b8 EI S7a: Improve how side 2 makes its entrance
Don't use [hide_unit], that's not what it's for.

Part of #4145.
2021-03-20 17:19:21 +01:00
nemaara
6245cfe580 EI S8: don't tax the player 2021-03-20 11:50:52 -04:00
Nils Kneuper
dd44d4f788 updated British English translation 2021-03-20 11:43:09 +01:00
Iris Morelle
cbe6126969 Remove gzipped tarball instructions from INSTALL.md
They may end up confusing people. We haven't used gzipped tarballs in
over a decade.
2021-03-20 03:11:25 -03:00
Iris Morelle
23693a513f Fix changelog
[ci skip]
2021-03-20 03:06:46 -03:00
Iris Morelle
aacfa5fef6 help: Long window caption is long 2021-03-20 02:56:52 -03:00
Iris Morelle
a455aa9ce9 tutorial: Disable end credits
Closes #5543.
2021-03-20 02:42:33 -03:00
Iris Morelle
e20f2b86af Fix [campaign] end_credits= having no effect 2021-03-20 02:42:32 -03:00
Iris Morelle
36f1fa2af1 Don't display the end screen at all with end_credits=no
Left the logic in the dialog mostly intact so that if the dialog is
somehow invoked it doesn't display the title card, only the "The End"
text.
2021-03-20 02:42:16 -03:00
Iris Morelle
220c3f5752 gui2: Restyle comboboxes to look like buttons rather than textboxes 2021-03-20 01:55:45 -03:00
Iris Morelle
3cbe0a5ef7 gui2: Make GUI_LINE and GUI_POINT public macros
This detaches them from the GUI2 button definition.
2021-03-20 01:54:45 -03:00
Iris Morelle
605fe2eb6b gui2/preferences_dialog: Fix breakage of display ratios listing
Regression from 0c2134a645df34e05cd69bc084506c58694eb697 / 1.15.10.
2021-03-20 01:33:57 -03:00
Iris Morelle
2fac56c21f gui2/drop_down_menu: Make display of entry details more orderly
The primary target of this change is hotkey labels in game menus. This
aligns them all to the right of the menu and increases the space between
them and the menu item label proper to attain a cleaner appearance.
2021-03-20 01:33:43 -03:00
Celtic Minstrel
96fba6b833
Fix wesnoth.set_terrain without a mode 2021-03-19 21:02:56 -04:00
Iris Morelle
d3de899186 Use a smaller font size for theme UI buttons
The impact of increasing button sizes on the top bar and replay UI
is a bit worse than expected and I can't be bothered to deal with the
consequences at this time.
2021-03-19 13:37:31 -03:00
Iris Morelle
8094f8c245 gui1: Make button font size configurable 2021-03-19 13:31:07 -03:00
Iris Morelle
1fe3468a92 Update changelog
[ci skip]
2021-03-19 12:41:23 -03:00
Iris Morelle
74dbd037a2 gui1: Remove unused menu style 2021-03-19 12:40:23 -03:00