Commit Graph
41 Commits
Author SHA1 Message Date
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
Robert Jordan 61474ecd9a Progress on console 2015-05-19 13:46:05 -04:00
IntelOrca 8772cdd7aa add in game console 2015-05-19 03:54:09 +01:00