Broxzier
ecc9637bbd
Clearing tile inspector clipboard when loading a park
2016-11-09 20:03:19 +01:00
Michał Janiszewski
9c818ea2dc
Reorder fields to reduce padding ( #4758 )
...
Reduces padding:
* In `rct_viewport` from 5 to 1
* In `rct_ride_entrance_definition` from 4 to 0
2016-11-06 21:06:02 +01:00
Ted John
e666028e02
Convert track repository to C++
2016-10-22 22:36:45 +01:00
zsilencer
d74efb23fe
Add picking up peeps/staff as game command
2016-10-18 13:40:49 -06:00
Michał Janiszewski
00c47b8a04
Fix clang builds
...
Redeclaring the same typedef is not legal in C < 11, but a
forward-declaration works just fine for having a pointer to struct. No
changes needed in .cpp, as it includes the `typedef` from `object.h`
(via `scenario.h`).
2016-10-15 21:50:52 +01:00
Ted John
babf261542
Refactor scenario list to C++
2016-10-15 21:50:52 +01:00
Ted John
001120e6b2
Fix #4531 : Ride sound focus not available any longer
...
Only reset the ride viewport if it the window has actually been resized and maintain the viewport flags.
2016-10-05 19:08:20 +01:00
Ted John
e234dcbb10
Integrate vehicle globals, part 1
2016-09-10 22:18:51 +01:00
Ted John
73d453228a
Integrate gDisableErrorWindowSound
2016-09-03 14:22:03 +01:00
Ted John
cb235c9d56
Integrate filter arguments in guest list window
2016-09-03 13:54:59 +01:00
Wirlie
9ec3fbc39b
Chat: Add colour scheme (themes) + 3d edge style.
2016-08-16 23:26:03 -06:00
wolfreak99
706b622464
Suggested Improvements
2016-08-16 02:28:50 -04:00
wolfreak99
791733a571
See-through paths, Convert gCurrentViewportFlags to uint32
2016-08-15 00:58:15 -04:00
duncanspumpkin
dd7e988f08
Fix #4231 . Ride colour issue caused by overlapping vars.
...
By using a union instead of a struct var_494 and var_496 where ontop of the same location this meant var_496 when written to would overwrite ride_colour that was also in a union with var_494/496. This in turn would cause the wrong ride_colour to be overwritten when using the colour picker.
2016-08-06 08:03:57 +01:00
Ted John
c2db79919d
Integrate gWindowUpdateTicks
2016-08-06 01:35:46 +01:00
Ted John
252a00c35f
Integrate gCurrentWindowColours
2016-08-06 01:32:40 +01:00
Michał Janiszewski
436809f778
Integrate rct_window::var_496
2016-08-04 21:54:37 +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
Aaron van Geffen
8ac1b79799
Remember and apply cursor position relative to tile.
2016-07-30 21:18:59 +02:00
Aaron van Geffen
f035bfdecd
Try to keep the current tile under the mouse cursor.
...
This still doesn't work as well as I'd like yet, most notably when zooming out.
2016-07-30 21:18:59 +02:00
Aaron van Geffen
17cbdf795e
Missing header declaration for gcc.
2016-07-30 21:18:59 +02:00
Marijn van der Werf
dd756cb8be
Add paint debug window
2016-07-26 10:55:47 +02:00
wolfreak99
67d4ff83e5
Fix window limit count accuracy ( #4144 )
2016-07-26 09:45:26 +02: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
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
Charles Cook
6d268099f5
Follow coding standard for project.
2016-07-05 19:40:20 -04:00
Charles Cook
5c9110b99a
Prevent viewport_invalidate from causing covered viewports to redraw and cache window and viewport visibility.
2016-07-05 18:02:23 -04:00
Charles Cook
19d873fedf
Prevent rendering of hidden windows.
2016-07-05 12:54:28 -04:00
Daniel Trujillo
dfd78ec359
Perform a refactor for compliance with conding style.
2016-07-01 22:02:28 +02:00
Daniel Trujillo
71a32a8750
Create custom currency configuration window
2016-07-01 22:02:28 +02:00
Ted John
996202ac43
remove gScreenDPI
2016-06-07 22:45:36 +01:00
Ted John
83fc6ec4af
remove usages of gScreenDPI and gWindowDPI
2016-06-07 22:45:36 +01:00
Ted John
3fcb337c7b
integrate variable: gWindowMapFlashingFlags
2016-05-13 22:51:16 +01:00
janisozaur
658e877955
Name all the typdef-ed structs ( #3581 )
2016-05-12 22:57:40 +01:00
Ted John
231ea9e97c
fix rename and delete track design
2016-05-08 14:03:56 +01:00
Ted John
f4f8801f2b
fix memory issue and add variable for scenery toggle
2016-05-08 14:03:55 +01:00
Ted John
feb34660e3
fix up track manage window
2016-05-08 14:03:54 +01:00
Ted John
f00d7daef5
fix track design preview, place and refactor
2016-05-08 14:03:50 +01:00
janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +01:00
Ted John
652b1c83db
integrate variables for lightning and toolbar dirty flags
2016-04-24 21:49:09 +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
16527e749a
remove network type from loadsave
...
Fixes a crash that happened when loading a saved game from the start server window.
2016-03-31 20:42:21 +01:00
IntelOrca
74d96d86c0
fix #3158 : close network status window doesn't abort
2016-03-22 23:27:49 +00:00
IntelOrca
934bf28cc1
change scenario select to callback mechanism
2016-02-13 11:32:34 +00:00
zsilencer
6e3068cd0a
MP groups and permissions
2016-01-20 21:42:31 -07:00
IntelOrca
50eaa99eac
fix widget index size & size for consistency
2016-01-05 23:16:09 +00:00
IntelOrca
b5069d3809
integrate variable: gInputState
2016-01-04 22:45:51 +00:00