Commit Graph

13834 Commits

Author SHA1 Message Date
Michael Steenbeek 9cad16b7f4 Fix Xcode project 2018-01-09 23:54:03 +01:00
Michał Janiszewski c098eaa25d MSVC fix 2018-01-09 23:52:22 +01:00
Michał Janiszewski 517b27c1a4 Format refactored files 2018-01-09 23:52:22 +01:00
Michał Janiszewski 384df8f52c Clang-format guards 2018-01-09 23:52:22 +01:00
Michał Janiszewski 09fbce741d Refactor vehicle_paint to C++ 2018-01-09 23:52:22 +01:00
Michał Janiszewski 5c494c5894 Refactor vehicle_data to C++ 2018-01-09 23:52:22 +01:00
Michael Steenbeek a116bb530f Remove unused ORI_RIDE_FLAG_SEPARATE 2018-01-09 21:35:10 +01:00
Michael Steenbeek 55b473d866 Rename gResearchLastItemSubject to gResearchLastItem 2018-01-09 21:35:10 +01:00
Michael Steenbeek 0ae5d7d476 Remove research_remove_non_separate_vehicle_types()
This removes more usages of the SEPARATE_RIDE flag.
2018-01-09 21:35:10 +01:00
Michael Steenbeek e15c8f8b3b Import broken vehicle and car from S4 2018-01-09 14:06:11 +01:00
Michael Steenbeek f508402317 Fix RCT1 research naming to match RCT2's 2018-01-09 13:51:54 +01:00
Michael Steenbeek 6a88d6e04d Move and rename RCT{1,2,12}.h 2018-01-09 13:36:41 +01:00
Michael Steenbeek 0296608623 Name/fix various RCT1/RCT2 limits 2018-01-09 13:36:41 +01:00
Michał Janiszewski 9c84ae30fb Hide colliding "struct VDStruct" definitions to anon namespaces 2018-01-09 11:01:03 +00:00
Michael Steenbeek 6088a084a2 Replace 0x40 with COLOUR_FLAG_INSET 2018-01-09 10:37:09 +01:00
Michael Steenbeek 857e64590d Name some rct(1)_peep fields 2018-01-09 10:35:07 +01:00
Michael Steenbeek 647f085098
Merge pull request #6925 from AaronVanGeffen/widgets/cleanup-1
Clean up and name remaining widgets
2018-01-09 09:52:15 +01:00
OpenRCT2 git bot 0ad6da7359 Merge Localisation/master into OpenRCT2/develop. 2018-01-09 04:00:58 +00:00
Michał Janiszewski e602162fdb Include openrct2-cli in default `all` target 2018-01-08 13:15:11 +01:00
Michał Janiszewski 6b06ada801 Fix Android compilation 2018-01-08 10:03:31 +01:00
OpenRCT2 git bot f65345a0fb Merge Localisation/master into OpenRCT2/develop. 2018-01-08 04:00:31 +00:00
Aaron van Geffen c9b48beea0 Replace WWT_CLOSEBOX with WWT_BUTTON where not used as a close button. 2018-01-08 00:02:25 +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
Harrison Gentry a5f87c4e51 Add self to credits/changelog
Added myself to contributors.md and added the date command to changelog.txt
2018-01-07 23:53:47 +01:00
Aaron van Geffen c023f6a3f7 Moved console command, window invalidation, fix help. 2018-01-07 23:53:47 +01:00
Aaron van Geffen bf1bb33b86 Properly invalidate widgets after using date spinners. 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
Gymnasiast 2ecbac1550 Fix #6972: Last development field is identical to progress field 2018-01-07 22:28:08 +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
Michael Steenbeek 7d5de63484 Refactor rct_research_item, refactor access to rct_research_item
This takes away a lot of the bitshift and bit mask trickery previously used.
2018-01-07 15:33:44 +01:00
Richard Jenkins 59439b778b Fix #6919: Shops don't connect to newly-placed paths 2018-01-07 13:40:37 +01:00
Michael Steenbeek 840ffb58bd Fix Xcode project 2018-01-07 12:39:58 +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
ZehMatt df9854813f Use templates for bounding box test, better branch prediction 2018-01-07 02:18:12 +00:00
ZehMatt d25c46ef93 Refactor image cache to fixed size. 2018-01-07 02:18:12 +00:00