Ted John
36a4cd2fa0
Merge pull request #2798 from janisozaur/lodepng-cleanup
...
Cleanup unused lodepng stuff
2016-01-23 16:49:12 +00:00
Michał Janiszewski
8599468760
Cleanup unused lodepng stuff
2016-01-23 17:13:15 +01:00
Aaron van Geffen
18a8ef0924
Repopulate ride list when invalidating the ride construction window.
...
When toggling the 'select by track type' option with the ride construction window open,
the ride list would not be repopulated until the player switched tabs. This commit
adds repopulation on window invalidation, too.
2016-01-23 23:43:13 +09: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
Ted John
729e9f0481
Merge pull request #2787 from janisozaur/ride-refactor
...
Refactor rides to be only accessible with getters
2016-01-23 00:25:26 +00:00
IntelOrca
d81fd0c4ea
fix #2786 : use gfx_draw_string_centred_wrapped which centres line by line
2016-01-23 00:24:02 +00: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
LRFLEW
58d258038f
Improve security on OSX and Linux
2016-01-22 16:44:08 -07:00
IntelOrca
414c97ed8c
fix command line parsing of options
2016-01-21 18:18:44 +00:00
IntelOrca
e012cd20e9
fix VS errors / warnings
2016-01-21 18:18:20 +00:00
Michał Janiszewski
08fc5f817a
Disable using RLE when saving for network
2016-01-20 15:30:59 +01:00
Michał Janiszewski
9afcd15335
Make network use zlib compression for transferring map.
2016-01-20 15:30:59 +01:00
Michał Janiszewski
753d430eaa
Add zlib-based compression and decompression
2016-01-20 15:30:59 +01:00
zsilencer
30d57916c2
fix dropdown menu position in scrolled list
2016-01-19 13:11:16 -07:00
zsilencer
7b280adf8d
Fix #2760 : Server join click
2016-01-19 12:46:55 -07:00
zsilencer
6a13de29c8
Fix #2591 : Close client after loading save
2016-01-19 12:27:43 -07:00
IntelOrca
162710d86a
remove strange random game command call from loadsave
2016-01-19 18:04:15 +00:00
IntelOrca
24a796c3bc
fix #2778 : encode_chunk_repeat reads out of range memory
2016-01-19 17:54:51 +00:00
Duncan
64e17cc830
Fix cable lift test reset.
...
Code now matches the non cable lift code. Refactor in the future.
2016-01-19 12:41:20 +00:00
Ted John
5ef00393a4
Merge pull request #2739 from janisozaur/evergreen-gardens
...
Assert for evergreen gardens
2016-01-19 12:36:41 +00:00
Hielke Morsink
0b445ab1a5
Fix #2747 map sprite issue.
2016-01-19 00:05:14 +01:00
Ted John
1d2d9ce828
Merge pull request #2729 from janisozaur/fixes
...
Minor fixes, mostly posix.c
2016-01-18 20:02:09 +00:00
Michał Janiszewski
3bf1e0e06d
Rename safe_strncpy to safe_strcpy
2016-01-18 20:49:52 +01:00
Michał Janiszewski
5bc330f8db
Minor fixes, mostly posix.c
2016-01-18 20:48:41 +01:00
duncanspumpkin
3d6be6cb2a
Fix track breaks when traveling backwards
2016-01-18 19:41:40 +00:00
LRFLEW
c789529be6
Fixed multiple issues with sub_69A997
2016-01-17 19:42:32 -07:00
IntelOrca
1ffee2435a
fix #2363 : show default item highlight, refactor
2016-01-17 23:37:14 +00:00
IntelOrca
f8507ec93e
implement place_maze_design
2016-01-17 22:26:15 +00:00
IntelOrca
0584de1501
fix part of #2747 : mistake in map coordinate clamping for set ownership
2016-01-17 12:44:16 +00:00
IntelOrca
7c8245a63f
fix #2749 : inverse logic for removing colour tab on rides
2016-01-17 12:27:43 +00:00
IntelOrca
88ae952db2
implement peep_easter_egg_peep_interactions
2016-01-17 00:57:37 +00:00
IntelOrca
f6841bd3dc
implement peep_update_name_sort
2016-01-16 22:38:59 +00:00
IntelOrca
e57ac72e5a
remove redundant peep_update_ride_sub_state callproc
2016-01-16 21:34:23 +00:00
Michał Janiszewski
6d8e048d96
Fall-back to default language in case none is set
...
From thread https://openrct2.org/forums/topic/720-openrct2-doesnt-work/ ,
the object http://www.nedesigns.com/rct2-object/5130/scgletrs/ does not
set `pString` properly, so use a default fallback in such case.
2016-01-16 18:39:57 +01:00
Michał Janiszewski
f35fac6030
Update assert condition
2016-01-16 18:10:44 +01:00
Hielke Morsink
711afebf50
Hiding debug button while playing over a network.
2016-01-16 17:24:44 +01:00
Ted John
391bea67bb
Merge pull request #2634 from oslerw/develop
...
Add /usr/local/share to search path for data files
2016-01-16 14:49:34 +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
duncanspumpkin
06fd1436ca
Fix #2741 . 2 functions were missed during object_load refactor.
2016-01-16 10:21:15 +00:00
duncanspumpkin
599d806113
Fix #2740 . Swinging animations should now work correctly
2016-01-16 10:11:56 +00:00
duncanspumpkin
3b760ba39c
Fix windows build. Now uses the correct ISO C strdup function.
2016-01-16 09:49:39 +00:00
Duncan
30594f28e9
Merge pull request #2714 from LRFLEW/sub_69A997
...
Decompiled sub_69A997
2016-01-16 09:43:31 +00:00
William Osler
60920a2d10
Add /usr/local/share to search path for data files
...
`/usr/local` should be examined before `/var/lib,` since it allows for
overriding data files that might come from the package manager.
2016-01-15 22:47:12 -05:00
Michał Janiszewski
2b29f252e5
Assert for evergreen gardens
2016-01-16 00:19:08 +01: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
LRFLEW
758c2d3d3e
Decompiled sub_69A997
2016-01-15 14:43:10 -07:00
IntelOrca
2681cc792b
Merge branch 'develop' of https://github.com/OpenRCT2/OpenRCT2 into develop
2016-01-15 20:21:15 +00:00
IntelOrca
666bb03cc3
fix #2734 : forgot to correct signature arguments for clip_drawpixelinfo
2016-01-15 20:20:29 +00:00