Gymnasiast
45912ec9a3
Rename members of SoundId
2025-10-01 20:35:34 +02:00
Gymnasiast
a03613df35
Change FilterPaletteID to lowerCamelCase
2025-09-23 21:09:54 +02:00
Aaron van Geffen
9b7ee06e0f
Move Context fully into OpenRCT2 namespace; types into Input.h
2025-09-12 14:03:44 +02:00
Aaron van Geffen
5a4cc7d00d
Remove Network function name prefixes given namespace qualifiers
2025-08-31 16:02:43 +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
Michael Steenbeek
cfb4b008b2
Create weak enum for PaletteIndex
2025-04-09 16:47:22 +02:00
73
a976a43708
Rename network.h to Network.h ( #23882 )
2025-02-24 10:43:06 +01:00
73
c7c703515e
Rename audio.h to Audio.h ( #23842 )
2025-02-17 13:24:03 +01:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
a24dc2e60a
Reduce includes in and of Util.h/cpp
2024-12-11 20:42:43 +01:00
Aaron van Geffen
ed6611219d
Move StrCatFTime into Chat.cpp, its only user
2024-12-11 16:49:06 +01:00
hnsdeveloper
3eb9a03708
Replace #define with constexpr in Colour.h
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com >
2024-11-02 12:54:54 +00:00
Aaron van Geffen
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +02:00
Aaron van Geffen
51bcbe3710
Move UTF8 functions from localisation into core ( #22278 )
2024-07-12 19:21:15 +03:00
Gymnasiast
8a181b5513
Split colours and colour flags
2024-05-26 12:35:40 +02:00
Harry Hopkinson
98ac3a1bbc
Replace GfxDrawString() with DrawText()
2024-05-10 09:56:03 +00:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Harry-Hopkinson
47939567c4
Rename CHAT_MAX_WINDOW_WIDTH - kChatMaxWindowWidth
2024-04-17 13:20:37 +00:00
Harry-Hopkinson
337f9ca549
Rename CHAT_MAX_MESSAGE_LENGTH to kChatMaxMessageLength
2024-04-15 15:35:00 +00:00
Harry-Hopkinson
c264ec1077
Rename CHAT_HISTORY_SIZE to kChatHistorySize
2024-04-15 15:28:51 +00:00
Harry Hopkinson
14f0479c94
Refactor constants/macros ( #21483 )
...
* Refactor constants in AudioMixer.h
* Refactor constants in Map.h
* Rename kMinimumLandHeight_BIG to kMinimumLandZ
2024-03-01 20:23:29 +00:00
James103
1d8dc111f1
Replace 2023 with 2024 in copyright headers ( #21139 )
...
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
Gymnasiast
bb83a80eab
Use dpi ref in rect and line drawing functions
2023-04-11 22:59:01 +01:00
Gymnasiast
16c5c1b752
Use dpi ref in interface folder
2023-04-11 22:57:25 +01:00
Cory Sanin
a102688f5c
Fix: Chat history in wrong order, doesn't pop up
2023-03-15 09:57:05 +01:00
Cory Sanin
c9883e1553
Fix: Input text floating outside chat window
2023-03-13 16:54:28 +01:00
Matthias Moninger
59875eb409
Merge pull request #19480 from Gymnasiast/refactor/dpi-string
...
Pass DPI by ref to string drawing
2023-02-28 22:27:51 +02:00
ζeh Matt
7b398d89a6
Remove unused variable
2023-02-25 15:42:37 +02:00
ζeh Matt
365fcf24c3
Implement #19468 and rename functions cursor to caret
2023-02-25 15:42:37 +02:00
ζeh Matt
ec2f332b92
Fix #19445 : Text not cleared using Ctrl+Backspace
2023-02-25 15:42:37 +02:00
Gymnasiast
a15f72da87
Pass DPI by ref to string drawing
2023-02-24 22:05:07 +01:00
Silent
0763fd5a78
Fix GfxWrapString potentially corrupting the in/out buffer
...
Fixes a consistent assertion when displaying "Cannot start construction"
in Japanese, but it has potential fix countless other crashes
related to string wrapping/display.
2023-02-14 09:50:05 +01:00
Duncan
859b071ddc
Rename classes with snakes OpenRCT2/A*-F* ( #19215 )
...
* Rename classes with snakes OpenRCT2/A*-F*
* Clang format files
2023-01-19 08:16:44 +00:00
Hielke Morsink
ba0c8c135a
Apply review changes
2023-01-18 23:41:59 +01:00
Hielke Morsink
0762fcb601
Rename snake_case functions in OpenRCT2/util folder
2023-01-18 22:44:13 +01:00
Hielke Morsink
2c224cfd53
Rename snake_case functions in OpenRCT2/network folder ( #19203 )
2023-01-18 06:05:53 +00:00
Michael Steenbeek
12874f2af7
Replace format_string(4) with OpenRCT2::FormatStringLegacy() ( #19190 )
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 21:56:30 +01:00
Michael Steenbeek
b4480b344e
Rename snake_case functions from localisation folder
2023-01-16 23:12:35 +00:00
Duncan
8504c8d05e
Finish Removing snake_case from Drawing Methods
2023-01-16 22:31:34 +00:00
Gymnasiast
5309c80e29
Remove snake_case in interface folder
2023-01-16 22:20:41 +01:00
Duncan
7f5934cc95
Remove snake_case from second chunk of Drawing ( #19166 )
2023-01-16 18:52:17 +00:00
Duncan
8a8d3105f3
Remove snake_case from first chunk of Drawing ( #19164 )
...
* Remove snake_case from first chunk of Drawing
* Address formatting
2023-01-16 13:50:43 +00:00
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Michael Steenbeek
96284123e7
Reduce usage of gCommonStringFormatBuffer
2022-11-14 23:48:34 +00:00
Duncan
482971710d
Apply code style to context functions
2022-11-06 21:49:07 +01:00
Gymnasiast
14f9a75e0a
Refactor FontSpriteBase and font size into FontStyle
2022-10-19 11:59:26 +02:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Ted John
585ebed600
Fix #17297 : Crash when switching language ( #17370 )
...
* Refactor all uses of IAudioChannel and the audio mixer.
* Use shared_ptr to avoid dead pointers hanging about.
* Reload particular audio channels where necessary after object reload.
2022-06-27 17:41:53 +01:00
germanaizek
958bfbc08a
Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen
2022-05-07 16:05:39 +02:00
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01:00