81483 Commits

Author SHA1 Message Date
loonycyborg
f13ab34373
campaignd: close socket on read error 2022-10-05 13:34:26 +03:00
Steve Cotton
34ae0490b1 run_wml_tests: add an option to filter tests by name
For example, `run_wml_tests --filter backstab` runs only the tests listed
in `wml_test_schedule` that have `backstab` somewhere in their name.
2022-10-05 07:44:02 +02:00
Charles Dang
0712a94b11 Fixed whole map not redrawing when toggling fg debug 2022-10-04 12:20:21 -04:00
Charles Dang
a6bfc1187e Display: unify handling of debug flags 2022-10-04 12:18:58 -04:00
Charles Dang
c6932e8133 Refactored gamemap drawing
This simplifies the drawing buffer implementation. Instead of storing textures (or lists of textures),
we now store a function which takes the rect of the specified hex. This function is responsible for
actually rendering textures. The upsides of this are several. First, it means the whole drawing buffer
interface is much cleaner, since it no longer has to worry about texture mods or anything of the sort
(alpha, color mod, etc). The drawing functions themselves can handle them as needed. Second, it means
the messy, hacky, surface-based unit HP/XP bar drawing code can be replaced with simple rectangles!

Also includes:
* The whiteboard arrows now use the drawing buffer. The complexities of render_image were not needed.
* display::render_image has been removed and made local to the unit frame drawing code, which it is
  intended for.
