Commit Graph
86 Commits
Author SHA1 Message Date
Kyle Kirby caf07c2064 Clean up the comments a litte
• Make comment heads be /**
• Make rct2 addresses be double spaced indented
• Make there be a space afte rct2: and the address
• Make single-line rct2 addresses be full block comments
• Move description of method to top of comment
2015-12-11 16:19:46 -06: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 d570163958 Fix types
Bunch of type fixes
2015-10-19 20:30:46 +02:00
Michał Janiszewski 4ce0e3a8b2 Linux platform file
Add bulk of the platform file for linux, change the compilation target
from shared library to executable for linux, provide necessary changes
to make it compile & load the stub of a process.

Make sure functions are marked as stubs where needed, and implementation
is expected.
2015-09-20 23:19:08 +02:00
IntelOrca fc65a92275 fix object override strings for scenario editor and plugin.dat 2015-09-08 21:37:24 +01:00
IntelOrca 064cdf4d06 implement ride_set_vehicle_colours_to_random_preset 2015-08-31 15:00:11 +01:00
IntelOrca bea74ee261 make all file IO utf8 compatible, fixes #1847 2015-08-29 13:13:23 +01:00
zsilencer b876591543 use SDL_RWops for save games 2015-07-11 12:27:46 +01:00
Duncan Frost a8a8385899 Fix memory not being freed.
This was breaking the installed object list creation as it would quickly run out of rct2 memory. Scenario text was incorrectly using rct2_free this has also been fixed.
2015-06-27 10:30:33 +01:00
Duncan Frost ab7e1da84e Implemented object unload.
Refactored calls to the function. No need to pass the object type.
2015-06-26 17:45:38 +01:00
Duncan Frost 132236f9c8 Tidied up function and labelled.
Unsure when this information is used so not completely convinced this has been done correct.
2015-06-25 21:06:50 +01:00
Gymnasiast ca1b88fc53 Don't modify flags when in select_by_track_type mode; make it switchable in-game again. 2015-06-25 11:46:17 +02:00
IntelOrca 474d300578 change enabledTrackPieces to 64 bit integer in ride type struct 2015-06-24 16:43:21 +01:00
Gymnasiast a6225ebf06 Add option to select by track type (RCT1 style); correct misspellings of 'separate' 2015-06-24 12:41:19 +02:00
Duncan Frost f7bbfa80a8 Start refactoring 2015-06-19 21:34:37 +01:00
IntelOrca dc3fe2a6c8 remove commented out CALLPROCs and CALLFUNCs 2015-06-09 15:09:45 +01:00
Duncan Frost 97966ac707 Implemented scenery_set_setup for research.
I've also labelled ride_type->flags.
2015-06-07 19:19:16 +01:00
IntelOrca 101fed0dd9 refactor g1Elements pointer and implement sub_68371D 2015-05-28 00:17:22 +01:00
zsilencer a8a434e261 game_command_place_banner 2015-04-25 09:21:35 -06:00
zsilencer ed709b8353 game_command_remove_large_scenery 2015-04-25 09:21:11 -06:00
Timmy Weerwag 930a9d61dd Fixes for a couple of warnings 2015-04-12 23:26:15 +02:00
Duncan Frost 54262ecd84 Fix object unload which broke object unpack. 2015-04-07 20:00:31 +01:00
IntelOrca 509b2a1c6d implement research_populate_list_random 2015-03-31 17:09:16 +01:00
Duncan Frost 39c87ac8cf Fix peep loading positions for rides with 16bit no_positions 2015-03-29 13:17:39 +01:00
Duncan Frost a5adb1857c Fix peep loading positions 2015-03-26 18:01:26 +00:00
Duncan Frost 37c429842f Started peep_update_ride_sub_state_1. Labelled known functions/offsets 2015-03-25 18:36:09 +00:00
IntelOrca 7d383a586e implement map_update_tiles, grass growing and scenery aging 2015-03-22 17:04:50 +00:00
Duncan Frost ddcf766fea More refactoring of object.c 2015-03-07 09:44:34 +00:00
Duncan Frost e7db42f0fe Refactor of object.c 2015-03-05 22:00:32 +00:00
Duncan Frost fa7448bc97 Add remaining paint functions 2015-03-04 21:22:27 +00:00
Duncan Frost fe21c56e5d Fix large bug. 2015-03-03 22:00:11 +00:00
Duncan Frost d3bd6f8259 Fix small mistake. 2015-03-03 21:43:40 +00:00
Duncan Frost ffb1370a7b Implemented paint_wall. 2015-03-03 18:25:14 +00:00
Duncan Frost d36807333a Implemented paint_large_scenery 2015-03-02 18:21:32 +00:00
Duncan Frost fe8bcf4d85 Implemented paint_small_scenery 2015-03-01 21:59:30 +00:00
Duncan Frost 013be11aed Refactored water and entrance paint functions 2015-03-01 21:06:51 +00:00
Duncan Frost 3ad1655379 Refactor paint_stex. 2015-03-01 18:08:36 +00:00
Duncan Frost c0e957299f Refactored paint_path. Labelled known offsets 2015-03-01 17:45:45 +00:00
Duncan Frost 9378f8698e Refactor of object_paint_ride. 2015-03-01 14:24:05 +00:00
Gericom 961a251dd0 Added rct_balloon and rct_duck structs 2015-02-28 11:47:09 +01:00
Gericom ff79e98819 Implemented a couple of functions, memory leak fix
- create_duck
- viewport_set_underground_flag (0x006E7A15)
Free dpi in paint_park_entrance_entry
2015-02-27 16:34:52 +01:00
Duncan Frost 4905e85cd9 Refactor sub_6A9DE1. Now uses known structures. 2015-02-26 18:42:25 +00:00
Gericom ac2415a949 More cleaning up for paint_*_entry functions 2015-02-26 15:58:13 +01:00
Gericom ec3e7edcec Implemented paint_ride_entry
Translated ride names and descriptions! (only the names in the scenario
editor are still in english somehow)
2015-02-26 14:47:34 +01:00
Gericom fb84fd785d Implemented paint_park_entrance_entry 2015-02-25 15:52:19 +01:00
Gericom b070ffa08f Reverted old dutch language file, more object stuff
Implemented paint_water_entry
2015-02-25 15:24:01 +01:00
Gericom ac6fa31292 Object related stuff and better dutch translation
Implemented: paint_path_entry
Implemented: paint_stex_entry
-> Scenarios texts are now shown correctly localized
Better dutch translation based on the original dutch rct2
2015-02-25 15:06:29 +01:00
IntelOrca a66b29076b move osinterface code to shared or windows 2015-02-12 20:51:40 +00:00
IntelOrca 51802aac45 fix object order and add object dat name to object selection window, closes #440 2015-02-11 18:54:31 +00:00
IntelOrca 9c06699dce implement more events for object selection window 2015-02-11 16:02:57 +00:00