Commit Graph

912 Commits

Author SHA1 Message Date
Gymnasiast 23d4084332 Refactor Clear Scenery window and raise size limit to 64 2015-08-11 18:26:39 +02:00
medsouz db9ea4cdf3 Added toggle for audio disable on focus lost
This closes #1758
2015-08-11 07:06:00 -04:00
LRFLEW b2bb862f75 Fix #1756 2015-08-10 11:01:35 -05:00
LRFLEW d10f5c8f06 Added tracked guests filter 2015-08-09 22:58:15 -05:00
Gymnasiast 46a0529f40 Add comment to clarify that non-inventioned rides are skipped 2015-08-07 22:34:15 +02:00
IntelOrca d0827bd9d8 implement window_maze_construction_resize and window_maze_construction_construct 2015-08-06 02:12:36 +01:00
IntelOrca 4f77cc8df3 implement gfx_draw_sprite_raw_masked 2015-08-06 01:00:03 +01:00
Maikel Stuivenberg d12b75acc2 hide non-applicable marketing campaigns, closes #1516, closes #1454, fixes #1510 2015-08-05 21:18:56 +01:00
IntelOrca 6b72f9a555 refactor shop item strings 2015-08-05 19:17:37 +01:00
IntelOrca cec486839c add 'no entrance' style and refactor a few things 2015-08-05 01:24:18 +01:00
Michał Janiszewski 413805f675 portability fixes 2015-08-04 22:46:32 +02:00
IntelOrca e0769800e7 remove old zero clearance tool 2015-08-04 20:25:24 +01:00
Michał Janiszewski 7afb7e2dfd Portability fixes 2015-08-04 19:31:21 +02:00
Ted John 61c42fc653 Merge pull request #1725 from danidoedel/bugfix
fix recent messages toolbar tooltip
2015-08-04 17:46:50 +01:00
IntelOrca 9ec701345f fix #1724 2015-08-04 17:40:02 +01:00
danidoedel 1fc7c0ecac fix recent messages toolbar tooltip 2015-08-04 17:56:12 +02:00
IntelOrca ca0e63f1a1 fix #1598 2015-08-04 02:28:05 +01:00
IntelOrca f25ab8e9f3 fix #1715 2015-08-04 02:12:17 +01:00
IntelOrca cac0f2ab52 upgrade to VS2015 compiler 2015-08-03 23:16:30 +01:00
IntelOrca 36c5179b39 implement utf8, part 27 (tweak tooltips) 2015-08-03 18:40:16 +01:00
IntelOrca 7bcb12503a implement utf8, part 24 (bug fixes) 2015-08-02 11:25:26 +01:00
IntelOrca d228d13918 implement utf8, part 23 (bug fixes) 2015-08-01 16:40:15 +01:00
IntelOrca 7fe54661b9 implement utf8, part 21 (more font specific customisation and bug fixes) 2015-08-01 10:21:01 +01:00
IntelOrca 52d5732826 implement utf8, part 19 2015-08-01 10:21:00 +01:00
IntelOrca 6bf474bd52 implement utf8, part 16 2015-08-01 10:20:58 +01:00
IntelOrca 31eb758ba1 implement utf8, part 15 2015-08-01 10:20:57 +01:00
IntelOrca fa87d8e999 implement utf8, part 14 2015-08-01 10:20:57 +01:00
IntelOrca a9e6f8c3db implement utf8, part 12 2015-08-01 10:20:55 +01:00
IntelOrca 357111a560 implement utf8, part 11 2015-08-01 10:20:55 +01:00
IntelOrca 99c7c93764 implement utf8, part 9 2015-08-01 10:20:53 +01:00
IntelOrca 795c01cab5 implement utf8, part 5 2015-08-01 10:20:50 +01:00
IntelOrca 1682eae048 implement utf8, part 4 2015-08-01 10:20:50 +01:00
IntelOrca 2bb0c6c53f implement utf8, part 3 2015-08-01 10:20:49 +01:00
Ted John 10fc123228 Merge pull request #1699 from Gymnasiast/name-flags
Name a park flag and a TD6 flag.
2015-07-29 11:54:24 +01:00
Gymnasiast ade8779195 Name a park flag and a TD6 flag. 2015-07-28 20:44:44 +02:00
Ted John 2fc658e346 Merge pull request #1697 from Gymnasiast/guests-given-date
Allow setting 'Guests at given date' in increments of 50, with a minimum of 250
2015-07-28 19:39:45 +01:00
IntelOrca 3a07af140b Implement more peep path finding 2015-07-28 18:33:46 +01:00
Gymnasiast 88f4185b3b Allow setting 'Guests at given date' in increments of 50, with a minimum of 250 2015-07-28 19:17:25 +02:00
Ted John ea130a6126 Merge pull request #1694 from Gymnasiast/remove-six-flags-branding-and-limitations-2
Remove Six Flags branding and limitations, mark the lifecycle flag as deprecated, rename previously unidentified flag
2015-07-28 12:08:47 +01:00
Gymnasiast 9976b9673a Remove rest of Six Flags branding. 2015-07-28 10:13:16 +02:00
Gymnasiast 5ed8948e4f Remove Six Flags branding and limitations, mark the lifecycle flag as deprecated, rename previously unidentified flag 2015-07-27 21:47:55 +02:00
Gymnasiast 65900982c4 Fix '1 weeks remaining' 2015-07-27 17:33:22 +02:00
Gymnasiast 38f031655c Fix display of remaining marketing campaign weeks 2015-07-27 10:34:19 +02:00
Gymnasiast 777065e6a6 Allow running marketing campaigns for up to 12 weeks 2015-07-26 22:36:12 +02:00
Matt Layher 06f2adb9d6 Properly merge #1672: incorrect plural form for last inspection time, fixes #1513, closes #1672 2015-07-26 21:30:29 +01:00
Duncan 6f0ad6a916 Merge pull request #1686 from Gymnasiast/disable-tutorial-button
Disable tutorial button
2015-07-26 17:00:56 +01:00
Gymnasiast 19d2bbf919 Disable tutorial button 2015-07-26 15:14:38 +02:00
Gymnasiast bcdfdcb7a0 Reorder Options window 2015-07-26 14:37:27 +02:00
Ted John f4216227f4 Merge pull request #1682 from Gymnasiast/upper-case-banners
Add feature to make banners display text in all caps
2015-07-25 20:50:02 +01:00
Gymnasiast ae32b463c0 Add feature to make banners display text in all caps 2015-07-25 21:38:23 +02:00
IntelOrca 801d2ec341 implement window_maze_construction_mousedown 2015-07-25 17:48:00 +01:00
Ted John 2d11e54fa7 Merge pull request #1670 from duncanspumpkin/peep
Peep
2015-07-25 11:32:25 +01:00
Michał Janiszewski 6adb384a7e Refactoring in news_item
Now news_items are fetched only with exposed calls, which add a layer of
simple checks. I also switched few places to access a read-only version
of news_item.
2015-07-25 11:31:17 +02:00
Duncan Frost bff00b29bf Fix more small pathfinding bugs. Fix unset memory errors 2015-07-25 10:12:51 +01:00
IntelOrca 50187adc37 enable debug configuration and add optimisations to release configuration 2015-07-24 23:48:23 +01:00
IntelOrca 5f69e6f37a add cycle day / night 2015-07-24 22:58:41 +01:00
IntelOrca dd107ee25c save object selection filter, closes #1599 2015-07-24 20:15:13 +01:00
IntelOrca b12b1b5faf support map scroll keyboard shortcuts, e.g. WASD. Closes #757 2015-07-24 19:20:24 +01:00
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 1f2502c8c2 add recent messages to toolbar, closes #1423 2015-07-22 18:13:35 +01:00
IntelOrca f35c23bb68 implement window_maze_construction_update 2015-07-21 15:02:53 +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 d2bcf096f7 Fix slope end when deleting sections.
Fixes #1646
2015-07-19 15:11:24 +01:00
IntelOrca a64a8c6021 implement peep_head_for_nearest_ride_with_flags 2015-07-19 00:06:55 +01:00
IntelOrca e967e9465f implement sub_68B2B7 2015-07-17 16:00:46 +01:00
IntelOrca 48028fcfc4 fix #1631, fix #1632 2015-07-16 16:42:46 +01:00
zsilencer 38b691b460 fix #1624 2015-07-15 15:44:05 -06:00
zsilencer 689f7c9f1d #1130 save last audio device 2015-07-14 16:45:24 -06:00
IntelOrca 118b9ea2ac fix tile inspector 2015-07-13 21:45:10 +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 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
IntelOrca 3ffffc699c clean up and remove various callprocs 2015-07-12 01:46:52 +01:00
IntelOrca 9e9eb6a833 implement banner_get_closest_ride_index 2015-07-11 20:24:27 +01:00
IntelOrca fbd402eb67 implement remaining screen_get_map_xy... functions 2015-07-11 18:23:59 +01:00
zsilencer b876591543 use SDL_RWops for save games 2015-07-11 12:27:46 +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 d5ffaefdf0 add better disable clearance cheat 2015-07-10 21:32:11 +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
Gymnasiast 4ace6a6e1b Fix display of 'No money' checkbox when opened in-game 2015-07-09 17:05:14 +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 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 5109224ba0 Add submenu and anti-clockwise rotation 2015-07-09 14:22:22 +02:00
IntelOrca 4acb7ff5e1 fix demolish of flat rides and unable to build it again 2015-07-06 22:53:16 +01:00
Duncan Frost bcd80b3db8 Fix issue with tracks on uneven ground.
Fixes #1525
2015-07-06 21:09:01 +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
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
zsilencer 9eb4958dde fix #1002 2015-07-05 08:57:01 -06: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
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
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
IntelOrca cc54171443 remove / isolate several CALLPROCs 2015-06-30 17:13:34 +01: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 d968a65701 Changed back-button location 2015-06-28 21:30:20 +02:00
IntelOrca 3e200d0bd2 implement ride_fix_breakdown 2015-06-28 18:36:46 +01:00
IntelOrca e2a694b96e implement format_string_toupper and litter_create 2015-06-28 17:45:19 +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
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
Thomas e72739dbd6 Add cheat to force park rating 2015-06-28 13:38:38 +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
IntelOrca 63698761fd remove some small callprocs 2015-06-28 01:57:50 +01:00
IntelOrca 97e4a4d663 add track block and possible ride configuration tables 2015-06-27 22:53:52 +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 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 9ad21599a3 Decompiled top_toolbar tool events
Also fixed bug with land rights tool gridlines
2015-06-26 11:40:37 -04:00
IntelOrca 2e47f2a26a object-selection-columns: finish sorting and add ride tab animations 2015-06-26 01:11:24 +01:00