Commit Graph

1857 Commits

Author SHA1 Message Date
Ted John 17b69d257b Merge pull request #4097 from marijnvdwerf/clean/string-ids-2
Continue string ID cleanup
2016-08-28 14:05:13 +01:00
Ted John 76043d4050 Fix peep thoughts crashing on x64 2016-08-28 00:37:10 +01:00
Ted John 8cf7e87b5c Fix many warnings for x64 2016-08-27 23:32:15 +01:00
jensj12 13979397de Allow corner tiles when using mountain tool
The tile selection was limited to full tiles when using the mountain tool on a single tile. The game now allows selecting and raising/lowering corner tiles and the smoothing algorithm is modified to support that. The cost is the same as the old single-tile mountain tool. A bug where the mountain tool sometimes creates sharp edges has also been fixed.
2016-08-23 19:30:09 +01:00
Luke Lau c05eef02d6 Fix #3809: No tooltip delay 2016-08-21 15:47:20 +01:00
Marijn van der Werf 46959b20b4 Split up ride mode values 2016-08-21 16:33:37 +02:00
Marijn van der Werf 7a6d1ac082 Use different title for keyboard shortcut dialog 2016-08-21 16:33:37 +02:00
Marijn van der Werf ac8403f805 Use different title for preserved ride tab 2016-08-21 16:33:37 +02:00
Marijn van der Werf 245f289fd8 Identify raw string ids 2016-08-21 16:33:37 +02:00
Marijn van der Werf 3a7fa512a2 Use `rct_string_id` as type where applicable 2016-08-21 16:33:37 +02:00
Marijn van der Werf fbbc871aea Clean up double-used strings 2016-08-21 16:32:13 +02:00
Marijn van der Werf 8d1d699710 Clean up music credits window 2016-08-21 16:31:06 +02:00
Marijn van der Werf bc3ec1b871 Use table for ride names 2016-08-21 16:31:06 +02:00
Ted John 3f1a95cbee Merge pull request #4317 from marijnvdwerf/clean/data-palette
Clean/data palette
2016-08-21 13:48:37 +01:00
Marijn van der Werf bdb04e3da3 Integrate data at 0x009DEDF4 2016-08-21 14:24:55 +02:00
Ted John 1fb7458207 Remove drawing of expansion packs on title screen
This never worked anyway as we no longer read the registry keys for it.
2016-08-20 22:24:56 +01:00
LRFLEW 248a933ab1 Fix Invalid Save Default Path (#4308) 2016-08-19 22:33:49 +01:00
Wirlie 9ec3fbc39b Chat: Add colour scheme (themes) + 3d edge style. 2016-08-16 23:26:03 -06:00
Ted John 3f9c5456d4 Merge pull request #4212 from marijnvdwerf/clean/data-trackflags
Include track flags
2016-08-16 17:55:29 +01:00
wolfreak99 791733a571 See-through paths, Convert gCurrentViewportFlags to uint32 2016-08-15 00:58:15 -04:00
Marijn van der Werf 18edae3edf Integrate TerrainPricing 2016-08-14 14:49:32 +01:00
wolfreak99 eec0a0cb18 Invalidate Map Generator button when resizing map window (#4271) 2016-08-13 10:06:47 +02:00
Marijn van der Werf 6610190e8c Include track flags 2016-08-12 22:42:48 +02:00
Marijn van der Werf 76b470ac26 Integrate data at 0x0098D7E0 2016-08-12 22:37:05 +02:00
Marijn van der Werf 71c1f13ffa Integrate 0x0098D8B4 2016-08-12 22:36:39 +02:00
Marijn van der Werf 69bbf7ea3b Use RequiredSelectedObjects 2016-08-12 22:36:34 +02:00
Marijn van der Werf 8889530869 Use wage_table 2016-08-12 22:36:27 +02:00
Ted John 97b0245697 Merge pull request #4181 from marijnvdwerf/clean/data-1
Misc RCT data integration
2016-08-12 20:52:10 +01:00
Marijn van der Werf 8903559f75 Include data at `0x99ba64` and `0x99ca64` 2016-08-12 20:51:22 +01:00
Ted John 389d75534d Merge pull request #4224 from marijnvdwerf/clean/data-5
[Clean] Use already integrated data
2016-08-12 20:50:37 +01:00
Ted John 0e04e9e47f Merge pull request #4259 from marijnvdwerf/clean/constants-1
[Clean] Use more constants
2016-08-09 23:55:18 +01:00
Marijn van der Werf b428a95724 Ride classes 2016-08-07 20:11:43 +02:00
Marijn van der Werf 718c2906e9 Include news type list 2016-08-07 20:11:41 +02:00
Marijn van der Werf 897fc0591b Integrate track pricing 2016-08-07 14:31:08 +02:00
Marijn van der Werf ec4cf80623 Use `RideData4` 2016-08-07 13:01:20 +01:00
Marijn van der Werf a81b7c4892 Use `WALL_SCENERY` flags 2016-08-07 12:57:22 +02:00
Marijn van der Werf 198ebd0cb1 Use constants for colours 2016-08-07 12:57:12 +02:00
Marijn van der Werf 207f552203 Use contants for `_currentTrackCurve` 2016-08-07 12:57:07 +02:00
LRFLEW e5666683aa More RCT2_ADDRESS macro usage 2016-08-06 22:22:11 +01:00
Michał Janiszewski 0ece63a7f6 Wrap RCT2's addresses in RCT2_ADDRESS macro 2016-08-06 21:38:46 +01:00
Ted John 1abc4a1915 Integrate and clean up rest of guest list window vars 2016-08-06 01:52:03 +01:00
Marijn van der Werf dd2178c7cf Include AlternativeTrackTypes 2016-08-06 01:09:28 +01:00
Marijn van der Werf b777a36722 Remove maze people limit override 2016-08-06 01:04:37 +02:00
Marijn van der Werf 4d7db62336 Use RideKeyColours for map legend 2016-08-06 01:04:37 +02:00
Marijn van der Werf 6c76d3f2d2 Use `FlatTrackCoordinates` 2016-08-06 01:04:37 +02:00
Marijn van der Werf 1fc5681f00 Use `TrackCoordinates` 2016-08-06 01:04:35 +02:00
Ted John a66f55269b Merge pull request #4211 from marijnvdwerf/clean/data-trackdefinitions
Integrate track definitions
2016-08-05 17:29:27 +01:00
Marijn van der Werf 9288029bd6 Include RideConstructionDefaultTrackType 2016-08-05 13:11:25 +01:00
Marijn van der Werf 082e4c76fa Include data from `0x0097D7CB` 2016-08-05 11:53:44 +01:00
Ted John 32fea99c36 Merge pull request #4210 from janisozaur/integrate
Fix pointer types for 64 bit
2016-08-04 23:14:29 +01:00
Michał Janiszewski 501f0126fa Fix #4213: FPS decreases with track window
The code must've been from before I got everything working properly,
because removing both these lines does not cause any glitches in
rendering.
2016-08-04 21:22:12 +01:00
Michał Janiszewski 436809f778 Integrate rct_window::var_496 2016-08-04 21:54:37 +02:00
Marijn van der Werf 3d8b71ffbc Rename `gTrackDefinitions` to `TrackDefinitions` 2016-08-04 01:15:23 +02:00
Michał Janiszewski 91e04282ee Fix pointer types for 64 bit 2016-08-03 23:33:12 +02:00
Ted John 70853d65d6 Merge pull request #4203 from janisozaur/integration
Integration commits from #4181
2016-08-03 21:21:27 +01:00
Ted John 690e0641b4 Merge pull request #4206 from janisozaur/integrate
Add more 64-bit compatibility fixes enabling toolbars to work.
2016-08-03 20:58:49 +01:00
Michał Janiszewski 6c28a17906 Fix pointer casting for some strings 2016-08-03 20:53:25 +02:00
Michał Janiszewski f8e0d4b25b Add explicit empty string
Needed to properly handle toolbars in 64 bit builds
2016-08-03 20:51:53 +02:00
Michael Steenbeek c522f9cfd3 Implement max people on maze properly
Last year the limit for max people on maze was raised using a hack. Since the responsible table has been implemented since then, remove the hack and update the value in the table.
2016-08-03 19:41:31 +01:00
Marijn van der Werf 7bfdbbd409 Include ride stats labels 2016-08-02 23:32:58 +02:00
Marijn van der Werf 51f4988e06 Clean/include peep/staff vars 2016-08-02 23:32:58 +02:00
Michał Janiszewski a7f31dda4f Fix issues from gRideProperties review
Also renames it to RideProperties
2016-08-02 23:04:18 +02:00
Michał Janiszewski 2db2ef5eec Fix pointer types 2016-08-01 23:14:42 +02:00
Michał Janiszewski 09a20524a5 Integrate gRideProperties 2016-08-01 23:14:42 +02:00
Michał Janiszewski a71e60bed5 Make window_start_textbox accept pointer argument 2016-08-01 23:14:42 +02:00
Michał Janiszewski a40b3c63af Convert loadsave dialog to new string format 2016-08-01 23:14:42 +02:00
Michał Janiszewski 41049e5a32 Fix positions of widgets 2016-08-01 22:17:38 +02:00
Michał Janiszewski 062ab25f95 Fix invalidation issues 2016-08-01 20:30:08 +02:00
Michał Janiszewski 155bc054df Fix #4172: Expose ride-type changing capability in UI
This also allows changing ride type in multiplayer games. Very crashy.
2016-08-01 20:30:08 +02:00
Ted John 349684b7ce Merge pull request #4146 from AaronVanGeffen/reposition-mouse
Change mouse scroll zooming behaviour to zoom towards the cursor keeping the map position under the cursor consistent. This new behaviour is opt-out.
2016-07-31 12:38:06 +01:00
Michael Steenbeek ff7e119b46 Name some track design flags 2016-07-31 12:02:38 +01:00
Aaron van Geffen a1b8bdfa11 Make zooming to cursor optional.
This adds a checkbox to the interface settings panel to enable zooming around the cursor.
If disabled, which it is by default, vanilla RCT2 behaviour is retained.
2016-07-30 21:18:59 +02:00
Michael Steenbeek 19220cbbce Add a button to the map generator window in the Map window (#4098)
Includes many fixes by @Wirlie
2016-07-30 21:10:04 +02:00
wolfreak99 8f254702a2 Add cheat to reset date (#4188) 2016-07-29 20:49:38 +02:00
Marijn van der Werf b4f8f13849 Use sprite constants for staff list dialog 2016-07-28 23:28:32 +02:00
Marijn van der Werf a17e6cee5e Use constants for shop item images 2016-07-28 23:28:32 +02:00
Marijn van der Werf 9401afa68f Use constants for colour preview images 2016-07-28 23:28:32 +02:00
Marijn van der Werf c23750911f Add missing description for paint debug shortcut 2016-07-28 21:49:08 +01:00
Alexander Overvoorde 3842728f38 Fix indentation and code style in various files 2016-07-27 16:31:25 +02:00
Alexander Overvoorde c56a683eed Disable OpenGL vsync when uncap fps option is enabled 2016-07-27 04:01:25 +02:00
Marijn van der Werf 7478cfc053 Wrap defines in round brackets 2016-07-26 23:37:22 +02:00
Marijn van der Werf 7ec458f1bd Fix indentation of new menu option 2016-07-26 23:18:52 +02:00
Marijn van der Werf 763ae7edd7 Use `#define` instead of constant 2016-07-26 23:16:25 +02:00
Marijn van der Werf f9670fc1d4 Add debug menu option 2016-07-26 10:55:48 +02:00
Marijn van der Werf dd756cb8be Add paint debug window 2016-07-26 10:55:47 +02:00
Michał Janiszewski 583372e082 Fix #4136: Can't exit game
Caused by badly placed check prevent exiting the game.
2016-07-19 20:53:03 +01:00
Ted John 0c180b8171 Merge pull request #4133 from janisozaur/fixes 2016-07-19 18:38:41 +01:00
Ted John 487fcc3c5b Fix #4134: Can't enable park-wide photo price for log flume and river ra
Caused by not shifting the shop item flags (those above 32) to the correct mask bit.
2016-07-19 18:35:44 +01:00
Michał Janiszewski 2900999944 Validate gSavePromptMode 2016-07-18 21:18:41 +02:00
Matte A f6c8993da6 Fix #4080: Track list doesn't update when a track design gets deleted
Show an error if it can't select a track design rather than silently failing. Updating the list would require a file watcher on the tracks directory, and this edge case isn't particularly important at the moment.
2016-07-18 18:10:16 +01:00
Michał Janiszewski 9f57c82653 Refactor access to g_sprite_list
Hide g_sprite_list behind accessor function with a check. `assert` is
temporarily disabled, as it breaks nearly every park.
2016-07-17 22:19:34 +02:00
Ted John e9df7310db Add missing object type check for scenery ORIs 2016-07-16 17:57:58 +01:00
Ted John 304d6d9304 Fix #4110: guests still get charged for rides 2016-07-16 16:27:49 +01:00
Ted John fbcaf735b9 Merge pull request #3805 from wolfreak99/window_limit
Add option to set window limit.
2016-07-15 20:54:50 +01:00
Michał Janiszewski 1742ce71ed Fix handling of signed types 2016-07-15 18:48:22 +01:00
wolfreak99 3b8bd8ce93 rename max_window_count to window_limit_max 2016-07-15 10:25:59 -04:00
wolfreak99 44202d0bd1 Allow setting limit on maximum windows allowed
This provides an option to set a limit on the number of windows that can
be open. Originally, the game had somewhere around 12, but was bumped up
to 64 for OpenRCT2. While this provides some value, this is for people who
prefer less windows at a time, and also for people with older computers.
The limit can be set anywhere between 8 and 64, (8 being chosen to still
preserve in-game toolbars that are counted as windows, and 64 to not
overshoot the maximum hard-coded value). This can be set in both options
and the in-game-console.
2016-07-15 07:07:34 -04:00
Sijmen Schoon 6e765d2917 Remove trailing whitespace 2016-07-14 22:50:52 +02:00
Sijmen Schoon 1b5d6aba79 Change .image to .text 2016-07-14 20:45:34 +02:00
Sijmen Schoon bae92997c3 Sort includes 2016-07-14 20:45:34 +02:00
Sijmen Schoon 70b2779654 Add a failsave to the parent directory code 2016-07-14 20:45:34 +02:00
Sijmen Schoon 95a081bf38 Fix drive listing on Windows 2016-07-14 20:45:34 +02:00
Sijmen Schoon 53e469834b Clean up window_loadsave_populate_list 2016-07-14 20:45:34 +02:00
Sijmen Schoon bf51ae7e26 Refactor rest of window_loadsave_mouseup 2016-07-14 20:45:34 +02:00
Sijmen Schoon 58964cb301 Refactor WIDX_UP and WIDX_NEW 2016-07-14 20:45:34 +02:00
Sijmen Schoon 446db73dc2 Fix refactoring oversight in window_loadsave_open 2016-07-14 20:45:34 +02:00
Sijmen Schoon a26ad34ecd Remove unused function has_extension 2016-07-14 20:45:34 +02:00
Sijmen Schoon 0100ae7cd3 Refactor window_loadsave_open 2016-07-14 20:45:34 +02:00
Michał Janiszewski a6d0e6916e Fix function definitions to match their declarations
This makes sure every function is properly declared, which includes
proper `extern` wrappers.
2016-07-14 14:11:49 +02:00
Marijn van der Werf 5204fb0ce9 Clean up string and sprite ID's (#3977) 2016-07-14 14:07:49 +02:00
Sijmen Schoon fb456a86ea Fix #4061: Wrong error message when opening all rides with unfinished rides
Show the proper error when opening all rides goes wrong.
2016-07-14 11:26:12 +01:00
Ted John 04340021f6 Fix #4071: Guests paid when free entry park flag
Make most usages of park entrance fee use a common function which does the necessary checks.
2016-07-13 19:48:42 +01:00
Ted John dca816cfd3 Merge pull request #4024 from IntelOrca/refactor/object-list
Refactor and improve the object system:
- Objects are now exported to user directory under 'object'.
- Object directories are scanned recursively.
- Improves reliability of object loading and handling of bad objects.
- Improve performance of object scanning.
- Only load new objects when loading a new game.
- Improve changing language experience.
2016-07-11 23:45:45 +01:00
Ted John edb4a4a822 fix get capacity string for vehicles 2016-07-11 22:50:55 +01:00
Ted John 4bf9748143 fix drawing of object preview
We can't use dpi->width and dpi->height as they only define the clip region, not the viewport
2016-07-11 22:09:15 +01:00
Sijmen Schoon 38f402f156 Remove variable that became unused because of 06de7b 2016-07-11 19:26:25 +02:00
Sijmen Schoon 06de7bc1e1 Set default track folder to user track directory
Fixes #4019
2016-07-11 19:13:30 +02:00
Sijmen Schoon 773c7e04ef Remove stray space 2016-07-11 19:13:30 +02:00
Sijmen Schoon d8bc890d0a Exit scenery selection mode when done saving 2016-07-11 19:13:30 +02:00
Sijmen Schoon 79a85cd659 Save track designs as td6 file 2016-07-11 19:13:30 +02:00
Sijmen Schoon 9d1ae9b576 Fix track save system dialog crash 2016-07-11 19:13:30 +02:00
Sijmen Schoon a194c91997 Use OpenRCT2 dialog for saving tracks 2016-07-11 19:13:30 +02:00
Ted John f5391a366f Merge pull request #4048 from Goddesen/fix_4037_utf8_cursor
Use UTF-8 to measure cursor size in text input.
2016-07-11 18:00:17 +01:00
Ted John 7ae7c4f498 Merge pull request #4020 from duncanspumpkin/rate_input
Allow rate input by text box
2016-07-11 17:58:38 +01:00
Josue Acevedo cc2d91a642 Fix #4042: Park name isn't shown in objective selection 2016-07-11 09:54:37 +01:00
Josue Acevedo c17a89707c Fix #4031: Costs of land rights not displayed when hovering a tile 2016-07-11 09:31:42 +01:00
Goddesen 555eb227a8 Remove uint32 cast - size_t can be safely compared to size_t. 2016-07-11 02:15:15 +02:00
Goddesen 23e4fe63d0 Use utf8 to measure cursor size in text input. 2016-07-11 02:15:15 +02:00
duncanspumpkin 50c2e52b57 Use better text descriptions. Holding down rate buttons now increase/decrease 2016-07-10 09:26:23 +01:00
Ted John 3d824142ee clean up init_scenery a bit 2016-07-09 21:06:54 +01:00
duncanspumpkin 1d4fb5cb6f Allow rate input by text box 2016-07-09 08:39:45 +01:00
Ted John 5785020b07 fix clip size of preview 2016-07-09 01:28:57 +01:00
Ted John 78c6b6a251 remove all unnecessary object resets 2016-07-08 22:58:38 +01:00
Ted John 60098aeef0 remove last use of object_load_chunk 2016-07-08 22:58:38 +01:00
Ted John 9801e92d79 fix track manager object filtering 2016-07-08 22:58:38 +01:00
Ted John d7e1933f12 fix track manager preview 2016-07-08 22:58:38 +01:00
Ted John f59d6b7a00 implement unloading arbitrary objects 2016-07-08 22:58:38 +01:00
Ted John 488da7942c use object_manager_get_loaded_object instead 2016-07-08 22:58:38 +01:00
Ted John 42ad4ddfd1 fix minor errors 2016-07-08 22:58:38 +01:00
Ted John e8635c1307 prepare for better object loading 2016-07-08 22:58:38 +01:00
Ted John faf1f08b7f fix loading object via console 2016-07-08 22:58:38 +01:00
Ted John 8d168fb2ce remove more old object code 2016-07-08 22:58:38 +01:00
Ted John a47c039f22 remove lots of old object code 2016-07-08 22:58:38 +01:00
Ted John 7e1f948e19 remove required flag (unused) and fix scenery selection 2016-07-08 22:58:38 +01:00
Ted John 4bed693344 fix basic object selection 2016-07-08 22:58:38 +01:00
Ted John ebcbb085d2 add ride previews 2016-07-08 22:58:38 +01:00
Ted John 52c11267bc add small scenery preview 2016-07-08 22:58:38 +01:00
Ted John 13a560fb1d fix ride type sorting and add water preview 2016-07-08 22:58:38 +01:00
Ted John f6d6d93580 fix highlight object in object selection 2016-07-08 22:58:38 +01:00
Ted John 554d445db4 migrate more of object selection 2016-07-08 22:58:38 +01:00
Ted John 343623c815 move more code from old object list to new repository 2016-07-08 22:58:38 +01:00
Ted John db304cdfcb fix filtering on object selection 2016-07-08 22:58:38 +01:00
Ted John 76b2621a51 Merge pull request #4000 from SijmenSchoon/develop
Add a "default" button to the loadsave window
2016-07-08 22:58:07 +01:00
Josue Acevedo bfce74f905 Minor fix: guest list not contain any guest. (#4016)
Mistake that I made accidentally in #4006, caused because selected page takes the -1 value if the num of pages is 0 (it only happens if the num of guests is 0).
2016-07-08 23:57:26 +02:00
Josue Acevedo 68794c8ab8 Fix: page dropdown doesn't appear in guest list window. (#4006) 2016-07-08 20:17:56 +02:00
Sijmen Schoon 66628e5131 Remove unused variable 2016-07-08 11:32:34 +02:00
Sijmen Schoon 662d92be74 Fix track load/save last-dir storing
Doesn't really belong to this PR, but it's needed anyway
2016-07-08 11:29:45 +02:00
Sijmen Schoon 47d69998e7 Straighten up window_loadsave_widgets 2016-07-07 11:50:06 +02:00
Sijmen Schoon 127d94d451 Add a default button to the loadsave window 2016-07-07 11:29:22 +02:00
Ted John 6a5ecf04de Merge pull request #3998 from gDanix/fix-3324
Fix #3324: Opening tile inspector then footpath closes both windows.
2016-07-06 20:59:54 +01:00
Daniel Trujillo 966fbe812c Refactorize "update" callback to match coding standards. 2016-07-06 19:33:12 +02:00
Daniel Trujillo 2ea8ab1441 Fix #3324
This commit fixes a bug involving tool windows being closed when the
tile inspector was opened. This was caused by calling tool_cancel()
from wrong places, causing all tool windows being closed.
2016-07-06 19:26:14 +02:00
Sijmen Schoon fcf4008395 Remember previous save/load location
Works for games, landscapes, scenarios and tracks (but this is commented out due to tracks not being separated or something?)
2016-07-06 18:22:08 +02:00
Daniel Trujillo fc6f4929b7 Refactor for compliance with coding standards. 2016-07-01 22:02:28 +02:00
Daniel Trujillo f61da89410 Delete useless 'invalidate' function. 2016-07-01 22:02:28 +02:00
Daniel Trujillo 036b09d916 Several fixes.
· Delete 1 remaining useless comment
 · Move static function definitions above window events definition
 · Replaced 'invalidate' function with window_invalidate_all()
2016-07-01 22:02:28 +02:00
Daniel Trujillo 6a3210b7b7 Remove useless comments. 2016-07-01 22:02:28 +02:00
Daniel Trujillo dfd78ec359 Perform a refactor for compliance with conding style. 2016-07-01 22:02:28 +02:00
Daniel Trujillo cb1f9269a6 Hide useless decimals in custom currency configuration window 2016-07-01 22:02:28 +02:00
Daniel Trujillo 6ce4584842 Fix the currency equivalence bug
The custom currency configuration window was showing an incorrectly
equivalence ratio between GBP and the custom currency.
2016-07-01 22:02:28 +02:00
Daniel Trujillo 8ef1e1669d Add a missing include.
That was preventing from building on OSX and Win
2016-07-01 22:02:28 +02:00
Daniel Trujillo 4a28f7f6aa Clean code in custom_currency.c
To make it more OpenRCT coding style compliant
2016-07-01 22:02:28 +02:00
Daniel Trujillo b12e5443e9 Add configuration support for the custom currency
This commit do several things:
 · Add proper entries to config.c file
 · Load custom currency definition at start time
 · Save every change made from the custom currency configuration window
2016-07-01 22:02:28 +02:00
Daniel Trujillo 71a32a8750 Create custom currency configuration window 2016-07-01 22:02:28 +02:00
Daniel Trujillo 187499fd72 Fix currency dropdown not showing checked custom currency.
Due to the dropdown separator before custom currency entry, the selected
item index was incorrectly assigned to the separator.
2016-07-01 22:02:28 +02:00
Daniel Trujillo 9355eef5d4 Add custom currency option
Add custom currency entry to the dropdown menu of the options window
2016-07-01 22:02:28 +02:00
Duncan 5fb99b037f Merge pull request #3893 from wolfreak99/ObjectSelectionFilters
Filter Object Selection Window by "Selected only" and "Non-selected only"
2016-06-27 21:07:57 +02:00
wolfreak99 f9f0df82e5 refactor dropdown index to enum 2016-06-27 13:32:43 -04:00
wolfreak99 2960338268 numObjects to gInstalledObjectsCount 2016-06-21 15:15:01 -04:00
wolfreak99 08b5a1dc22 Switch from bools to filter_flags 2016-06-21 14:59:13 -04:00
wolfreak99 b587b15ddd Formatting improvements (pt 1) 2016-06-21 14:30:07 -04:00
wolfreak99 4afdf20f14 Do not show selected and non-selected in track manager mode (as track manager is a single-select interface) 2016-06-21 10:16:51 -04:00
Michał Janiszewski 402e5a32a0 Integrate path variables used by game 2016-06-19 23:52:20 +02:00
Josue Acevedo 425fc73979 Fix #3839: Chains can be set on stores if 'Allowing chain lifts for all pieces' is on
Show widget if the ride has track when the cheat is enabled
This stops the chain lift button showing for shops and flat rides.
2016-06-18 15:13:17 +01:00
wolfreak99 332e62b296 Add seperator to filter dropdown 2016-06-17 07:57:04 -04:00
wolfreak99 b66129db7b Filter Object Selection by "Selected only" and "Non-selected only" 2016-06-17 04:46:30 -04:00
Ted John ad1b9265dc integrate variables for various drawing pointers 2016-06-16 11:36:15 +02:00
Ted John d07b9535c2 integrate variables: object entry lists 2016-06-16 11:36:15 +02:00
Ted John 4b2f0b4119 fix #3825: Multiplayer crashes with UI buttons
Window was measuring number of lines of user's config server description rather than the connected server's description
2016-06-13 19:02:37 +01:00
Ted John bd6986cd3f fix #3858: Tooltip showed when hovering over title logo 2016-06-12 17:19:31 +01:00
Ted John 79292b56ad allow disabling of OpenGL 2016-06-07 22:47:31 +01:00
Ted John 3b627651aa add drawing engine config 2016-06-07 22:47:31 +01:00
X123M3-256 706b3db99e Chain lift cheat (#3818)
* Fix conflict with disable plant aging cheat

* Allow chain lift on any piece

* Keep chain toggled while building

* Ignore current chain lift state when cheat enabled

* Update string ids to one not already used

* Implement command for toggling cheat

* Allow chain on steep tracks when cheat is enabled

* Add checkbox for chain cheat

* Fix spacing

* Send cheat over network

* Change label for checkbox

* Replaced tabs with spaces
2016-06-07 22:08:38 +01:00
Goddesen bfd0a405ee Reformatted cheats misc. array to be consistent with other tabs 2016-06-04 22:05:30 +02:00
Goddesen 8cfddca5a9 Widen textbox for neverending marketing to full width 2016-06-04 22:00:58 +02:00
Ted John 82dd7601eb Merge pull request #3782 from janisozaur/desyncs
synchronise reset_0x69EBE4 over network
2016-06-03 10:47:01 +01:00
Michał Janiszewski 1508e49a28 Change macro to assert_struct_size 2016-06-03 11:29:50 +02:00
Michał Janiszewski 60630b9ad7 Drop `PACKED` attribute 2016-06-03 10:55:21 +02:00
Michał Janiszewski df3030e4a9 Provide static_assert for hard-coded struct sizes. 2016-06-03 10:55:21 +02:00
Michał Janiszewski 3907fcd9d2 Explicitly pack structs 2016-06-03 10:55:21 +02:00