1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00
Commit Graph

126 Commits

Author SHA1 Message Date
Ted John
e9935fee09 refactor some of the track design place code 2016-05-08 14:02:48 +01:00
Ted John
2ecbcfc4c9 Merge pull request #3165 from marijnvdwerf/spiral-slide-paint-setup 2016-05-07 18:05:05 +01:00
janisozaur
68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Marijn van der Werf
724089b8da draw fences 2016-04-27 23:15:17 +02:00
Ted John
cea0f30121 integrate variable: gLandToolSize 2016-04-24 18:02:37 +01:00
Ted John
1fcefcfa7e integrate variables for water tool 2016-04-24 17:58:26 +01:00
Ted John
fc938892d8 integrate variables for command position and expenditure 2016-04-24 17:53:39 +01:00
Ted John
b9944dd33a integrate land tool variables 2016-04-24 17:28:12 +01:00
Ted John
15031b9511 add global macro: gGrassSceneryTileLoopPosition 2016-04-24 14:33:43 +01:00
Ted John
d18ea8570d add global macro: gNextFreeMapElement 2016-04-24 14:30:21 +01:00
Ted John
0f6e64ac76 add global macros for map size and tile loop 2016-04-24 14:00:26 +01:00
Michał Janiszewski
d375015975 Mark map element getters const
While it doesn't change a lot in terms of performance, it helps out
compiler being a bit smarter about inlining and reordering things (as
evidenced by generated assembly).
2016-02-23 15:12:48 +01:00
duncanspumpkin
f267af3356 Fix chairlift bullwheel rotation animation.
Issue caused by incorrect check for breakdown
2016-02-18 20:32:04 +00:00
IntelOrca
8268f607cd implement track_remove_station_element 2016-02-14 17:37:28 +00:00
Duncan
0e75efc1eb Merge pull request #2927 from OpenRCT2/clear_funcs
Implement Clear funcs
2016-02-14 07:19:33 +00:00
duncanspumpkin
9c3055224d Refactor clear funcs 2016-02-13 21:01:36 +00:00
duncanspumpkin
f6797181b5 Start implementing clear_funcs 2016-02-13 13:10:55 +00:00
Marijn van der Werf
7565a7ba69 Implement substate 9 2016-02-13 00:01:15 +01:00
Duncan
b0c5b85765 Merge pull request #2784 from marijnvdwerf/decompile-attempt
[WIP] Attempt at decompiling `game_command_set_maze_track`
2016-02-01 16:01:45 +00:00
Marijn van der Werf
a926783164 Decompile game_command_set_maze_track 2016-02-01 14:03:56 +01:00
duncanspumpkin
b8c4c46f32 Minor refactor of map location compare flags.
Labelled ELEMENT_IS_UNDERGROUND.
2016-01-31 16:58:38 +00:00
duncanspumpkin
0f6c8b8760 Refactor get small scenery to prevent repeats of #2735. 2016-01-16 11:04:06 +00:00
Michał Janiszewski
133096cd64 Merge branch 'develop' into vehicle-update 2016-01-05 09:59:53 +01:00
duncanspumpkin
797a2cc75d Fix bug with block breaks when there are track overlaps.
Labeled map_flag (1<<5) as block break closed as well.
2016-01-02 17:04:39 +00:00
Hielke Morsink
855e122b55 Printing path and addition names in tile inspector. 2016-01-01 21:28:48 +01:00
Michał Janiszewski
4c6ee9570c Merge branch 'develop' into vehicle-update
Conflicts:
	openrct2.vcxproj.filters
2015-12-27 18:11:13 +01:00
Michał Janiszewski
e3f5ea25ae Map unknown elem type to corrupt, update tile inspector
In map view, all unknown types are mapped to MAP_ELEMENT_TYPE_CORRUPT,
the type that prevents rendering of all following elements on given
tile.

Tile inspector now displays element type (numeric value) for unknown
types.
2015-12-27 10:34:02 +01:00
IntelOrca
4f56709455 implement more sub_6DAB4C 2015-12-14 15:18:19 +00:00
Linus Unnebäck
017899c0d9 small fixes to world/map.c 2015-12-13 21:45:58 +01:00
duncanspumpkin
485705f1cb Fix incorrect parameter type 2015-11-15 10:05:22 +00:00
duncanspumpkin
13e43b779b Refactor large scenery placement 2015-11-14 16:44:03 +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
zsilencer
a95357a32d signs and banners editable in multiplayer 2015-10-31 11:07:36 -06:00
IntelOrca
8d84b540ad add vehicle struct and enum labels from vehicle-update branch. 2015-10-25 21:26:03 +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
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
IntelOrca
d5ae4a55ff allow 1 to 64 mountain tool size 2015-10-11 12:26:33 +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
3f77a6778a Implemented game_command_set_land_ownership.
Refactored map buy land rights for tile as it was partially broken and used a very odd style.
2015-10-04 00:07:22 +01:00
duncanspumpkin
33e04b8bd6 Implement game_command_place_park_entrance 2015-10-01 21:24:24 +01:00
IntelOrca
6901c04f24 implement track_save_add_map_element and track_save_remove_map_element 2015-09-05 18:21:36 +01:00
Gymnasiast
03034e7e2a Clear all map elements beforing generating a new map, fixes #1762 2015-08-31 12:42:46 +02:00
Gymnasiast
308b086c55 Name some addresses, clean up strings ids and usage 2015-08-27 16:19:17 +02:00
zsilencer
56f8954e27 fix clear scenery for network 2015-08-14 09:13:39 -06:00
IntelOrca
2419c6629e improve clear scenery tool 2015-08-04 16:01:31 +01:00
Duncan Frost
bf59c164f8 Start implementing main path find function. 2015-07-28 18:34:33 +01:00
Duncan Frost
812010001d Implement guest surface path finding 2015-07-25 11:16:59 +01:00
IntelOrca
cde0cece16 implement rct1_fix_walls 2015-07-14 23:15:21 +01:00