82403 Commits

Author SHA1 Message Date
Pentarctagon
1c20221ae5 bump vcpkg for dependency graph fix 2023-08-04 22:22:27 -05:00
Charles Dang
3e1e910ff7 Font/Text: inverse_table can be constexpr 2023-08-04 21:44:54 -04:00
Pentarctagon
63bee6a315 make sure 'new addon' return value is never a valid addon id 2023-08-04 18:36:05 -05:00
Pentarctagon
6fc627511c Don't ask for the addon again when using F5 2023-08-04 18:36:05 -05:00
Charles Dang
542fd92744 GUI2/Main Menu: used linear scaling for background (resolves #7741) 2023-08-04 15:34:52 -04:00
Gunter Labes
8386642a57
Set up CodeQL security analysis 2023-08-04 17:20:41 +02:00
Gunter Labes
64f702e96d
Move {join,host}.lua to a better place 2023-08-03 22:06:27 +02:00
Gunter Labes
a0d7054360
Fix schema to allow upkeep in SUF 2023-08-03 20:09:19 +02:00
Gunter Labes
68b3eeb0ff
Fix schema to allow SUF under [advancement] 2023-08-03 19:49:52 +02:00
Gunter Labes
3ba96c0fd4
Remove useless default
Bash is the default either way and without this the default options are saner.
2023-08-02 22:17:34 +02:00
Gunter Labes
c2d105e4f0
Fix indentation 2023-08-02 20:15:18 +02:00
Steve Cotton
3203d367c6 Update vcpkg baseline to include glib's build fix
Using the version from 2 days ago, as that avoids an update to CMake,
and I want to look at one issue at a time.
2023-08-02 14:25:09 +02:00
gfgtdf
8083da0d73 Fix #7820 "Enable planning mode on start" Setting
previously the code that tried to activate the whiteboard failed because it checks `can_modify_game_state` which checks for `!synced_context::is_unsynced`
2023-08-02 04:23:18 +02:00
Gunter Labes
6d4066aa52
Simplify windows job a little by removing absolute paths 2023-08-01 20:38:48 +02:00
Pentarctagon
1af69b2236 fix git checkout failing for vcpkg 2023-07-28 17:12:04 -05:00
Gunter Labes
b5821d9611
Update archive exclusions 2023-07-27 18:07:16 +02:00
Pentarctagon
752e8788f5
try enabling vcpkg's dependency graph (#7816) 2023-07-26 20:16:52 -05:00
Gunter Labes
34df9d6ca8
Revert "Game Display: make first_turn a static local to the only function that uses it"
This reverts commit cc7204f66ec3efe5dd04333c30782ac7dfdf918d.
2023-07-26 19:18:05 +02:00
Celtic Minstrel
b5ea773827
Update type.cpp
Fixes the other error noted in #7813
2023-07-24 13:47:11 -04:00
Gunter Labes
f99c0b50ba
Add missing include
Fixes part of #7813.
2023-07-24 18:17:52 +02:00
Pentarctagon
ae73b734f6 Fix parts of #7810
F5 causing the editor to crash - the editor saves temporary files out to disk which don't have an extension, so give them the proper extension
The add-on selection dialog showing non-add-on folders in the add-ons folder - only show files with a _main.cfg
2023-07-23 19:58:48 -05:00
Celtic Minstrel
d05bc6e444
Update filesystem.lua (typo) 2023-07-23 11:58:21 -04:00
Celtic Minstrel
46ac2ff1de
Update filesystem.lua
The new include_file directive uses the "scenarios" directory as the asset type, so add it to `filesystem.asset_type`.
2023-07-23 11:58:02 -04:00
Pentarctagon
c2ad332b21 consistent periods 2023-07-20 18:36:36 -05:00
Pentarctagon
0424f08f49 unused variable 2023-07-20 17:25:47 -05:00
Pentarctagon
8c1f2da40e try windows caching suggestion 2023-07-20 17:25:47 -05:00
Pentarctagon
5df54c8ba2 add deprecation message for map_file 2023-07-20 14:20:13 -05:00
Gunter Labes
7223833ccc
Remove obsolete script 2023-07-20 18:52:45 +02:00
Gunter Labes
26394f77e5
Move simulate-lobby-activity.lua next to the script using it 2023-07-20 18:37:05 +02:00
Gunter Labes
3b389c62f2
Restore output path 2023-07-20 17:44:57 +02:00
Gunter Labes
81ddef667b
Move Doxyfile to doc/doxygen 2023-07-20 17:22:03 +02:00
Gunter Labes
ab14e5796a
Remove ancient todo file 2023-07-20 16:16:03 +02:00
Pentarctagon
9006bc5f33 allow all core mainline images, not just icons 2023-07-19 19:12:33 -05:00
Pentarctagon
569f5cc0c0 changelog update 2023-07-19 15:03:52 -05:00
Pentarctagon
10997c39a3
Start giving the editor add-on level functionality. (#7719)
The key word of course being "start". This PR changes the editor by default to work at the add-on level instead of in its own separate scenarios and maps directories. The goal is to make the editor more useful generally, but also specifically to make it much easier for players to distribute content they create using the editor:
* When they click the Editor button on the main menu, they will first be prompted to choose an add-on (or mainline), or to create a new add-on.
* When saved, if the scenario cfg is in the format previously generated by the editor, it will be converted to the new format and to use the [multiplayer] tag, the map_file attribute, and have the map data saved to a separate .map file.
* Relatedly, the editor now knows how to handle scenarios with the map_file attribute at all (which yes, does mean that currently wesnoth's editor doesn't know how to load its own mainline scenarios from their cfg).
* When opening the file chooser dialog, it now defaults to their selected add-on's directory.

If they choose to create a new add-on, then the editor creates for them:
* a basic but functional _main.cfg.
* an empty achievements.cfg (at this point mostly just so they might see it at some point and realize achievements exist, but ideally an achievements editor dialog could be created eventually).
* an empty _server.pbl file.
* a proper add-on directory structure containing the standard set of folders (maps/, scenarios/, units/, utils/, images/, etc).

Additionally, as an initial proof of concept for actually using this new add-on level functionality, a new Add-ons dropdown has been added to the editor's top bar, with a pbl editor option. This allows populating the blank _server.pbl file as well as editing an existing _server.pbl. There is also an option to change the add-on's ID, which will update the add-on's folder name and _main.cfg.

Misc other changes:
* The ability to add a recruit list to a side has been added back as a text box on the edit side dialog. While admittedly this doesn't allow players to select units from within the editor itself, it does set the actual side's recruit list (rather than a specific unit's extra_recruits), will show the user what the current recruit list for the side is (which the previously removed implementation didn't show anywhere), and correctly sets the faction as Custom so that the recruit list is used.
* When saving an old-style editor scenario, everything that can be triggered via [event] is either moved to a start event with a specific id attribute. Exceptions to this are [time], [side], and [side][village]. This is done so that the editor can know (for the most part) what things are actually its own to safely replace. As such, aside from the three previously mentioned tags plus the start event, any other WML added to a scenario by a UMC author is preserved rather than being overwritten - the editor no longer replaces the entire contents of the scenario file.
* The editor no longer writes out cfg files missing the top level scenario tag. If it doesn't find one or this is the first save of a new scenario it defaults to [multiplayer], but otherwise it will properly handle finding [test] or [scenario] as well.
* Requires that map files have the .map extension and scenario files have the .cfg extension. Also it assumes that .map files do actually only have map data in them and the .cfg files do actually have valid WML in them. I understand that this is not a limitation it had previously, but I don't think this is an unreasonable thing to require.
* Addresses part of #7667 by just not using regex for figuring out the map_data attribute value.

Additionally, it is not possible to change the currently selected add-on without going back to the main menu, clicking the editor button, and choosing a different add-on. This is intentional - I don't want to deal with having multiple add-ons open at the same time. If someone feels really strongly otherwise, then they can implement that themselves later.
2023-07-19 15:00:14 -05:00
Gunter Labes
26ec459cb0
Revert "wmllitnt: add two missing corrections (#7765)"
This reverts commit 915d9c5aba334b5dfb05e810a9a0ec671d951d2b since it just adds redundant replacements.
2023-07-19 11:24:28 +02:00
Gunter Labes
90d293c9ba
Replace dummy X server with dummy SDL video driver 2023-07-18 22:34:45 +02:00
Gunter Labes
41ead12a14
Complete WC version removal 2023-07-18 21:32:58 +02:00
Gunter Labes
dcbecefe9e
Improve script to update pathfinding unit tests 2023-07-18 19:41:42 +02:00
Toranks
682b89e764
WC II - Typo and translatability of Difficulty, remove Version (#7795) 2023-07-17 22:22:53 +02:00
Pentarctagon
96a78bd55b move to utils 2023-07-17 11:21:10 -05:00
Pentarctagon
ac797db32a Add script to automate generating new pathfinding answers 2023-07-17 11:08:55 -05:00
Pentarctagon
bdec5836a7 update changelog 2023-07-17 10:30:01 -05:00
Gunter Labes
5464485ca1
Add missing from value 2023-07-17 17:06:12 +02:00
Pentarctagon
9721ae4d23 Add unit movement changes from Hejnewar.
Also update the pathfinding test answers.
2023-07-17 09:11:38 -05:00
Wedge009
22d27a15f7 UtBS S3: Resolve Garak's attacks only partially being converted to fire damage on turn 2 (resolves #7774). 2023-07-17 02:56:51 +02:00
Charles Dang
6648f4f9b3
Merge pull request #7800 from wesnoth/lua-5.4.6
Updated to Lua 5.4.6
2023-07-16 19:48:24 -04:00
Charles Dang
c864bb1444 Updated to Lua 5.4.6 2023-07-16 17:11:26 -04:00
Daniel Foerster
5c0714648a
doc: proofreading fixes for changelog.md (#7798)
Primarily fixes for 1.17.19 changelog, but caught a few old typos as well.
2023-07-16 13:42:10 -05:00
Tahsin Jahin Khalid
8ffe39d58e doc: remove a redundant text segment
from 1.17.19 changelog
2023-07-17 00:01:54 +08:00