Aaron van Geffen
ef7dbe496a
Introduce VIEWPORT_FLAG_RENDERING_INHIBITED
2024-07-15 01:17:57 +02:00
Aaron van Geffen
5ae97d4d3b
Move title version info to its own window ( #22302 )
2024-07-15 22:33:01 +03:00
Aaron van Geffen
6de514c387
Address minor code style violation in unsigned suffix ( #22306 )
2024-07-15 21:16:30 +02:00
mrmbernardi
4356ae4f5e
Rewrite sprite-cursor interaction code ( #22239 )
2024-07-14 03:46:40 +10:00
Aaron van Geffen
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +02:00
Aaron van Geffen
7f2a98cb54
Fix InteractiveConsole.h for MinGW
2024-07-12 23:24:33 +02:00
Aaron van Geffen
44e09149d9
Make isatty warning suppression local to StdInOutConsole.cpp
2024-07-09 17:08:42 +02:00
Aaron van Geffen
3b42bbb2f3
Include cstdint and cstddef as needed at unit level
2024-07-09 16:49:47 +02:00
Aaron van Geffen
b5ef2693b0
Remove common.h include from all units
2024-07-09 16:45:19 +02:00
Aaron van Geffen
8cef18cd2f
Include cassert as needed at unit level
2024-07-09 16:43:03 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Aaron van Geffen
db17fc6dad
Remove pseudo-keyword 'abstract'
2024-07-09 15:17:07 +02:00
Aaron van Geffen
f3834ef2d6
Move colour_t definition to Colour.h
2024-07-09 14:51:11 +02:00
Aaron van Geffen
51bcbe3710
Move UTF8 functions from localisation into core ( #22278 )
2024-07-12 19:21:15 +03:00
Aaron van Geffen
2e1fa5e644
Move a few more strings to UiStringIds.h ( #22257 )
...
* Replace more StringIds.h includes with StringIdType.h
* Move a few more strings to UiStringIds.h
* Tweak: TextComposition.cpp does not need InteractiveConsole.h
2024-07-12 14:59:00 +02:00
Aaron van Geffen
658529464b
Ignore partially hidden sprites for viewport interaction ( #22217 )
2024-07-02 23:18:38 +02:00
Stephan Spengler
e96c999c43
Fix typo in Viewport.cpp ( #22215 )
2024-07-02 22:33:20 +10:00
Harry Hopkinson
3c04e67ece
Refactor constant notation in Limits.h
2024-05-26 17:54:31 +02:00
Gymnasiast
8a181b5513
Split colours and colour flags
2024-05-26 12:35:40 +02:00
Aaron van Geffen
e6fac7f870
Introduce progress/loader window
2024-05-19 22:05:05 +02:00
Gymnasiast
7d3ac7ea9d
Add moveTo() to Widget
2024-05-19 20:20:29 +02:00
Gymnasiast
ae88b7b0fc
Create progress bar widget
2024-05-19 20:20:29 +02:00
Aaron van Geffen
4ffe00aaba
Keep options window centred after a resize ( #22026 )
2024-05-12 21:07:32 +00:00
Aaron van Geffen
96ce7f706f
Move widget constants from Windows.h to Widget.h
2024-05-10 22:14:10 +02:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +02:00
Aaron van Geffen
347ce53f26
Re-introduce message on successful screenshot ( #21983 )
...
* Re-introduce message on successful screenshot
* Automatically close previous screenshot notices before new ones
2024-05-10 15:04:12 +02:00
Harry Hopkinson
98ac3a1bbc
Replace GfxDrawString() with DrawText()
2024-05-10 09:56:03 +00:00
Claudio Tiecher
10a5d790c6
Part of #21421 : replace define with constexpr ( #21760 )
...
* Part of #21421 : refactor TUNNEL_MAX_COUNT
* Part of #21421 : deleted unused OBJECT_SELECTION_NOT_...
* Part of #21421 : refactor MAX_SERVER_DESCRIPTION_LENGTH
* Part of #21421 : refactor EXPENDITURE_TABLE_MONTH_COUNT
* Part of #21421 : refactor FINANCE_GRAPH_SIZE
* Part of #21421 : refactor NETWORK_STREAM_VERSION and _ID
* Part of #21421 : MONEY_STRING_MAXLENGTH
* Part of #21421 : deleted MAX_USER_STRINGS
* Part of #21421 : refactor USER_STRING_MAX_LENGTH
* Part of #21421 : deleted USER_STRING_END
* Part of #21421 : refactor REAL_NAME_START
* Part of #21421 : refactor REAL_NAME_END
* Part of #21421 : deleted FONT(X) and FONT_OPENRCT2_SPRITE
* Part of #21421 : refactor CURRENCY_SYMBOL_MAX_SIZE
* Part of #21421 : refactor CURRENCY_RATE_MAX_NUM_DIGITS
* Part of #21421 : refactor SCROLLABLE_ROW_HEIGHT
* Part of #21421 : refactor ADD_CLAMP_BODY
* Part of #21421 : applied clang-format to Util.cpp
* Part of #21421 : incorporate feedback from #21760
* Part of #21421 : revert to nbsp in Currency.cpp
* Part of #21421 : fix merge conflict
* Part of #21421 : fix more merge conflict
* Part of #21421 : apply clang format
* Part of #21421 : using std::numerics for finding bounds
* Part of #21421 : fix reference to kAddClampBody
* Part of #21421 : improved on comments about AddClamp func
* Part of #21421 : apply correct network stream version number
* Part of #21421 : apply clang-format
2024-05-09 08:59:03 -03:00
Aaron van Geffen
ca6f142a97
Remove Config.h include from many places
2024-05-08 22:29:32 +02:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Michał Janiszewski
ad79699b21
Reduce transient inclusion of <future> ( #21944 )
2024-05-01 12:27:51 +02:00
duncanspumpkin
f6c34ddd59
Simplify map flashing flags and move into map
2024-04-29 14:10:53 +02:00
Aaron van Geffen
56cbc0eb8a
Refactor intro into IntroScene
2024-04-26 20:35:16 +02:00
Harry-Hopkinson
8ce6ba7606
Rename WINDOW_LIMIT_RESERVED to kWindowLimitReserved
2024-04-26 17:55:23 +01:00
Harry-Hopkinson
9e2b45fab3
Rename WINDOW_LIMIT_MAX to kWindowLimitMax
2024-04-26 17:55:23 +01:00
Harry-Hopkinson
343b10c172
Rename WINDOW_LIMIT_MIN to kWindowLimitMin
2024-04-26 17:55:23 +01:00
duncanspumpkin
3448926251
Move text input widget code from game lib to ui lib
2024-04-26 18:25:44 +02:00
Gustav Burkhardt
5837a33a60
Part of #21421 : rename MAX_VIEWPORT_COUNT to kMaxViewportCount
2024-04-26 09:11:19 +02:00
Gymnasiast
4db5d62476
Add methods to move a widget
2024-04-25 14:10:07 +02:00
Michael Steenbeek
c4c706c59c
Merge pull request #21796 from Harry-Hopkinson/refactor-constants-Window.h
...
Replace constant notation in Window.h
2024-04-21 01:18:40 +02:00
Karsten Van Fossan
137099a429
Close #18305 : Move Translate3DTo2DWithZ() from Map.h into Viewport.h
...
Translate3DTo2DWithZ move to Viewport.h as suggested by ducanspumpkin and update references. Remove redundant function Translate3Dto2D.
2024-04-21 01:18:11 +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
140e17029d
Rename CHAT_INPUT_SIZE to kChatInputSize
2024-04-15 15:30:37 +00:00
Harry-Hopkinson
c264ec1077
Rename CHAT_HISTORY_SIZE to kChatHistorySize
2024-04-15 15:28:51 +00:00
Harry-Hopkinson
cd9ca1debb
Rename TOP_TOOLBAR_HEIGHT to kTopToolbarHeight
2024-04-14 18:12:58 +00:00
Harry-Hopkinson
f357dd6cab
Rename TEXT_INPUT_SIZE to kTextInputSize
2024-04-14 17:35:28 +00:00
Harry-Hopkinson
b294d97f03
Rename DROPDOWN_HEIGHT to kDropdownHeight
2024-04-14 17:27:32 +00:00
Harry-Hopkinson
9fa917ae57
Rename SPINNER_HEIGHT to kSpinnerHeight
2024-04-14 16:56:33 +00:00
Harry-Hopkinson
14cdfc7262
Rename BUTTON_FACE_HEIGHT to kButtonFaceHeight
2024-04-14 16:44:39 +00:00