1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00
Commit Graph

465 Commits

Author SHA1 Message Date
zsilencer
b2083deed0 implement cheats over multiplayer 2016-02-02 14:08:59 -07:00
zsilencer
b23748c015 fix 2 sources of very common desyncs 2016-02-02 14:08:59 -07:00
Duncan
b0c5b85765 Merge pull request #2784 from marijnvdwerf/decompile-attempt
[WIP] Attempt at decompiling `game_command_set_maze_track`
2016-02-01 16:01:45 +00:00
Marijn van der Werf
a926783164 Decompile game_command_set_maze_track 2016-02-01 14:03:56 +01:00
duncanspumpkin
b8c4c46f32 Minor refactor of map location compare flags.
Labelled ELEMENT_IS_UNDERGROUND.
2016-01-31 16:58:38 +00:00
duncanspumpkin
e7545983f1 Fix #2825. Issue caused by incorrect signness of variable 2016-01-27 17:47:10 +00:00
Michał Janiszewski
ec2387082c Remove cheats from config 2016-01-25 21:44:13 +01:00
zsilencer
32f1aa064d more accurate last player action location 2016-01-24 21:00:31 -07:00
Michał Janiszewski
95e3895b89 Game commands' argument validation 2016-01-24 19:31:40 +01:00
Ted John
6eaa93c9bc Merge pull request #2783 from zsilencer/multiplayer
MP groups and permissions
2016-01-24 12:29:27 +00:00
zsilencer
8c608b6f6c fix issues with a few game commands 2016-01-23 17:33:08 -07:00
zsilencer
5a72cb02f1 fix small issue caused by some RCT2_ADDRESS_COMMAND_MAP being used as 32 bit vars 2016-01-23 14:42:36 -07:00
IntelOrca
62eeaaf405 fix severe regression from #2787, use object entry array instead of ride entry array 2016-01-23 12:47:04 +00:00
zsilencer
6d81369e1a fix issue with same price throughout park 2016-01-22 17:19:15 -07:00
Michał Janiszewski
6d6f9f3c23 Refactor rides to be only accessible with getters
This changes how rides are accessed from macros to getter functions.
2016-01-23 01:13:36 +01:00
IntelOrca
0584de1501 fix part of #2747: mistake in map coordinate clamping for set ownership 2016-01-17 12:44:16 +00:00
IntelOrca
88ae952db2 implement peep_easter_egg_peep_interactions 2016-01-17 00:57:37 +00:00
duncanspumpkin
0f6c8b8760 Refactor get small scenery to prevent repeats of #2735. 2016-01-16 11:04:06 +00:00
duncanspumpkin
3865bf9381 Fix #2735. 1/4 tile scenery can now correctly be recoloured.
Issue was caused by an assumption made during writing this function.
2016-01-16 10:55:36 +00:00
Ted John
e69e384d43 Merge pull request #2692 from marijnvdwerf/use-named-addresses
Replace known addresses with constants, globals and wrapper functions
2016-01-15 22:59:13 +00:00
Michał Janiszewski
17fb150ec0 Limit arguments to map functions
While there is nothing wrong with the code as it is now, some
unexpected arguments can cause entering a loop which will flood the
log and possibly stall the game.
2016-01-15 23:29:51 +01:00
Marijn van der Werf
98b5ad1bf4 Replace known addresses with constants 2016-01-15 21:01:34 +01:00
IntelOrca
730463dbbb remove rct2_malloc, rct2_realloc and rct2_free 2016-01-14 20:18:55 +00:00
Marijn van der Werf
ef9ac11e52 Remove direct usage of RCT2_ADDRESS_LARGE_SCENERY_ENTRIES 2016-01-11 21:00:22 +01:00
duncanspumpkin
2bd6dac20f Merge branch 'develop' into vehicle-update
Conflicts:
 openrct2.vcxproj
