IntelOrca
e8a78f0e2a
implement more sub_6DAB4C
2015-12-14 15:18:23 +00:00
IntelOrca
1252ac6f7f
implement more sub_6DAB4C
2015-12-14 15:18:22 +00:00
IntelOrca
eaef1bf08e
implement more sub_6DAB4C
2015-12-14 15:18:22 +00:00
IntelOrca
4f56709455
implement more sub_6DAB4C
2015-12-14 15:18:19 +00:00
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
Kyle Kirby
8e5355640f
Convert spaces to tabs
2015-12-11 06:28:35 -06:00
Linus Unnebäck
4bfbe27116
use larger integers in ride/track.c
2015-12-06 18:56:09 +01:00
Dom Light
3a8b25a0ee
Sanitize audio.h
2015-11-17 01:05:14 +00:00
duncanspumpkin
13e43b779b
Refactor large scenery placement
2015-11-14 16:44:03 +00:00
duncanspumpkin
6a00482d1f
Fix #1834 & #2288 . Non complete circuit tracks now save correctly.
...
Issue was caused by a bit of code not iterating correctly backwards.
2015-11-11 19:44:53 +00:00
Alexander Overvoorde
6114aa5dac
Rename hmm variable to something more descriptive
2015-11-08 22:30:51 +01:00
Alexander Overvoorde
b20a844982
Fix "land not owned" errors being overridden by "can't construct here"
...
I'm not entirely sure what the "hmm" check is about, but it caused
track_place() to return early when called from
window_ride_construction_construct(), so I moved up the owned land check
to give it a higher priority.
2015-11-08 21:47:18 +01:00
Alexander Overvoorde
d1a6b65049
Fix supports error appearing when building outside of owned land
...
This was caused by ride_construction_toolupdate_construct() pointlessly
trying to fix the "building outside owned land" error by increasing the Z.
2015-11-08 21:47:17 +01:00
duncanspumpkin
96a1f0c6f7
Refactor.
...
Labelled the known flags and used functions for setting and clearing them.
2015-11-04 19:28:45 +00:00
duncanspumpkin
5b54ad18e9
Fixed #2082 . Sub_6D31A6 now working.
...
Small mistake in track previous meant the x/y coordinates didn't match the map element. There were also a few other issues that presented themselves once that was fixed.
2015-11-03 20:03:21 +00:00
Michał Janiszewski
c0e2a5c7be
Add get_current_rotation function and DEBUG_LEVEL macros
2015-11-02 22:58:15 +01:00
Alexander Overvoorde
01793e11b7
Replace RCT2_GLOBAL magic numbers with address identifiers and string ids
2015-10-29 09:44:46 +01: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
8e45cccb7a
Minor fixes
...
Includes (mostly) type fixes, dead code removal, signed vs unsigned
comparison fixes, memory leaks removal.
2015-10-21 08:47:09 +02:00
Michał Janiszewski
d570163958
Fix types
...
Bunch of type fixes
2015-10-19 20:30:46 +02: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
ecc2f74b63
Implement game command footpath from track.
...
Fixes #1954
2015-09-29 23:07:07 +01:00
Michał Janiszewski
5d1beb14c0
Platform, memory fixes
2015-09-28 19:35:06 +02:00
Michał Janiszewski
ee96aaec8e
reduce amount of times the pointer is freed to one
...
track_list_cache is being free()d as part of track_load_list, which
is a better place to do so, as it has full ownership of that pointer.
2015-09-15 00:23:46 +02:00
IntelOrca
f988f69ae0
implement sub_6D31A6
2015-09-13 03:00:03 +01:00
IntelOrca
72398151a7
implement ride_create_cable_lift
2015-09-12 18:17:35 +01:00
Michał Janiszewski
788e988992
Memory access fixes
2015-09-12 00:16:05 +02:00
IntelOrca
4dd95c650b
implement RideData4 data
2015-09-10 22:16:41 +01:00
Ted John
2a0366721e
Merge pull request #1896 from janisozaur/some_fixes
...
assorted fixes
2015-09-07 20:11:29 +01:00
Michał Janiszewski
52252f82b3
assorted fixes
2015-09-07 20:51:21 +02:00
IntelOrca
af39fcd35f
fix #1873
2015-09-07 18:18:52 +01:00
IntelOrca
ed824d36b0
refactor two CALLPROC functions in track.c
2015-09-05 20:34:56 +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
d49c99e020
Fix seat colour of TD4 River Rapids, fixes #1695
2015-08-31 13:23:52 +02:00
IntelOrca
0c0847160d
fix #1857
2015-08-30 22:57:29 +01:00
IntelOrca
bea74ee261
make all file IO utf8 compatible, fixes #1847
2015-08-29 13:13:23 +01:00
Gymnasiast
308b086c55
Name some addresses, clean up strings ids and usage
2015-08-27 16:19:17 +02:00
medsouz
7071bd9353
Document more addresses
...
Created defines for all the memory addresses I could find in peep/staff.c
and updated everywhere they're being used.
2015-08-16 18:25:17 -04:00
zsilencer
3a26f56000
fix path placement for network
2015-08-14 09:13:40 -06:00
zsilencer
584b34e6d5
fix game_command_create_ride for network
2015-08-14 09:13:39 -06:00
IntelOrca
1496f2404d
fix #1736
2015-08-05 21:36:58 +01:00
IntelOrca
be4ee45d66
convert more platform functions over to utf8 and close #1713
2015-08-04 21:41:45 +01:00
Michał Janiszewski
7afb7e2dfd
Portability fixes
2015-08-04 19:31:21 +02:00
IntelOrca
ca0e63f1a1
fix #1598
2015-08-04 02:28:05 +01:00
IntelOrca
a9e6f8c3db
implement utf8, part 12
2015-08-01 10:20:55 +01:00
Gymnasiast
f12cbeb22b
Rename var_6C to flags2 and put all know flags of it into an enum
2015-07-29 08:43:04 +02:00
Gymnasiast
5ed8948e4f
Remove Six Flags branding and limitations, mark the lifecycle flag as deprecated, rename previously unidentified flag
2015-07-27 21:47:55 +02:00
IntelOrca
50187adc37
enable debug configuration and add optimisations to release configuration
2015-07-24 23:48:23 +01:00
Duncan Frost
82217d0053
Fix support cost multiplier underground.
...
Fixes #1651
2015-07-20 17:21:32 +01:00
Gymnasiast
3e5e4431c0
Rename sub_6B59C6() to invalidate_test_results()
2015-07-17 13:49:36 +02:00