Commit graph

21425 commits

Author SHA1 Message Date
Duncan
975ed665f8
Fix opengl extra zoom bugs (#14601)
* Fix #14449: Surface smoothing not working at extra zooms

Caused by two issues. One was spotted by @AaronVanGeffen in that surface smoothing was turned off. The other was caused by a bug in the opengl renderer that went unnoticed due to never being hit during normal play.

* Fix merrygoround and enterprise extra zoom peep drawing

* Add changelog entry
2021-05-10 12:43:46 -03:00
Duncan
3fd8bee32b
Re-enable 32bit replay tests (#14614)
After the changes made to the serialise functions the 32bit replay tests can now be re-enabled
2021-05-10 09:42:18 +01:00
Ryan
eb9ed63b0e
Fix some actions for plugins (#14607)
* Fix some actions for plugins

If an action doesn't have an AcceptParameters method, the paramaters passed in executeAction will be ignored and the action will fail.

* Change plugin parameter names

* Increment plugin API version
2021-05-09 22:04:03 +01:00
Duncan
d46e4a9bb1
Network serialiser for entities (#14541)
* Start a network serialiser for entities

will be used only for checksums and replay diffs

* Continue work

* Use the new serailser for checksums

* Use new serialiser for replays

* keep compilers happy

* Try create checksum stream

* Fix compiling

* Split off class into seperate file

* Update Xcode project

* Increment network version

* Fix pragma mistake

* Fix none network builds

* Update replays

* Improve ChecksumStream and use FNV internally

* Small cleanups

* satisfy compilers

* Revert change of checksum size to simplfy rerecording

* Zero initialise data

* Fix serialiser

* Update replays again

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
Co-authored-by: Matt <m.moninger.h@gmail.com>
2021-05-09 19:12:44 +01:00
Ted John
c63e072974
Fix logging of replay info to stdout (#14430)
Use Console::WriteLine and replace \n with \r\n.
2021-05-09 19:11:04 +01:00
Michael Steenbeek
984a660ad7
Fix RCT1 American-style Steam Trains import 2021-05-09 18:53:35 +02:00
ζeh Matt
08ebc1ab41
Fix #14587: Send queued packets before disconnecting the client (#14596)
* Fix #14587: Send queued packets before disconnecting the client

* Log better information during network authentication
2021-05-09 07:56:20 +01:00
Ted John
14845b61e5
Merge pull request #14561 from IntelOrca/increase-paint-structs
Dynamically allocate paint structs and remove 4000 per column limit
2021-05-08 23:36:40 +01:00
Ririan
417e5ae7d5
Fix Duplicate Entries in Free Food Ad Campaign
When opening and closing the dropdown box multiple times while attempting to create an ad campaign for free food vouchers, the game would duplicate the available food items in the list each time.

I discovered that it was because the vector wasn't being cleared each time the list was populated it, so an easy fix is to clear it before continuing.
2021-05-07 14:53:53 +02:00
ZxBiohazardZx
ad1bfe0f49
Fix #14582: Vehicle::GetCar function causing server crash (#14583)
Co-authored-by: @RoyGherbel
2021-05-07 13:23:37 +01:00
Dmitry Starostin
bbc2f7c4e8
Update package link for Arch in readme.md
Package openrct2 was moved from AUR to Community.
2021-05-05 22:49:48 +02:00
Ted John
7854d94599 Fix benchmarking 2021-05-03 02:38:42 +01:00
Ted John
bba967d62e Start working on benchmark changes 2021-05-02 22:02:09 +01:00
OpenRCT2 git bot
c20bb2b8aa Merge Localisation/master into OpenRCT2/develop 2021-05-02 04:11:56 +00:00
Ted John
1caf47e45e Use unrolled linked list for paint entries 2021-04-28 20:33:51 +01:00
Basssiiie
6c65105261
Add getter for current plugin api version (#14538) 2021-04-27 21:08:56 -03:00
Basssiiie
ec7088364e
Rename 'ListView' to 'ListViewWidget' in Typescript declaration 2021-04-27 17:14:23 +02:00
Basssiiie
3197565dfe
Fix OpenRA logo url in readme (#14535) 2021-04-27 08:43:58 -03:00
Ted John
2a0535d966
Fix #13986: OpenGL: Track preview, flip/rotate does not update thumbnail
Invalidate SPR_TEMP so that it is not cached in the OpenGL drawing engine.
2021-04-27 11:30:52 +02:00
Ted John
cb6d471560 Increase paint struct limit by using shared pool 2021-04-27 01:27:49 +01:00
Tulio Leao
1aec32056d
Merge pull request #14479 from Margen67/actions
workflow yml improvements
2021-04-23 19:36:18 -03:00
Margen67
4933b9ee40 ci.yml: Upgrade commitlint-github-action to v3 2021-04-23 11:36:50 -10:00
Margen67
2f74a46484 ci.yml: HOMEBREW_NO_ANALYTICS=1
Opts out of analytics. See https://docs.brew.sh/Analytics
2021-04-23 11:35:54 -10:00
Margen67
d195a3edd6 ci.yml: Change macOS configuration to Release 2021-04-23 11:33:46 -10:00
Margen67
58cd2e2609 ci.yml: Make windows-mingw and linux-portable into matrix
Artifact name improvements had to be bunched in here.
Change build configuration to Release.
2021-04-23 11:33:46 -10:00
Margen67
87de1971d9 ci.yml: Remove brackets around check-code-formatting
They're unneeded since it's one item.
2021-04-23 11:32:16 -10:00
Margen67
5308a21305 ci.yml: Checkout improvements
Always use v2.
Replace git clone with checkout.
2021-04-23 11:32:16 -10:00
Margen67
839aa5c625 ci.yml: upload-artifact improvements
Upgrade to v2.
name:
 Remove unneeded quotation marks.
 Use runner.os when possible.
if-no-files-found: error
2021-04-23 11:32:16 -10:00
Margen67
bc5e8f7dd2 ci.yml: job-wide bash 2021-04-23 11:32:16 -10:00
Margen67
08061d518b localisation.yml: Remove whitespace after cron 2021-04-23 11:29:09 -10:00
Margen67
55d7df32fd localisation.yml: Use --depth 1 to speed up cloning 2021-04-23 11:29:09 -10:00
Margen67
c2f16a54aa localisation.yml: Use working-directory 2021-04-23 11:29:09 -10:00
Basssiiie
594b08c911
Rename 'Object' to 'LoadedObject' 2021-04-21 15:32:55 +02:00
Michael Steenbeek
c9943ee11d
Merge pull request #14458 from Gymnasiast/backport-nsf
Backport ride limit refactors from new-save-format
2021-04-20 23:25:53 +02:00
Michał Janiszewski
10bc3da9b9
Improve shader compatibility with GLES (#14489) 2021-04-20 08:10:23 +02:00
Hielke Morsink
7525f5d5da
Fix #14493: isHidden broken for elements with baseheight > 32 (#14499) 2021-04-19 19:44:11 +02:00
Duncan
8eabdf8c8f
Split guest and staff peep variables (#14462)
* Split guest and staff peep variables

* Move variable location

* Increment network version

* Update replays
2021-04-18 17:48:21 +01:00
ceeac
a8702dc2c8
Fix compile error when DEBUG_LEVEL=1 2021-04-18 12:57:46 +02:00
Michael Steenbeek
929433680d
Replace TestPaint CI with regular i686 build 2021-04-18 12:55:20 +02:00
Gymnasiast
1c5af028e1
Fix placing entrance/exit for ride ID >= 256 2021-04-16 18:56:16 +02:00
Gymnasiast
d857dca36d
Replace hardcoded max number of trains per ride 2021-04-16 18:56:16 +02:00
Michael Steenbeek
bbf33b6577
Fix serialisation of PlaceParkEntranceAction 2021-04-15 21:32:26 +02:00
Margen67
3a51145567
setenv: fix typo (#14477) 2021-04-14 19:34:52 -03:00
Michael Steenbeek
b24cdff0fb
Merge pull request #14472 from Gymnasiast/refactor/integrate-footpath-globals
Clean up some footpath globals
2021-04-14 18:30:48 +02:00
Gymnasiast
084bfe0d48
Remove global from PlaceParkEntranceAction 2021-04-14 15:03:09 +02:00
Gymnasiast
5e28586a1c
Create ProvisionalFootpath struct 2021-04-14 14:56:28 +02:00
Gymnasiast
85157d8604
Move some globals to Footpath window 2021-04-14 14:31:10 +02:00
Margen67
3188865313
Script improvements (#14452)
shebang:
 Move parameters from set.
 Add newline after for consistency.
curl:
 Add -f;
  Prevents output on error.
 Use -O where applicable;
  -o with the same filename as the URL is pointless.
 Add -S after -s:
  Makes curl still error despite being silent.
build-symbols:
 Add zip fallback.
get-discord-rpc:
 Move git clone parameters before repository for readability.
 Use --depth 1 to speed up cloning.
install-nsis:
 Use ProgramData environment variable.
build-appimage-docker.sh:
 Add -e to docker run.
 Run script directly.
build-appimage.sh:
 Make if more consistent.
Remove unused Travis scripts.
setenv:
 unset instead of blanking variables.
vstool.cmd:
 Use ProgramFiles(x86) environment variable.
2021-04-12 19:01:15 -03:00
Hampus
1b64fc871b
Close #13805: Refactor Sign window to class (#14417)
* Refactor window to class: Sign

Fix: Refactor window to class: Sign #13805
2021-04-12 08:53:58 -03:00
Jacob Caudill
86e9fe6f19
Close #13788: Refactor News to new Window framework (#14404)
* Refactor News for new Window framework
2021-04-12 08:53:06 -03:00