2016-01-10 08:57:41 +00:00
Gymnasiast
03c35ab0b6 Don't remove walls when raising/lowering land/water, fixes #2681 2016-01-09 23:46:08 +01:00
Michał Janiszewski
133096cd64 Merge branch 'develop' into vehicle-update 2016-01-05 09:59:53 +01:00
Michał Janiszewski
9c4cf14069 Game commands hardening 2016-01-04 22:03:28 +01:00
Michał Janiszewski
2b1b0f76f3 Whitespace fixes.
This is just whitespace fixup for all files affected in vehcile-update
branch.
2016-01-03 00:59:10 +01:00
duncanspumpkin
797a2cc75d Fix bug with block breaks when there are track overlaps.
Labeled map_flag (1<<5) as block break closed as well.
2016-01-02 17:04:39 +00:00
Duncan
5b9a98a0f9 Merge pull request #2588 from HaasJona/refactor2
Refactor peep code
2016-01-01 22:22:18 +00:00
Hielke Morsink
f04c97fbc1 Getting path scenery type and index using helper functions throughout the entire project. 2016-01-01 21:28:53 +01:00
Hielke Morsink
6f0d14b65f Using ghost helper funcitons for getting and setting the bit now. 2016-01-01 21:28:52 +01:00
Hielke Morsink
b82504c5e4 Better consistensy with already existing helper functions 2016-01-01 21:28:51 +01:00
Hielke Morsink
955bf7b26f Displaying more path info for queue. Added some helper functions. 2016-01-01 21:28:49 +01:00
Hielke Morsink
855e122b55 Printing path and addition names in tile inspector. 2016-01-01 21:28:48 +01:00
Jonathan Haas
4d26e4c4a1 Refactor peep code
Name various fields and constants related to peeps. This includes:
  - Flags for flashing peeps in map window
  - Animation frames for picked up peeps
  - Function checking if peep should start to fall
  - Special sprite handling for slide boards and lawn mowers
  - Created array for peep sprite entries, renamed some variables and constants
2015-12-31 13:57:06 +01:00
Michał Janiszewski
5f66cd48f8 Merge branch 'develop' into vehicle-update
Conflicts:
	openrct2.vcxproj.filters
2015-12-31 11:41:23 +01:00
IntelOrca
64b589770a remove obsolete callprocs 2015-12-29 11:57:47 +00:00
Duncan
1c41b513b4 Merge pull request #2561 from HaasJona/refactor
Refactor Ride Customer History
2015-12-27 17:52:52 +00:00
Jonathan Haas
cf67177a08 Extract ride data array, use memset for zeroing array 2015-12-27 18:42:32 +01:00
Michał Janiszewski
4c6ee9570c Merge branch 'develop' into vehicle-update
Conflicts:
	openrct2.vcxproj.filters
2015-12-27 18:11:13 +01:00
Michał Janiszewski
e3f5ea25ae Map unknown elem type to corrupt, update tile inspector
In map view, all unknown types are mapped to MAP_ELEMENT_TYPE_CORRUPT,
the type that prevents rendering of all following elements on given
tile.

Tile inspector now displays element type (numeric value) for unknown
types.
2015-12-27 10:34:02 +01:00
Jonathan Haas
b71c649d45 Refactor ride customer count
Renamed some confusing ride fields, extracted function to get recent ride customer count.
2015-12-26 22:03:33 +01:00
Michał Janiszewski
e666a24c82 Merge branch 'develop' into vehicle-update
Conflicts:
	projects/openrct2.vcxproj.filters
	src/audio/mixer.cpp
	src/windows/ride.c
2015-12-22 14:57:40 +01:00
LRFLEW
e6f771ec90 Added newlines at end of files 2015-12-20 22:03:37 -06:00
IntelOrca
c2c41ec118 implement steam_particle_create 2015-12-20 12:50:33 +00:00
LRFLEW
d769a13206 Fixed extern and enum name usage 2015-12-16 14:48:27 -06:00
duncanspumpkin
c00669c942 Merge sub_6DAB4C into vehicle-update 2015-12-14 21:56:00 +00:00
IntelOrca
4f56709455 implement more sub_6DAB4C 2015-12-14 15:18:19 +00:00