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

8740 Commits

Author SHA1 Message Date
Ted John
f736e8ff96 Move more platform code to UiContext 2017-05-29 22:38:42 +02:00
Ted John
5885cb646f Start moving window logic to UI project 2017-05-29 22:38:42 +02:00
Ted John
6375e01f3f Add VS project for CLI only build 2017-05-29 22:38:42 +02:00
Ted John
10182879da Invert Context and UiContext dependencies 2017-05-29 22:38:42 +02:00
Ted John
06bba09b43 Fix various issues with the cmake projects 2017-05-29 22:38:42 +02:00
Ted John
c7b1feea07 Add back most of the cmake options 2017-05-29 22:38:42 +02:00
Ted John
89780363ee Add openrct2-ui cmake project 2017-05-29 22:38:42 +02:00
Ted John
f856510a15 Get openrct2-cli linking successfully 2017-05-29 22:38:42 +02:00
Ted John
644634220a Update cmakelists for lib and cli 2017-05-29 22:38:42 +02:00
Ted John
fedb8917c7 Create new CMake project for libopenrct2 2017-05-29 22:38:42 +02:00
Ted John
5c59b743fd Add new CLI and UI builds for non Windows platforms 2017-05-29 22:38:42 +02:00
Ted John
006a76c099 Refactor registration of drawing engines 2017-05-29 22:38:42 +02:00
Ted John
bf3749833d Allow drawing engine registration via context interfaces 2017-05-29 22:38:42 +02:00
Ted John
c7b66ab193 Fix includes for moved files 2017-05-29 22:38:41 +02:00
Ted John
19aafc4e24 Move drawing engine implementation code to openrct2-ui 2017-05-29 22:38:41 +02:00
Ted John
9c904db1c3 Add UI src project 2017-05-29 22:38:41 +02:00
wolfreak99
3d50ab56c8 Support mouse dragging when selecting ride design scenery
Define nearby scenery distance, support mouse dragging when selecting/deselecting ride design scenery
2017-05-29 22:34:33 +02:00
Marijn van der Werf
eaf93430d5 Remove some string additions 2017-05-28 19:49:32 +02:00
ceeac
eeac581857 Fix memory leak when closing Title Sequence handle.
The handle is now invalid after calling TitleSequenceCloseParkHandle().
2017-05-26 18:21:50 +02:00
ceeac
f58d711981 Fix memory leak in Path::getDirectory. 2017-05-26 18:21:50 +02:00
ceeac
daeeb5f827 Fix memory leak when adding title sequence.
The constructor of std::string already duplicates the string.
2017-05-26 18:21:50 +02:00
ceeac
bed408ef3f Fix memory leak when loading title sequence.
The buffer for loading the title sequence script was allocated but not free'd
2017-05-26 18:21:50 +02:00
Daniel Kamil Kozar
a64e08f997 Don't flash the white frame around network status windows
This commit turns off the white border for all network status windows. This is
mostly evident when downloading a map from the server before starting a
multiplayer game, as the window is repeatedly brought to the front with a white
border. This results in needlessly flashing the border, since
window_network_status_open is called for every chunk of data received from the
network socket.
2017-05-26 15:58:54 +02:00
Richard Jenkins
2f9f613201 Fix #3178: Precompose file name strings on macOS to prevent mojibake when displayed
* Precompose file name strings on macOS to prevent mojibake when displayed

* Ensure decomp-to-precomp string replacement is handled safely

* Add macOS non-ASCII handling to changelog; add comments to relevant block

* Fix #ifdef alignment

* Fix comment alignment
2017-05-23 09:30:13 +02:00
Richard Jenkins
493bb62457 Guard against null pointer in macos_str_decomp_to_precomp() 2017-05-22 14:28:56 +02:00
Gymnasiast
ab75b8db84 Properly check separate flags when scanning objects and building track list, fixes #3681 2017-05-21 12:19:42 +02:00
Marijn van der Werf
53b023612d Show uses of raw palette indices 2017-05-21 00:01:45 +02:00
wolfreak99
bd7bf49c8d Fix - trim invalid land size when setting land ownership 2017-05-19 23:26:59 +02:00
Gymnasiast
d4bb9c38c9 Delete unused file 2017-05-17 22:57:23 +02:00
Gymnasiast
09f0425c2f Unify River Rafts and Splash Boats drawing code 2017-05-17 20:49:07 +02:00
Hielke Morsink
bfa03583fa Apply window themes only when created or when the selected theme is changed 2017-05-17 13:19:42 +02:00
Gymnasiast
57b5220a4f Fix formatting 2017-05-16 23:11:06 +02:00
Gymnasiast
e3c43b495b Fix incorrect ride data array sizes and LIM lookup 2017-05-16 23:09:27 +02:00
Michael Steenbeek
6bd34c1e55 Clean up sub_69101A, use constants for undefined excitement ratings, fixes #5481 2017-05-16 22:36:48 +02:00
Richard Jenkins
6d32c38fb3 Fix #5471: Ride name issues at ride construction time 2017-05-16 21:56:20 +02:00
duncanspumpkin
b9dc588da4 Fix return exit code for RCT2 builds 2017-05-16 20:16:10 +01:00
duncanspumpkin
69d8794260 Use snake case for peep fields 2017-05-16 20:12:18 +01:00
Michael Steenbeek
e725672d23 Clean up alternative track pieces and types, remove remnants of researched track pieces 2017-05-16 19:11:51 +02:00
Gymnasiast
d5f1e22a56 Name RIDE_TYPE_FLAG4 flags 2017-05-16 16:37:23 +02:00
wolfreak99
471f0c3230 Allow loading bmp files as heightmap using the native file browser
Upon playing with the heightmap tool, i realized that the feature actually supports bmp files as well, and they are even listed in the in-game load/save dialog, but they are not shown when using a native file browser. This fixes that.
2017-05-15 16:02:15 +02:00
CraigCraig
26287f5a3e More readability, grammar, spelling fixes 2017-05-15 09:28:43 +02:00
Richard Jenkins
eb868089c8 Fix #5470: Available construction rights only displays once (#5476) 2017-05-14 23:45:44 +01:00
Richard Jenkins
6472c0e6c3 Allow ride names to duplicate existing user strings, fixes #5211 2017-05-12 23:43:48 +02:00
Hielke Morsink
3ba33d098e Set correct base height for newly inserted corrupt elements 2017-05-12 23:41:25 +02:00
Richard Jenkins
d6b32591ae Implement guard function for decrementing guest counts
* Implement guard function for decrementing guest counts

* Implement separate functions for incr/decr of peep count globals

* assert() on attempt to increment guest counts over UINT16_MAX

* Increase network version
2017-05-11 18:31:29 +02:00
CraigCraig
58deb3a54a Grammar, readability, and spelling fixes
[ci skip]
2017-05-11 11:45:59 +02:00
Richard Jenkins
86d8863496 Fix #5456: Paths with non-ASCII characters mishandled on macOS (#5463) 2017-05-11 09:43:53 +02:00
Ted John
faba009f24 Merge pull request #5072 from X123M3-256/g2_offsets
Add support for x/y offsets in g2.dat
2017-05-09 22:16:50 +01:00
Michael Steenbeek
a53b01d5b9 Remove magic numbers and Americanisms 2017-05-08 23:54:38 +02:00
Michał Janiszewski
bccedd3b1f Change network version after f9acdcb02 2017-05-08 23:52:03 +02:00