Duncan
940cab87d3
Map size refactors from NSF ( #15112 )
...
* Support large map sizes
* Fix top spin painting
* Fix crooked house
* Increase bb size
* Decrease limit back
* Clang format
* Remove asserts and apply review comments
* Fix rebase mistake
Co-authored-by: Ted John <ted@brambles.org >
2021-08-16 20:51:16 +01:00
Michael Steenbeek
e547dd96db
Make RideConstructionState a strong enum
2021-08-11 17:51:59 +02:00
Ted John
5f853df1fd
Remove gS6Info
2021-08-02 20:38:02 +02:00
Ted John
417c0f584f
Handle > 255 rides in ride list window
2021-08-01 15:18:15 +02:00
Ted John
70d9c1438e
Change most things and formatting to money64
2021-08-01 15:14:42 +02:00
ZehMatt
3fbfa26dd3
Use EnumMap for Cursors string lookup
2021-07-29 17:07:48 +03:00
ZehMatt
ce8040b858
Use EnumMap for string to colour conversion
2021-07-29 17:07:48 +03:00
Michael Steenbeek
ab18612882
Remove Music Acknowledgements window ( #15116 )
...
It was of limited use to us anyway since we didn’t license the music ourselves, but now the actual track names and composers are shown in the Object Selection, the window lost its last bit of usefulness.
2021-07-28 10:26:35 +02:00
Duncan
e9eb1b8304
Banner Refactor from NSF ( #14788 )
...
* Banner refactor
* Fix mistake in fix_duplicated_banners
* Reduce limit back
* Fix export
* Free banner on delete
* Increment network version
* Fix potential banner pointer crashes
Co-authored-by: Ted John <ted@brambles.org >
2021-07-27 10:25:58 +01:00
TELK
82e72afde5
Change y_offset and hintings of Nanum Gothic TTF Font for Korean
2021-07-03 15:32:41 +09:00
TELK
a642b53088
Add Malgun Gothic as a TTF font alternative for Korean
2021-07-03 15:21:54 +09:00
ζeh Matt
751c419594
Minor cleanups ( #14954 )
...
* Fix uninitialized variables in InputManager
* Use constexpr for const values
* Add break statements instead of implicit fallthrough
* Default initialize variables in Cheats window
* Default initialize variables in News window
* Default initialize window event pointers
2021-06-26 01:43:05 -03:00
Duncan
35ba734669
Minor paint refactor ( #14905 )
...
Names a few unknown flags
2021-06-22 07:36:17 +01:00
duncanspumpkin
c9777535d6
Fix export
2021-06-05 21:17:03 +01:00
Ted John
81d7c3f02b
Make tile elements dynamic and resizeable
2021-06-05 21:17:03 +01:00
duncanspumpkin
98f9f24909
Remove sprite.h includes where possible
2021-05-29 08:54:33 +01:00
Duncan
39fcc5d078
Split up Sprite header ( #14764 )
...
* Remove fields from rct_sprite union
* more header fun
* Fix guest include
2021-05-29 06:01:32 +01:00
Margen67
66f3f5d52e
Partially solve #5165 ( #14617 )
2021-05-11 12:27:39 +01:00
Ted John
c63e072974
Fix logging of replay info to stdout ( #14430 )
...
Use Console::WriteLine and replace \n with \r\n.
2021-05-09 19:11:04 +01:00
Ted John
7854d94599
Fix benchmarking
2021-05-03 02:38:42 +01:00
Ted John
bba967d62e
Start working on benchmark changes
2021-05-02 22:02:09 +01:00
Ted John
cb6d471560
Increase paint struct limit by using shared pool
2021-04-27 01:27:49 +01:00
Gymnasiast
b3bbdcbfd5
Remove hardcoded terrain style constants from RCT1 and MapGen
2021-03-27 17:34:10 +01:00
Duncan
1be7457e30
Use entity list rather than MAX_ENTITIES loop ( #14384 )
...
* Use entity list rather than MAX_ENTITIES loop
* Use guest for variable names
2021-03-25 08:08:26 +00:00
Michael Steenbeek
19b1958822
Merge pull request #14332 from DKarandikar/develop
...
Close #13749 : Move Banner window to new framework
2021-03-24 20:30:42 +01:00
Duncan
977d05ba29
Entity type5: Remove peep assigned type ( #14380 )
...
* Remove users of AssignedPeepType
* Remove AssignedPeepType
Field no longer required due to changes to EntityType
* Move enum to the RCT12 header
* Increment network version
* Update replays
2021-03-24 08:54:05 +00:00
Daniel Karandikar
4c1d35478c
Tidy Window.cpp
2021-03-22 19:23:31 +00:00
Duncan
df7a284822
Entity type 2: Remove sprite_identifier ( #14334 )
...
* Start changing the underlying type
* Further work
* Complete refactor
* Further cleanup
* Remove pointless check
* Increment network and plugin versions
* Add defaults
* Further defaults
* Fix test paint
* Update replays
2021-03-17 08:04:41 +00:00
Duncan
6ec379cd0e
Split Entity Lists by Entity type ( #14326 )
...
* Make initial changes to add entity type
* Make further corrections
* Revert header changes
* Fix mistakes
2021-03-16 11:18:06 +00:00
Daniel Karandikar
1229ce6b22
Refactor Banner to use new Window framework
...
Also tidy up a couple of bits of duplicated code
Pulled out into CreateViewport method and tileElement member
2021-03-15 22:59:19 +00:00
Ted John
b1a54fa7ba
Fix #14264 : [Plugin] Cannot modify the coordinate / size of the viewport
2021-03-08 19:52:26 +01:00
Ted John
966129dd7c
Remove network traffic window
...
Now available in the DevTools plugin.
2021-03-06 14:47:06 +01:00
Ted John
b179f6e597
Merge pull request #13965 from telk5093/footpath_hotkeys
...
Make ride construction shortcuts work for footpath too
2021-03-06 01:27:18 +00:00
Gymnasiast
7fd049c22e
Remove last remnants of gCurrentFontSpriteBase
2021-02-28 00:26:53 +01:00
Gymnasiast
c40701d997
Make gfx_draw_string() take a TextPaint argument
2021-02-28 00:26:20 +01:00
Gymnasiast
503273793a
Remove gCurrentFontSpriteBase from some functions
2021-02-28 00:26:20 +01:00
Gymnasiast
826f6c7442
Reduce usage of gCurrentFontSpriteBase
2021-02-28 00:25:30 +01:00
Gymnasiast
3e536e2711
Change gfx_draw_string_*_wrapped() to DrawTextWrapped()
2021-02-28 00:23:01 +01:00
Gymnasiast
c296c35f39
Use colour_t for colours enum
2021-02-28 00:23:00 +01:00
Gymnasiast
2477933c51
Turn font sprite base into a strong enum
2021-02-28 00:23:00 +01:00
Ted John
49b677780f
Merge pull request #14171 from IntelOrca/plugin/custom-widget
...
* Add API for getting network traffic statistics.
* Add API for creating custom widgets.
* Add API for drawing graphics for custom widgets.
* Add click event to spinners and allow them to be held down.
2021-02-27 01:31:00 +00:00
Michael Steenbeek
28c680f97f
Merge pull request #14163 from Gymnasiast/refactor/get-rtd
...
Use GetRideTypeDescriptor() in more places
2021-02-26 10:46:38 +01:00
Gymnasiast
44d0e77afb
Make all access to RTD table use the bounds checking function
2021-02-26 10:01:00 +01:00
Michał Janiszewski
ac6e4fc0d6
Move SPRITE_INDEX_NULL, MAX_SPRITES to their new homes
2021-02-25 10:56:27 +01:00
Michał Janiszewski
67b61478cf
Reduce inclusion of EntityList.h
2021-02-25 10:56:27 +01:00
Michał Janiszewski
6baff43f52
Reduce inclusion of Sprite.h
2021-02-25 10:56:27 +01:00
Michał Janiszewski
8ee49ab615
Reduce inclusion of world/Sprite.h
2021-02-25 10:56:27 +01:00
Ted John
c2183989a5
Allow spinners to be clicked and held
2021-02-24 22:37:31 +00:00
Ted John
93f17f1175
Add custom widget logic and network stats API
2021-02-24 22:37:31 +00:00
Ted John
82b1a5eb6d
Convert CustomWindow into a class
2021-02-24 22:37:31 +00:00