duncanspumpkin
119ca58cc7
Add check to prevent exceeding the maximum number of animations. Probable cause of #2381
2015-11-27 18:01:45 +00:00
duncanspumpkin
83d183954a
Fix #2337 . Fixed footpath placements with walls.
2015-11-24 20:10:03 +00:00
duncanspumpkin
5bd3b8d6af
Implement util_rand due to rand having a poor range on some platforms
2015-11-20 21:40:36 +00:00
duncanspumpkin
e05475cb38
Fix #2342 . Accidentally disabled pause mode building for large scenery
2015-11-18 22:32:23 +00:00
duncanspumpkin
6d3eaafe2f
Fix #2327 . Fix no entry signs.
...
Issue was caused by mistakenly not stopping searching for tiles after finding the correct one. Mistake made during refactoring
2015-11-17 19:04:43 +00:00
duncanspumpkin
c1ed727067
Fix #2305 . Fences now build correctly with shift.
...
Issue was caused by failing to reinitialise a variable and reusing a variable name for two different purposes. It has been fixed by nameing the variable and also initialising it.
2015-11-16 20:19:58 +00:00
zsilencer
292b67874f
Fix #2311 . Water no longer is able to be raised above existing map elements.
2015-11-16 10:38:20 -07:00
duncanspumpkin
82498c4a57
Fix #1922 . Corrected invalid viewport code.
...
ACTIVE_VIEWPORT_PTR_ARRAY should be iterated along checking for a NULL pointer. To indicate the list end. Removed NEW_VIEWPORT macro as its description was incorrect.
2015-11-15 21:05:30 +00:00
duncanspumpkin
485705f1cb
Fix incorrect parameter type
2015-11-15 10:05:22 +00:00
duncanspumpkin
8d2641a2a1
Fix mistake in last commit
2015-11-14 16:45:42 +00:00
duncanspumpkin
13e43b779b
Refactor large scenery placement
2015-11-14 16:44:03 +00:00
duncanspumpkin
331d75e5f7
Fix signs. Broken by #2172
2015-11-14 12:40:40 +00:00
duncanspumpkin
bdd29107e6
Refactoring
2015-11-14 11:56:13 +00:00
duncanspumpkin
954d6348b2
Fix change in function name
2015-11-14 00:12:19 +00:00
duncanspumpkin
d0332c81d8
Refactor and move wide flag code.
2015-11-14 00:08:31 +00:00
duncanspumpkin
aa55ca6b62
Refactor banner_remove. Fixed an original bug.
...
Banners that are placed on two different heights that face the same direction will end up bugging out. This has now been fixed. This required modification of the top toolbar code in order to correctly set the z variable.
2015-11-13 18:30:14 +00:00
duncanspumpkin
a0014eee09
Refactor set scenery and fence.
2015-11-12 19:22:08 +00:00
duncanspumpkin
e857f2d3c8
Refactor set_banner and set_large_scenery
2015-11-11 20:24:59 +00:00
duncanspumpkin
77699e99e5
Final fix of #2151 .
...
Large Scenery, land, water now also force a retry of track placement. Small scenery, walls do not block tracks so do not require this.
2015-11-10 21:34:09 +00:00
IntelOrca
c9de9aeee0
fix #2051 , stop queue paths connecting to three different directions
2015-11-10 21:23:16 +00:00
duncanspumpkin
026dba0348
Fix issue with last commit.
...
If large scenery was outside of selection area it would not have its flag reset. Now it will clear the flag for all large tiles. This could do with improving at some point in the future
2015-11-10 19:38:48 +00:00
duncanspumpkin
e6c08fcdf4
Fix #1539 . This is an alternative to @warp-10 's technique.
...
Sets a flag when using the clear large scenery to prevent profit when destroying large scenery.
2015-11-10 19:04:36 +00:00
duncanspumpkin
1f08f092dd
Fix #2273
...
This was also allowing bins to be paid for placing in a 4 connected tile
2015-11-10 17:23:38 +00:00
IntelOrca
c7a85c5114
add desync debug checks for scenario_rand
2015-11-07 17:56:19 +00:00
duncanspumpkin
bbe2a34714
Fix #2151 .
...
I think this fixes the issue but its hard to understand from the original
issue.
2015-11-03 14:39:33 +00:00
Michał Janiszewski
c0e2a5c7be
Add get_current_rotation function and DEBUG_LEVEL macros
2015-11-02 22:58:15 +01:00
IntelOrca
61b7c77be3
add colour enum
2015-11-01 22:21:46 +00:00
duncanspumpkin
428613a804
Fix #2122 . Mechanics default to blue and guards yellow.
2015-11-01 20:04:24 +00:00
zsilencer
a95357a32d
signs and banners editable in multiplayer
2015-10-31 11:07:36 -06:00
zsilencer
6c5acdde6a
fix #2161
2015-10-30 19:41:49 -06: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
2f457aeffc
Cleanups
...
* Remove unused function in config.c
* Check handle *before* it is used
* Provide explicit parentheses around unclear if statements
2015-10-28 08:06:45 +01:00
IntelOrca
8d84b540ad
add vehicle struct and enum labels from vehicle-update branch.
2015-10-25 21:26:03 +00:00
Ted John
865c1a68a7
Merge pull request #2130 from Dandandan/readability
...
Replace constants in world/sprite.c
2015-10-25 16:43:59 +00:00
IntelOrca
4ac42ff1b2
add vehicle struct, enum labels and helper functions from implement-ride-create-vehicles branch.
2015-10-25 16:00:21 +00:00
Daniël Heres
358647d07c
Replace constants in world/sprite.c
2015-10-25 16:34:01 +01:00
Michał Janiszewski
7d0ce00bab
Strip all whitespace
2015-10-20 20:48:51 +02:00
Ted John
3f99209219
Refactor calculate_park_rating logic
...
...to avoid changing a local variable's meaning.
2015-10-19 12:20:21 +01:00
Sam Horn
7250adaf71
Identify peep->var_C6
2015-10-19 18:36:45 +10:00
zsilencer
6449dfd6ea
fix #2076
2015-10-17 11:47:04 -06:00
duncanspumpkin
4ddca816e0
Possible fix to #2049 .
...
I need this confirmed as I can't reproduce the issue even when I change the peep logic to always being sick.
2015-10-16 23:26:55 +01:00
duncanspumpkin
31e6942ff0
Fix #1761 . Issue caused by or = instead of !=
2015-10-15 21:03:29 +01:00
IntelOrca
6cd3b41065
fix overflows / underflows with mountain tool
2015-10-11 12:31:57 +01:00
IntelOrca
d5ae4a55ff
allow 1 to 64 mountain tool size
2015-10-11 12:26:33 +01:00
IntelOrca
6c38ab44fa
refactor map smooth game command
2015-10-11 11:39:01 +01:00
IntelOrca
969324032e
implement map smooth game command
2015-10-11 02:23:39 +01:00
IntelOrca
8ec4d61739
add callfunc wrappers for the last three remaining game commands and remove original call table
2015-10-10 20:26:17 +01:00
duncanspumpkin
7297fc86e9
Fix #2029 . Issue with 1x1 land ownership tool
2015-10-04 20:22:50 +01:00
Ted John
c1ecf3c531
Merge pull request #2024 from duncanspumpkin/set_land_ownership
...
Implemented game_command_set_land_ownership.
2015-10-04 01:06:29 +01:00
duncanspumpkin
625e051d35
Fix #2025 . Issue caused by failing to check if coordinates outside of map
2015-10-04 00:35:26 +01:00