Daniel Trujillo
d9a2ef1066
Rewrite function clear_elements_at() in a more readable way.
...
Also, some code has been taken out the main loop, making calls
to this function return faster.
2016-07-17 17:11:35 +02:00
Ted John
964cf66f6b
Zero g1 elements when freeing images
...
This is to help diagnose issues where we are drawing invalid sprites as well as general cleanliness
2016-07-16 18:08:58 +01:00
duncanspumpkin
83fa818190
Use the correct count to work out if regions will overlap. Fix #4114
2016-07-16 18:07:13 +01:00
Ted John
e9df7310db
Add missing object type check for scenery ORIs
2016-07-16 17:57:58 +01:00
Michał Janiszewski
c3cd35fdbd
Integrate g_paint_structs (0xF1A50C)
2016-07-16 16:43:25 +01:00
Michał Janiszewski
81ab78a335
Add missing static
to ride_is_ride
2016-07-16 17:42:10 +02:00
Ted John
304d6d9304
Fix #4110 : guests still get charged for rides
2016-07-16 16:27:49 +01:00
Michał Janiszewski
de980c5c7a
Integrate paint structs
2016-07-16 16:02:30 +01:00
Ted John
be4668ee3a
Fix #4108 : Assertion an crash at startup
2016-07-16 15:33:26 +01:00
wolfreak99
57e790eba4
Correct int_valid to int_val
2016-07-16 15:13:16 +01:00
Michał Janiszewski
1673163bc2
Integrate path map elements in get_ride_queue_end
2016-07-16 15:12:51 +01:00
Ted John
c123673d6f
Merge pull request #4106 from IntelOrca/improve-assertions
...
Improve guard assertions so that they display the location of where the guard was and also allow a dump file to be created on abort.
2016-07-16 15:12:30 +01:00
Ted John
c413c43123
only include windows.h on windows
2016-07-16 14:49:41 +01:00
Michał Janiszewski
a2ce5d5696
Integrate gCurrentVehicle
2016-07-16 14:47:53 +01:00
Ted John
bd3331df4f
call assert() if not using breakpad
2016-07-16 14:34:10 +01:00
Ted John
5f41e3a0eb
add function and line info to guards
2016-07-16 14:17:36 +01:00
Duncan
aaaba7bb6b
Merge pull request #4105 from duncanspumpkin/fix_image
...
Fix Image List
2016-07-16 14:17:22 +01:00
Ted John
d25baf7bd3
improve assertion messages
2016-07-16 14:12:16 +01:00
duncanspumpkin
5426b655fe
Try combine _freelists when freeing to reduce chance of running out of images.
2016-07-16 14:12:15 +01:00
Michał Janiszewski
601f344b40
Integrate g_music_tracking_viewport
2016-07-16 13:07:01 +01:00
Ted John
fd339d29b1
import pointer parts of data for top spin and rotations
2016-07-16 13:06:05 +01:00
Ted John
439220b86e
import SwingingTimeToSpriteMaps data
2016-07-16 13:06:05 +01:00
Ted John
1d8f14715c
import vehicle data for various rides
2016-07-16 13:06:05 +01:00
Duncan
1e1546d87c
Merge pull request #4064 from gDanix/fix-4060
...
Fix #4060 : Block brakes have a different behaviour from RCT2.
2016-07-16 13:04:53 +01:00
Ted John
edd661659b
Merge pull request #4100 from IntelOrca/import-peep-data
...
Import static peep data.
2016-07-16 00:13:04 +01:00
LRFLEW
287289b52f
Update Xcode project
2016-07-16 00:03:46 +01:00
Ted John
3a8b0c662f
import peep sprite data
2016-07-15 23:56:51 +01:00
Ted John
79cc7ff250
use PeepThoughtToActionMap for 0x00981DB1
2016-07-15 22:58:32 +01:00
Ted John
8f4ba85b89
import unk_982134
2016-07-15 22:55:19 +01:00
Ted John
c8e3c338f2
import unk_981D8C and unk_981D8F
2016-07-15 22:46:27 +01:00
Ted John
4cee21a515
import PeepThoughtToActionMap data
2016-07-15 22:42:29 +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
Daniel Trujillo Viedma
4f074cc07f
Fix #4013 : Scroll bar can get tiny for extremely long lists ( #4025 )
2016-07-15 21:49:00 +02:00
Michał Janiszewski
b66853383e
Add more checks to object loading
2016-07-15 18:50:15 +01:00
Michał Janiszewski
1742ce71ed
Fix handling of signed types
2016-07-15 18:48:22 +01:00
Ted John
5eea851bc8
Merge pull request #4078 from SijmenSchoon/refactor/loadsave
...
Refactor window/loadsave.c
2016-07-15 18:44:35 +01:00
Sijmen Schoon
2d24678c05
Fix #4081 : Scrolling over non-scroll areas causes other areas to scroll
2016-07-15 16:50:18 +01:00
wolfreak99
d879192542
travisci fix
2016-07-15 10:38:38 -04: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
OpenRCT2 git bot
6428e3e42d
Merge Localisation/master into OpenRCT2/develop.
2016-07-15 04:00:20 +00:00
Sijmen Schoon
6e765d2917
Remove trailing whitespace
2016-07-14 22:50:52 +02:00
Josue Acevedo
097c5b101d
Fix open ride error messages
...
Some error messages aren't properly displayed because 'gGameCommandErrorText' is replaced with 'STR_NONE' before it's displayed.
This only happens with commands that use multiple commands inside them for do another "job" (or do another check).
2016-07-14 20:00:16 +01: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