Michael Steenbeek
78a38b07b9
Merge pull request #3819 from marcovmun/Fix-3571
...
Fix #3571 and made scrolling in windowed mode more generic
2016-09-06 22:57:01 +02:00
Ted John
d10fdd4904
Remove unread variable
2016-09-05 20:54:22 +01:00
Ted John
9d49dbd782
Integrate gCurrentCursor
2016-09-05 20:53:30 +01:00
Ted John
1338f7cedd
Remove mouse state globals, use parameters instead
2016-09-05 20:50:33 +01:00
Ted John
029da58459
Integrate _clickRepeatTicks
2016-09-05 20:42:08 +01:00
Ted John
9966ee9092
Clean up game_handle_input
2016-09-05 20:30:06 +01:00
Luke Lau
c05eef02d6
Fix #3809 : No tooltip delay
2016-08-21 15:47:20 +01:00
Michał Janiszewski
b16b6814aa
Fix pointer types for 64 bit builds
2016-08-01 23:14:42 +02:00
Marijn van der Werf
5204fb0ce9
Clean up string and sprite ID's ( #3977 )
2016-07-14 14:07:49 +02:00
Michał Janiszewski
644a36a310
Fixes to -Wall compilation
...
By default, not all warnings are enabled. This change makes sure that
the project compiles correctly with following options turned on:
-Wall -Wno-unused-but-set-variable -Wno-missing-braces \
-Wno-unknown-pragmas -Wno-unused-function
2016-06-20 13:46:27 +01:00
Wirlie
0209fcc9bf
Improve horizontal scrollbars.
2016-06-19 19:23:46 -05:00
Wirlie
20fce67e9a
Improve vertical scrollbars.
2016-06-19 15:52:40 -05:00
Josue Acevedo
5e5ec75eea
Fix #2754 : Dragging scrollview fails when scaled
2016-06-19 13:15:39 +01:00
Marco van Munster
120ae883d4
Fix #3571 and made scrolling in windowed mode more generic
2016-06-04 18:40:06 +02:00
Michał Janiszewski
9d5827520a
Replace shifting with multiplication when dragging ( #3789 )
...
`dx`, `dy` can be signed negative values, shifting them left is
undefined.
2016-05-31 22:03:31 +01:00
Ted John
781c422c76
integrate tick variables
2016-05-20 22:56:45 +01:00
Ted John
8efe699754
integrate gMapTooltipFormatArgs
2016-05-18 00:02:26 +01:00
Ted John
8d4e4ed0e9
remove unread RCT2_GLOBALs
2016-05-17 23:39:37 +01:00
janisozaur
658e877955
Name all the typdef-ed structs ( #3581 )
2016-05-12 22:57:40 +01:00
janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +01:00
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