Commit Graph

99 Commits

Author SHA1 Message Date
Ted John 33a6c4fce3 Refactor cursors to C++ and improve isolation 2016-10-11 18:23:49 +01:00
LRFLEW e5ff7412e4 Refactor/Improve String and Path Handling 2016-10-09 15:29:58 -05:00
wolfreak99 53c123acae set render_weather_effects and render_weather_gloom in console 2016-10-05 10:43:38 -04:00
duncanspumpkin 5b01653c11 Add friction help command to rides set 2016-09-21 19:25:40 +01:00
Michał Janiszewski 163e314379 Remove unused or set-but-not-read variables 2016-09-07 13:39:29 +01:00
Michał Janiszewski f8145b6edc Refactor inclusion of addresses.h
addresses.h is now only included when necessary, limiting scope as much
as possible.
2016-09-03 21:25:19 +01:00
Ted John 8cf7e87b5c Fix many warnings for x64 2016-08-27 23:32:15 +01:00
Ted John c2db79919d Integrate gWindowUpdateTicks 2016-08-06 01:35:46 +01:00
Michał Janiszewski e25c768a3e Convert `rides set` console command to use game_command interface 2016-08-01 20:30:08 +02:00
Marijn van der Werf dd756cb8be Add paint debug window 2016-07-26 10:55:47 +02:00
jensj12 e70f7d9a38 Fix get paint_bounds
The console command returned the wrong variable
2016-07-25 19:52:32 +02:00
Marijn van der Werf 750b8d9949 Draw bound boxes 2016-07-25 14:25:35 +02:00
wolfreak99 57e790eba4 Correct int_valid to int_val 2016-07-16 15:13:16 +01:00
wolfreak99 44202d0bd1 Allow setting limit on maximum windows allowed
This provides an option to set a limit on the number of windows that can
be open. Originally, the game had somewhere around 12, but was bumped up
to 64 for OpenRCT2. While this provides some value, this is for people who
prefer less windows at a time, and also for people with older computers.
The limit can be set anywhere between 8 and 64, (8 being chosen to still
preserve in-game toolbars that are counted as windows, and 64 to not
overshoot the maximum hard-coded value). This can be set in both options
and the in-game-console.
2016-07-15 07:07:34 -04:00
Michał Janiszewski a6d0e6916e Fix function definitions to match their declarations
This makes sure every function is properly declared, which includes
proper `extern` wrappers.
2016-07-14 14:11:49 +02:00
Ted John 5b9cb813e7 fix load_object cc 2016-07-08 22:58:38 +01:00
Ted John faf1f08b7f fix loading object via console 2016-07-08 22:58:38 +01:00
Ted John 4bed693344 fix basic object selection 2016-07-08 22:58:38 +01:00
Michał Janiszewski 402e5a32a0 Integrate path variables used by game 2016-06-19 23:52:20 +02:00
Ted John 3bef65f754 Merge pull request #3824 from X123M3-256/fix_segfault
Fix segfault when passing invalid arguments to ride set type
2016-06-09 12:31:37 +01:00
X7123M3-256 bbd7e809fd Fix whitespace 2016-06-04 21:36:27 +01:00
X7123M3-256 fc5b5966c8 Check if ride subtype is in range 2016-06-04 21:08:03 +01:00
X7123M3-256 0f630bea2f Fix formatting 2016-06-04 20:21:04 +01:00
X7123M3-256 065ffa3e3c Add additional checks on input 2016-06-04 20:19:31 +01:00
X7123M3-256 a03979087d Add error messages for invalid input 2016-06-04 19:48:39 +01:00
X7123M3-256 14f6da31c9 Fix segfaults on rides without vehicles 2016-06-04 17:44:29 +01:00
X7123M3-256 67d99a34f2 Implement command to set friction 2016-06-04 16:53:29 +01:00
Duncan c645d24c8d Add console command for scenario initial cash. (#3763)
Add paint_segments to variable list as well
Fix #3748.
2016-05-28 09:30:50 +01:00
CraigCraig 3f9afb9744 Various Spellchecks (#3741) 2016-05-26 09:49:19 +02:00
Marijn van der Werf 603a255567 Add console command for painting segment heights (#3708) 2016-05-23 10:29:11 +01:00
Duncan ea7e91abbc Add console command to adjust staff energy. (#3671)
Set to 0 if you want to freeze a staff member
2016-05-19 21:30:32 +01:00
Matte A beb8e41056 Use white outlined letters in the console (#3642) 2016-05-18 20:57:11 +01:00
Ted John 3d47f9869f write get entry methods for scenery and path 2016-05-15 16:09:26 +01:00
janisozaur ca430e1b23 Drop unused variables (#3586) 2016-05-13 18:21:58 +01:00
janisozaur 658e877955 Name all the typdef-ed structs (#3581) 2016-05-12 22:57:40 +01:00
janisozaur 68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Hielke Morsink cd7482b64c Better contrast and fixed flickering. (#3445) 2016-04-28 17:44:29 +01:00
Hielke Morsink 90e9197d6e Blue transparent console, so it's more clean the game still accepts input behind it. (#3370) 2016-04-28 12:34:42 +01:00
Ted John 489ea66cc9 add global macro for gCurrentFontSpriteBase and gCurrentFontFlags 2016-04-25 23:00:58 +01:00
Ted John b1f704dac4 add global macros for more finance variables 2016-04-25 22:38:09 +01:00
Ted John 98f732aaf7 integrate screen variables (#3411) 2016-04-24 00:36:39 +01:00
Ted John 4cdb2df9dc integrate screen variables 2016-04-23 11:16:46 +01:00
Ted John 3bd21240ed add global macros for climate variables 2016-04-23 10:53:48 +01:00
Ted John 0c90c165a2 add global macro: gGuestInitialThirst 2016-04-23 02:38:51 +01:00
Ted John a819819ff4 add global macro: gGuestInitialHunger 2016-04-23 02:37:33 +01:00
Ted John 727a568e32 add global macro: gGuestInitialHappiness 2016-04-23 02:36:24 +01:00
Ted John 8509927dc7 add global macro: gGuestInitialCash 2016-04-23 02:35:03 +01:00
Ted John 3c52983178 add global macro: gBankLoan 2016-04-23 02:00:44 +01:00
Ted John 11a2ba0133 add global macro: gCashEncrypted 2016-04-23 01:58:54 +01:00
Ted John 0971d8ad51 add global macro: gParkRating 2016-04-23 01:47:03 +01:00