1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00
Commit Graph

85 Commits

Author SHA1 Message Date
rwjuk
df4b150f92 Name sub_689174() 2017-06-06 00:47:08 +01:00
Richard Jenkins
b492aa544f Name sub_684AC3() 2017-06-06 00:47:08 +01:00
Gymnasiast
dd8a0847e1 Replace TOP_TOOLBAR_CLEARANCE with TOP_TOOLBAR_HEIGHT 2017-06-02 16:34:30 +02:00
Gymnasiast
fad3c11827 Create define for top toolbar clearance and fix #837 2017-06-01 22:22:49 +02:00
Michael Steenbeek
9b041e0018 Name some sub_hex functions 2017-06-01 22:03:14 +02:00
Michael Steenbeek
7d9acca1e0 Create define for max ride types per ride entry, closes #5524 2017-06-01 22:00:11 +02:00
Michał Janiszewski
79d76759bb Fix #5516: Update copyrights for 2017
Not all files were necessarily _changed_, but all were touched, see
https://github.com/OpenRCT2/OpenRCT2/pull/4932
2017-06-01 21:55:10 +02:00
Ted John
bf16951341 Fix #5522: Clicking Player Name field results in crash 2017-06-01 17:38:57 +01:00
Ted John
e2a7189663 Do not use SDL_Colour for gPalette 2017-05-29 22:38:44 +02:00
Ted John
0440c3deea Clean up audio.cpp 2017-05-29 22:38:43 +02:00
Ted John
bd9839ff50 Get the game working
Mostly just needed to resolve screen size which is now retrieved via ui context.
2017-05-29 22:38:43 +02:00
Ted John
7163973bd2 Start moving code from OpenRCT2 to Context 2017-05-29 22:38:42 +02:00
Ted John
9d24e47e6f Fix build 2017-05-29 22:38:42 +02:00
Ted John
f736e8ff96 Move more platform code to UiContext 2017-05-29 22:38:42 +02:00
Ted John
5885cb646f Start moving window logic to UI project 2017-05-29 22:38:42 +02:00
Marijn van der Werf
eaf93430d5 Remove some string additions 2017-05-28 19:49:32 +02:00
Daniel Kamil Kozar
a64e08f997 Don't flash the white frame around network status windows
This commit turns off the white border for all network status windows. This is
mostly evident when downloading a map from the server before starting a
multiplayer game, as the window is repeatedly brought to the front with a white
border. This results in needlessly flashing the border, since
window_network_status_open is called for every chunk of data received from the
network socket.
2017-05-26 15:58:54 +02:00
Marijn van der Werf
53b023612d Show uses of raw palette indices 2017-05-21 00:01:45 +02:00
Hielke Morsink
bfa03583fa Apply window themes only when created or when the selected theme is changed 2017-05-17 13:19:42 +02:00
CraigCraig
26287f5a3e More readability, grammar, spelling fixes 2017-05-15 09:28:43 +02:00
CraigCraig
58deb3a54a Grammar, readability, and spelling fixes
[ci skip]
2017-05-11 11:45:59 +02:00
Ted John
73fb132e41 Replace some SDL functions with our own 2017-05-04 17:27:51 +01:00
Marijn van der Werf
a0259b79d4 Use rct_widgetindex type 2017-05-03 22:43:33 +02:00
Marijn van der Werf
927190103b Use enum for tools 2017-05-03 16:09:21 +02:00
Marijn van der Werf
2b54032b8e Replace magic numbers in windows with constants 2017-05-02 14:41:53 +02:00
Marijn van der Werf
3cf725745d Add compile-time checked constants for widget ids 2017-05-02 09:58:25 +02:00
Ted John
ded1a7b918 Fix #5421: Keyboard shortcuts are not working properly
Update magic numbers, change some to actually open window instead of delegating to the top toolbar.
2017-05-01 16:33:57 +01:00
Ted John
ae8aa2d466 Fix top toolbar tool switching
Moved tool active checks to top toolbar so that it can use constants.
2017-04-30 22:33:19 +01:00
CraigCraig
e0b875398b Tons of spelling fixes (#5413)
[ci skip]
2017-04-30 06:39:24 +02:00
Broxzier
810103b90f Use loadsave window for selecting the heightmap 2017-04-24 23:19:51 +02:00
Richard Jenkins
0219da2468 Use localised strings for 'rides set mode' command help, fix off-by-one error: RIDES_MODE_COUNT 2017-04-23 22:18:59 +02:00
Richard Jenkins
5984fd8ed7 Add user-facing help for 'rides set mode' command 2017-04-23 22:18:59 +02:00
Richard Jenkins
cbf689d4ec Reduce command array size in 'rides set type' 2017-04-23 22:18:59 +02:00
Richard Jenkins
7a50a52582 Harden console command error checking, reduce command array sizes 2017-04-23 22:18:59 +02:00
Richard Jenkins
e51ee316b9 Invalidate test results after changing ride mode from console 2017-04-23 22:18:59 +02:00
Richard Jenkins
c564659aa4 Implement #5370: add ability to change ride operating mode from console 2017-04-23 22:18:59 +02:00
Richard Jenkins
a90e5a2492 Fix typos in 'rides set' help in console 2017-04-23 22:18:59 +02:00
Michał Janiszewski
b87a8095d1 Make input buffers' sizes consistent 2017-04-14 19:17:38 +02:00
Michał Janiszewski
f3ad6de014 Update gTextBoxInput size to be at least CHAT_INPUT_SIZE large
Fixes #5365
2017-04-14 17:58:42 +02:00
duncanspumpkin
6878341214 Make review changes 2017-03-13 17:41:27 +00:00
Ted John
bcc0bfa485 Rename climate.h to Climate.h 2017-03-11 22:59:33 +00:00
Michał Janiszewski
7341f4aadd Remove trailing whitespace
[ci skip]
2017-03-07 20:38:11 +01:00
Joël Troch
8167ff9678 Fix #1730: Add keyboard shortcuts for track construction (#5200) 2017-03-03 09:35:42 +01:00
Duncan
1654ba4fe4 Merge pull request #5236 from duncanspumpkin/refactor
Refactor fence to wall
2017-02-28 06:56:06 +00:00
Michał Janiszewski
7f48df20ec Refactor input 2017-02-27 20:20:41 +01:00
Ted John
af7af61536 Merge pull request #5240 from IntelOrca/refactor/config-cpp-2
Refactor config
2017-02-25 01:35:03 +00:00
duncanspumpkin
12ba104485 Add force commands for ratings.
Note these do not save and will reset if the rating is recalculated
2017-02-24 20:48:04 +00:00
duncanspumpkin
810bf301f3 Rename map element fence to wall 2017-02-20 21:10:49 +00:00
duncanspumpkin
f54c71b61c Rename functions to wall. Refactor game commands 2017-02-20 21:02:19 +00:00
duncanspumpkin
133266deb0 Label fence offsets 2017-02-19 11:03:05 +00:00