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
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