1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 05:23:04 +01:00
Commit Graph

3786 Commits

Author SHA1 Message Date
Ted John
aade14ba03 Merge pull request #2322 from Broxzier/search_types
Searching through rides now also checks their type.
2015-11-17 20:01:38 +00:00
Duncan
cdb9ccc558 Merge pull request #2323 from Smeat/file_pattern
Use fnmatch to match file patterns.
2015-11-17 19:07:36 +00:00
Hielke Morsink
68b0068a22 Resolved warnings 2015-11-17 19:40:48 +01:00
Hielke Morsink
504f551eec Avoiding the use of strlen 2015-11-17 19:40:47 +01:00
Hielke Morsink
063a568a72 Searching through rides now also checks their type. 2015-11-17 19:40:44 +01:00
Ted John
50edff6158 Merge pull request #2314 from Gymnasiast/obsolete-tooltip
Remote obsolete date tooltip
2015-11-17 18:21:29 +00:00
Kevin
c1fe547901 Add FNM_PATHNAME flag for fnmatch 2015-11-17 12:25:45 +01:00
Kevin
5cd0ab7fad Use fnmatch to match file patterns.
strstr doesn't support wildcards, so patterns like '*.TD?' will fail.
This adds the possibility for more complex patterns.
2015-11-17 00:27:29 +01:00
Duncan
62863db42a Merge pull request #2318 from Overv/fix_2316
Fix length of max scenario name in scenario editor (fixes #2316)
2015-11-16 19:07:23 +00:00
Alexander Overvoorde
994dd1f945 Add string ids for scenario name window 2015-11-16 17:56:51 +01:00
Alexander Overvoorde
3ba35745c8 Fix length of max scenario name in scenario editor 2015-11-16 17:50:52 +01:00
Ted John
b31e2d02bc Merge pull request #2317 from telk5093/patch-3
Korean font change
2015-11-16 16:33:48 +00:00
TELK
5d1c1b4445 Update language.cpp 2015-11-17 01:21:41 +09:00
Duncan
637e454fef Merge pull request #2290 from janisozaur/network-clean-close
Skip closing network if already closed
2015-11-16 15:58:00 +00:00
TELK
3889f5daad Korean font change
change korean font from malgun to gulim.
I tested it is displayed correctly in korean os. See http://file.telk.kr/rct/img/gulim.png
2015-11-17 00:56:22 +09:00
janisozaur
d3329b74a5 Comment expected cmdline_call_action results 2015-11-16 13:59:01 +01:00
Gymnasiast
2afed6a4de Remote obsolete date tooltip 2015-11-16 11:04:00 +01:00
Cameron
9f255e5045 Use fcntl.h instead of sys/fcntl.h 2015-11-15 15:58:22 -06:00
duncanspumpkin
54d7b54cb3 Merge branch 'pre-release-0.0.3' into develop 2015-11-15 21:23:01 +00:00
duncanspumpkin
82498c4a57 Fix #1922. Corrected invalid viewport code.
ACTIVE_VIEWPORT_PTR_ARRAY should be iterated along checking for a NULL pointer. To indicate the list end. Removed NEW_VIEWPORT macro as its description was incorrect.
2015-11-15 21:05:30 +00:00
duncanspumpkin
eaa2d10ec4 Fix #2070. Incorrect highest drop penalty height caused incorrect calculations 2015-11-15 18:11:49 +00:00
Michał Janiszewski
7ba9ea2574 Make OpenRCT2 use iconv on Linux
This makes possible to run the game with non-english locales on Linux

Fixes #2300, fixes #2268, fixes #2267
2015-11-15 17:12:32 +01:00
duncanspumpkin
b7d402cfbe Implement right click scrolling for scroll widgets.
Think this had just been missed. Its heavily modified from the original to match closer to what the rest of the code base does. Fixes #2052.
2015-11-15 13:55:09 +00:00
Gymnasiast
8953357f85 Add Czech and fix some typos 2015-11-15 12:30:13 +01:00
duncanspumpkin
485705f1cb Fix incorrect parameter type 2015-11-15 10:05:22 +00:00
duncanspumpkin
faf5d9a043 Fix #2301
Lanaguages were not falling back if there was a translated string further on in the langauge pack. This issue was caused by operating on an invalid string that was masked by a cast from a nullpointer to a size_t. The code now will not set the string if there is a nullptr
2015-11-15 09:55:01 +00:00
duncanspumpkin
cd07fd5d4e Fix #1565. Construction window now checks to see if it has control of tool before canceling it 2015-11-15 09:12:19 +00:00
duncanspumpkin
97fc78a506 Fix safe_strncpy being unsafe 2015-11-15 08:45:50 +00:00
duncanspumpkin
8d2641a2a1 Fix mistake in last commit 2015-11-14 16:45:42 +00:00
duncanspumpkin
13e43b779b Refactor large scenery placement 2015-11-14 16:44:03 +00:00
Michał Janiszewski
e885056229 Fix exit code handling, sprite generation
Make sprite generation not start UI
2015-11-14 17:43:03 +01:00
Michał Janiszewski
e7b58b7375 Skip closing network if already closed
Fixes #2203
2015-11-14 17:12:38 +01:00
duncanspumpkin
331d75e5f7 Fix signs. Broken by #2172 2015-11-14 12:40:40 +00:00
duncanspumpkin
bdd29107e6 Refactoring 2015-11-14 11:56:13 +00:00
duncanspumpkin
954d6348b2 Fix change in function name 2015-11-14 00:12:19 +00:00
duncanspumpkin
d0332c81d8 Refactor and move wide flag code. 2015-11-14 00:08:31 +00:00
duncanspumpkin
45c4dfe12d Merge branch 'develop' into pre-release-0.0.3 2015-11-13 23:30:13 +00:00
Duncan
bc9a28d7ae Merge pull request #2261 from osconnoisseur/fix_2233
Add buttons for Up and New File in the load/save dialog and fix #2233
2015-11-13 22:50:46 +00:00
Duncan
65a3dd710a Merge pull request #2299 from janisozaur/g2
Zero the buffer for g2.dat
2015-11-13 18:40:00 +00:00
Duncan
86fdd6d1f6 Merge pull request #2280 from janisozaur/highdpi
Highdpi
2015-11-13 18:39:24 +00:00
duncanspumpkin
aa55ca6b62 Refactor banner_remove. Fixed an original bug.
Banners that are placed on two different heights that face the same direction will end up bugging out. This has now been fixed. This required modification of the top toolbar code in order to correctly set the z variable.
2015-11-13 18:30:14 +00:00
Duncan
8a3b4a9bb7 Merge pull request #2295 from osconnoisseur/platform_enumerate_directories_begin
Fixed off-by-one errors in string conversion
2015-11-13 18:17:33 +00:00
Michał Janiszewski
60f7d29c2e Zero the buffer for g2.dat
Some leftover data caused the g2.dat generated on different platforms to
have mismatching cheksums. Zeroing the buffer makes them
checksum-identical.
2015-11-13 14:43:08 +01:00
Cameron
fe4d98bc83 Fixed off-by-one errors in string conversion 2015-11-12 13:36:16 -06:00
duncanspumpkin
a0014eee09 Refactor set scenery and fence. 2015-11-12 19:22:08 +00:00
Michał Janiszewski
6723f51087 Keep track of address returned by malloc to free it correctly
When doing g2 generation on Linux, src variable was not modified in the
same way as on Windows, which caused free() on a pointer that was not
malloc()ed.

This fixes #2219.
2015-11-12 14:11:22 +01:00
Michał Janiszewski
b5b1957f58 Fix some left-shifts
An explicit `1` is considered signed by compiler, if `int` is 32 bit
long, a left shift `1 << 31` is undefined. Since the type of result is
the type of left shift operand, make sure we shift unsigned int so that
the behaviour is defined correctly.

Also one fix in peep code, where it would use too big value for
`item_extra_flags`.
2015-11-12 13:38:10 +01:00
Michał Janiszewski
075b98e209 Minor cleanups
Mostly just setting variables to better define game state, with one
minor update of decompilation where an `or` instruction was used in
place of `mov` (in `sub_6CBCE2`).
2015-11-12 12:19:40 +01:00
osconnoisseur
b5c04a79e5 Added buttons for "up" and "new file" and fixed #2233 2015-11-11 21:51:21 -06:00
Michał Janiszewski
80510c91bd Add ui option to change scale in run-time
Doesn't let user go lower than 0.5f
2015-11-12 01:18:42 +01:00