Duncan
e5aeb8dc38
Merge pull request #1668 from janisozaur/develop
...
sub_0x68615B doesn't really take any params
2015-07-24 12:36:58 +01:00
Michał Janiszewski
8f2dc5fd1a
sub_0x68615B doesn't really take any params
...
In all cases, sub_0x68615B takes a single argument, 0xEE788C.
It now takes 0 arguments and simply knows about its initializing values.
2015-07-23 20:22:08 +02:00
IntelOrca
faacd66ad9
allow trees to be raised if supports limits are disabled, close #1663
2015-07-23 18:55:51 +01:00
IntelOrca
1662b18a7e
fix #1662 , consistent location sign
2015-07-23 18:38:43 +01:00
IntelOrca
43b657730e
fix #1658
2015-07-22 20:29:25 +01:00
IntelOrca
1f2502c8c2
add recent messages to toolbar, closes #1423
2015-07-22 18:13:35 +01:00
LRFLEW
d3742319b3
Fix #1654
2015-07-21 13:15:11 -05:00
IntelOrca
f35c23bb68
implement window_maze_construction_update
2015-07-21 15:02:53 +01:00
IntelOrca
519937c962
implement peep_should_use_cash_machine
2015-07-21 14:39:30 +01:00
Duncan Frost
cd400867e8
Merge branch 'develop' of https://github.com/OpenRCT2/OpenRCT2 into develop
2015-07-20 20:51:01 +01:00
Duncan Frost
b94d77ccae
Fix issue where saving would close toolbar.
...
Fixes 1537. Issue was caused by the window order being changed further down a function call. This meant all pointers to windows were invalid.
2015-07-20 20:49:56 +01:00
IntelOrca
4a16573786
fix cast warning
2015-07-20 20:25:05 +01:00
IntelOrca
1176e74ff6
fix guest and staff renaming
2015-07-20 20:21:12 +01:00
Duncan Frost
1725211713
Fix incorrect widgets enabled in ride construction.
2015-07-20 19:47:54 +01:00
Duncan Frost
ed23efe389
Implement remaining functions that were crashing
2015-07-20 18:43:57 +01:00
Duncan Frost
a877dd4a5b
Get the initial maze construct working.
...
Note entrances are broken
2015-07-20 18:03:45 +01:00
Duncan Frost
be58c6a688
Fix dereference of unset information.
...
Fixes #1650
2015-07-20 17:33:02 +01:00
Duncan Frost
82217d0053
Fix support cost multiplier underground.
...
Fixes #1651
2015-07-20 17:21:32 +01:00
zsilencer
c0354fb16a
fix #1645
2015-07-19 12:38:29 -06:00
Ted John
083625467a
Merge pull request #1647 from duncanspumpkin/peep
...
Peep functions
2015-07-19 16:23:49 +01:00
Duncan Frost
d2bcf096f7
Fix slope end when deleting sections.
...
Fixes #1646
2015-07-19 15:11:24 +01:00
Duncan Frost
34109b7978
Implement peep_assess_surroundings
2015-07-19 11:10:06 +01:00
Duncan Frost
72b740bd83
Implement peep_get_height_on_slope
2015-07-19 10:22:49 +01:00
Duncan Frost
9e8b9b10c7
Fix footpath connection bug
2015-07-19 10:00:43 +01:00
IntelOrca
a64a8c6021
implement peep_head_for_nearest_ride_with_flags
2015-07-19 00:06:55 +01:00
IntelOrca
a86d1cd07d
implement peep_head_for_nearest_ride_type
2015-07-19 00:06:42 +01:00
IntelOrca
37f49646dd
implement peep_pick_ride_to_go_on
2015-07-19 00:06:40 +01:00
IntelOrca
067fbb59a4
implement sprite_misc_3_create and sprite_misc_5_create
2015-07-19 00:06:27 +01:00
Duncan Frost
09ea7a1c93
Started implementing sub_68F41A
2015-07-19 00:06:05 +01:00
IntelOrca
2bad1052b3
fix #1641
2015-07-17 21:32:22 +01:00
IntelOrca
5f1878dca9
fix keyboard_shortcut_format_string
2015-07-17 17:54:01 +01:00
IntelOrca
74dc18b062
implement viewport_track_paint_setup
2015-07-17 17:25:38 +01:00
Ted John
a6c71c61ce
Merge pull request #1615 from LRFLEW/queue
...
Improved Queue Pathing
2015-07-17 16:05:02 +01:00
IntelOrca
e967e9465f
implement sub_68B2B7
2015-07-17 16:00:46 +01:00
Gymnasiast
3e5e4431c0
Rename sub_6B59C6() to invalidate_test_results()
2015-07-17 13:49:36 +02:00
IntelOrca
b3f3055429
fix mistake in ride_create
2015-07-17 02:43:22 +01:00
LRFLEW
e0f425ab61
Improved Queue Pathing
2015-07-16 13:02:29 -05:00
IntelOrca
48028fcfc4
fix #1631 , fix #1632
2015-07-16 16:42:46 +01:00
IntelOrca
354d604b26
fix #1633
2015-07-16 16:05:21 +01:00
Duncan
49c872d24a
Merge pull request #1627 from Gymnasiast/console-ux
...
Console UX improvements, fixes #1622
2015-07-16 12:24:35 +01:00
Gymnasiast
97fa80d044
Use correct ride naming in select-by-track-type mode
2015-07-16 11:00:27 +02:00
Gymnasiast
58247a2d6b
Console UX improvements, fixes #1622
2015-07-16 10:21:10 +02:00
IntelOrca
7cddad5026
implement game_command_create_ride
2015-07-16 01:38:28 +01:00
zsilencer
38b691b460
fix #1624
2015-07-15 15:44:05 -06:00
Duncan Frost
2bdb32061b
Fix path connection to ride entrances.
...
Fixes #1616 . Small fix to queue chaining as well.
2015-07-15 21:35:34 +01:00
Michael Steenbeek
8478381595
RCT1: Import the correct chip shop
2015-07-15 11:36:47 +02:00
IntelOrca
07717abdfd
fix audio initialisation bug when device is not set in config
2015-07-14 23:59:29 +01:00
zsilencer
72d16dd4d0
make all sounds play correctly through hook
2015-07-14 16:45:25 -06:00
zsilencer
ca6c3d68aa
fix #1155
2015-07-14 16:45:25 -06:00
zsilencer
689f7c9f1d
#1130 save last audio device
2015-07-14 16:45:24 -06:00
IntelOrca
81a8434873
fix and refactor rct1_process_scenario_flags
2015-07-14 23:37:22 +01:00
IntelOrca
cde0cece16
implement rct1_fix_walls
2015-07-14 23:15:21 +01:00
IntelOrca
8acd9e73ca
implement rct1_fix_colours
2015-07-14 21:58:45 +01:00
Duncan Frost
1440ac185d
Fix invalid hook register list.
...
Fixes #1607
2015-07-14 21:20:22 +01:00
IntelOrca
dcbdc7cb3a
fix rct1_fix_paths
2015-07-14 21:07:27 +01:00
IntelOrca
48c5fe1626
implement rct_fix_paths
2015-07-14 19:14:11 +01:00
IntelOrca
445d603abe
refactor various things such as scenario begin and staff mode reset, add rct1 ride struct
2015-07-14 18:18:28 +01:00
IntelOrca
968aec9040
fix #1605
2015-07-14 11:43:19 +01:00
IntelOrca
26a540e78d
fix #1605
2015-07-14 01:26:00 +01:00
IntelOrca
836c208dc5
implement rct1_fix_z
2015-07-14 00:42:27 +01:00
IntelOrca
345b71f8a4
implement rct1_clear_extra_sprite_entries and rct1_clear_extra_tile_entries
2015-07-13 23:49:39 +01:00
Duncan Frost
af5aab97bc
Fix ride construction auto entrance selection
2015-07-13 22:04:47 +01:00
IntelOrca
118b9ea2ac
fix tile inspector
2015-07-13 21:45:10 +01:00
Duncan Frost
23bb22c3af
Add check for ghost entrance removal.
...
Fixes #1601
2015-07-13 21:18:55 +01:00
Duncan Frost
8504486b28
Fix entrance/exit placement.
...
Fixes #1591
2015-07-13 21:09:36 +01:00
IntelOrca
b2d620bb9d
implement window_ride_measurements_tooldown and refactor track save scenery
2015-07-13 20:43:17 +01:00
IntelOrca
5cda9af81f
implement window_staff_list_tooldown
2015-07-13 19:51:46 +01:00
IntelOrca
bb2374d6ad
fix #1597
2015-07-13 18:22:28 +01:00
IntelOrca
1d9f404b5b
implement ride_construction_set_default_next_piece
2015-07-13 12:47:31 +01:00
Gymnasiast
0cbabb479e
Fix some warnings
2015-07-13 11:56:58 +02:00
Gymnasiast
a63642b630
Fix some warnings
2015-07-13 11:50:09 +02:00
zsilencer
af68e9d9ea
fix #1590
2015-07-12 20:23:58 -06:00
IntelOrca
01d2d599ca
implement ride_ratings_score_close_proximity_loops
2015-07-12 22:13:08 +01:00
IntelOrca
d264a27195
ride_ratings_score_close_proximity_in_direction
2015-07-12 21:40:21 +01:00
IntelOrca
d7a5dedea4
refactor ride ratings proximity
2015-07-12 21:18:40 +01:00
IntelOrca
a29ee4e1f0
implement ride_ratings_score_close_proximity
2015-07-12 17:48:52 +01:00
IntelOrca
e96f42dc34
implement sub_65E277
2015-07-12 16:29:32 +01:00
IntelOrca
4a8b5843f7
implement ride_get_track_length
2015-07-12 15:16:15 +01:00
IntelOrca
ed5c6eb866
implement ride_check_start_and_end_is_station and fix #1575
2015-07-12 14:26:14 +01:00
IntelOrca
3ffffc699c
clean up and remove various callprocs
2015-07-12 01:46:52 +01:00
IntelOrca
c36e9d9cb8
implement ride_ratings_check_valid_configuration and finalise other ride rating functions
2015-07-12 00:24:54 +01:00
Kevin Burke
fe00e48139
Put names on every track piece
2015-07-11 15:07:14 -07:00
IntelOrca
6acf52ce63
implement ride_check_track_contains_inversions, ride_check_track_contains_banked, refactor track circuit iteration and fix window event bug with hook
2015-07-11 22:51:11 +01:00
IntelOrca
48b71782fe
fix sub_679023
2015-07-11 21:58:33 +01:00
IntelOrca
9e9eb6a833
implement banner_get_closest_ride_index
2015-07-11 20:24:27 +01:00
IntelOrca
9dca351e8d
fix mistake in sub_679023
2015-07-11 19:37:19 +01:00
IntelOrca
5deb97a745
extract callfuncs into separate methods in peep.c
2015-07-11 19:11:12 +01:00
IntelOrca
daaf42d581
implement sub_679023
2015-07-11 18:46:52 +01:00
IntelOrca
fbd402eb67
implement remaining screen_get_map_xy... functions
2015-07-11 18:23:59 +01:00
zsilencer
aeeca2454a
fixed source of non-deterministicness
2015-07-11 12:31:11 +01:00
zsilencer
6e3ff0e1df
refactor tween reset
...
Conflicts:
src/game.c
2015-07-11 12:30:39 +01:00
zsilencer
b876591543
use SDL_RWops for save games
2015-07-11 12:27:46 +01:00
zsilencer
e8d8f7c684
fix invalidation issue with picked up staff
2015-07-10 21:01:58 -06:00
zsilencer
a58458bbb3
fix issue with negative dirty blocks
2015-07-10 20:50:49 -06:00
zsilencer
11a98d2e23
better solution to #1572
2015-07-10 20:13:19 -06:00
IntelOrca
fef4a25177
add sandbox and clearance cheats for ride entrance / exit
2015-07-10 21:47:39 +01:00
Duncan Frost
38986c5852
Added sandbox mode and pause cheats to track place/remove
2015-07-10 21:38:07 +01:00
IntelOrca
c80475f7db
allow disable clearance checks for footpaths
2015-07-10 21:38:05 +01:00
Duncan Frost
529a4da8e3
Added zero clearance to track placement.
...
Due to how track placement works you need to hold down shift when placing the track. Ignore the ghost placement. Also disable support limits is enabled.
2015-07-10 21:33:33 +01:00
IntelOrca
da3be49f34
update sandbox icon
2015-07-10 21:33:32 +01:00
IntelOrca
9c8be6a483
allow disable clearance checks for footpaths
2015-07-10 21:33:32 +01:00
IntelOrca
4fceb28017
fix sandbox variable rename
2015-07-10 21:32:12 +01:00
Duncan Frost
4d56572fd4
Fix large scenery ghost issue.
2015-07-10 21:32:11 +01:00
IntelOrca
d5ffaefdf0
add better disable clearance cheat
2015-07-10 21:32:11 +01:00
IntelOrca
fbf3d6af76
fix #1587
2015-07-10 20:58:17 +01:00
IntelOrca
25cad9d9f1
implement ride_crash with hook
2015-07-10 20:29:50 +01:00
IntelOrca
8c4b82cade
implement ride_get_entrance_or_exit_position_from_screen_position
2015-07-10 17:11:33 +01:00
IntelOrca
5724567b15
implement ride_get_place_position_from_screen_position
2015-07-10 14:54:02 +01:00
Ted John
35d444e28f
Merge pull request #1583 from Gymnasiast/fix-no-money-checkbox
...
Fix display of 'No money' checkbox when opened in-game
2015-07-10 12:12:33 +01:00
IntelOrca
f906391c9d
remove registers from window events and changed to typed signatures
2015-07-10 01:39:16 +01:00
IntelOrca
e42a11efa3
fix cheats window warnings and improve spacing
2015-07-09 18:37:51 +01:00
Ted John
21021cb23b
Merge pull request #1585 from zsilencer/bugfixes
...
fix #1572
2015-07-09 18:34:54 +01:00
zsilencer
c971a260b7
fix #1572
2015-07-09 11:00:46 -06:00
IntelOrca
7377de0049
fix #1578
2015-07-09 17:19:55 +01:00
Ted John
be4ba5ed1b
Merge pull request #1584 from zsilencer/bugfixes
...
fix #1570 and possibly #1572
2015-07-09 16:59:26 +01:00
Gymnasiast
4ace6a6e1b
Fix display of 'No money' checkbox when opened in-game
2015-07-09 17:05:14 +02:00
zsilencer
451bf7100b
fix #1570 and possibly #1572
2015-07-09 09:04:24 -06:00
Ted John
6689a18b9a
Merge pull request #1581 from Gymnasiast/improved-cheats-window
...
Reorder cheats window, use actual currency, add cheats to give guests money and to set goal to have fun, closes #1567 , closes #1568
2015-07-09 15:54:25 +01:00
Gymnasiast
107de9bc20
Fix guilder spacing
2015-07-09 16:43:05 +02:00
Gymnasiast
be635030bd
Reorder cheats window, use actual currency, add cheats to give guests money and to set goal to have fun
2015-07-09 16:36:45 +02:00
IntelOrca
6527bc6ac2
add shortcut versions and rotate clockwise/anticlockwise shortcut
2015-07-09 13:50:33 +01:00
Runelaenen
15a4c958eb
Changed 'wise' to 'direction'
2015-07-09 14:22:32 +02:00
Runelaenen
dd24011b5d
Fixed '<enter> to rotate'
...
Now uses less double code
2015-07-09 14:22:30 +02:00
Runelaenen
bec1a52bba
Changed function and occurences
...
It doesnt have to rotate three times to get an anti-clockwise return.
2015-07-09 14:22:28 +02:00
Runelaenen
624a402fa9
Removed comment
2015-07-09 14:22:26 +02:00
Runelaenen
8ec0024a4d
Changed strings for #1495
2015-07-09 14:22:24 +02:00
Runelaenen
5109224ba0
Add submenu and anti-clockwise rotation
2015-07-09 14:22:22 +02:00
Duncan Frost
82b60c1a56
Implement game_command_remove_ride_entrance_or_exit
...
Fix bug in entrance placement that caused moving entrances/exits to fail
2015-07-08 20:47:27 +01:00
Duncan Frost
b22f6f401a
Implemented game_command_place_ride_entrance_or_exit
2015-07-08 20:12:17 +01:00
Duncan Frost
728e5d5e1c
Fix multiple station platforms.
...
Small mistake was causing multiple station platforms to not be properly deleted from a rct_ride. Fixes #1566
2015-07-08 18:46:32 +01:00
IntelOrca
0ab33d67e8
implement footpath_connect_edges
2015-07-07 19:09:48 +01:00
IntelOrca
8113c9562b
implement footpath_chain_ride_queue
2015-07-07 02:35:53 +01:00
IntelOrca
4acb7ff5e1
fix demolish of flat rides and unable to build it again
2015-07-06 22:53:16 +01:00
IntelOrca
f859eefc4b
implement footpath_remove_edges_at
2015-07-06 22:13:04 +01:00
Duncan
491915c5bd
Merge pull request #1564 from duncanspumpkin/fix_1525
...
Fix issue with tracks on uneven ground.
2015-07-06 21:09:30 +01:00
Duncan Frost
bcd80b3db8
Fix issue with tracks on uneven ground.
...
Fixes #1525
2015-07-06 21:09:01 +01:00
IntelOrca
181a2e6209
implement map_remove_walls_at
2015-07-06 20:30:03 +01:00
Duncan
01be8bb70e
Merge pull request #1563 from duncanspumpkin/fix_track
...
Fix track bugs.
2015-07-06 19:02:15 +01:00
IntelOrca
0def7c0883
refactor invalidation of map tiles and viewports
2015-07-06 18:57:36 +01:00
Duncan Frost
e898e4dfc4
Fix track bugs.
...
Fixed issue with ride demolishing where only the first tile of a ride would get demolished causing issues when the ride entries were removed.
Fixed issue with rotation 3 track pieces where invalid memory would be accessed.
Fixes #1506
Fixes #1556
2015-07-06 18:21:42 +01:00
IntelOrca
9e26a6149f
implement sign_set_colour and fix gfx_invalidate_viewport_tile
2015-07-06 17:59:55 +01:00
zsilencer
40a495cabc
fix bug in hook which caused it not to work on other OSes
2015-07-06 09:28:16 -06:00
IntelOrca
c366571a99
implement editor_check_object_selection
2015-07-06 15:37:40 +01:00
IntelOrca
791c2391f5
implement-editor-callprocs, part 2
2015-07-06 14:40:37 +01:00
IntelOrca
c4504323c8
implement-editor-callprocs, part 1
2015-07-06 12:49:30 +01:00
Duncan Frost
da0368d1a3
Fix bug in track remove.
...
Fixes #1552
2015-07-05 20:57:14 +01:00
Duncan Frost
f42ac4715a
Refactor ride_get_refund_price
2015-07-05 20:31:25 +01:00
zsilencer
520d7840c0
fix bugs introduced in last commit
2015-07-05 09:50:03 -06:00
Duncan Frost
66430b41db
Fix opening function passing incorrect parameters.
...
Fixes #1526
2015-07-05 16:44:51 +01:00
Duncan Frost
f3ab7b6654
Merge branch 'develop' of https://github.com/OpenRCT2/OpenRCT2 into develop
2015-07-05 16:13:11 +01:00
Duncan Frost
b374899bc8
Fix finance issues. Small refactor.
...
Fixes #1524
2015-07-05 16:13:04 +01:00
Ted John
c0220df0ac
Merge pull request #1549 from zsilencer/bugfixes
...
fix #1002
2015-07-05 16:07:01 +01:00
zsilencer
9eb4958dde
fix #1002
2015-07-05 08:57:01 -06:00
Duncan Frost
79c8044156
Fix peep expenditure not adding to the correct type.
...
Fixes #1547
2015-07-05 15:34:15 +01:00
Duncan Frost
4acb73abfe
Fix incorrect refund price for tracks.
...
Fixes #1548 .
2015-07-05 15:22:56 +01:00
IntelOrca
57e059b167
fix invalidation issues with uncapped FPS
2015-07-05 12:12:55 +01:00
Duncan Frost
20f6b8731f
Implemented track_remove
2015-07-05 11:50:43 +01:00
Duncan Frost
dfb63ebe88
Fix track previous from not selecting corkscrews.
...
Issue was caused by wrong order of adding up the z coordinates of the previous track block
2015-07-05 10:55:02 +01:00
Ted John
2146a30a80
Merge pull request #1543 from duncanspumpkin/ride_funcs_p
...
Implemented track block get next and previous.
2015-07-04 23:51:40 +01:00
IntelOrca
f0bba54e79
uncapped FPS: fix viewport chopiness and reset after park load
2015-07-04 23:51:23 +01:00
Duncan Frost
e0ea2d9817
Implemented track block get next and previous.
...
Minor refactor of ride functions as well.
2015-07-04 22:50:48 +01:00
zsilencer
76b231c150
add option to uncap fps, and fix #1470
2015-07-04 13:14:14 -06:00
Duncan
f3cc003691
Merge pull request #1535 from Gymnasiast/fix-new-ride-selection
...
Fix selecting a newly invented ride when the user has selection by track type enabled
2015-07-04 18:34:09 +01:00
Chris
930ab6ac53
Removed comment
...
As requested
2015-07-04 03:37:38 -06:00
Chris
f230033eb0
Fixed #1538 "Meeting the condition of having x guests..."
2015-07-04 02:54:40 -06:00
Duncan Frost
b947d11442
Fix animated track elements.
2015-07-03 21:40:26 +01:00
Duncan Frost
709a2c5ef1
Implement track_place.
2015-07-03 21:14:26 +01:00
Gymnasiast
97ce46dc04
Fix selecting a newly invented ride when the user has selection by track type enabled.
2015-07-03 12:57:25 +02:00
IntelOrca
f729ed028f
change callproc to actual implementation
2015-07-02 18:55:14 +01:00
IntelOrca
3d6988b0f7
isolate callprocs in rct1.c and add reset cash function
2015-07-02 18:39:32 +01:00
IntelOrca
b66b503be8
isolate remaining callprocs in peep.c
2015-07-02 18:22:49 +01:00
Duncan
251121f041
Merge pull request #1530 from duncanspumpkin/fix_object_tab
...
Prevent tab 0 from trying to be animated.
2015-07-02 17:50:07 +01:00
Duncan Frost
a757f39a8c
Prevent tab 0 from trying to be animated. Fixes #1529
2015-07-02 17:41:17 +01:00
IntelOrca
30c1e4b6c9
Merge branch 'finish-map-window' into develop
2015-07-02 17:01:53 +01:00
IntelOrca
46178bb44f
implement finish-map-window part 6
2015-07-02 17:00:39 +01:00
Duncan
e54e74257d
Merge pull request #1515 from MaikelS11/build-ride-improvement
...
Back button on "Select Design" list #1346
2015-07-02 12:45:45 +01:00
IntelOrca
55c509590f
implement finish-map-window part 5
2015-07-02 01:50:13 +01:00
IntelOrca
6de7a38f53
implement finish-map-window part 4
2015-07-02 00:37:55 +01:00
IntelOrca
693e6127da
implement finish-map-window part 3
2015-07-01 19:06:42 +01:00
IntelOrca
c441ee2d1b
implement finish-map-window part 2
2015-07-01 15:17:25 +01:00
IntelOrca
7be91a5fac
implement finish-map-window part 1
2015-07-01 00:58:13 +01:00
Duncan Frost
0b60465b65
Fix map element reorganise crash.
...
Fixes #1518 . I've also refactored the code slightly. Issue was caused by memsetting the wrong buffer.
2015-06-30 18:08:49 +01:00
IntelOrca
cc54171443
remove / isolate several CALLPROCs
2015-06-30 17:13:34 +01:00
Maikel Stuivenberg
05e9cdd339
Tab to spaces (txt) and move item to end of list (strings_id)
2015-06-29 22:44:15 +02:00
zsilencer
9578606251
implement game_command_set_water_height
2015-06-29 11:49:17 -06:00
IntelOrca
19edd8a3bb
refactor game command enum
2015-06-29 17:36:07 +01:00
IntelOrca
40ba6a3efa
remove various callprocs
2015-06-29 17:22:01 +01:00
IntelOrca
c3d5d5f6c2
implement game_command_set_ride_vehicles
2015-06-29 16:14:56 +01:00
IntelOrca
4ada15c972
implement ride_update_max_vehicles
2015-06-29 15:13:42 +01:00
IntelOrca
c6e84181cb
implement ride_entry_get_train_layout
2015-06-29 01:24:07 +01:00
IntelOrca
0da767fcea
implement peep update real names and update ride vehicle colours
2015-06-29 00:51:03 +01:00
Maikel Stuivenberg
36b9d8de8a
Merge with develop
2015-06-28 21:40:01 +02:00
Maikel Stuivenberg
952cbdebaf
move string to id 5453
2015-06-28 21:33:54 +02:00
Maikel Stuivenberg
d968a65701
Changed back-button location
2015-06-28 21:30:20 +02:00
Duncan Frost
2c3c8dc188
Fix incorrect pointer maths. Fixes #1511 .
2015-06-28 19:46:08 +01:00
IntelOrca
ed41c2b995
fix map_reorganise_elements
2015-06-28 18:59:55 +01:00
IntelOrca
3e200d0bd2
implement ride_fix_breakdown
2015-06-28 18:36:46 +01:00
Ted John
b1b61e7df5
Merge pull request #1509 from duncanspumpkin/map_functions
...
Map functions
2015-06-28 18:03:53 +01:00
IntelOrca
e2a694b96e
implement format_string_toupper and litter_create
2015-06-28 17:45:19 +01:00
Duncan Frost
33c4698e06
Implemented map_reorganise_elements.
...
Fixed a potential issue that would cause cursors to become stuck.
2015-06-28 16:50:21 +01:00
IntelOrca
b4f8d3b753
add new shortcuts to shortcut window and fix bottom toolbar hiding in editor
2015-06-28 13:59:38 +01:00
Duncan Frost
8167c24526
Implemented sub_68B044 some sort of check to make sure there is space for new element.
...
If there isn't then it will try reorganise the elements to make room.
2015-06-28 13:53:24 +01:00
Ted John
78c8ba09b3
Merge pull request #1490 from MaikelS11/toggle-top-bottom-toolbar
...
Toggle top bottom toolbar
2015-06-28 13:41:16 +01:00
IntelOrca
f452b4d39a
fix #1506
2015-06-28 13:36:52 +01:00
IntelOrca
48268d50cc
implement a couple of ride subroutines and refactor
2015-06-28 13:36:51 +01:00
Duncan Frost
5e3df22414
Implemented map element remove. Small tidy of functions in game.c.
2015-06-28 13:31:46 +01:00
Thomas
e72739dbd6
Add cheat to force park rating
2015-06-28 13:38:38 +02:00
Maikel Stuivenberg
9feff63c6d
Remove viewport flag
2015-06-28 13:36:46 +02:00
IntelOrca
36d6ea7a6e
fix setting brakes speed on current track and implement game command
2015-06-28 11:44:46 +01:00
IntelOrca
b8fa25bcb6
fix brakes speed not being set when building track
2015-06-28 11:44:45 +01:00
Maikel Stuivenberg
4f7fbaaeb7
Merge remote-tracking branch 'upstream/develop' into toggle-top-bottom-toolbar
2015-06-28 12:06:47 +02:00
IntelOrca
63698761fd
remove some small callprocs
2015-06-28 01:57:50 +01:00
IntelOrca
2e1c449e91
use TRACK_BLOCK_END instead of random 255 arrays
2015-06-27 22:58:03 +01:00
IntelOrca
97e4a4d663
add track block and possible ride configuration tables
2015-06-27 22:53:52 +01:00
IntelOrca
457e7862b3
prepare track place and remove game commands
2015-06-27 17:53:28 +01:00
IntelOrca
d45cf519e3
fix warnings
2015-06-27 15:21:32 +01:00
IntelOrca
57fd914a52
implement ride construction
2015-06-27 15:17:54 +01:00
Gymnasiast
2ac872dd56
Drop duplicate track names in list; use track categories when in select-by-track-type-mode
2015-06-27 13:08:29 +02:00
Duncan Frost
a8a8385899
Fix memory not being freed.
...
This was breaking the installed object list creation as it would quickly run out of rct2 memory. Scenario text was incorrectly using rct2_free this has also been fixed.
2015-06-27 10:30:33 +01:00
Duncan
2c58910f62
Merge pull request #1485 from OpenRCT2/object-selection-columns
...
Object selection columns
2015-06-27 09:16:57 +01:00
Ted John
d9adf21434
Merge pull request #1492 from duncanspumpkin/object
...
Implemented object unload.
2015-06-26 20:08:54 +01:00
Duncan Frost
ab7e1da84e
Implemented object unload.
...
Refactored calls to the function. No need to pass the object type.
2015-06-26 17:45:38 +01:00
Robert Jordan
c20b60652c
Removed printfs
2015-06-26 11:47:03 -04:00
Maikel Stuivenberg
18008c2cc6
remove unneeded string
2015-06-26 17:44:17 +02:00
Robert Jordan
9ad21599a3
Decompiled top_toolbar tool events
...
Also fixed bug with land rights tool gridlines
2015-06-26 11:40:37 -04:00
Maikel Stuivenberg
1f5fd4fe67
Reorder shortcut
2015-06-26 17:26:29 +02:00
Maikel Stuivenberg
d74885cc18
show/hide UI #1402
2015-06-26 17:01:50 +02:00
IntelOrca
2e47f2a26a
object-selection-columns: finish sorting and add ride tab animations
2015-06-26 01:11:24 +01:00
Maikel Stuivenberg
831bc6b3bd
Added a back button on "Select Design" list #1346
2015-06-26 01:21:35 +02:00
IntelOrca
210ba2a04d
object-selection-columns: add ride type with sort
2015-06-25 23:35:18 +01:00
Ted John
a22d7837ce
Merge pull request #1477 from ThomasdenH/wine-date-fix
...
Change stat usage to GetFileAttributesEx
2015-06-25 23:33:08 +01:00
Ted John
96c61dcba5
Merge pull request #1482 from duncanspumpkin/sub_6847BA
...
Implemented set_vehicle_type_image_max_sizes
2015-06-25 23:32:38 +01:00
Ted John
1e2ee5bf7e
Merge pull request #1483 from trigger-death/themes-fix-3
...
Fixed theme features on duplication
2015-06-25 23:32:30 +01:00
Robert Jordan
760f0853ea
Fixed incorrect filter data
2015-06-25 18:15:25 -04:00
Robert Jordan
a05ad7319e
Fixed themes features duplicate bug
2015-06-25 16:42:12 -04:00
Duncan Frost
132236f9c8
Tidied up function and labelled.
...
Unsure when this information is used so not completely convinced this has been done correct.
2015-06-25 21:06:50 +01:00
Robert Jordan
31e8e604fe
Added Get button to command editor
2015-06-25 14:27:09 -04:00
Thomas
4b0c84ed20
Change stat usage to GetFileAttributesEx
2015-06-25 19:46:48 +02:00
Duncan Frost
18879e48eb
Start implmenting sub_6847BA.
...
Possibly finds drawing center for vehicle?
2015-06-25 18:12:21 +01:00
Robert Jordan
92a31a0fd7
Changed strings
2015-06-25 12:27:57 -04:00
Robert Jordan
e255310abf
Fixed merge conflicts in english_uk
2015-06-25 11:22:11 -04:00
Robert Jordan
5645d8bd8a
Added Game Speed command
2015-06-25 11:19:23 -04:00
Ted John
a0f3438538
Merge pull request #1469 from Gymnasiast/fix-remove-all-guests
...
Fix remove all guests cheat, improve select by track type, fixes #1462 , fixes #1388
2015-06-25 16:12:15 +01:00
Robert Jordan
937b887a91
Title Sequence Editor Improvements
2015-06-25 10:41:40 -04:00
Gymnasiast
770bfa2721
Another typo
2015-06-25 14:45:33 +02:00
Gymnasiast
8ec3f60f2e
Typo
2015-06-25 14:40:46 +02:00
Gymnasiast
ca1b88fc53
Don't modify flags when in select_by_track_type mode; make it switchable in-game again.
2015-06-25 11:46:17 +02:00
Gymnasiast
6fade38d36
Fix remove all guests cheat
2015-06-25 07:57:18 +02:00
Krutonium
5895dcd9b1
Corrected issue with saving tracks not having file extensions when user removes it from the save dialog. Fixes #1467
2015-06-24 20:26:50 -04:00
Ted John
5aa8b86106
Merge pull request #1463 from duncanspumpkin/fix_entrance_draw
...
Fix incorrect drawing of entrance elements
2015-06-24 23:17:18 +01:00
Ted John
c03950ea6a
Merge pull request #1466 from trigger-death/minimize-fullscreen-focus
...
Option to not Minimize fullscreen on focus loss
2015-06-24 23:16:12 +01:00
Robert Jordan
0a4ac08caa
Minimize fullscreen on focus loss
2015-06-24 18:12:53 -04:00
Miso Zmiric (Mike Squinter)
80d524f78e
platform_file_exists now also checks for path not found errors
...
use GetLastError after the GetFileAttributes
2015-06-24 22:30:39 +01:00
Duncan Frost
c165811017
Fix incorrect drawing of entrance elements
...
2 mistakes found.
1. Did not call the correct paint setup function. This caused the order of painting to be incorrect.
2. Used the wrong offset to the transparent image. This would cause little bits of transparency to appear on the top of the entrance image.
Fixes #1442 .
2015-06-24 20:20:54 +01:00
Robert Jordan
6918706680
One more error check
2015-06-24 13:53:13 -04:00
Robert Jordan
859d854758
Fixed title editor crashes/bugs
2015-06-24 13:52:29 -04:00
Robert Jordan
a3a993dabd
Title Sequence editor
2015-06-24 12:25:54 -04:00
Ted John
c24169912d
Merge pull request #1447 from mzmiric5/fix_game-data-check
...
fixes #1445 , now checks for existance of g1.dat files in the game pat…
2015-06-24 17:17:03 +01:00
Miso Zmiric (Mike Squinter)
21a15d0247
use platform_file_exists
2015-06-24 17:16:22 +01:00
IntelOrca
474d300578
change enabledTrackPieces to 64 bit integer in ride type struct
2015-06-24 16:43:21 +01:00
Miso Zmiric (Mike Squinter)
8c83cc24b1
use the game data check for existing config files as well, guard for data being moved
2015-06-24 15:36:42 +01:00
Miso Zmiric (Mike Squinter)
f9d85b6959
fixes #1445 , now checks for existance of g1.dat files in the game path rather than just for the folder
2015-06-24 15:28:06 +01:00
Gymnasiast
293624dc36
Prefer sportscars over racing cars in RCT1 mode
2015-06-24 14:30:03 +02:00
Gymnasiast
13106dba08
Only allow changing the option for select-by-ride-type in the title screen, to prevent strange behaviour
2015-06-24 13:22:10 +02:00
Gymnasiast
a6225ebf06
Add option to select by track type (RCT1 style); correct misspellings of 'separate'
2015-06-24 12:41:19 +02:00
Ted John
1dd55346a1
Merge pull request #1440 from sferrini/develop
...
Added missing va_end call
2015-06-24 02:09:17 +01:00
Maikel Stuivenberg
b40be2aba1
Fix border issue #1428
2015-06-24 01:54:59 +02:00
Simone Ferrini
6d05adb43f
Added missing va_end
2015-06-23 22:23:30 +02:00
IntelOrca
086370a7fc
fix #1429
2015-06-23 02:58:15 +01:00
IntelOrca
9701b1e0f6
fix warnings
2015-06-23 02:58:14 +01:00
Ted John
473eea3bfc
Merge pull request #1424 from ThomasdenH/load_save_sorting
...
Load save sorting by date
2015-06-22 16:00:41 +01:00
Thomas
2fc23b0084
Add browsing drives on windows
2015-06-22 15:55:57 +02:00
Gymnasiast
7ed390b8c4
Fix wrong colours in TD4 import, fixes #1420
2015-06-22 15:12:19 +02:00
Thomas
21ecd52af1
Fix for travis
2015-06-22 14:17:45 +02:00
Thomas
c7781e272c
Make sorting case insensitive
2015-06-22 13:54:09 +02:00
Thomas
ce26812caa
Add sorting based on date
2015-06-22 13:49:35 +02:00
Ted John
9d68aad6a1
Merge pull request #1419 from Gymnasiast/fix-td4-launch-import
...
Keep RCT1 launch modes on TD4 import
2015-06-22 11:31:37 +01:00
Gymnasiast
98253c8d21
Keep RCT1 launch modes on TD4 import
2015-06-22 08:41:47 +02:00
Duncan Frost
d5c19437ac
Make generic version of 98197C rotations. Refactor.
...
I've added a new function coordinate 3d to 2d. There are still quite a few different versions of this same code throughout the project that should be changed to use this function.
2015-06-21 16:23:25 +01:00
Duncan Frost
2c6312a86d
Implemented 2nd rotation. Small refactor of parameter list
2015-06-21 16:23:24 +01:00
Duncan Frost
48d3f6e7e3
Switch on setup_image_on_viewport rotation 0.
2015-06-21 16:23:24 +01:00
Duncan Frost
8554d2183c
Implemented more of the paint_struct setup code
2015-06-21 16:23:23 +01:00
Duncan Frost
eac5cea701
Implement left and right parts of the entrance.
2015-06-21 16:23:22 +01:00
Duncan Frost
dc7f83d667
Implement more of park entrance paint setup
...
I've changed the order of some of this code so its possible this wont display quite the same. Will need extensive testing.
2015-06-21 16:23:22 +01:00
Duncan Frost
4911ad5a9d
Started implementing entrance_paint_setup
2015-06-21 16:23:21 +01:00
Duncan Frost
cb7d579c9a
Refactor of sprite_paint_setup and litter_setup.
...
Also generalized entrance_setup so that it can be used for exits as well
2015-06-21 16:23:20 +01:00
Duncan Frost
3781918957
Added viewport_ride_entrance_paint_setup
2015-06-21 16:23:20 +01:00
Duncan Frost
b20513187c
Start viewport_entrance_paint_setup
2015-06-21 16:23:19 +01:00
Duncan Frost
5ba52e3688
Refactor of map_element_paint_setup
2015-06-21 16:23:18 +01:00
Duncan Frost
c004d0e73f
Refactor viewport_paint_setup
2015-06-21 16:23:17 +01:00
Duncan Frost
55d3b67cfe
Refactor of scrolling_text_setup
2015-06-21 16:23:17 +01:00
Duncan Frost
9958ffc0f7
Started refactor of viewport drawing
...
Renabled banner paint setup
2015-06-21 16:23:16 +01:00
IntelOrca
d5bf01e22c
refactor ride type flags
2015-06-21 15:32:28 +01:00
Ted John
9a1b09f022
Merge pull request #1416 from Gymnasiast/portuguese
...
Add support for Portuguese, closes #711
2015-06-21 14:29:05 +01:00
Gymnasiast
0dfdb33028
Complete support, read .DAT entries from correct table
2015-06-21 15:13:40 +02:00
IntelOrca
c6b7ab2ff4
Merge branch 'pre-release-0.0.2' into develop
2015-06-21 13:56:07 +01:00
Gymnasiast
d10d38a128
First version (crashy)
2015-06-21 14:53:04 +02:00
Ted John
e28f44f480
Merge pull request #1415 from duncanspumpkin/place_fence
...
Implement Place fence
2015-06-21 12:55:49 +01:00
IntelOrca
d193348792
fix game_command_set_fence_colour
2015-06-21 12:42:31 +01:00
Gymnasiast
858faa3303
Adjust game_command_place_fence for sandbox mode and build in pause mode.
2015-06-21 13:40:44 +02:00
Duncan Frost
b1183757ec
Fix banner bug. Small refactor
2015-06-21 12:07:44 +01:00
Duncan Frost
f36d17651d
Implemented game_command_place_fence.
...
There are a couple of bugs involveing signs.
2015-06-21 11:43:52 +01:00
Duncan Frost
2ab1e316a9
Fix using object selection during scenario
...
Made a small mistake where it would unload the selected objects instead of unloading the unselected objects.
2015-06-21 11:38:58 +01:00
Ted John
6dbdce88d4
Merge pull request #1409 from trigger-death/console-fix
...
Fixed console open and set commands
2015-06-20 22:44:02 +01:00
Robert Jordan
eea2a9f7c4
Fixed console open command
2015-06-20 17:39:40 -04:00
Ted John
fe31d92654
Merge pull request #1406 from ThomasdenH/load-save-window-improvement
...
Load save window improvement (#1378 )
2015-06-20 17:58:34 +01:00
Ted John
0381b0e1f6
Merge pull request #1407 from ThomasdenH/invert-drag
...
Add option to invert viewport dragging (#1332 )
2015-06-20 17:57:50 +01:00
IntelOrca
8416596bf8
implement park_update_histories
2015-06-20 17:28:17 +01:00
Thomas
fd914094a7
Add option to invert viewport dragging ( #1332 )
2015-06-20 17:52:38 +02:00
IntelOrca
926f6838b4
Merge branch 'pre-release-0.0.2' into develop
2015-06-20 16:26:56 +01:00
IntelOrca
b5fcdcf32a
fix placement of large scenery
2015-06-20 16:26:42 +01:00
IntelOrca
18f33f806c
implement sub_68ADBC
2015-06-20 16:24:38 +01:00
Thomas
cb89f040b4
Remove debugging
2015-06-20 16:42:34 +02:00
Thomas
b8eab9ec93
Add path abbreviation for load/save window
2015-06-20 16:31:06 +02:00
IntelOrca
4d4a000117
add object selection to debug dropdown
2015-06-20 15:07:36 +01:00
Duncan Frost
895d4a81e4
finish implementing remove_selected_objects_from_research
...
Fixed bug due to freeing rct2 memory.
2015-06-19 21:34:42 +01:00
Duncan Frost
15b2360e13
Implemented object_create_identifier_name and start of last func.
...
Note requires modification of the strings.
2015-06-19 21:34:41 +01:00
Duncan Frost
d67d9349b9
Implement setup in use selection flags.
2015-06-19 21:34:40 +01:00
Duncan Frost
07752aa1b4
Implemented free object selection flags
2015-06-19 21:34:39 +01:00
Duncan Frost
468806337c
Implement more of the setup functions.
...
Fix bug in object counting.
Split up required and optional objects.
Corrected optional objects.
2015-06-19 21:34:39 +01:00
Duncan Frost
bed75bb2cf
Refactor and start implementing setup functions for object selection
2015-06-19 21:34:38 +01:00
Duncan Frost
f7bbfa80a8
Start refactoring
2015-06-19 21:34:37 +01:00
Duncan Frost
7a5887f67a
Fix size bug.
...
Implemented reset_required_object_flags and reset_selected_object_count_and_size.
2015-06-19 21:34:36 +01:00
Duncan Frost
8935503b86
Implemented select object in object selection window.
2015-06-19 21:34:35 +01:00
zsilencer
2a82491514
#1396
2015-06-19 10:26:22 -06: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
Ted John
7cf82ee5ef
Merge pull request #1395 from Gymnasiast/cheat-park-parameters
...
Make the park parameters dialog behave and invalidate better in-game.
2015-06-19 15:12:33 +01:00
Gymnasiast
e546e5038e
Make the park parameters dialog behave and invalidate better in-game.
2015-06-19 16:02:54 +02:00
Ted John
742193a886
Merge pull request #1394 from Gymnasiast/cheat-park-parameters
...
Add cheat to edit park parameters/scenario options in-game
2015-06-19 14:43:52 +01:00
Gymnasiast
0491d971f3
Add cheat to edit park parameters/scenario options in-game
2015-06-19 14:59:48 +02:00
IntelOrca
2452767fdd
Merge branch 'pre-release-0.0.2' into develop
2015-06-19 11:42:19 +01:00
IntelOrca
78a6e60083
fix path_get_extension, fixes #1368
2015-06-19 11:40:18 +01:00
IntelOrca
3140042b1d
fix #1391
2015-06-18 22:35:08 +01:00
IntelOrca
2dc03cd45a
refactor research window / extract common code
2015-06-18 22:20:49 +01:00
Gymnasiast
37e80b68f0
Add cheat to reset crash status
2015-06-18 15:42:09 +02:00
Gymnasiast
c3417e12f5
Add cheat for staff speed
2015-06-18 15:10:53 +02:00
IntelOrca
1556a168e4
fix #1380
2015-06-17 23:01:14 +01:00
IntelOrca
87c7a31fa4
fix #1367
2015-06-17 22:13:23 +01:00
IntelOrca
9e79add6ba
Merge branch 'pre-release-0.0.2' into develop
2015-06-17 16:43:36 +01:00
IntelOrca
dff788d1d8
fix peep.c sign issues
2015-06-17 16:39:09 +01:00
IntelOrca
4ebf6dd913
fix #1374
2015-06-17 16:32:50 +01:00
IntelOrca
542eb057d9
set font when drawing checkboxes, extracted draw string left centred to new method
2015-06-17 16:21:50 +01:00
IntelOrca
d1b806c20c
fix #1370
2015-06-17 11:52:46 +01:00
IntelOrca
f4c46c479d
Merge branch 'pre-release-0.0.2' into HEAD
2015-06-17 11:41:08 +01:00
IntelOrca
f2388d9b54
fix changelog from showing again in same session
2015-06-17 11:38:02 +01:00
JarnoVgr
92acfab160
Added build number support
2015-06-17 00:55:32 +02:00
IntelOrca
9021a97206
fix #1358
2015-06-16 23:37:29 +01:00
IntelOrca
13244b8333
Merge branch 'pre-release-0.0.2' into develop
2015-06-16 23:27:42 +01:00