81401 Commits

Author SHA1 Message Date
Pentarctagon
03598585c1 Add keepalive advanced preference. 2022-10-12 07:58:07 -05:00
Pentarctagon
94962e6365 Enabled client-side keepalive.
Also adds a windows version of keepalive to the servers.

Resolves #1336
2022-10-12 07:58:07 -05:00
Tahsin Jahin Khalid
28b5a21f3c
Wmllint: add new terrain code updaters for stone/wooden floors
Wmllint: add new terrain code updaters
2022-10-12 12:26:24 +08:00
Tahsin Jahin Khalid
fde3c8df29 wmllint: add terrain code updaters
Allows updating maps by wmllint. Accommodates #7042
2022-10-10 21:47:42 +08:00
doofus-01
7377ce724e
crumbling stone stairs for Isa elevation borders (#7045) 2022-10-09 21:18:23 -07:00
doofus-01
14c09e8c28
1.17 Saurian palette cleanup (#7044)
* remove swoosh alpha

* saurian sprite palette clean-up - part of #6417
2022-10-08 22:01:56 -07:00
doofus-01
5482477329
Update changelog.md 2022-10-08 16:09:23 -07:00
doofus-01
bbdb6c57ef
Change terrain codes for stone and wooden floors (#7042)
* revise I-type terrain codes so they can be filtered with wildcard

* update the few MP maps using these I-type codes

* update the few campaigm maps using these I-type codes
2022-10-08 16:04:18 -07:00
Nils Kneuper
de9311e262 updated French translation 2022-10-08 13:54:39 +02:00
Nils Kneuper
ee7acbc33b updated Czech translation 2022-10-08 11:34:03 +02:00
newfrenchy83
18e77e45ef
Remove deprecated backstab code and using wml filters instead (#7031)
This replaces the code for handling backstab with code that converts it to something new that still works.
Thus, the deprecation message is now INDEFINITE instead of PREEMPTIVE.
2022-10-06 08:52:20 -04:00
Wedge009
b4897046de Reduce the saturation of hex colour for movement points.
Attempting to mitigate #7017.
2022-10-06 10:19:57 +02:00
Charles Dang
d2f82f7d41 Moved handling of mouseover overlays to editor_display 2022-10-06 03:13:51 -04:00
Tahsin Jahin Khalid
6cb968d6c2
Units: add sand_scorpion variation to Walking Corpse and Soulless
Units: add sand_scorpion variation to Walking Corpse and Soulless
2022-10-06 00:29:55 +08:00
loonycyborg
bfc177854b
Fix -Wunused-variable warning 2022-10-05 13:34:34 +03:00
loonycyborg
ee2bf51736
campaignd: fix native sendfile() codepath 2022-10-05 13:34:34 +03:00
loonycyborg
dc7100653e
servers: implement consistent error handling policy for coro_* functions
- coro_ read function returns empty unique_ptr on error
- coro_ write functions close socket on error
- caller does need only to handle empty unique_ptr from reads, generally
  with immediate return
2022-10-05 13:34:34 +03:00
loonycyborg
88f0fbe18f
Servers: add explicit error checking to low level coro_ functions 2022-10-05 13:34:34 +03:00
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