X7123M3-256
9589a98d40
Added even more spaces
2016-02-27 13:13:15 +00:00
X7123M3-256
93ed052e20
Added more spaces and removed duplicate semicolon
2016-02-27 12:50:03 +00:00
X7123M3-256
cacedda7e4
Added spaces around operators
2016-02-27 12:10:53 +00:00
X7123M3-256
08a0cc9272
Fix indentation
2016-02-26 22:56:24 +00:00
X7123M3-256
ba4681d624
Remove degug printfs
2016-02-26 22:41:55 +00:00
X7123M3-256
0036575413
Fix memory leak in the checksum fixing code
2016-02-26 22:06:30 +00:00
X7123M3-256
7828d3d641
Automatically fix unexportable objects so they can be exported normally
2016-02-26 21:40:19 +00:00
Michał Janiszewski
14bff0c66f
Rename rct_ride_type to rct_ride_entry
2016-02-25 13:33:19 +01:00
IntelOrca
b7484db239
refactor clip_drawpixelinfo to not allocate memory
2016-01-14 20:12:44 +00:00
duncanspumpkin
268e2d34ce
Merge branch 'develop' into vehicle-update
...
Conflicts:
object.c
2016-01-09 16:51:23 +00:00
IntelOrca
0012470504
change last two rct_realloc to realloc
2016-01-08 19:04:38 +00:00
IntelOrca
5e071ed032
change more rct2_malloc / rct_free to malloc / free
2016-01-07 22:10:08 +00:00
IntelOrca
48ad1314a9
refactor object_desc
2016-01-07 19:12:59 +00:00
IntelOrca
40a4bd1fa8
remove old object_paint calls, replace with new
2016-01-07 19:01:19 +00:00
IntelOrca
01c67b6146
refactor object_paint, part 1
2016-01-07 00:34:15 +00:00
IntelOrca
ab38828e03
integrate object list variables:
...
- gInstalledObjectsCount
- gInstalledObjects
- gNumInstalledRCT2Objects
- gNumInstalledCustomObjects
- gLastLoadedObjectChunkData
2016-01-06 20:41:21 +00:00
Gymnasiast
b89025ae62
Improve object loading
2016-01-06 08:58:56 +01:00
IntelOrca
023ac79494
optimise object_calculate_checksum
2016-01-06 00:59:07 +00:00
Michał Janiszewski
133096cd64
Merge branch 'develop' into vehicle-update
2016-01-05 09:59:53 +01:00
Michał Janiszewski
8a5d066efe
Fix strict aliasing violations
...
Compiler only guarantees proper accesses to variables when using
variable's native type or `char` (i.e. single byte type) [1].
This commit fixes violations of this rule. In most cases changing code
to a simple cast was enough, some required a bit deeper modifications.
This fixes #2596 .
[1] http://blog.qt.io/blog/2011/06/10/type-punning-and-strict-aliasing/
2015-12-31 13:27:26 +01:00
Michał Janiszewski
cd2ec16290
Merge branch 'develop' into vehicle-update
...
Conflicts:
openrct2.vcxproj.filters
projects/openrct2.vcxproj
2015-12-23 19:47:16 +01:00
Aaron van Geffen
2c5651614c
Corrected misspellings of "substitute".
2015-12-23 00:40:36 +09:00
IntelOrca
12fdf1f5e7
name vehicle entry flags
2015-12-16 19:12:58 +00:00
duncanspumpkin
c00669c942
Merge sub_6DAB4C into vehicle-update
2015-12-14 21:56:00 +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
Duncan Frost
5e198dfa1f
Add known ride offsets
2015-12-05 10:48:52 +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
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