Ted John
c1ccf2b7a6
Refactor load_palette to call gfx_invalidate_screen
...
Nearly all calls to load_palette were succeeded with a call to gfx_invalidate_screen. So remove these and stick just one call inside load_palette.
2017-06-07 23:24:18 +01: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
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
wolfreak99
8846d3da44
convert max(x,min(y,z)) to clamp
2017-04-11 14:26:37 +02:00
wolfreak99
782b376352
return after initial if
2017-04-11 14:26:36 +02:00
wolfreak99
fcafd9576a
Replace FALSE/TRUE with 0/1
2017-04-11 14:26:36 +02:00
wolfreak99
d22ad8abb5
Sync "Set guest generation higher difficult level"
2017-04-11 14:26:35 +02:00
wolfreak99
d6dfb3e079
Sync "Set park rating higher difficult level"
2017-04-11 14:26:35 +02:00
wolfreak99
8f56f60841
Sync "Set forbid high construction"
2017-04-11 14:26:35 +02:00
wolfreak99
9ae00d92a0
Sync "Set forbid landscape changes"
2017-04-11 14:26:35 +02:00
wolfreak99
bc8cf81ff1
Sync "Set forbid tree removal"
2017-04-11 14:26:34 +02:00
wolfreak99
44c4328b36
Sync "Set pay for park or rides"
2017-04-11 14:26:34 +02:00
wolfreak99
527cce062f
Sync "Raise / lower park entry fee"
2017-04-11 14:26:34 +02:00
wolfreak99
e5fac3c765
Sync "Raise / lower cost to buy construction rights"
2017-04-11 14:26:33 +02:00
wolfreak99
5616b1f260
Sync "Raise / lower cost to buy land"
2017-04-11 14:26:33 +02:00
wolfreak99
8b3f0a4df8
Sync "Set guests prefer less/more intense rides"
2017-04-11 14:26:33 +02:00
wolfreak99
33bc414bab
Sync "Raise / lower initial guest thirst"
2017-04-11 14:26:33 +02:00
wolfreak99
6baf971eba
Sync "Raise / lower guest initial hunger"
2017-04-11 14:26:32 +02:00
wolfreak99
48ad60308e
Sync "Raise / lower guest initial happiness"
2017-04-11 14:26:32 +02:00
wolfreak99
c0dc1718a4
Sync "Raise / lower guest initial happiness"
2017-04-11 14:26:32 +02:00
wolfreak99
d21d500b4a
Sync "Set forbid marketing campaigns"
2017-04-11 14:26:32 +02:00
wolfreak99
2a8481bd48
Sync "Raise / lower interest rate"
2017-04-11 14:26:31 +02:00
wolfreak99
8c07613eed
Sync "Raise / lower maximum loan size"
2017-04-11 14:26:31 +02:00
wolfreak99
e096314f89
Sync "Raise / lower initial loan size"
2017-04-11 14:26:31 +02:00
wolfreak99
0932854f7c
Sync "Raise / lower initial cash"
2017-04-11 14:26:30 +02:00
wolfreak99
a3b1175ed6
Sync "Set no money"
2017-04-11 14:26:30 +02:00
wolfreak99
28c61e7068
Prepare scenario options sync
2017-04-11 14:26:25 +02:00
duncanspumpkin
ffeb1fa527
Initial refactor of entrance
2017-03-13 17:33:46 +00:00
Ted John
bcc0bfa485
Rename climate.h to Climate.h
2017-03-11 22:59:33 +00:00
wolfreak99
1549467c6c
Fix "allow more peep spawns"
2017-03-03 16:48:35 +01:00
Michał Janiszewski
7f48df20ec
Refactor input
2017-02-27 20:20:41 +01:00
wolfreak99
f85dc8ced0
Code fixups
2017-02-08 21:46:54 -05:00
wolfreak99
b0cc772990
Replace gParkEntranceX/Y/Z/Direction with rct_xyzd16 gParkEntrance
2017-02-08 09:39:04 -05:00
duncanspumpkin
e749285e48
Label PARK_FLAGS_18 and adjust SCENARIO_NO_MONEY comment
2017-02-02 17:59:23 +00:00
wolfreak99
99c68439b1
define MAX_PEEP_SPAWNS and MAX_PARK_ENTRANCES ( #5119 )
2017-01-29 22:27:14 +01:00
duncanspumpkin
e2efb66d3d
Minor refactor of banner and footpath enums
2017-01-29 09:40:43 +00:00
Ted John
a0fc01d54e
Clean up game init a bit more
2017-01-23 12:55:59 +00:00
Ted John
288f4782b6
Make dedicated method for window set location
2017-01-23 12:48:10 +00:00
Ted John
abac2ca614
Consolidate game initialisation into single method
2017-01-23 12:44:27 +00:00
Broxzier
60603ae10a
Use types from common.h
2017-01-14 12:37:31 +01:00
Ted John
bd732b99c7
Fix cast warnings
2017-01-12 12:41:47 +00:00
Ted John
038ea82777
Fix #4996 : Objects unloaded after loading landscape
2017-01-05 19:55:36 +00:00
Ted John
25bc798ff8
Move contents of src into project sub directory
2017-01-04 17:44:12 +00:00