Daniel Rödl
b8ea3ac814
Fix OpenRCT2#25128: Mute button is displayed in the wrong state ( #26229 )
2026-03-27 20:48:53 +01:00
Michael Steenbeek
469a891a58
Merge pull request #26264 from Gymnasiast/refactor/more-window-stuff
...
Refactor a few drawText* calls
2026-03-27 16:04:19 +01:00
Gymnasiast
2e7e429516
Replace drawText* calls that pass STR_STRING + formatter
2026-03-26 17:10:50 +01:00
Gymnasiast
49fa735600
Do not run drawText* through formatter if there are no arguments
2026-03-26 16:00:06 +01:00
Michael Steenbeek
b7ba4b55e1
Merge pull request #26237 from Gymnasiast/refactor/draw-text-refactor-2
...
Namespace and clean up Drawing.String.cpp
2026-03-26 13:18:21 +01:00
Aaron van Geffen
5c98d62c8f
Rename ttfDrawString to match code style
2026-03-26 12:59:54 +01:00
Aaron van Geffen
8ed4b34907
Move includes out of Drawing.h and into their actual users
2026-03-26 12:55:37 +01:00
Gymnasiast
a5c32ab60c
Rename DrawText* to drawText*
2026-03-25 23:16:25 +01:00
Gymnasiast
2398d91fb2
Rename DrawTextBasic() to DrawText()
2026-03-25 23:15:49 +01:00
Gymnasiast
258b10ba13
Merge DrawText() and DrawTextBasic()
2026-03-25 23:14:58 +01:00
Gymnasiast
cb40775d6d
Replace DrawTextNoFormatting() with a flag
2026-03-25 23:14:58 +01:00
Gymnasiast
ec48edd24b
Move text underline to a flag
2026-03-25 23:14:58 +01:00
Gymnasiast
787a57b325
Rename members of TextPaint
2026-03-25 23:14:57 +01:00
Gymnasiast
8b11cccdbf
Use ScreenCoordsXY in TextDrawInfo
2026-03-25 23:14:57 +01:00
Gymnasiast
dd45a91020
Pass TextDrawInfo as reference
2026-03-25 23:14:57 +01:00
Gymnasiast
619487618a
Make gTextPalette internal to Drawing.String.cpp
2026-03-25 23:14:57 +01:00
Gymnasiast
5620437c99
Rename functions in Drawing.String.h to adhere to code style rules
2026-03-25 23:14:57 +01:00
Gymnasiast
800e656c4b
Merge TTFGetStringWidth and GfxGetStringWidth
2026-03-25 23:14:57 +01:00
Gymnasiast
a5db7b70c5
Remove unused GfxDrawStringLeftCentred()
2026-03-25 23:14:57 +01:00
Gymnasiast
df1564c9cd
Namespace Drawing.String.cpp, declare its functions in Drawing.String.h
2026-03-25 23:14:57 +01:00
Michael Steenbeek
78f43ec691
contributors.md: update team and toolchain sections ( #26245 )
2026-03-25 20:40:40 +01:00
The21zonz
66ad642387
Mention macOS version of OpenLauncher in Readme ( #26254 )
2026-03-25 17:21:23 +01:00
Aaron van Geffen
787604b31e
Fix alignment for ride view dropdown text ( #26255 )
2026-03-25 17:10:34 +01:00
MarcelVos96
b595cfb9a6
Increase dropdown limit from 512 to 1024 ( #26243 )
2026-03-24 17:26:42 +01:00
OpenRCT2 git bot
683132ab20
Merge Localisation/master into OpenRCT2/develop
2026-03-24 04:35:09 +00:00
Michał Janiszewski
b432259ae4
Merge pull request #26242 from Sadret/patch-2
...
Replace numweeks with duration in ParkSetDateArgs
2026-03-23 21:55:22 +01:00
Stephan Spengler
de358aaca8
Replace numweeks with duration in ParkSetDateArgs
...
https://github.com/OpenRCT2/OpenRCT2/blob/d899b639f2fc28afc2629a00f5cc1cef85b1f2f5/src/openrct2/actions/park/ParkMarketingAction.cpp#L33-L38
2026-03-23 21:32:45 +01:00
Jonathan Lee
d899b639f2
Part of #25953 : Move Balloon painting to src/openrct2/paint/entity ( #26239 )
2026-03-23 20:20:21 +01:00
Michael Steenbeek
e0a3105736
Fix DrawTextEllipsised() ( #26238 )
2026-03-22 22:55:10 +01:00
Michael Steenbeek
be06f6dce2
Merge pull request #26233 from Gymnasiast/refactor/draw-text-refactor
...
DrawText* refactor
2026-03-22 18:35:43 +01:00
Michał Janiszewski
48cb42b13a
Merge pull request #26044 from OpenRCT2/android-bundled-data
...
Android: add support for bundled assets
2026-03-22 18:07:06 +01:00
Michał Janiszewski
3144ecaf33
Add changelog entry for Android bundled assets
2026-03-22 17:46:48 +01:00
Michał Janiszewski
16fc07d986
Use more explicit types for asset handles
2026-03-22 17:44:54 +01:00
Michał Janiszewski
95efaf5878
Android: Improve Zip error reporting
2026-03-22 17:44:50 +01:00
Michał Janiszewski
9b460d2f75
Android: adapt CI to bundle the assets
2026-03-22 17:44:47 +01:00
Michał Janiszewski
430bb2e65d
Android: remove code for extracting bundled assets
2026-03-22 17:44:45 +01:00
Michał Janiszewski
0d55b77d0b
Android: Allow Android zip implementation open bundled assets
2026-03-22 17:44:42 +01:00
Michał Janiszewski
ea50129130
Android: Expose asset prefix path to Java via JNI
2026-03-22 17:44:40 +01:00
Michał Janiszewski
bc6bfb6329
Read changelog with File class
2026-03-22 17:44:37 +01:00
Michał Janiszewski
bb8c585908
Android: Add FileScanner for bundled assets
2026-03-22 17:44:35 +01:00
Michał Janiszewski
d8799c942d
Android: Implement support for loading bundled assets
2026-03-22 17:44:31 +01:00
Michał Janiszewski
82f37d006c
Prepare Platform, File, FileStream for handling embedded assets
2026-03-22 17:44:26 +01:00
mix
f5c9597640
Move trackPaintGeneric and helper functions to new files ( #26234 )
2026-03-22 15:52:49 +01:00
Gymnasiast
4e074db8df
Change argument order to DrawText() to match the others
2026-03-22 13:26:57 +01:00
Gymnasiast
38adb756ee
Make DrawText() internal again
2026-03-22 13:21:15 +01:00
Gymnasiast
8e41207e90
Create string overloads for DrawText*
...
Quite often, the DrawText* functions are called with a formatter just to draw a C/C++ string. This overload will allow simplifying many calls.
Also added TextPaint as an optional argument to the StringId-without-formatter overload, so that all three overloads now have the same functionality. This overload now also avoids running
the string through the formatter, as there are no arguments to process to begin with.
2026-03-22 13:21:14 +01:00
Gymnasiast
24ece6301b
Change DrawText() and TTFDrawString() to take a string_view
2026-03-22 12:36:46 +01:00
mix
103dd9246e
Add reversed sequence and rotation to ted and use in trackPaintGeneric ( #26213 )
2026-03-22 12:13:11 +01:00
mix
8a55fee1d0
Allow ends of quarter helix track pieces to be built over sloped land ( #26228 )
2026-03-21 14:22:29 +01:00
Michał Janiszewski
7a6a5b4d3a
Fix MSVC debug builds ( #26220 )
2026-03-21 08:12:20 +01:00