ZehMatt
1f5140ae94
Fix benchgfx attemping to render unloaded parks.
2018-01-21 21:46:11 +00:00
Richard Jenkins
d9725702ca
Make console text colour themeable
2018-01-18 23:18:23 +01:00
Richard Jenkins
78a5406468
Visual improvements to the in-game console
2018-01-18 23:18:23 +01:00
Marijn van der Werf
d09134e64a
Decrease Window dependencies in Vehicle.cpp
2018-01-18 22:57:55 +01:00
Marijn van der Werf
baf56db937
Use rct_window internals in Theme
2018-01-18 22:57:55 +01:00
Marijn van der Werf
430bf482f2
Add viewport getter
2018-01-18 22:57:55 +01:00
Marijn van der Werf
aa0933d08a
Convert rct_window to opaque pointer
2018-01-18 22:57:55 +01:00
Michał Janiszewski
3ba0cc3dae
Add missed constexprs
2018-01-14 16:13:37 +01:00
Ted John
888f60c583
Use new platform functions in theme.cpp
...
Also uses std::string instead of C strings in most places.
2018-01-14 01:17:04 +00:00
Ted John
ca7f9dec8e
Move function out of C extern
2018-01-14 01:06:47 +00:00
Ted John
68202db51c
Make ClimateWeatherData and ClimateWeatherGloomColours internal to Climate.cpp
2018-01-14 01:06:47 +00:00
Ted John
83cdd56825
Unify current and next climate state into common struct
2018-01-14 01:06:47 +00:00
ZehMatt
84f2917f59
Use const and constexpr whenever possible.
2018-01-11 22:29:08 +01:00
Michael Steenbeek
cd5a1ba888
Compile files in world folder as C++
2018-01-11 13:25:09 +01:00
Michał Janiszewski
469e142c7b
Change casing of header files
2018-01-11 09:30:09 +01:00
Michał Janiszewski
5a8cfb16c8
Clang-format guards for static data
...
This guards most of the hardcoded data from clang-format.
[ci skip]
2018-01-11 09:19:56 +01:00
Michał Janiszewski
6a65f791b6
Add const to arguments
2018-01-10 23:58:57 +01:00
Aaron van Geffen
aa885c661e
Always apply vertical alignment to button texts.
...
This has no effect on the appearance as of this commit, yet.
2018-01-08 00:01:45 +01:00
Aaron van Geffen
bbef07f514
Refactor widget_text_unknown into widget_text_centred.
2018-01-08 00:01:45 +01:00
Aaron van Geffen
e61194961f
Rename WWT_25 to WWT_PLACEHOLDER.
...
This is only used in the bottom toolbar as a placeholder,
while still capturing events.
2018-01-08 00:01:45 +01:00
Aaron van Geffen
12e3e171f1
Refactor WWT_24 into WWT_LABEL.
2018-01-08 00:01:45 +01:00
Aaron van Geffen
ecc1cfed2a
Rename WWT_DROPDOWN_BUTTON to WWT_BUTTON.
...
The previous name implied an exclusive association with dropdowns.
While used to display the dropdown triangle button, this is not an
exclusive use.
2018-01-08 00:01:32 +01:00
Aaron van Geffen
7b4c71ff68
Remove unused WWT_4, WWT_5, WWT_11, WWT_18.
2018-01-07 23:54:51 +01:00
Aaron van Geffen
8ad1bc9b86
Rename WWT_14 to WWT_LABEL.
...
This is used for left-aligned label text.
2018-01-07 23:54:51 +01:00
Aaron van Geffen
fad8494ccc
Rename WWT_12 to WWT_LABEL_CENTRED.
...
This is used for centred textual labels.
2018-01-07 23:54:51 +01:00
Aaron van Geffen
9a2d3b226c
Rename WWT_13 to WWT_TABLE_HEADER.
...
This is used for left-aligned header buttons for data tables.
2018-01-07 23:54:51 +01:00
Aaron van Geffen
c023f6a3f7
Moved console command, window invalidation, fix help.
2018-01-07 23:53:47 +01:00
Harrison Gentry
752d9bc89d
Add cheat and console command to set game date.
...
Run "date" command on cmdline to set date.
Ex:
$ date 0004 06 13
sets date to June 13th, year 4
2018-01-07 23:53:47 +01:00
Michał Janiszewski
77c4fa00bc
Use nullptr instead of NULL in C++
2018-01-07 21:43:37 +01:00
Michał Janiszewski
2c8528798f
Use explicit boolean values, compare with nullptr
2018-01-07 21:38:02 +01:00
Ted John
c3eab7ead6
Refactor window.c to C++
2018-01-07 12:39:58 +01:00
Ted John
83d1b6eb8f
Refactor widget.c to C++
2018-01-07 12:39:58 +01:00
Ted John
f18595a1c1
Refactor viewport.c to C++
2018-01-07 12:39:58 +01:00
Ted John
0b84c7bb43
Refactor viewport_interaction.c to C++
2018-01-07 12:39:58 +01:00
Ted John
c974daf467
Refactor console.c to C++
2018-01-07 12:39:58 +01:00
Ted John
630a5065db
Refactor colour.c to C++
2018-01-07 12:39:58 +01:00
Ted John
b781291b58
Refactor chat.c to C++
2018-01-07 12:39:58 +01:00
TELK
d0ec5e95f8
Add park and company value to console 'get' command
...
This allows getting the park and company value in scenario that don't display them such as Bumbly Bazaar.
2018-01-06 22:00:28 +01:00
Michael Steenbeek
755add6c9a
Compile localisation folder as C++
2018-01-06 18:32:25 +01:00
Ted John
3dcbebcf68
Refactor drawing.c to C++
2018-01-05 22:57:57 +01:00
Ted John
144dbf431c
Refactor ttf.c to C++
2018-01-05 22:57:55 +01:00
Ted John
559ec8a404
Refactor font.c to C++
2018-01-05 22:57:54 +01:00
Ted John
02c58a6c5a
Remove custom base Exception class
2018-01-05 18:11:47 +00:00
Michael Steenbeek
91589f57c6
Compile map.c as C++
2018-01-03 20:40:51 +01:00
Ted John
49f5611bd1
Rename scenario.c|h to cpp
2018-01-03 15:07:17 +01:00
Hielke Morsink
eb4a8924d1
Refactor and clean up footpath-related code
...
This commit corrects some misused defines, and gave them clearer names.
For example, the slope mask was only useful for surface elements, so now
"SURFACE" is in its name. I also replaced any hard coded values that I
could find and knew their purpose off.
2018-01-03 10:57:37 +01:00
Michael Steenbeek
347ff702d0
Refactor objects
2018-01-03 10:16:51 +01:00
Michał Janiszewski
68881fbbc7
Call core_init() on paths that need it
2018-01-02 19:53:51 +01:00
Gymnasiast
1626f86acc
Compile park.c as C++
2018-01-01 01:18:12 +01:00
Gymnasiast
23d70a4ac9
Compile ride.c as C++
2017-12-31 20:43:17 +01:00