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

16672 Commits

Author SHA1 Message Date
Ted John
710da039a4 Show ghost elements as white on mini-map
Also fixes refresh of map when using OpenGL drawing engine
2019-05-08 21:37:33 +01:00
Mikroscopic
80a9cf8670 Fix ghost objects rendering on minimap 2019-05-08 21:36:31 +01:00
Michael Steenbeek
da6794ad9e Refactor second argument to move_sprite_to_list() 2019-05-08 22:11:51 +02:00
Gymnasiast
7f5c9622c0 Fix guests eating popcorn being drawn eating pizza 2019-05-08 20:57:20 +02:00
OpenRCT2 git bot
27a119069a Merge Localisation/master into OpenRCT2/develop. 2019-05-08 04:00:26 +00:00
Michael Steenbeek
e98a51c4ef Merge pull request #9196 from nexgenration/peep_gen
Refactor Peep Generate
2019-05-07 20:24:41 +02:00
Gymnasiast
17ddd451db Fix tests, fix formatting 2019-05-07 20:04:07 +02:00
Gymnasiast
916b8c2705 Use more constants 2019-05-07 19:46:58 +02:00
Gymnasiast
212f425ff0 Rename variables, change signature 2019-05-07 19:34:50 +02:00
NexGenration
846011e21b another message here 2019-05-07 19:34:50 +02:00
NexGenration
e6c88a05db Make peep generate a static member function 2019-05-07 19:34:50 +02:00
Ted John
0d0479f9b1 Merge pull request #8558 from richard-fine/feature/peep-inspector
Peep debug tab
2019-05-06 20:29:29 +01:00
Gymnasiast
2368fea91e Bump network version 2019-05-06 19:15:32 +02:00
Ted John
66e49a1a44 Update OPENRCT2_ORG_TOKEN for AppVeyor 2019-05-06 14:29:23 +01:00
OpenRCT2 git bot
107a93b2e7 Merge Localisation/master into OpenRCT2/develop. 2019-05-05 04:00:24 +00:00
Ted John
a22f0a53fb Use localised strings for guest debug tab 2019-05-04 21:48:02 +00:00
Ted John
f50695fc9b Refactor guest window resize 2019-05-04 16:23:29 +00:00
Ted John
a90a86562d Refactor guest widget lists 2019-05-04 15:01:51 +00:00
Ted John
7c2708746e Re-draw debug tab every tick 2019-05-04 14:53:25 +00:00
Ted John
c13bd04954 Refactor invalidate methods 2019-05-04 14:40:45 +00:00
Ted John
1d296242b4 Improve text colour 2019-05-04 14:09:15 +00:00
Ted John
b4a2a94520 Fix build 2019-05-04 14:08:37 +00:00
Richard Fine
480f19c0c6 Add parens to fix operator precedence issue
I missed one... thankfully the CI did not.
2019-05-04 14:08:37 +00:00
Richard Fine
9bb68a7151 Pull window width into temporary variable
As suggested in review, it's a little easier to read this way.
2019-05-04 14:08:37 +00:00
Richard Fine
b714f7b0e2 Use constexpr instead of const
For a static constant integer value, it's stylistically clearer to use constexpr instead of const. The resulting variable is implicitly const, but is also guaranteed to have a compile-time-computable value.
2019-05-04 14:08:37 +00:00
Richard Fine
97bcc53637 Eliminate itoa and use correct format specifiers
Use snprintf instead of _itoa as it's not available on all platforms. Also change the format specifies for unsigned variables to %u instead of %i, to be more correct...
2019-05-04 14:08:37 +00:00
Richard Fine
397b044588 Use safe_strcat instead of strcat_s
strcat_s is not available on all platforms, and we have a utility in the codebase that does basically the same thing already.
2019-05-04 14:08:37 +00:00
Richard Fine
cfda3fb8f7 Use sizeof(buffer) instead of hardcoded size
Use sizeof(buffer) instead of repeating 4096 in a bunch of places. Also, 4096 was maybe a bit overkill, drop it down to 512 instead.
2019-05-04 14:08:37 +00:00
Richard Fine
8bf72ceadb More peep pathing info
Show more peep debug data in the Guest debug tab, mostly to help with understanding pathfinding behaviour.
2019-05-04 14:08:37 +00:00
Richard Fine
7300a38ce6 Show peep coordinates in debug tab
As a first debug stat to show, display a peep's current coordinates in the debug tab
2019-05-04 14:08:37 +00:00
Richard Fine
70c61d5ac6 Fix guest window width for debugging tab
Introduce a named constant for the width of a tab in the Guest window, and touch the places that set the window width to add it to the minimum window width when the debugging tab is enabled, so that the tab doesn't render off the side of the window.
2019-05-04 14:08:37 +00:00
Richard Fine
5ef07ab936 Formatting 2019-05-04 14:08:37 +00:00
Richard Fine
fa63691d17 Disable guest debug tab when debug tools not turned on
Disable the debug tab in the guest window when the debugging tools are not turned on, causing it to be completely hidden from view.
2019-05-04 14:08:37 +00:00
Richard Fine
c4a449f47d Add new debugging tab to the Guest window
Add a new tab to the Guest window which we can use to display debug information and tools for guests. At the moment it's blank and always visible; next step is to make it only show up when debugging tools are enabled.
2019-05-04 14:08:37 +00:00
Ted John
aaebb109e1 Update vscode config [ci skip] 2019-05-04 14:04:20 +00:00
ζeh Matt
cd8c67ddac Implement SetCheatAction. (#8990)
* Implement SetCheatAction.

* Bump up network version
2019-05-04 15:28:38 +02:00
Ted John
e84631c273 Fix #9204: Making screenshots from command-line is broken (#9206) 2019-05-04 13:22:01 +00:00
Ted John
bf50d98e42 Update changelog [ci skip] 2019-05-04 11:33:14 +00:00
Hielke Morsink
5e9e7bcbe5 Fix: artifacts when changing ride type as client or using the in-game console (#9202) 2019-05-04 10:31:10 +00:00
OpenRCT2 git bot
c7afad7d49 Merge Localisation/master into OpenRCT2/develop. 2019-05-04 04:00:23 +00:00
Aaron van Geffen
0da35a599d Merge pull request #9193 from Gymnasiast/optional-header
Add `optional` header
2019-05-03 10:45:50 +02:00
OpenRCT2 git bot
ddcebc9b4c Merge Localisation/master into OpenRCT2/develop. 2019-05-03 04:00:26 +00:00
Aaron van Geffen
f1b9c71524 Merge pull request #8687 from Xkeeper0/f/multiplayer-plus
Multiplayer dropdown additions
2019-05-02 22:53:50 +02:00
Tom Lankhorst
63a38412aa Add optional header 2019-05-02 22:53:19 +02:00
Aaron van Geffen
21104376ea Add changelog entry; add Xkeeper0 to contributors. [ci skip] 2019-05-02 22:53:05 +02:00
Gymnasiast
72ca5ee3a4 Fix formatting 2019-05-02 22:44:47 +02:00
Duncan
a6c2aed26d Merge pull request #9059 from duncanspumpkin/banner_ga
Implement Banner Place/Remove Actions
2019-05-02 21:32:51 +01:00
Duncan
1683ae736e Merge pull request #9192 from Gymnasiast/fix/8507
Fix #8507: Incorrect change in vehicle rolling direction
2019-05-02 21:32:22 +01:00
Florian Will
8c109307cf Fix #8507: Incorrect change in vehicle rolling direction
In OpenRCT2, when vehicles roll backward on a long, flat track piece,
they would eventually change their direction of movement and move
forward instead, after their velocity reached -4095. The acceleration
due to rolling resistance and drag changes to 0 at that point, which
caused the "implicit boost" up to a velocity of ~+32k (close to 2km/h)
to trigger.

The behavior is different in vanilla RCT2, where vehicles just keep on
very slowly rolling backwards.

This commit disables the "implicit forward boost" for vehicles rolling
backward to mimic vanilla RCT2 behavior.
2019-05-02 22:22:59 +02:00
Michael Steenbeek
76956a8fc1 Add missing issue to changelog [ci skip] 2019-05-02 21:50:04 +02:00