Commit graph

97 commits

Author SHA1 Message Date
Duncan Frost
a768d3dc96 Fix large scenery removal bug.
Issue was caused by comparing the height value to the wrong number. I've rejigged the function to make it easier to follow and added in an error message if an element fails to be found.
2015-05-07 19:16:00 +01:00
Duncan Frost
6b8709aed0 Scenery now works correctly in scenario editor
There were a couple bugs that were causing functions to return unsuccessful if you were in scenario editor.
2015-05-07 18:57:14 +01:00
zsilencer
71e21c2a6c refactor mixer, add support for streamed music 2015-04-25 09:28:28 -06:00
zsilencer
3b416a646e create_new_banner done by duncanspumpkin 2015-04-25 09:21:35 -06:00
zsilencer
a8a434e261 game_command_place_banner 2015-04-25 09:21:35 -06:00
zsilencer
c40a6f4789 game_command_remove_banner 2015-04-25 09:21:11 -06:00
zsilencer
b8657da99f game_command_set_banner_colour 2015-04-25 09:21:11 -06:00
zsilencer
4379df67c4 game_command_set_large_scenery_colour 2015-04-25 09:21:11 -06:00
zsilencer
1782a62055 game_command_set_fence_colour 2015-04-25 09:21:11 -06:00
zsilencer
e7d3d8b19d game_command_set_scenery_colour 2015-04-25 09:21:11 -06:00
zsilencer
ed709b8353 game_command_remove_large_scenery 2015-04-25 09:21:11 -06:00
zsilencer
16cb732533 game_command_remove_scenery 2015-04-25 09:20:46 -06:00
zsilencer
68d7f84098 rename 0x80000000 to MONEY32_UNDEFINED 2015-04-25 09:20:46 -06:00
zsilencer
e2d386edbc game_command_remove_fence 2015-04-25 09:20:15 -06:00
zsilencer
9bd620cd99 game_command_raise_water, game_command_lower_water, suggested changes 2015-04-25 09:20:15 -06:00
zsilencer
af46537667 game_command_raise_land, game_command_lower_land 2015-04-25 09:20:15 -06:00
Duncan Frost
e8d27b0424 Finished scenery repaint tool down
Renamed map_element variables that were badly named
Changed scenerymultiple(large) to use the correct size for type. This will cause merge issues with anyone working on large scenery.
2015-04-17 17:36:28 +01:00
IntelOrca
7d383a586e implement map_update_tiles, grass growing and scenery aging 2015-03-22 17:04:50 +00:00
IntelOrca
cd16af0f60 add some event handlers for invalidating map objects 2015-03-18 19:52:45 +00:00
IntelOrca
058f10845f implement map_invalidate_animations 2015-03-17 23:47:54 +00:00
IntelOrca
c0e4518972 refactor some of the footpath code after merging 2015-02-13 20:55:49 +00:00
IntelOrca
e953fdc360 improve random map generator, change algorithm to simplex noise 2015-02-13 03:29:40 +00:00
IntelOrca
9d2abf1925 add map generation window 2015-02-09 18:32:58 +00:00
IntelOrca
dfc723573c fix expenditure table issues, fixes #762 2015-02-08 14:31:57 +00:00
Duncan Frost
0f6dd51736 Added load_palette. Labelled offset for paused and palette effect frame. Fixed fast moving water. 2015-02-07 17:40:20 +00:00
Duncan Frost
359cc9aa99 Add upper bounds 2015-01-29 17:47:35 +00:00
Duncan Frost
fddcfc69e0 Add error logging to get_first_element_at 2015-01-29 17:45:08 +00:00
IntelOrca
36971b29cb implement game_command_set_park_name and game_command_remove_park_entrance 2015-01-27 21:18:41 +00:00
IntelOrca
8774731f03 refactor map element iteration 2015-01-22 00:19:05 +00:00
IntelOrca
0ff125b9b3 move across useful map functions and other bits from footpath branch to develop 2015-01-14 23:38:48 +00:00
Duncan Frost
974ecd904c Finish game command 20 change surface style 2015-01-12 18:39:53 +00:00
Duncan Frost
8a4e12a3f4 Started game_command_20 raise lower land 2015-01-12 18:39:52 +00:00
IntelOrca
44efbd95ac implement more footpath construction and window 2014-12-17 20:45:27 +00:00
IntelOrca
e887311219 add more cheats to cheat window and a small amount of refactoring 2014-12-10 01:44:30 +00:00
IntelOrca
73a6b1acea implement editor_read_s6, partial fix for #433 2014-11-24 02:58:48 +00:00
IntelOrca
d111c715d6 implement viewport_interaction_get_item_left 2014-11-10 00:40:59 +00:00
Duncan Frost
2f64d2a6db Fixed bugs and refactored 2014-11-05 16:35:16 +00:00
IntelOrca
2f4fd67170 implement more viewport input functions 2014-11-05 14:38:19 +00:00
IntelOrca
ad84e6d076 implement ride_modify and supporting methods 2014-11-05 02:55:29 +00:00
IntelOrca
0104042640 Merge branch 'ride-update'
Conflicts:
	src/world/map.c
2014-11-04 19:01:59 +00:00
IntelOrca
d92a4d9418 implement clear scenery game command, try out removing paths feature 2014-11-04 03:34:48 +00:00
IntelOrca
cf59455d69 refactor ride update and fix bugs 2014-11-02 03:38:05 +00:00
IntelOrca
3d40c7e3ee add various ride mechanic functions 2014-11-02 01:41:00 +00:00
Duncan Frost
2774c63eba Added first draft of tool update and down 2014-10-12 11:37:06 +01:00
IntelOrca
70a33f6593 refactor game_logic_update 2014-10-09 20:31:58 +01:00
IntelOrca
c8df6174b8 organisation: fix includes 2014-10-06 17:36:58 +01:00
IntelOrca
554e1fe70e organisation: move files and update project 2014-10-06 10:21:07 +01:00
Renamed from src/map.c (Browse further)