Aaron van Geffen
3d71bd9b48
Disable vehicle preview/recolour if no vehicles are recolourable
2026-03-13 09:40:58 +01:00
Aaron van Geffen
14d8f35f31
Minor tweaks to station style and ride price label positions
2026-03-12 23:23:28 +01:00
Aaron van Geffen
05bfc8915c
Resize colour panel to fit widgets
2026-03-09 22:23:32 +01:00
Aaron van Geffen
dd6e4059ea
Reposition colour tab widgets dynamically
2026-03-09 21:57:56 +01:00
Aaron van Geffen
0fe21876fc
Split ColourOnPrepareDraw into smaller sub-functions
2026-03-09 20:18:36 +01:00
frozensnowy
06eb448445
Fix #25927 : Wall drag tool error sound stacks and shows wrong cost ( #25929 )
...
Query all tiles before execution to calculate total cost and detect errors upfront. Show a single combined error with the accumulated total cost instead of per tile errors with stacking sounds
2026-03-28 23:40:42 +00:00
frozensnowy
c3ffee33df
Fix #25926 : Path drag tool shows cost for single tile instead of total
...
Query all tiles before execution to calculate total cost and detect errors upfront. It now shows a single combined error with the accumulated total cost for insufficient funds instead of per tile errors
2026-03-29 00:05:36 +01:00
frozensnowy
7cd1c42a60
Fix #25919 : Path drag tool error sound stacks when placement fails
...
Disable error window sound during the placement loop and play the error sound once at the end if all tiles failed. This prevents the sound from stacking when multiple tiles fail simultaneously.
2026-03-29 00:05:09 +01:00
mix
710b4a0059
Add general support height to TED and use in trackPaintGeneric ( #26281 )
2026-03-28 23:39:26 +01:00
Michael Steenbeek
4d569c48d6
Fix #26270 : Building a ride crashes the game ( #26278 )
2026-03-28 01:17:32 +01:00
mix
c815fb9501
Add support height to TED and use in trackPaintGeneric ( #26265 )
2026-03-27 20:52:06 +01:00
Daniel Rödl
b8ea3ac814
Fix OpenRCT2#25128: Mute button is displayed in the wrong state ( #26229 )
2026-03-27 20:48:53 +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
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
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
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
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