Gymnasiast
5ffee91c8a
Rename members of GameActions::Status
2025-12-12 11:41:49 +01:00
Michael Steenbeek
6f24577027
Fix return value of Widget::width()
2025-11-08 10:27:58 +01:00
Gymnasiast
7c51ccde1e
Rename Rect namespace to Rectangle
2025-10-23 18:44:45 +02:00
Gymnasiast
93c3d99546
Move rectangle drawing into its own namespace
2025-10-23 18:41:08 +02:00
Gymnasiast
9e9b774266
Move rectangle drawing to Rect.{cpp,h}
2025-10-23 18:40:04 +02:00
Gymnasiast
daa4fe8ac3
Rename field of all config categories
2025-10-07 20:21:32 +02:00
Gymnasiast
18a25688e3
Rename members of StaffType
2025-10-05 14:47:16 +02:00
Gymnasiast
d97512f498
Rename members of PeepAnimationGroup
2025-10-05 14:46:12 +02:00
Gymnasiast
159dc7aab0
Rename members of PeepState
2025-10-05 14:46:12 +02:00
Gymnasiast
aa84394e7b
Rename fields of PeepAnimation
2025-10-05 01:27:23 +02:00
Gymnasiast
ee67a827c0
Rename members of AnimationPeepType
2025-10-05 01:10:06 +02:00
Gymnasiast
1f8c9af9ce
Rename methods of InputManager
2025-10-01 20:35:35 +02:00
Gymnasiast
a03613df35
Change FilterPaletteID to lowerCamelCase
2025-09-23 21:09:54 +02:00
Michael Steenbeek
eb38b7227f
Change WindowFlag to strong enum
2025-09-20 21:46:42 +02:00
Gymnasiast
a662c5ef8e
Change WindowClass members to use lowerCamelCase
2025-09-17 23:18:52 +02:00
Gymnasiast
3a803e13e2
Change window functions to use lowerCamelCase
2025-09-17 20:10:12 +02:00
matheusvb3
2ad4d4be72
Add isEntertainer method to Staff class, small cleanup
2025-09-15 23:00:13 +02:00
Aaron van Geffen
4446ff9f6f
Pass game state ref as parameter to game actions ( #25065 )
2025-09-08 16:21:29 +02:00
Aaron van Geffen
5a4cc7d00d
Remove Network function name prefixes given namespace qualifiers
2025-08-31 16:02:43 +02:00
Aaron van Geffen
12ab9195b6
Rework EntityRegistry into class
2025-08-31 14:29:36 +02:00
Aaron van Geffen
abe58f6439
Move ClearAction, GameAction, ScenarioSetSettingAction into GameActions ( #25045 )
2025-08-29 06:32:05 -03:00
Aaron van Geffen
620c1f40ef
Move Staff game actions into GameActions namespace
2025-08-26 18:34:31 +02:00
Gymnasiast
9c810d9e32
Update ParkData fields to new code style
2025-08-21 22:12:41 +02:00
Aaron van Geffen
84ec1cc209
Move .staff(Handyman|Mechanic|Security)Colour into ParkData struct
2025-08-13 22:06:01 +02:00
Michael Steenbeek
7b322d825a
Refactor constants in window .cpp files
2025-06-16 23:10:47 +02:00
Gymnasiast
81e3181ebb
Pass ScreenSize to makeWindowShim()
2025-06-10 23:21:15 +02:00
Gymnasiast
bdba89f428
Pass ScreenSize to window creation functions
2025-06-10 23:20:28 +02:00
Gymnasiast
bd6ae5848c
Rename remaining methods in Widget.h to lowerCamelCase
2025-06-10 23:20:18 +02:00
Gymnasiast
650fa3ae2e
Rename WindowWidgetType to WidgetType and change for new code style
2025-06-10 19:55:12 +02:00
Gymnasiast
149468406b
Update WindowColour enum for new code style
2025-06-10 19:53:12 +02:00
Gymnasiast
86e265f093
Make widget creation functions lowerCamelCase
2025-06-10 19:51:21 +02:00
Aaron van Geffen
0779b9f0ab
Replace window shim and widget macros with constexpr functions ( #24566 )
2025-06-07 23:02:14 +02:00
Matt
6335c31336
Rename DrawPixelInfo to RenderTarget ( #24339 )
...
* Begin backend separation, rename type DrawingPixelInfo to RenderTarget
* Rename dpi variables to rt
2025-05-04 22:06:46 +00:00
Aaron van Geffen
3f87e2b67a
Centralise ResizeFrame in WindowBase and call when setting widgets or resizing
2025-04-11 20:37:54 +02:00
Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +01:00
Aaron van Geffen
7a823bf928
Use WindowSetResize to set min/max dimensions in most places ( #23929 )
...
* Refactor WindowSetResize to use ScreenSize structs
* Let WindowSetResize return whether or not window was resized
* Use WindowSetResize to set min/max dimensions in most places
2025-03-05 15:58:59 +00:00
Gymnasiast
09da9779a5
Change Tool members to new codestyle
2025-03-01 20:12:12 +01:00
Michael Steenbeek
9f343abdda
Reduce hardcoded positions for various windows
2025-02-26 21:09:54 +01:00
73
b9b2c96c97
Rename sprites.h to SpriteIds.h ( #23804 )
2025-02-13 15:51:46 +00:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Aaron van Geffen
5fbe8d0ae1
Centralise external window signatures in Windows.h ( #23653 )
2025-01-19 15:50:54 +01:00
Aaron van Geffen
bed4d5bdca
Move WindowCreate and WindowFocusOrCreate into WindowManager ( #23643 )
...
* Move WindowBringToFront into WindowManager
* Move WindowCreate and WindowFocusOrCreate into WindowManager
* Cut back on Context/UiContext includes
2025-01-19 06:58:28 -03:00
Matt and Aaron van Geffen
b9f6b6f754
Refactor widgets state ( #23621 )
...
* Refactor windows to not share widget state
* First half of refactoring all the windows
* Refactor the remaining windows, compiles but has issues
* Fix drawing only every second widget
* Remove the need of an terminating widget
* Address WidgetIndex signedness issues; use kWidgetIndexNull more
* Address constexpr issue with Widget content union
* Fix tabs in scenery window
* Fix tabs in object selection window
* Adjust custom widget index for CustomTool events
* Use STR_NONE for default tooltip initialisation
* Adjustment for mingw compiler
* Fix bottom toolbar using the widget declaration not instance
* Remove pointless code in Guest window, handled by SetPage
* Prevent out of bounds crash
* Move scroll widgets initialization to SetPage in Cheats window
* Remove special logic in Options window
* Remove special logic in Park window
* Remove special logic for Player window
* Remove special logic for Research window
* Remove special logic for Ride window
* Remove special logic for Staff window
* Remove special logic for Finances window
* Remove special logic for MapGen window
* Remove special logic for editor objective options window
* Remove special logic for editor scenario options window
* Fix widgets not being set since page is initialized to 0
* Remove more redundant code
* Fix remaining access to widget declarations
* Remove unused variable
* Fix editor object selection tabs on successive windows
---------
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net >
2025-01-18 13:45:17 +01:00
Aaron van Geffen
90143b2e38
Address review comments
2025-01-09 12:34:45 +01:00
Aaron van Geffen
f3a0593591
Staff window: make tab animation lengths dynamic
2024-12-09 22:43:45 +01:00
Aaron van Geffen
cfdfd1a234
List available staff costumes dynamically
2024-12-05 17:39:10 +01:00
Aaron van Geffen
3cc8aec6b9
StaffHireNewAction: use peep anim objects; bump network version
2024-12-05 15:29:34 +01:00
Aaron van Geffen
7e3fe58067
Use peep animation objects for guest and staff sprites
2024-12-05 13:37:39 +01:00
Aaron van Geffen
b0da41fef5
WIP: start reworking PeepAnimationGroup
2024-12-02 19:58:00 +01:00
Aaron van Geffen
aa45247f21
Move WindowFind functions into WindowManager ( #23517 )
...
* Move WindowFind* functions into WindowManager
* Update parameter documentation where applicable
2025-01-08 21:12:11 +01:00