Michael Steenbeek
44af1653a6
Replace 'center' with 'centre' ( #5745 )
2017-06-30 23:11:28 +01:00
wolfreak99
27f5773e4d
rename event unknown_14 to viewport_rotate
2017-06-26 10:06:58 +02:00
Michał Janiszewski
61d38511bc
Expand tabs to spaces
...
This commit expands tabs to spaces (ts=4) in all the files under src/
and test/.
Until now we had two wildly different code styles with C using tabs and
new C++ using spaces. It is painful to maintain as none of the commonly
used tools support this kind of setup and in reality is needless, as we
can simply convert all the sources to spaces and have opened PRs do the
same, where needed.
Additionally, trailing whitespace has been removed.
2017-06-06 23:46:14 +02:00
rwjuk
dbd03257d9
Name sub_688956()
2017-06-06 00:51:34 +01:00
rwjuk
df4b150f92
Name sub_689174()
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
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
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
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
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
Hielke Morsink
bfa03583fa
Apply window themes only when created or when the selected theme is changed
2017-05-17 13:19:42 +02: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
CraigCraig
e0b875398b
Tons of spelling fixes ( #5413 )
...
[ci skip]
2017-04-30 06:39:24 +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
Michał Janiszewski
7f48df20ec
Refactor input
2017-02-27 20:20:41 +01:00
Ted John
fb2c835d52
Include new config header
2017-02-18 15:45:10 +00:00
Michał Janiszewski
726a01db1c
Ensure main windows always exists
2017-02-17 09:07:05 +01:00
Michał Janiszewski
7cb9d10d72
Fix wrong #define checks for DEBUG macro
2017-02-07 21:01:07 +01:00
duncanspumpkin
fef7445f0c
Use flags where known. Refactor large 3d signs slightly
2017-02-04 08:12:44 +00:00
wolfreak99
70a855c395
Fix #5029 : Invalid window limit can cause crash
...
#5121
2017-01-29 18:03:23 +00:00
Ted John
288f4782b6
Make dedicated method for window set location
2017-01-23 12:48:10 +00:00
Broxzier
60603ae10a
Use types from common.h
2017-01-14 12:37:31 +01:00
Ted John
13a8eee1b4
More warning fixes, more warnings disabled
2017-01-12 13:12:53 +00:00
LRFLEW
47c532d020
Don't zoom to cursor for keyboard or toolbar inputs ( #5028 )
2017-01-11 17:43:11 -06:00
Ted John
25bc798ff8
Move contents of src into project sub directory
2017-01-04 17:44:12 +00:00