Commit Graph

10377 Commits

Author SHA1 Message Date
OpenRCT2 git bot 68ed96194f Merge Localisation/master into OpenRCT2/develop. 2017-01-01 04:00:23 +00:00
Michael Steenbeek 117c714948 Call metal_b_supports_paint_setup() with the correct support type, fixes #4961 (#4962) 2017-01-01 01:55:37 +01:00
Ted John fae68f1651 Merge pull request #4633 from Gymnasiast/cleanup-b-and-m
Cleanup of B&M coaster types
2016-12-31 18:18:42 +00:00
Marijn van der Werf f1fbcbc90b Update Xcode project 2016-12-30 13:09:08 +01:00
Gymnasiast 75342e3ae9 Code style, add last missing pieces, remove hacks 2016-12-30 13:05:02 +01:00
Michael Steenbeek d7f8751a6f Add bolliger_mabillard_track.c to VS project 2016-12-30 12:26:35 +01:00
Michał Janiszewski 99a662fc5f Cap var2CTotal so it does not overflow 2016-12-30 01:16:13 +00:00
Michał Janiszewski b1ab5c96e5 Prevent scrolling to ride before ride list is populated 2016-12-29 22:57:37 +01:00
Gymnasiast e2a972e0b7 Twister RC 2016-12-29 22:36:10 +01:00
Gymnasiast 347a7dd2aa More 2016-12-29 21:25:38 +01:00
Gymnasiast 80ed6ed32c Use the same code for the Twister and Vertical RC 2016-12-29 21:25:38 +01:00
Gymnasiast 04953b921e Name some flags 2016-12-29 21:19:22 +01:00
zaxcav e82a2de997 Constrain mechanics to their patrol area when heading to a ride 2016-12-29 21:18:02 +01:00
Michael Steenbeek a10de678c1 Fix peeps not entering queues in RCT1 imported parks, fix excitement, import more fields 2016-12-29 20:35:02 +01:00
Michael Steenbeek 480624ff52 Implement code for detecting supported track pieces (#4946) 2016-12-29 20:32:33 +01:00
Ted John 004395acb7 Merge branch 'rct1/import-peeps' into develop 2016-12-29 19:15:49 +00:00
OpenRCT2 git bot 6080a159de Merge Localisation/master into OpenRCT2/develop. 2016-12-29 04:00:21 +00:00
ipatix ae6ed2978d linear loudness scale on the music and sound volume settings 2016-12-28 22:22:45 +00:00
Marijn van der Werf 56c338bd3a Update Xcode project 2016-12-28 23:09:04 +01:00
Manuel Vögele f503d440d4 Allow automatic positioning of new staff in multiplayer
This also changes the network protocol and thus increases
the network verion.
2016-12-28 21:45:22 +00:00
Michael Steenbeek f431d0cbd9 Fix some cases of viewport clipping out of map bounds 2016-12-28 22:30:41 +01:00
wolfreak99 ba59854917 Send value for all toggles through command (#4926) 2016-12-28 22:02:08 +01:00
Michał Janiszewski 7d4b7f91ef Update changelog
[ci skip]
2016-12-28 21:45:53 +01:00
Ted John 2892a7ad3f Merge branch 'Overv-download-saved-park' into develop 2016-12-28 19:22:03 +00:00
Ted John b0b3f9ac3c Use TryClassifyFile to auto load downloaded park 2016-12-28 19:13:19 +00:00
Alexander Overvoorde 61f4452526 Fix #3355: Implement loading of parks from URLs
The help text for the command line options already referenced the
possibility of opening a saved park directly from a URL, but this was
not yet implemented. This commit changes all path handling for command
line options to accept both local paths and URLs.

If a URL is specified instead of a local path, the program will download
the file to the operating system's temp directory. It will then proceed
to load this file just like local files would be loaded.

The program will try to derive the extension of the temp file from the
original URL and defaults to sv6 (a save file) if it is unable to do so.
2016-12-28 19:13:13 +00:00
Ted John 729ac13537 Don't scroll to ride on research page 2016-12-28 18:50:55 +00:00
Ted John 49446c3844 Add code to inspect any file and classify its format 2016-12-28 18:45:01 +00:00
Michał Janiszewski ab43bf74d5 Speedup calculate_checksum by ~9%
Skips unnecessary `rol32`s
2016-12-28 19:31:56 +01:00
Michał Janiszewski d15112dcb3 Fix broken includes in TestPaint.cpp 2016-12-28 19:07:46 +01:00
Daniel Kamil Kozar 1a521c53fb Fix out-of-bounds access in convert_multibyte_charset
convert_multibyte_charset unconditionally assumes that a 0xFF is always
followed by two more bytes. This is not the case with BATFL.DAT, whose
string at offset 0x2D6 (languageId = 0xA) ends with bytes 0xFF, 0xC2,
0x00. Therefore, it seems like 0x00 is used as both the string terminator
and the second byte of a multicharacter sequence in this case.

This commit does not change the original behaviour at all, and prevents
the code from looking for a 0x00 after the string actually ends.
2016-12-28 17:50:03 +00:00
Michał Janiszewski da8964efab Fix CMake warnings about mismatched conditions 2016-12-28 15:44:38 +01:00
David CARLIER 1d17725592 Add FreeBSD support
At the moment the platform specific code supports only
FreeBSD as OpenBSD and NetBSD does not support the
full path retrieval for an executable, we intentionally
stop the compilation for those platforms.
2016-12-28 14:18:04 +01:00
Michał Janiszewski d645e53428 Allow arbitrary entertainers' costume changes via console
This was discussed at
http://www.nedesigns.com/topic/32012/openrct-advantages-and-disadvantages/?p=712114
2016-12-28 13:06:24 +00:00
Ted John 1083ccebd0 Merge pull request #4847 from zaxcav/pathfind_history_fixes
Further pathfinding fixes
2016-12-28 12:58:19 +00:00
Ted John 31d4f79dc5 Merge pull request #4878 from Broxzier/cpp_fixes
CppCheck fixes
2016-12-28 12:57:34 +00:00
Ted John f31e3898c8 Update changelog
[ci skip]
2016-12-28 12:55:50 +00:00
LRFLEW 8e449b9648 Fix #4571: Only start autosave timer after update or game command 2016-12-28 12:53:55 +00:00
Graham Edgecombe f25a0b383c Fix compiling SetupEnvironment() under g++ 2016-12-28 13:15:39 +01:00
Ted John 20b1ce069f Merge branch 'wolfreak99-num_of_conflicts' into develop 2016-12-28 01:19:11 +00:00
Ted John 1e780d656f Make CLI object scan a command instead of a flag. 2016-12-28 01:18:13 +00:00
Ted John 5095e7037a Merge branch 'num_of_conflicts' of https://github.com/wolfreak99/OpenRCT2 into wolfreak99-num_of_conflicts 2016-12-27 23:56:59 +00:00
Ted John a7b60c2419 Fix #4929: Changing TTF language crashes game 2016-12-27 23:27:49 +00:00
Michał Janiszewski de88cdd7a2 Update Xcode build number 2016-12-28 00:00:11 +01:00
Michał Janiszewski 8480713050 Start v0.0.6 2016-12-28 00:00:05 +01:00
Michał Janiszewski a20250a57f Revert "Temporarily disable branch info for release"
This reverts commit 5f4afbe57f.
2016-12-27 23:59:57 +01:00
Michał Janiszewski 617413c8ae Merge branch 'master' into develop 2016-12-27 23:59:47 +01:00
Michał Janiszewski 84977fabef Release v0.0.5
This is the first fully implemented version of OpenRCT2. RCT2.EXE is no
longer required.

- Feature: Ability to disable rendering of weather effects and gloom
- Feature: New view option: "See-Through Paths"
- Feature: Add cheat to reset date.
- Feature: Add OpenGL drawing engine.
- Feature: Implementation of the user-defined currency
- Feature: Extended tile inspector.
- Feature: Add ride console command for diagnostics and changing vehicle
  type.
- Feature: Allow selecting corners when using the mountain tool.
- Feature: Allow setting ownership of map edges.
- Feature: Allow up to 255 cars per train.
- Feature: Importing SV4 and SC4 files with rides.
- Feature: Filter Object Selection Window by "Selected only" and
  "Non-selected only"
- Feature: Allow raising terrain to 64 in-game units.
- Feature: Assymmetric-key-based authorisation and assignment storage.
- Feature: Add Norwegian translation.
- Feature: Add cheat to disable littering.
- Feature: Add Cheat to disable plant aging.
- Feature: Add Cheat that allows any track piece to use a chain lift.
- Feature: Add Console command to set vehicle friction.
- Feature: Add console command to set scenario initial cash.
- Feature: Objects are scanned from the user directory as well as the
  RCT2 directory.
- Feature: Objects directory is scanned recursively.
- Feature: Optionally zoom in towards the cursor rather than the screen
  centre.
- Change: The maximum height of Junior Roller Coasters is now 14 units,
  like it was in RCT1.
- Improved: Pathfinding algorithm.
- Improved: Performance and reliability of loading objects.
- Improved: Screenshots are now saved with the name of the park and the
  current date and time.
- Improved: More accurate frame rate calculation
- Improved: In-game file dialog now shows more formats (sv6, sc6, sv4,
  etc.)
- Improved: Joining multiplayer will not redownload custom objects
- Removed: BMP screenshots.
- Removed: Intamin and Phoenix easter eggs.
- Fix: [#933] On-ride photo price sometimes gets reset to £2 when using
  'same price in whole park' (original bug).
- Fix: [#1038] Guest List is out of order.
- Fix: [#1238] Track place window does not fully adjust to custom colour
  scheme.
- Fix: [#2042] Guests entering queues are immediately annoyed when many
  entertainers are around (original bug).
- Fix: [#2081] Game hangs when track has infinite loop.
- Fix: [#2754] Dragging scrollview fails when scaled.
- Fix: [#3210] Scenery window scrolls too far.
- Fix: [#3282] Launched Freefall ride ratings are fixed for Downward
  Launch (original bug).
- Fix: [#3307] Ride music and sound has degraded since RCT2.
- Fix: [#3344] Build new ride window can be opened in scenario editor.
- Fix: [#3347] Ride windows are auto-positioned below the HUD when using
  RCT1 lights.
- Fix: [#3352] Assertion triggered while fixing surface tiles.
- Fix: [#3361] Missing Twister coaster piece.
- Fix: [#3418] Launched freefall restraints are drawn incorrectly when
  up (original bug).
- Fix: [#3451] Renaming staff is a guest command.
- Fix: [#3635] Inspecting sidewalk path crashes game.
- Fix: [#3735] Advertisement campaign window bug.
- Fix: [#3771] Crash when kicking player in multiplayer.
- Fix: [#3824] Segfault when passing invalid arguments to ride set type.
- Fix: [#3858] Tooltip shown when hovering over title logo.
- Fix: [#3915] Restore horizontal and vertical scrollbar behaviour from
  RCT2 when clicking on one of the scrollbars.
- Fix: Lay-down Roller Coasters from RCT1 saves are imported with an
  incorrect vehicle type (not reported).
- Fix: High lateral G-forces penalty applied too early (not reported).
- Technical: Multiplayer groups are now stored in JSON format.
- Technical: MinGW builds dropped support for Windows XP
2016-12-27 01:36:50 +01:00
wolfreak99 6ba51e36da Make -force-scan command run without starting game
reformat object_list_load to use parameter instead of external flag boolean

remove object_list_load_force_scan, call directly from RootCommands
2016-12-26 19:27:58 -05:00
wolfreak99 5cd6c864a5 implement "force-scan" command
Formatting improvements
2016-12-26 19:27:55 -05:00