1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 01:35:06 +01:00
Commit Graph

734 Commits

Author SHA1 Message Date
duncanspumpkin
08d81f9bca Refactor place entrance 2016-09-26 19:35:56 +01:00
duncanspumpkin
1e244a60db Check for park entrances before placing to prevent ghosts 2016-09-26 18:51:31 +01:00
Ted John
ce74ca9d5d Merge pull request #4460 from manuelVo/fix-walk-on-provisional-path
Fix peep interactions with provisional paths
2016-09-26 12:46:52 +01:00
Michael Steenbeek
a170eeb367 Merge pull request #4302 from wolfreak99/render_rain_toggle
Add option to disable weather gloom and rain effects
2016-09-24 13:17:49 +02:00
Ted John
60b8ef6c0b Use more precise seed for random map generation
Clicking generate map quickly would generate roughly the same map twice in a row because the seed was using second precision timing rather than millisecond.
2016-09-24 12:11:48 +01:00
Manuel Vögele
c531898c3b Peeps no longer interact with provisional paths
In most cases peeps treaded provisional paths like paths that were
already built. Since provisional paths aren't synced in muliplayer mode
this caused a lot of desync.
2016-09-21 21:23:38 +02:00
wolfreak99
ce85e0e743 Make lightning disabled while weather effects are disabled (Gymnasiast
suggestion)

Interpreting Gymnasiast part 2
2016-09-21 10:36:35 -04:00
Manuel Vögele
88ee99db82 Replaced (1 << 6) with constant GAME_COMMAND_FLAG_GHOST 2016-09-20 02:04:37 +02:00
Michał Janiszewski
453e508716 Check access to duck_move_offset 2016-09-18 20:01:22 +02:00
Marijn van der Werf
487d6d8f15 Remove unnecessary addresses.h imports 2016-09-17 20:59:55 +01:00
Marijn van der Werf
a3a8484059 Complete integration of 0x009A3B04 2016-09-17 19:54:44 +02:00
duncanspumpkin
4473fcb275 Integrate remaining address in entrance.c 2016-09-15 19:39:57 +01:00
Michał Janiszewski
aa3dd894ee Optimise tweening by skipping get_sprite() and its assert 2016-09-14 23:25:37 +01:00
zsilencer
318adc3fa8 Fix #4434: Crash when sprite limit is reached 2016-09-14 15:48:15 -06:00
Michał Janiszewski
aa346e2bef Fix NO_RCT2 macro check in sprite.c 2016-09-12 21:59:19 +02:00
Ted John
54612789f6 Use ifdef, not if 2016-09-12 20:38:25 +01:00
Ted John
aa310f6544 Conditionally integrate sprite list so original drawing still works 2016-09-12 18:56:52 +01:00
Ted John
7edcd11aa7 Integrate entertainer costumes 2016-09-11 00:40:51 +01:00
Ted John
65cd3705b1 Integrate sprite list 2016-09-11 00:23:18 +01:00
Ted John
51277227eb Remove unused globals 2016-09-10 21:57:43 +01:00
Ted John
6af50c1135 Integrate variables in map.c 2016-09-10 21:50:21 +01:00
Ted John
4350e53392 Integrate gS6Info 2016-09-10 18:30:53 +01:00
Ted John
f36485557d Integrate remaining globals in ride window 2016-09-10 18:21:05 +01:00
Ted John
17198cfdb2 Integrate gTrackDesignSaveMode 2016-09-10 18:03:25 +01:00
Ted John
20c35b10eb Integrate variables in park.c 2016-09-10 17:46:34 +01:00
Ted John
708efdd08c Integrate unknown game variables 2016-09-10 14:46:53 +01:00
Ted John
9f4a70d642 Integrate more ride construction variables 2016-09-10 14:30:16 +01:00
Ted John
d0950af9df Integrate gClearSceneryCost and gLandRightsCost 2016-09-10 12:28:01 +01:00
Michał Janiszewski
163e314379 Remove unused or set-but-not-read variables 2016-09-07 13:39:29 +01:00
Ted John
00bfe1befb Use RCT2_ADDRESS macro so mmap works correctly 2016-09-06 00:10:58 +01:00
Ted John
eebdf8be7f x64: Fix set sign name by removing RCT2_GLOBAL use 2016-09-05 20:57:30 +01:00
Michał Janiszewski
0f6f23d588 Integrate gBanners 2016-09-04 21:19:19 +02:00
Michał Janiszewski
b7497f6654 Reduce inclusions of addresses.h 2016-09-04 21:19:19 +02:00
Ted John
6a665330c2 Integrate gCommonStringFormatBuffer 2016-09-04 15:55:37 +01:00
Ted John
b38416426f x64: Fix game_command_set_banner_name 2016-09-04 15:51:52 +01:00
Ted John
ae0eb1804c Integrate gParkRatingCasualtyPenalty 2016-09-04 15:44:59 +01:00
Ted John
3c80df07d4 Integrate gSavedAge 2016-09-04 15:11:15 +01:00
Ted John
9c645e0a0f Refactor track_design_draw_preview 2016-09-04 12:16:56 +01:00
Michał Janiszewski
f8145b6edc Refactor inclusion of addresses.h
addresses.h is now only included when necessary, limiting scope as much
as possible.
2016-09-03 21:25:19 +01:00
Michał Janiszewski
599b092487 Conditionally integrate some variables 2016-09-03 18:40:23 +01:00
Ted John
17b69d257b Merge pull request #4097 from marijnvdwerf/clean/string-ids-2
Continue string ID cleanup
2016-08-28 14:05:13 +01:00
Ted John
8cf7e87b5c Fix many warnings for x64 2016-08-27 23:32:15 +01:00
jensj12
13979397de Allow corner tiles when using mountain tool
The tile selection was limited to full tiles when using the mountain tool on a single tile. The game now allows selecting and raising/lowering corner tiles and the smoothing algorithm is modified to support that. The cost is the same as the old single-tile mountain tool. A bug where the mountain tool sometimes creates sharp edges has also been fixed.
2016-08-23 19:30:09 +01:00
Ted John
25328bccc9 Merge pull request #4221 from zaxcav/pathfind
Path finding fixes and optimisations
2016-08-21 21:34:12 +01:00
zaxcav
b1da59d25a Ignore isolated footpath tiles in the wide processing. 2016-08-21 22:24:40 +02:00
zaxcav
60acab8676 Remove if statements originally used to overlay grid of non-wide paths. 2016-08-21 22:24:19 +02:00
zaxcav
86be86331e Remove exlusions from path tiles being flagged wide based on tile coordinates. 2016-08-21 22:23:38 +02:00
zaxcav
a768be5e88 Fix the peep path finding
In the heuristic search, tiles in wide path were always being handled as junctions.  Changed to handle junctions according to the path thinning.

There was no search loop detection.  Added loop detection for returning to the starting location and any of the junctions visited in the current search path.

Various other optimisations added.
2016-08-21 22:23:38 +02:00
Marijn van der Werf
3a7fa512a2 Use rct_string_id as type where applicable 2016-08-21 16:33:37 +02:00
Ted John
112b70c15b Merge pull request #4068 from gDanix/refactor-clear_elements_at
Refactor clear_elements_at()
2016-08-21 13:59:07 +01:00