Commit graph

83373 commits

Author SHA1 Message Date
doofus-01
ef25dbea7c
adjust base y of diagonal bridges terrain graphics macro (#8020)
1.17/1.18 - adjust bridge layering, fixes #8010
2023-11-04 12:57:11 -07:00
doofus-01
bec1afd9f5 adjust bridge layering, fixes #8010 2023-11-04 10:31:49 -07:00
doofus-01
f5fce3437b
touchup to direwolf defense frames (#8017)
* touch-up to direwolf defense frames fixes #8003 

* copyrights.csv
2023-11-04 08:28:37 -07:00
Nils Kneuper
307677a98e updated Slovak translation 2023-11-04 11:10:53 +01:00
Nils Kneuper
cd6fd23202 updated French translation 2023-11-04 11:10:00 +01:00
Nils Kneuper
291ad1c26a updated British English translation 2023-11-04 11:09:27 +01:00
irregularBismuth
b8adf0cd5e
Credits Crash Bug fix (#7931)
Co-authored-by: pentarctagon <pentarctagon@tutamail.com>
2023-11-03 12:10:59 -05:00
Gunter Labes
6cc717042d
Kill wesnothd when script is killed with INT 2023-11-02 18:41:37 +01:00
pentarctagon
60a11f2420 why is this even allowed to build... 2023-11-02 12:05:17 -05:00
Gunter Labes
8788c55874
Run trunk server with SQL debug logging 2023-11-02 18:00:49 +01:00
Pentarctagon
080dc3f003
add some logging to game history query (#7998) 2023-11-02 11:04:07 -05:00
Tommy
3f95df8fdc Fix the --screenshot commandline arg.
A new fake video mode video::fake::hide_window was added,
as screenshots need a rendering context and thus a window.
It draws everything as normal, just with the window hidden.

The other fake modes were also renamed to increase clarity a bit.
2023-11-01 11:33:30 +13:00
doofus-01
50a21a2c6c
1.18 - Some loyalist animation updates (#7999)
* some Swordsman anim updates

* simple breeze anim for Cavalier

* breeze anim for paladin

* dragoon xbow anim

* fixes #7257

* update copyrights.csv
2023-10-29 17:45:09 -07:00
Tommy
ca5edd5336 Regenerate story screen message panel blur when background changes. 2023-10-30 12:28:14 +13:00
Tommy
7695ee7159 Enable multi-pass rendering.
An extra rendering pass can be requested during render or expose
by calling draw_manager::request_extra_render_pass().
This is used for blur effects.
2023-10-30 12:28:14 +13:00
Tommy
8d4deeef02 Start game with theme buttons hidden.
Fixes #6922.
2023-10-30 12:24:27 +13:00
pentarctagon
1c51bd3388 pot-update and regenerate doc files 2023-10-28 09:05:39 -05:00
Nils Kneuper
829b74cf5c fix missing closing " in Welsh credits 2023-10-28 11:21:43 +02:00
Nils Kneuper
5acd4ac11c updated French translation 2023-10-28 10:11:52 +02:00
Nils Kneuper
db8b06c0b7 updated Italian translation 2023-10-28 09:59:18 +02:00
Nils Kneuper
20636a8701 updated Slovak translation 2023-10-28 09:58:23 +02:00
Nils Kneuper
b64166d49f updated Welsh translation credits 2023-10-28 09:55:30 +02:00
pentarctagon
47eef10a32 update msys2 image. 2023-10-28 01:17:32 -05:00
Tommy
e24f60fd43 Re-enable blur for various message panels.
This was disabled a long time ago. It might be fixed now.

This reenables blur for character dialogue. I'm not 100% sure what else.
2023-10-28 12:13:33 +13:00
Tommy
766cfe8201 Implement deferred rendering for blurrables.
UI elements with blur effects (such as translucent windows) now defer
rendering for one frame, so they can snapshot the area underneath
for blurring.

In the future this should be done as multiple passes in one frame,
but for now this is fine.
2023-10-28 12:13:33 +13:00
Tommy
08144affdf Allow draw::set_render_target to switch to the main render buffer.
This is done by passing it an empty texture.
2023-10-28 12:13:33 +13:00
Tommy
0eada04f55 Offscreen rendering for windows.
Windows will now render to an offscreen buffer. They only render when
something changes, and the re-rendered area is kept to a minimum.

When the window needs to be redrawn to the screen, it simply copies
the appropriate region from the offscreen buffer.

This should greatly improve performance in cases where a window isn't
changing its contents, but needs to be redrawn frequently. For example
a pop-up dialog being drawn over animated terrain (see #7615).
2023-10-28 12:13:33 +13:00
Tommy
18c2ad3bf8 Add a negation operator for sdl::point. 2023-10-28 12:13:33 +13:00
Tommy
c6d9565ed1 Fix UI update when changing pixel scale pref.
This just brings the custom resize event that can be fired in line
with the change made in ac96df07be .
2023-10-28 12:05:03 +13:00
gfgtdf
eda389b28d Fix include_file= not being able to handle cfg files generated by the editor
including scenarios generated by the editor was the main usecase for this
2023-10-27 23:41:52 +02:00
Gunter Labes
f3c963ca00
Make --threads optional 2023-10-27 22:08:36 +02:00
pentarctagon
c8b12c0902 Improve performance of the game history query by a lot.
Fixes #7988

I have no idea why this helps anything at all, since my understanding has always been that inner joins vs a big where clause are essentially two different ways of accomplishing the same thing, but changing the two inner joins to a where clause improves query performance from 6.3 to 0.012 seconds (when running the query from the website VM). As best I can tell from the explain plans, the inner joins are somehow confusing the query optimizer to use the game_content_info table as the starting point of the query instead of the game_info table, but why it's doing that or why it has such a large impact remains a mystery.
2023-10-27 14:44:06 -05:00
Pentarctagon
6b9a7627b9
Get the add-on ID from the file path if possible. (#7981)
Co-authored-by: Gunter Labes <soliton@wesnoth.org>
2023-10-27 10:22:52 -05:00
Pentarctagon
81bbcabe13
Don't treat an add-on as published if it has no version attribute. (#7986)
Fixes #7846
2023-10-26 15:39:39 -05:00
Gunter Labes
2fd85fc556
Fix attribute presence check 2023-10-26 20:54:12 +02:00
Tahsin Jahin Khalid
da53b6967f
Units: update falcon and raven races to not get names
* update falcon and raven races to not get names

To conform with other monster units

* units: remove a redundant line of code

from races falcon and raven definitions
2023-10-26 12:54:37 +06:00
Tahsin Jahin Khalid
67007768ec
[Campaigns][Eastern Invasion] fix editor group icon
[Campaigns][Eastern Invasion] fix editor group icon
2023-10-25 21:34:50 +06:00
gfgtdf
92a0885a97 add error message for #7164 2023-10-25 08:12:24 -05:00
newfrenchy83
3910817cf7
add a 'replacement_type' and 'alternative_type' attribute in [damage] special or ability who modify the type of attack used (#7865)
At the suggestion of @stevecotton, I propose a special 'replacement_type' and 'alternative_type' attribute capable of modifying the type of attack used when the conditions are met.

Also make Holy water combine arcane damage with native type of weapon

Like holy water imbued ordinary weapon, it's seem logic what arcane damage dominant what if more efficient what original type(water can't altered pierce or blading of spear or sword)
2023-10-25 08:10:52 -05:00
pentarctagon
ae4242a430 update path 2023-10-24 23:11:36 -05:00
Charles Dang
9c423bd544 Fixed FG terrains drawing in the BG (fixes #7976)
Small typo regression from c6932e8133
2023-10-24 23:53:07 -04:00
pentarctagon
35682922af add new saurians to changelog. 2023-10-24 19:05:49 -05:00
Tahsin Jahin Khalid
05fdb7716d EI: fix editor group icon 2023-10-24 23:26:03 +08:00
Wedge009
13353f8212 Missed typographic apostrophe.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
a2f3758291 Missed non-standard spacing. 2023-10-23 09:44:50 +02:00
Wedge009
99fd130a06 Missed one set of dashes.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
45e537505f Use 'curly' quotes as per typography standard.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
4037e2a138 Replace non-standard spacing.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
94b48615f0 Use em-dash as per typography standard.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
adfe5e7958 Avoid double-mention of 'pierce' as per @stevecotton's review.
[ci skip]
2023-10-23 09:44:50 +02:00