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