Ted John
98f732aaf7
integrate screen variables ( #3411 )
2016-04-24 00:36:39 +01:00
Ted John
4cdb2df9dc
integrate screen variables
2016-04-23 11:16:46 +01:00
Ted John
63f008566c
Merge branch 'master' into develop
2016-04-15 23:25:45 +01:00
Ted John
84edd049d9
integrate current tool variables:
...
- gCurrentToolId
- gCurrentToolWidget
2016-04-15 18:26:47 +01:00
IntelOrca
89ad0cc769
store windows in openrct2 memory and increase max
...
Allocate a bigger window list and viewport list in OpenRCT2 static memory and move over all references from RCT2.
This also removes the 'active' viewport pointer list and instead changes everything to just enumerate the whole viewport list
2016-04-14 23:00:35 +01:00
IntelOrca
de79bd4599
fix #3294 : crash when closing a window being dragged
2016-04-14 17:41:06 +01:00
IntelOrca
e6ca13d32c
fix #3181 : key shortcuts work on multiplayer chat
2016-03-27 12:50:32 +01:00
Michał Janiszewski
aa8437cb9d
Minor fixes
2016-02-26 20:49:01 +01:00
Michał Janiszewski
6b514d1e3a
Fix possible issues highlighted at higher warn levels
...
Mostly possibly uninitialized values and signedness
2016-02-26 12:54:00 +01:00
IntelOrca
13921111f3
remove old RCT2 cursor code and RCT2 error location variable
2016-02-16 20:30:43 +00:00
IntelOrca
5cf0c4bd07
remove commented out callproc/funcs
2016-02-16 20:10:24 +00:00
Alexander Overvoorde
ad05d0b5f0
Fix enter not working for text inputs in the title screen ( fixes #2941 )
2016-02-15 02:45:57 +01:00
Michał Janiszewski
9ff064ff7f
On scroll widgets only display tooltip in main area
...
This makes sure tooltip is only displayed in the "view" area of scroll
widget. Other areas are scrollbars and since they cannot have custom
tooltips, it should not affect any functionality.
Fixes #2848 .
2016-01-31 13:42:54 +01:00
IntelOrca
e3f0d22988
invalidate dropdown when highlighted index is set to default
2016-01-25 18:12:13 +00:00
IntelOrca
1ffee2435a
fix #2363 : show default item highlight, refactor
2016-01-17 23:37:14 +00:00
Marijn van der Werf
6568798af7
Use globals instead of addresses where applicable
2016-01-15 21:01:49 +01:00
Marijn van der Werf
98b5ad1bf4
Replace known addresses with constants
2016-01-15 21:01:34 +01:00
IntelOrca
cdee534eb1
use SDL2's platform defines to normalise platform guards
2016-01-14 20:12:43 +00:00
Marijn van der Werf
623952d966
Only perform command key state detection on OS X
2016-01-12 22:53:01 +01:00
Marijn van der Werf
72739e8cd8
Allow setting CMD as shortcut key
2016-01-12 22:29:36 +01:00
IntelOrca
c0eeefa609
integrate variables: _currentScrollIndex, _currentScrollArea
2016-01-06 18:47:55 +00:00
IntelOrca
29397ebcc5
fix #2658 : fix dragging on land and water tools
2016-01-06 18:31:25 +00:00
IntelOrca
2b343838e0
fix scrollbar scrolling
2016-01-05 23:37:57 +00:00
IntelOrca
50eaa99eac
fix widget index size & size for consistency
2016-01-05 23:16:09 +00:00
IntelOrca
f4f07ae5bb
integrate variable: gInputPlaceObjectModifier
2016-01-05 22:33:47 +00:00
IntelOrca
94ae72f228
integrate variable: gHoverWidget
2016-01-05 22:05:00 +00:00
IntelOrca
586e5ef9cd
integrate variable: gPressedWidget
2016-01-05 21:46:38 +00:00
IntelOrca
c181f18309
remove left over RCT2 drag variables
2016-01-05 21:37:15 +00:00
IntelOrca
f5db0a83e5
refactor mouse input queue
2016-01-05 21:20:59 +00:00
IntelOrca
d842708f90
refactor drag widget in input.c
2016-01-05 00:10:28 +00:00
IntelOrca
88c391120a
integrate tooltip variables
2016-01-05 00:02:23 +00:00
IntelOrca
0c933234e0
remove all tutorial code
2016-01-04 23:21:23 +00:00
IntelOrca
f0adf90660
integrate variable: gInputFlags
2016-01-04 22:53:03 +00:00
IntelOrca
b5069d3809
integrate variable: gInputState
2016-01-04 22:45:51 +00:00
IntelOrca
64b589770a
remove obsolete callprocs
2015-12-29 11:57:47 +00:00
IntelOrca
db18fa8f14
finally fix #1619 : Can't place any path
...
RCT2_ADDRESS_TOOL_WIDGETINDEX was being read as an int32 sometimes
2015-12-21 22:28:34 +00:00
LRFLEW
85800997c2
Fixed warnings in Xcode
2015-12-21 03:11:38 -06:00
Kyle Kirbatski
4f03530e48
Clean up instances of 0x.. & 0x.. to 0x.., 0x..
2015-12-12 14:08:09 -06:00
Kyle Kirby
caf07c2064
Clean up the comments a litte
...
• Make comment heads be /**
• Make rct2 addresses be double spaced indented
• Make there be a space afte rct2: and the address
• Make single-line rct2 addresses be full block comments
• Move description of method to top of comment
2015-12-11 16:19:46 -06:00
Dom Light
e9b7e41635
Refactor audio_sound_play_planned
2015-11-17 23:05:24 +00:00
Dom Light
3a8b25a0ee
Sanitize audio.h
2015-11-17 01:05:14 +00:00
duncanspumpkin
b7d402cfbe
Implement right click scrolling for scroll widgets.
...
Think this had just been missed. Its heavily modified from the original to match closer to what the rest of the code base does. Fixes #2052 .
2015-11-15 13:55:09 +00:00
IntelOrca
e1b67eeda0
improve command line version information and add headless check
2015-11-08 12:49:19 +00:00
Michał Janiszewski
a911ff09d0
Some more checks, make sure gVehicleHierarchies are counted properly
2015-11-02 22:58:15 +01:00
duncanspumpkin
f1cdc99afc
Fix #2079 . Scroll windows no longer have incorrect tooltips
...
There was an issue with forgetting to reset the x/y variable introduced when I fixed a different bug. Possibly fixes #2136
2015-11-01 20:55:54 +00:00
Ted John
ad5869a8a0
Merge pull request #2150 from janisozaur/develop
...
Fixes
2015-10-29 19:38:06 +00:00
Michał Janiszewski
31f412d0e4
Fixes: scope & types, control flow, cmake, platform support
2015-10-29 20:26:47 +01:00
Alexander Overvoorde
01793e11b7
Replace RCT2_GLOBAL magic numbers with address identifiers and string ids
2015-10-29 09:44:46 +01:00
Michał Janiszewski
0cdaa0b57e
Guard against possible NULL dereference
2015-10-27 18:32:39 +01:00
Michał Janiszewski
7d0ce00bab
Strip all whitespace
2015-10-20 20:48:51 +02:00