* unit_drawer::scaled_to_zoom has been removed
* Added a point overload of display::scaled_to_zoom
* Merged drawing buffer calls which can now be logically handled together
* Removed drawing_buffer_key class in favor of a simple function to generate the key.
* Made display::add_submerge_ipf_mod a public static function
* Added display::get_location which combines get_location_x and get_location_y
* Avoid looping through invalidated hexes twice when rendering
* Refactored how hex debug aids are rendered
2022-10-04 04:17:53 -04:00
doofus-01
880183774c
1.17 elevated terrain work (#7014)
* stone border revision

* corner case transitions

* add MP example scenario/map for elevated terrain

* simplify the floodfill

* change ravine from ^Qhx to ^Qhux, for better filtering

* reorganize images
2022-10-02 20:28:03 -07:00
Nils Kneuper
e8a2654548 updated French translation 2022-10-01 10:04:14 +02:00
newfrenchy83
b43cfc1fd5
Define version for removing backstab option in deprecated message (#7024) 2022-09-29 17:42:11 +02:00
Tahsin Jahin Khalid
3364f82150
Units: Wyvern Rider XP set to 200
Units: Wyvern Rider XP set to 200
2022-09-29 23:02:39 +08:00
loonycyborg
5f2e25a9fa
servers: close socket on write error 2022-09-28 23:44:05 +03:00
Tahsin Jahin Khalid
20cac6ab10 Units: add new corpse variation
This accommodates the variation of the Giant Scorpion, the Sand Scuttler.
2022-09-27 23:59:56 +08:00
Tahsin Jahin Khalid
841f1afb9e Units: Wyvern Rider XP set to 200
Level 4 unit so by convention should be 200
2022-09-27 23:32:49 +08:00
Charles Dang
9ace1c1007 Mark more color_t stuff constexpr 2022-09-27 00:32:11 -04:00
Pentarctagon
08e79f4e36 Add filter for bot-hosted games.
Bot-hosted games are now shown in a separate tab from player-hosted games, based on the new auto_hosted attribute on the game creation WML. This is not something that's available to be selected during game creation since it's assumed it will instead be set by the bot implementation. Note that this isn't *really* putting games into two separate tabs, it just looks that way for UI/UX reasons.

Resolves #6939
2022-09-26 09:01:11 -05:00
Charles Dang
8e9c333ed6 Mark color_t ctors constexpr 2022-09-25 16:58:47 -04:00
newfrenchy83
ab85e296b6
change the deprecation message content for backstab option (#7021)
Makes it a bit clearer on what the new way of implementing backstab is.
2022-09-25 10:59:44 -04:00
Nils Kneuper
d4ca8d3e41 updated Portuguese (Brazil) translation 2022-09-24 18:08:03 +02:00
Nils Kneuper
800e875439 updated French translation 2022-09-24 18:07:13 +02:00
Nils Kneuper
e4cf0aa300 updated Italian translation 2022-09-24 18:06:24 +02:00
Nils Kneuper
90bcd9f10e updated British English translation 2022-09-24 18:05:42 +02:00
Pentarctagon
1e3f53156f Make the 4th player speak in map 1. 2022-09-23 16:39:11 -05:00
Pentarctagon
7cf8ab0275 Auto-generate hero list when neccessary. 2022-09-23 16:39:11 -05:00
walodar
d01aabc81f MP tooltips: allow line breaks between hexagons by using Unicode zero width space 2022-09-20 00:40:50 +02:00
Pentarctagon
490434bc3c 1.17.8+dev 2022-09-18 23:20:45 -05:00
Pentarctagon
3b2cf63779 1.17.8 1.17.8 2022-09-18 23:19:48 -05:00
Pentarctagon
910eedeb61 pot-update and regenerate doc files 2022-09-18 23:15:06 -05:00
Tahsin Jahin Khalid
63c3252a20
Units: apply max-XP conventions in some units
[Units] Fix XP conventions oversight in some monster/horse Units
2022-09-18 13:32:10 +08:00
Nils Kneuper
158141740a updated British English translation 2022-09-17 12:00:51 +02:00
Nils Kneuper
608320b328 updated Portuguese (Brazil) translation 2022-09-17 12:00:05 +02:00
Pentarctagon
9ec257c47d Change macos back to using RC4.
The AES implementation wasn't working, so someone using macos will need to investigate that in the future probably. For now though RC4 isn't deprecated yet on macos.
2022-09-15 10:39:19 -05:00
Pentarctagon
c5142b9436 Sync changelog. 2022-09-14 12:07:42 -05:00
Wedge009
1cfb982a3c
DiD S8: Handle situations where factions have not yet appeared (#7006)
* DiD S8: Handle situations where factions have not yet appeared (resolves #7005).
* Convert 'arrived' flags to booleans.
* DiD S8: po hint to clarify 'Dela's men'.
* Accommodate feedback by getting rid of all the new work and just removing any reference to paladins or Dela altogether. Conversion of flag to boolean remains, however.
2022-09-14 15:04:52 +10:00
loonycyborg
ec789c5051
campaignd: fixed file descriptor leak on sendfile() codepath 2022-09-13 19:46:03 +03:00
Wedge009
ad02e381f2 WoF: Correct apostrophes
[ci skip]
2022-09-13 06:57:34 +10:00
doofus-01
e9ec7c4108
1.17 alternate high/low terrain levels (#7007)
* alternate high/low levels (so five total : -2, -1, base, +1, +2)

* fix some transitions

* improve terrain level spreading through border-type hexes (bluff/gulches, for now)
2022-09-11 21:01:28 -07:00
Wedge009
40ab9a38b8 WoF: Spelling corrections
[ci skip]
2022-09-11 12:37:40 +10:00
Nils Kneuper
40d93a7931 updated Italian translation 2022-09-10 12:41:53 +02:00
Nils Kneuper
eedfab033d updated Czech translation 2022-09-10 12:40:34 +02:00
Pentarctagon
f3ca89d5f4 Set correct pango required version in cmake/scons. 2022-09-09 10:28:15 -05:00
doofus-01
caee3a6dfc
Update changelog.md 2022-09-05 19:45:47 -07:00
doofus-01
dc820341c5
1.17 raised terrain (#6975)
* floodfill high/low terrain

* stone and wooden transitions
2022-09-05 19:41:07 -07:00
Pentarctagon
90a53be98f Fix #4456: Sidebar abilities display leaks shrouded information
Re-PR of #4462
2022-09-05 10:51:35 -05:00
Nils Kneuper
ea3fba39bc updated French translation 2022-09-04 10:08:57 +02:00
Pentarctagon
bd306a5aa9 Update flatpak runtime to freedesktop 22.08. 2022-09-03 11:53:56 -05:00
Tommy
1283348077 preferences: Adjust show_deprecation default to coincide with usage 2022-09-03 10:44:59 -05:00
Steve Cotton
641c69fdea Update changelog 2022-09-03 16:37:05 +02:00
Nils Kneuper
0523a5b2fe updated Chinese (Simplified) translation 2022-09-03 15:17:27 +02:00
Steve Cotton
ae4ecd17e4 Show units' max move ranges, unless it's the owner's turn
If it's another player's turn, then movement points will be reset in a refresh
phase and it's not useful to show current movement.

Partially reverts 978229c247 (af0968d9c3 on 1.16), using the old logic for
the movement range but the allies-based logic for goto_x,goto_y information.

Fixes #6716.
2022-09-03 14:26:09 +02:00
Nils Kneuper
5c31ccc8fe updated British English translation 2022-09-03 11:11:55 +02:00
Nils Kneuper
57d8da0ea3 updated French translation 2022-09-03 11:10:34 +02:00