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
Charles Dang
7a665d0959
Config Attribute Value: let compiler handle default special functions (rule of 5)
2024-08-01 00:05:54 -04:00
Charles Dang
0a9d351fe2
Replace filesystem::ends_with
with boost::algorithm::ends_with
...
The former had nothing to do with fs functionality at all.
2024-08-01 00:03:13 -04:00
Charles Dang
2f85001897
GUI2/Group: marked get_active_member_value const
2024-07-31 22:55:04 -04:00
Charles Dang
159998b80c
MP: fix ambiguous case of config attribute used as bool
...
It's honestly not entirely clear what the right behavior is here. The way it is, to_bool is implicitly being invoked, which, given that this is supposed to hold an int, would always return false. And checking the int value doesn't seem to make sense either, since that would only exclude turns=0 (which would be a dumb value, but I'm not sure that's what this is for. So I figured a 'has attribute' check is best.
2024-07-31 22:47:01 -04:00
Charles Dang
18b9bf7c23
AI/Manager: clean up a few constness things
2024-07-31 22:38:23 -04:00
Charles Dang
f3c569a10d
AI/Manager: clean up unnecessary uses of this->
2024-07-31 22:19:28 -04:00
Charles Dang
40a071fbc5
AI/Manager: clean up a nasty case of string concat
2024-07-31 22:11:06 -04:00
Charles Dang
3b1eb6580f
Use standard feature check macros instead of the global HAVE_CXX20 flag
2024-07-31 14:45:05 -04:00
Charles Dang
b295364979
Attempt to fix utils::reversed_range
2024-07-31 14:45:04 -04:00
Charles Dang
e0507c1156
Test use of std::string::ends_with
2024-07-31 14:45:03 -04:00
Gunter Labes
8a67ee5101
Demote some messages to debug level
2024-07-31 08:56:31 +02:00
Gunter Labes
7355ee2eb7
Remove trailing whitespace
2024-07-31 08:51:46 +02:00
Charles Dang
fa905a6165
Added some heterogeneous comparison config tests
2024-07-30 22:48:40 -04:00
Charles Dang
e36b675ec4
New config_attribute_value::operator== implementation
2024-07-30 22:48:40 -04:00
Charles Dang
1ba0168eb3
Removed serialization test that relies on deleted ostream operators
...
These were removed in C++20. See https://en.cppreference.com/w/cpp/io/basic_ostream/operator_ltlt2
and https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1423r3.html#option7
2024-07-30 21:03:43 -04:00
Charles Dang
698bc98ff2
Avoid brace init for visitor classes
...
Doesn't play nice with boost::static_visitor for c++20...
2024-07-30 21:03:43 -04:00
Charles Dang
d77700f2f2
Use feature check for parenthesized aggregate initialization
2024-07-30 21:03:43 -04:00
Charles Dang
bd819ced00
MP/Connect: move user_defined implementation out of header
2024-07-30 21:03:43 -04:00
Charles Dang
387fa7458e
Terrain/Builder: cleanup various struct ctors and use inline initialization
...
This avoids issues when building with Clang in C++20 mode. It seems in C++20 (possibly as a
result of vector gaining constexpr functionality), the rule about not referencing incomplete
types in a vector is now more strictly enforced.
See also https://www.lukas-barth.net/blog/cpp20-vector-incomplete/
2024-07-30 21:03:43 -04:00
Charles Dang
a4fa20a331
Schema: delete empty dtors in parser
and wml_tag
2024-07-30 21:03:43 -04:00
Charles Dang
221b17b9f6
Schema/Tag: clean up constructors, use inline initialization
2024-07-30 21:03:43 -04:00
Charles Dang
712e66f9ef
Display Context: move has_team implementation out of header
2024-07-30 21:03:43 -04:00
Charles Dang
a2e50f56c4
WFL: move variant_list ctor implementation out of header
2024-07-30 21:03:43 -04:00
Charles Dang
764c50f21a
Color Range: take span to const color_t
2024-07-30 21:03:43 -04:00
Pentarctagon
3cef48fe38
damage ability tests ( #9137 )
2024-07-30 19:06:38 -05:00
white-haired-uncle
d74b4061fa
improve tooltip placement on sidebar ( #8908 )
2024-07-30 17:27:27 -05:00
Subhraman Sarkar
64caa4acda
Allow quick reload of gui2 themes ( #9117 )
...
* New "Apply" button in preferences dialog that is used to quickly apply the GUI2 theme, no restart needed.
* gui initialization reorganized a bit. gui2::init() now responsible for reading themes from file only. Actual theme switching and activation done by gui2::switch_theme(). preferences dependency removed from gui and moved to caller of gui2::init(). gui2 tests updated accordingly.
2024-07-30 07:59:54 +05:30
pentarctagon
40cca745d0
fix indentation in changelog
2024-07-29 12:55:12 -05:00
Toom
cd5f878eba
fix WRN_NG level
2024-07-29 10:50:57 +10:00
Gunter Labes
1f6c935fe1
Declare locally used function static
2024-07-28 22:10:09 +02:00