Robert Jordan
298420fd1e
Finalize follow sprite command
...
Added new smart follow variable to window to more intuitively follow
sprites that may not be directly followable at all times.
Follow sprite is now canceled when dragging the screen but not
scrolling. This is only relevant when testing title sequences in game.
Select sprite button is now disabled in the title menu.
Sprites are now identified based on their name. Excess identification
information is not given as it'd clutter up the screen and is not
necissary with the viewbox in the command editor.
2017-12-31 20:03:09 +01:00
Hielke Morsink
943747056e
Add window settings and save support for follow sprite command
2017-12-31 20:03:09 +01:00
Hielke Morsink
500b0d09aa
Add follow sprite command to title sequence
2017-12-31 20:03:09 +01:00
Gymnasiast
559a5c662a
Fix import of RCT1 mazes
2017-12-31 19:54:50 +01:00
Gymnasiast
a435fd7434
Fix #6833 : shops and maze in corrupted file not imported correctly
2017-12-31 18:56:17 +01:00
Hielke Morsink
db7efda880
Fix #6845 : Logo artifacts when changing scale.
...
This correctly invalidates the areas with logo and version text.
2017-12-31 13:14:03 +01:00
Tobias Kohlbau
7a8c5c2842
multiplayer: Adds option to pause server
...
OpenRCT2 does not provide a simple function to pause a server
while no client is connected. This patch adds a so called
"pause_server_if_no_clients" flag within network section of
config.ini. By default this flag is set to false to be backward
compatible with running servers. After setting this flag to
true the game is paused on launch and gets unpaused on first
connection.
Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de >
2017-12-31 12:55:07 +01:00
Robert Jordan
92fc010b9a
Feature: "Load Scenario" title sequence command
...
New command goes by LOADSC in script files and in the enumeration.
Scenarios are stored using the internal also used for localisation.
Scenarios selected can only be scenarios to originally come with one of
the games or expansions.
Modified Scenario Select window to have a mode just for title editor
scenario selection.
2017-12-31 12:42:40 +01:00
Hielke Morsink
4459eb09b9
Fix invalid entries in surface boundries table
2017-12-30 13:55:39 +01:00
rwjuk
1736a08b04
Fix potential access violation when setting park name
2017-12-29 21:56:07 +01:00
rwjuk
50f16b6600
Fix #6388 : Con. rights wrongly shown as available on some RCT1 parks
...
I am an idiot
2017-12-29 08:43:26 +01:00
Tomas Dittmann
a9aaaf17a3
log exceptionmessage instead of custom string.
2017-12-27 14:32:19 +00:00
Tomas Dittmann
b7d26665d6
Add console output for handled exceptions.
2017-12-27 14:32:19 +00:00
Tomas Dittmann
f9e0865f31
use unique_ptr to prevent memoryleaks.
2017-12-27 14:32:19 +00:00
Tomas Dittmann
c22dac0a29
add missing exception handling.
...
LoadParkFromStream() now handles exceptions from parkImporter->LoadFromStream().
2017-12-27 14:32:19 +00:00
Tomas Dittmann
51bbfb084f
add missing exception handling.
...
Every TryClassifyAsX()-method now has exceptionhandling.
2017-12-27 14:32:19 +00:00
Michał Janiszewski
ad687a7ecf
Remove use of problematic __DATE__ and __TIME__
...
Replace with a placeholder to be filled by external tools
2017-12-27 14:50:42 +01:00
Michael Steenbeek
6d5dd061d7
Fix crash when opening object selection
2017-12-27 13:17:09 +01:00
Michał Janiszewski
8fdec42ff9
Remove redundant declarations
2017-12-26 22:16:03 +01:00
Michał Janiszewski
c4c5439943
Add missing include guards
2017-12-26 22:16:03 +01:00
Michał Janiszewski
b574c23172
Fix function declaration
2017-12-26 18:09:00 +01:00
Michał Janiszewski
8089cadc40
Reduce code duplication
2017-12-26 18:08:56 +01:00
Hielke Morsink
5396883a86
Make map_can_construct_at check for clearance cheat
2017-12-26 16:16:06 +01:00
Hielke Morsink
4ec213f680
Allow building through water with clearance disabled
2017-12-26 16:16:06 +01:00
Michał Janiszewski
fe55ed6f64
Add missing include guards
2017-12-26 11:44:41 +01:00
Marijn van der Werf
a29c4f49a0
Add function description
2017-12-25 15:06:06 +01:00
Marijn van der Werf
6251577305
Refactor direct access to window list
2017-12-25 15:06:06 +01:00
Marijn van der Werf
6493427011
Clean up window classification comparison
2017-12-25 15:06:06 +01:00
Marijn van der Werf
0048ef091f
Refactor direct access to window list
2017-12-25 15:06:06 +01:00
Park Joon-Kyu
bbf5571c17
Allow filtering guests by name ( #6633 )
2017-12-25 12:17:37 +01:00
Aaron van Geffen
d768a467b7
Implement std::string variant of TrimStart; add tests.
...
This also makes String::TrimStart handle all-whitespace strings.
2017-12-25 00:30:21 +01:00
Aaron van Geffen
4bc2ad18c4
Trim ideographic spaces as well.
2017-12-25 00:30:21 +01:00
Aaron van Geffen
6c26009f19
Fix #6097 : String::Trim wasn't taking multibyte chars into account.
...
Extends StringTest with multibyte tests.
NB: ストリング is a katakana transcription of 'string'.
2017-12-25 00:30:21 +01:00
Michael Steenbeek
c846d98516
Fix English descriptions of path additions and banners
2017-12-22 16:59:11 +01:00
Michael Steenbeek
2e79aaf54c
Fold vehicle name into regular name
2017-12-22 15:28:41 +01:00
Aaron van Geffen
558cc07cb0
Implement CP949 to UTF-8 conversion for Korean.
2017-12-22 14:51:21 +01:00
Aaron van Geffen
0232bb5add
Implement CP932 to UTF-8 conversion for Japanese.
2017-12-22 14:51:21 +01:00
Michał Janiszewski
dd0dc4427b
Add nullptr checks to vehicle_get_vehicle_entry results
...
This satisfies PIC builds in release mode.
2017-12-22 10:09:30 +01:00
Aaron van Geffen
8fd4f323fd
Reposition widgets in Miscellaneous tab; add strings.
2017-12-22 08:03:03 +01:00
Hielke Morsink
916060907f
Fix sign mismatch warning
2017-12-21 23:47:30 +01:00
Hielke Morsink
b6718d08d4
Remove unnecessary return statements
2017-12-21 23:47:30 +01:00
Hielke Morsink
bcfd66cbc6
Use nullptr instead of 0
2017-12-21 23:47:30 +01:00
Hielke Morsink
3770b46e46
Replace 1 and 0 constants with bool where applicable
2017-12-21 23:47:30 +01:00
Hielke Morsink
628039dd8a
Use range-based for loops in libopenrct2
2017-12-21 23:47:30 +01:00
Robert Lewicki
3c2aaefc85
Fix #6851 : Passing password as argument does not work
...
* Using password from command line arguments to connect to server
* Replaced tabs with spaces
* Added myself to contributors
2017-12-21 21:23:01 +01:00
Hielke Morsink
24999b60a4
Add missing log string for 'No Money' cheat
2017-12-21 10:00:22 +01:00
Michael Steenbeek
282e70a806
Allow building level crossings without cheats
2017-12-20 18:20:31 +01:00
Michael Steenbeek
863a71c984
Fix #6803 : Symlinks to directories are not descended by FileScanner
2017-12-19 20:51:35 +01:00
Gymnasiast
44651defa7
Fix #6447 : Rename friction to mass
2017-12-17 20:11:55 +01:00
Gymnasiast
b52b22c97b
Fix #6829 : Steel Twister cannot reach the same height as in vanilla
2017-12-17 17:39:38 +01:00