Commit Graph

26488 Commits

Author SHA1 Message Date
Aaron van Geffen
16a7e36984 Refactor AlignButtonsLeftRight to use std::ranges::reverse_view 2024-05-08 20:20:33 +02:00
Aaron van Geffen
c4fdade375 Fix _topToolbarWidgets indentation 2024-05-08 20:04:32 +02:00
Aaron van Geffen
b37e2479c8 Refactor kWidgetOrderLeftGroup, kWidgetOrderRightGroup into std::array 2024-05-08 20:04:13 +02:00
Aaron van Geffen
d801882492 TopToolbar: refactor OnPrepareDraw into separate functions 2024-05-08 19:58:27 +02:00
Aaron van Geffen
376cb1f74a Add changelog entries 2024-05-08 17:52:58 +02:00
Aaron van Geffen
8dd22e90b4 Offset small maps to centre of scrollview 2024-05-08 17:40:28 +02:00
Aaron van Geffen
58aa5e0106 Limit map window dimensions based on map size 2024-05-08 16:36:48 +02:00
Aaron van Geffen
779e65d8b2 GameBottomToolbar: use constants for balloon/umbrella/hat sprites 2024-05-07 23:00:46 +02:00
Aaron van Geffen
73c592b137 Guest window: use constants for balloon/umbrella/hat sprites 2024-05-07 23:00:36 +02:00
Aaron van Geffen
aeef004710 Prevent map corners from being cut off (original bug) 2024-05-07 13:56:06 +02:00
Aaron van Geffen
0d3c9909b6 Map window: rework to use current map sizes 2024-05-07 13:50:44 +02:00
Aaron van Geffen
f51404d29d Amend changelog 2024-05-07 11:20:56 +02:00
Michał Janiszewski
11510a0e0b Guard against possible nullptr dereference when prefetching BBox (#21978) 2024-05-07 06:21:27 +02:00
Michał Janiszewski
a611244b31 Fix #21976: Add algorithm include to fix gcc14 compile (#21977)
Co-authored-by: H3o66 <chris.h3o66@gmail.com>
2024-05-06 20:40:36 +00:00
Aaron van Geffen
2ff3295587 Report FileIndex index progress to Context
Progress is passed on to PreloaderScene and NetworkInfo window from there.
2024-05-06 14:26:00 +00:00
Aaron van Geffen
d6ce62e74f JSON: allow/ignore comments in parser 2024-05-06 16:15:00 +02:00
Aaron van Geffen
3e000d550b Prevent NetworkStatusWindow border from flashing on update 2024-05-06 15:44:07 +02:00
Aaron van Geffen
db73b1fede Move TitleSequenceManager::Scan into preloader as well
Add strings for checking and loading title sequence
2024-05-06 14:08:49 +02:00
Aaron van Geffen
809fe4a51b Initialise scenes only when they are first accessed 2024-05-06 14:08:35 +02:00
Aaron van Geffen
893392d987 Scripting: allow precise and safe control of peep animations 2024-05-05 21:09:41 +00:00
Michael Steenbeek
bf74dfba7b Merge pull request #21965 from AaronVanGeffen/fix-cli-editor
Fix loading editor from command line
2024-05-05 22:42:24 +02:00
Aaron van Geffen
831c7651bb Scripting: tailor costume assignment to each staff type
In order to transition staff costumes to objects, we must further disentangle staff from regular peeps. This has many advantages, such as making custom entertainers or even handymen costumes. However, this means putting some restrictions on what costumes can be assigned to staff in the mean while.

We are aware of plug-ins allowing staff to be decorated like normal peeps, though, e.g. using @Manticore-007's Peep Editor. Splitting staff from peeps will mean breaking such functionality. We can do our very best to reverting 'invalid' staff to their normal outfits instead of them outright disappearing. However, in the mean time, we should disallow peep costumes from being assigned to staff to prevent further disappointment down the line.

Once we get to actually adding custom staff costumes, I plan to add a new plug-in API to get available costumes for a particular staff type. This would apply to entertainers, but also other staff types. This should make it easier for plug-in authors to tap into custom costumes in the future.
2024-05-05 22:41:52 +02:00
Michael Steenbeek
46b356047c Merge pull request #21889 from Gymnasiast/refactor/segments
Refactor blocked segments
2024-05-05 21:54:34 +02:00
Michał Janiszewski
c8ec8a550a Start v0.4.12 2024-05-05 21:00:39 +02:00
Michał Janiszewski
6838832778 Merge branch 'master' into develop 2024-05-05 20:59:44 +02:00