openloco:master

Last commit made on 2024-04-24
Get this branch:
git clone -b master https://git.launchpad.net/openloco

Branch merges

Branch information

Name:
master
Repository:
lp:openloco

Recent commits

3188a08... by Duncan <email address hidden>

Implement the remaining formatting functions with libfmt (#2118)

* Implement the remaining formatting functions with libfmt

* Apply review comments

* Add override

* Set the global locale at start

* Reset to classic locale for yaml writing

119411c... by Duncan <email address hidden>

Surface update (#2414)

* Implement surface update

* Make insertion/removal safe

* You get a static, you get a static, everyone gets a static

* Fix minor issues

* Fix final divergence issue and add comments

e18ff2d... by Matt <email address hidden>

Widgets storage (#2452)

* Refactor Widget/Window types and includes

* Have the Window store the widgets, refactor uses

* Make the widgets declaration constexpr, refactor using statics

* Store format arguments in widgets

* Pass format arguments via widget for caption_23

* Pass format arguments via widget for caption_24

* Pass format arguments via widget for caption_25

* Fix company window title not being correct

* Fix company face selection having wrong title

* Always read the format arguments from the widget when rendering

* Refactor LandscapeGeneration.cpp to use widgets for arguments

* Refactor Options.cpp to use widgets for arguments

* Refactor Options.cpp to use widgets for arguments

* Fix ScenarioOptions window

* Fix CompanyWindow

* Fix VehicleWindow

* Fix construction windows

* Fix map window having wrong title

* Make widgets static constexpr in CompanyList.cpp

* Make construction window widgets const/constexpr

* Add static constexpr for widgets in Error.cpp

* Add static constexpr for widgets in IndustryList.cpp

* Add static constexpr for widgets in MessageWindow.cpp

* Add static constexpr for widgets in NetworkStatus.cpp

* Add const/constexpr for widgets in News window

* Fix ObjectSelectionWindow using the wrong widgets, make widgets const

* Add static constexpr for widgets in ProgressBar.cpp

* Add static constexpr for widgets in StationWindow.cpp

* Add static constexpr for widgets in TerraForm.cpp

* Add static constexpr for widgets in TownList.cpp

* Make recolour functions constexpr

* Add static constexpr to widgets in Tutorial.cpp

* Fix vehicle list window not having company name in title

* Adjust other language files

e5b5d91... by Aaron

Speed up ScenarioManager::loadScenarioProgress (#2455)

c3ddaa6... by Aaron

Minor improvements to removeTrainStation with hindsight (#2456)

77b4ba1... by Aaron

Implement removeTrainStation game command (#2410)

908d4bc... by Aaron

Refactor MapWindow::setHoverItemTab (#2447)

826b4dd... by Matt <email address hidden>

Update sfl to 1.4.0 (#2445)

6152072... by Matt <email address hidden>

Fix save previews not being rendered (#2440)

* Refactor save previews to directly render the viewport

* Remove unused function

f706f17... by Matt <email address hidden>

Implement Window::invalidatePressedImageButtons (#2438)

* Refactor isDropdownActive to query if its active for a window

* Implement 0x004C99B9

* Use the helper function isActivated

* Use a mask to check for the 31 bit