1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00
Commit Graph

52 Commits

Author SHA1 Message Date
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
Ted John
2b702d89c6 add global macros: gLandPrice, gConstructionRightsPrice 2016-04-23 01:37:10 +01:00
Ted John
307cb9e08b add global macro: gParkFlags 2016-04-23 00:51:22 +01:00
janisozaur
44717cfe2a Add console command to set ride type (#3273) 2016-04-20 12:37:31 +01:00
IntelOrca
50b52140ad fix #3133: Game Crashes when writing 'hide' into the console 2016-03-12 15:40:57 +00:00
IntelOrca
1daa657657 fix #3091: Korean words corrupted if over byte limit 2016-03-10 18:48:00 +00:00
zsilencer
66e406ab75 Fix #3048: Remove format codes in player names and chat 2016-02-29 21:33:46 -07:00
Michał Janiszewski
14bff0c66f Rename rct_ride_type to rct_ride_entry 2016-02-25 13:33:19 +01:00
Michał Janiszewski
6d6f9f3c23 Refactor rides to be only accessible with getters
This changes how rides are accessed from macros to getter functions.
2016-01-23 01:13:36 +01:00
IntelOrca
40a4bd1fa8 remove old object_paint calls, replace with new 2016-01-07 19:01:19 +00:00
IntelOrca
ab38828e03 integrate object list variables:
- gInstalledObjectsCount
- gInstalledObjects
- gNumInstalledRCT2Objects
- gNumInstalledCustomObjects
- gLastLoadedObjectChunkData
2016-01-06 20:41:21 +00:00
Ian Spence
ae7da3e830 Fix #2550 Program crashes when executing "exit" command from the console
- exit and quit commands are aliased to "hide"
 - value of the command was being set to a constant value and could not be freed
 - updated command value to use a freeable value
2015-12-30 08:57:43 -08:00
Michał Janiszewski
6d5c96d083 Use MAX_PATH define for path length, remove redefinition 2015-12-26 11:18:44 +01:00
Aaron van Geffen
2c5651614c Corrected misspellings of "substitute". 2015-12-23 00:40:36 +09:00
LRFLEW
85800997c2 Fixed warnings in Xcode 2015-12-21 03:11:38 -06:00
Michał Janiszewski
d2117e966f Raise the lower limit for scale to 0.5f
Setting the scale to anything lower than 0.3f crashes the game on my
machine, although I don't know the exact reason of that.

The game at window_scale=0.1 is unusable anyway, as the interface is far
too small.
2015-12-11 00:15:17 +01:00
Gymnasiast
e61919565a Round window scale to 3 decimal places 2015-12-09 22:15:15 +01:00
Gymnasiast
7bebbe52a5 Add console option to set window scale 2015-12-09 18:43:33 +01:00
duncanspumpkin
97fc78a506 Fix safe_strncpy being unsafe 2015-11-15 08:45:50 +00:00
Michał Janiszewski
0f9bc229b4 Fixes to safe_strncpy
* don't touch memory at all if size passed is 0
* use original address instead of now-changed `destination`
* fix one of the calls having improper size passed
2015-11-01 23:33:02 +01:00
Michał Janiszewski
9284930d7e Add safe_strncpy function
safe_strncpy is similar to strncpy, but makes sure buffer is
null-terminated. Update most of project to use this updated function to
prevent illegal memory accesses.
2015-10-30 16:01:00 +01:00
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
Jonathan Haas
8463e58922 Define some tick related addresses 2015-10-03 20:00:29 +02:00
Gymnasiast
68fc066fc5 Fix two more warnings 2015-09-11 15:23:11 +02:00
Gymnasiast
e9b5282486 Add a console option to fix the banner count, fixes #667 2015-08-27 17:24:23 +02:00
Gymnasiast
7449deeffe Add console option to reset all user strings 2015-08-16 15:31:59 +02:00
IntelOrca
7bcb12503a implement utf8, part 24 (bug fixes) 2015-08-02 11:25:26 +01:00
Gymnasiast
58247a2d6b Console UX improvements, fixes #1622 2015-07-16 10:21:10 +02:00
zsilencer
9eb4958dde fix #1002 2015-07-05 08:57:01 -06:00
Robert Jordan
31e8e604fe Added Get button to command editor 2015-06-25 14:27:09 -04:00
Robert Jordan
a3a993dabd Title Sequence editor 2015-06-24 12:25:54 -04:00
Simone Ferrini
6d05adb43f Added missing va_end 2015-06-23 22:23:30 +02:00
Robert Jordan
eea2a9f7c4 Fixed console open command 2015-06-20 17:39:40 -04:00
Robert Jordan
febe925f52 Added title restriction to new window 2015-06-19 10:58:56 -04:00
Robert Jordan
28f4774c92 Fixed merge conflicts 2015-06-19 10:58:12 -04:00
Robert Jordan
5127e65095 Console can be used on title screen 2015-06-19 10:51:54 -04:00
Gymnasiast
0491d971f3 Add cheat to edit park parameters/scenario options in-game 2015-06-19 14:59:48 +02:00
Robert Jordan
e9eeb36cdf Added location variable for console. 2015-06-16 14:57:55 -04:00
rd3k
fb59dab59e Add debug toolbar menu, start tile inspector 2015-06-11 20:51:39 +01:00
Robert Jordan
765bf976ee Renamed Colour Schemes to Themes
Themes window now opens to settings/presets tab so it's less confusing
for others.
Can no longer change default presets, you get a warning when you try.
now stores themes in themes folder.
Now clips theme names.
2015-06-01 11:02:09 -04:00
Robert Jordan
dc1e38180e Starting work on colour schemes config settings 2015-05-29 12:04:53 -04:00
Robert Jordan
16105af1e7 Progress on window colour schemes 2015-05-26 16:59:25 -04:00
IntelOrca
1ac93e44c9 add twitch integration, part 1 2015-05-25 20:36:40 +01:00
Ted John
ad4436ea4f Merge pull request #1142 from trigger-death/in-game-object-selection
Added in-game object selection
2015-05-24 03:52:53 +01:00
Robert Jordan
ab942236d7 Added in-game object selection
New console commands:
- open (opens a window)
- windows (lists windows usable with open)
- load_object (loads the specified obj with the given filename)
- object_count (lists the number of objects in the scenary)
Console commands now have a usage variable.

Use: "open object_selection" for the object selection window.
Once the object selection window is closed, all objects will
automatically be researched whether or not they were already in the base
scenario.
The object selection window will close any other windows when selecting
an object to prevent a crash.
2015-05-23 14:56:54 -04:00
Robert Jordan
37221f0aae Testing Improvements
Added test_unfinished_tracks and no_test_crashes
Both are enablable through the console and test_unfinished_tracks is
also an option.
Increased options window height.
Made it so "out" ride window is opened after a crash instead of RCT2's
ride window.
ride_is_valid_for_open has a counterpart: ride_is_valid_for_test
2015-05-22 14:18:48 -04:00
IntelOrca
1339c9b493 fix console caret typo and invalidate screen on variable change 2015-05-20 02:37:44 +01:00
Robert Jordan
0fbeb9214e Finished improvements to console
Added commands: variables, get, and set
Added console scrolling
set console_small_font 1 will change the console font
Fixed issue with textinput incrementing the length twice in shared.c
2015-05-19 21:12:09 -04:00