1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 08:12:53 +01:00
Commit Graph

13381 Commits

Author SHA1 Message Date
ζeh Matt
c84fd8edd2 Fix #6821: Edge sprites drawing is corrupted 2017-12-14 09:46:22 +01:00
Michael Steenbeek
cc27beef73 Remove unnecessary strdup 2017-12-13 19:46:29 +01:00
ζeh Matt
8772d746ce Use index instead of memmove 2017-12-13 17:57:39 +01:00
Hielke Morsink
5fa292207f Replace character \U3000 with simple space 2017-12-13 17:53:06 +01:00
Michael Steenbeek
eec1829081 Add missing declarations 2017-12-13 13:51:38 +01:00
Michael Steenbeek
9ea5302a2a Refactor access to some footpath stuff 2017-12-13 13:51:38 +01:00
ZehMatt
02128131e2 Refactor access to tile descriptor via reference. 2017-12-13 12:00:45 +01:00
ZehMatt
1d0750b2dd Refactor more variables to const type. 2017-12-13 12:00:45 +01:00
ZehMatt
07bd4f13be Unify some surface drawing functions. 2017-12-13 12:00:45 +01:00
ZehMatt
05137355fd Format Surface.cpp 2017-12-13 12:00:45 +01:00
ZehMatt
594c32b537 Refactor park boundary fences to use data tables. 2017-12-13 12:00:45 +01:00
ZehMatt
8814b15a85 Add sprite definitions for park boundary fences. 2017-12-13 12:00:45 +01:00
ZehMatt
6787e6ca04 Rename surface.c to Surface.cpp. 2017-12-13 12:00:45 +01:00
Michael Steenbeek
8095c970aa Fix memory leak in New Ride window
The way the window handles strings might need to be updated at some point
to be a little bit cleaner, but this at least plugs the leak.
2017-12-13 11:59:03 +01:00
Michael Steenbeek
e9dff344e4 Fix comparison between signed and unsigned integer 2017-12-13 08:03:48 +01:00
Michael Steenbeek
a5d4e96aae Remove unused sprite_file_load_palette() 2017-12-13 08:03:48 +01:00
Michael Steenbeek
6dc49d643a Compile files in base dir as C++ 2017-12-13 08:03:48 +01:00
Michał Janiszewski
b47a0f7cb5 Don't place trees when impossible 2017-12-12 23:30:50 +01:00
Christian F. Coors
0aa515355a Add cursor scaling 2017-12-12 22:11:40 +01:00
Michael Steenbeek
2b2e617086 Use OpenRCT2 language ID in SetString, avoid mixups 2017-12-12 13:23:42 +01:00
Michał Janiszewski
e9c429e9ee Don't try placing null scenery entries in RMG 2017-12-11 22:19:09 +01:00
Hielke Morsink
3f685b4213 Add more options for visual changes 2017-12-11 17:45:23 +00:00
Hielke Morsink
59df0a9941 Add no-peeps and no-sprites options 2017-12-11 17:45:23 +00:00
Hielke Morsink
9b874f8abe Refactor screenshot options 2017-12-11 17:45:23 +00:00
OpenRCT2 git bot
68fac3b30a Merge Localisation/master into OpenRCT2/develop. 2017-12-11 04:00:33 +00:00
Michael Steenbeek
8951d1b332 Fix box and pole support naming 2017-12-10 13:59:02 +01:00
Hielke Morsink
40cea0e7e7 Fix #2607: Rain rendered incorrectly in additional viewport 2017-12-08 11:24:45 +01:00
Hielke Morsink
e307d22bf9 Replace loop with std::fill 2017-12-08 11:06:43 +01:00
Hielke Morsink
79aa4a99cf Use range-based for loops 2017-12-08 11:06:43 +01:00
Michael Steenbeek
e3c52360db Remove most usages of separate flag
This removes most usages of the separate flag, instead relying on ride groups to do its job.
Research is more complicated and will follow in another commit.
2017-12-08 10:28:29 +01:00
Michael Steenbeek
6c5ff424ae Missed occurrence 2017-12-08 09:29:47 +01:00
Michael Steenbeek
171271215e Change some ride type names for clarity, fix Americanism 2017-12-08 07:59:44 +01:00
Michael Steenbeek
3868b100df Stop encrypting money
It serves no purpose any more. Of course, we still need the ENCRYPT_MONEY() and DECRYPT_MONEY() functions for importing and exporting S6 files.
2017-12-07 23:22:24 +01:00
Ethan Smith
76434c0eb6 Reword comment 2017-12-07 22:04:33 +00:00
Ethan Smith
64f2778c10 Refactor MAX_PATH to be in common.h 2017-12-07 22:04:33 +00:00
Marijn van der Werf
34e27a2408 Sort includes 2017-12-07 17:52:03 +01:00
Marijn van der Werf
0fe3b841e9 Update Xcode project 2017-12-07 17:52:03 +01:00
Marijn van der Werf
2d776de772 Extract functions from EditorObjectSelection 2017-12-07 17:52:03 +01:00
Marijn van der Werf
862ab26cc1 Move object selection window to UI module 2017-12-07 17:52:03 +01:00
Michał Janiszewski
0a28b6eb56 Fix MSVC builds 2017-12-06 13:33:02 +01:00
Michał Janiszewski
7116d88e98 Refactor CPUID 2017-12-06 13:33:02 +01:00
OpenRCT2 git bot
25c54165e8 Merge Localisation/master into OpenRCT2/develop. 2017-12-06 04:02:49 +00:00
Michał Janiszewski
4562ca2933 Make Travis matrix depend on event type 2017-12-05 23:48:46 +01:00
Michał Janiszewski
e5da0f4ffc Fix Android builds 2017-12-05 22:48:14 +01:00
Michael Steenbeek
4e4a1a9d49 Revert accidental use of {SMALLFONT} after {MOVE_X}
{MOVE_X} is followed by a number. During initial import in 2014, {MOVE_X}{10} was accidentally replaced.
2017-12-05 15:43:27 +01:00
Christian F. Coors
0b45098e05 Fix music acknowledgement 2017-12-05 10:43:17 +01:00
Michael Steenbeek
0ffa2b541a Use more consistent terminology and remove some Americanisms 2017-12-05 10:23:36 +01:00
Michael Steenbeek
10a4dd06b0 Merge pull request #6754 from Gymnasiast/game-as-cpp
Compile game.c and game.h as C++
2017-12-05 09:23:01 +01:00
Hielke Morsink
884bc0c9a4 Trim object names when copying the missing objects list
Before adding a name to the clipboard buffer, it checks for spaces at
the end of the name, to prevent copying those.

It also moves some logic from the "mouseup" function, and moved memory
deallocation within the same function where it got allocated.
2017-12-05 09:22:07 +01:00
Michael Steenbeek
fb3b9ccdd2 Clean up for loop 2017-12-05 09:10:28 +01:00