1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00
Commit Graph

168 Commits

Author SHA1 Message Date
IntelOrca
6426adb45d remove asm for set scroll size and add gCurrentAwards 2015-05-26 19:28:56 +01:00
Miso Zmiric (Mike Squinter)
c2c9bbf4ef add twitch integration, part 2 2015-05-25 20:38:33 +01: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
Michael Steenbeek
2a7926915c Declare window_invalidate_all() 2015-05-21 19:44:10 +02:00
Gymnasiast
36ccfe77e0 Add GUI option for switching to the RCT1 colour scheme, along with proper invalidation of the affected windows 2015-05-21 12:28:51 +02:00
Robert Jordan
dc38087f07 Fixed tooltip issue #1053
Tooltips should now behave more like RCT2.
2015-05-20 12:53:02 -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
Robert Jordan
09cc46c1e6 Almost finished land rights tool 2015-05-15 11:28:27 -04:00
Robert Jordan
a8ec43f065 Select size strings now use args 2015-05-13 11:38:44 -04:00
Robert Jordan
e8faa5e304 Forgot viewport_interaction 2015-05-07 14:31:34 -04:00
Robert Jordan
c25ef45827 Named 2 input flags, and dropdown fix
Named INPUT_FLAG_1 to INPUT_FLAG_DROPDOWN_STAY_OPEN
Named INPUT_FLAG_2 to INPUT_FLAG_DROPDOWN_MOUSE_UP

placed RCT2_ADDRESS_INPUT_FLAGS where valid and replaced all bitwise
references to it with appropriate input flags.

Changed ride view dropdown to hold only as it should be.
2015-05-07 14:31:11 -04:00
Duncan Frost
503b330eb8 Fix bugs in viewport interaction and loadsave dialog
Part of the issue was comparing an int litteral when it should have been a short but the main issue was due to a wrong mask in the viewport interaction code.
Loadsave MS dialog box should now work correctly.

Fixes #1040.
Fixes #1039.
2015-05-05 19:11:35 +01:00
Timmy Weerwag
d09a6249ff Renamed sub_688697 to store_interaction_info 2015-05-03 13:54:08 +02:00
Timmy Weerwag
10c4722a86 Deciphered flags and z param of get_map_coordinates_from_pos 2015-05-03 13:54:08 +02:00
Timmy Weerwag
5f7c7828a5 Despaghettified sub_68862C 2015-05-03 13:47:58 +02:00
Timmy Weerwag
002619c1f6 Decompiled 68862C and 688697 2015-05-03 13:47:58 +02:00
Timmy Weerwag
591fbb6dd1 Deciphered table at 0x0098185C 2015-05-03 13:47:57 +02:00
Timmy Weerwag
d6fd030702 Decompiled sub_688217 2015-05-03 13:47:56 +02:00
zsilencer
ed709b8353 game_command_remove_large_scenery 2015-04-25 09:21:11 -06:00
Duncan Frost
d0420eef0b Refactor to use defined pathBit entry address. 2015-04-22 21:03:44 +01:00
Duncan Frost
b3be906270 Added remaining scenery functions 2015-04-21 18:19:11 +01:00
Duncan Frost
e8d27b0424 Finished scenery repaint tool down
Renamed map_element variables that were badly named
Changed scenerymultiple(large) to use the correct size for type. This will cause merge issues with anyone working on large scenery.
2015-04-17 17:36:28 +01:00
Ted John
e08e4b7f61 Merge pull request #988 from Garogolun/footpath-stuff
Added two footpath functions
2015-04-12 23:15:20 +01:00
Timmy Weerwag
930a9d61dd Fixes for a couple of warnings 2015-04-12 23:26:15 +02:00
Timmy Weerwag
05fa87ad5d Fixed warnings 2015-04-04 15:22:37 +02:00
Timmy Weerwag
5f55bd97be Decompiled sub_688972 2015-04-04 14:39:46 +02:00
Timmy Weerwag
f52ccebbca Decompiled screen_pos_to_map_pos 2015-04-04 12:32:35 +02:00
Timmy Weerwag
b20efdada8 Refactored common code into viewport_coord_to_map_coord 2015-04-03 21:11:03 +02:00
Duncan Frost
cfeb039ad2 Added install_track window 2015-04-02 22:00:59 +01:00
IntelOrca
d86f15c87d Fix bug in rct1_fix_entrance_positions.
Refactor RCT1 import.
Allow rotate shortcut to rotate park entrance placement.
2015-04-01 21:23:05 +01:00
Timmy Weerwag
fe799f03a5 Added footpath_bridge_get_info_from_pos 2015-04-01 01:45:18 +02:00
IntelOrca
851b0819b9 clean up many CALL_PROCs and implement a few functions 2015-03-31 02:21:30 +01:00
Ted John
f28d2c9f2d Merge pull request #953 from Garogolun/proc-6a8388
Decompiled 0x006A8388
2015-03-28 17:22:51 +00:00
IntelOrca
aacd6b9db0 implement balloon_press and duck_press 2015-03-25 21:42:58 +00:00
Duncan Frost
bfe92e07f4 Fix small potential subtype issue. Finished sub_state_2 2015-03-25 18:36:15 +00:00
Duncan Frost
4bdf05b59f Labelled next_in_quadrant 2015-03-25 18:34:21 +00:00
Duncan Frost
d624dcfbd4 Added more of rotation 0 paintstruct setup 2015-03-25 18:34:20 +00:00
IntelOrca
63561f396a fix window update event call for old window code 2015-03-25 18:01:03 +00:00
IntelOrca
c6c796ab06 fix invalid park stats information when paused, fixes #957 2015-03-25 11:14:59 +00:00
Timmy Weerwag
af8857dd32 Replace more occurrences of addresses with new name 2015-03-24 22:04:22 +01:00
Ted John
eac4e28efd Merge pull request #952 from Garogolun/footpath-functions
Decompiled some footpath stuff
2015-03-23 21:03:33 +00:00
IntelOrca
745614c959 refactor misc. sprites and implement jumping_fountain_begin 2015-03-23 10:39:47 +00:00
Timmy Weerwag
d4f495cc0e Renamed sub_6A7831 to footpath_provisional_update 2015-03-22 22:18:36 +01:00
Adrian Wielgosik
3a6fcf790c Iterate over windows backwards to close last window; fixes #932 2015-03-19 22:35:33 +01:00