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

16332 Commits

Author SHA1 Message Date
Duncan
ccfa22c230 Entity type4: Remove MiscEntityType and add FountainType (#14344)
* Move jumpingfountain type out of misc entity type

* Remove SubType for MiscEntities as it is no longer required

* Update replays

* Apply review comments

* Increment network version
2021-03-22 21:24:50 +00:00
Michael Steenbeek
b275e7b82e Fix #14294: NPE in map_animation_invalidate_wall_door() 2021-03-20 17:09:37 +01:00
Michael Steenbeek
9132c9ad8d Fix #14153: NPE in Guest::UpdateRideLeaveVehicle() 2021-03-20 17:09:19 +01:00
Michael Steenbeek
d1267a276f Merge pull request #14355 from duncanspumpkin/fix_14353
Fix #14353. Provide a buffer for text input
2021-03-20 14:58:02 +01:00
Michael Steenbeek
430711a33b Cache HasFilePicker() value in UiContext 2021-03-20 14:51:15 +01:00
Cory Sanin
f1cd58c292 Fix #14330: join_server uses config default_port 2021-03-20 14:09:47 +01:00
duncanspumpkin
820668d0aa Use unsafe strlen for platforms without strlen_s 2021-03-20 07:27:23 +00:00
duncanspumpkin
ee575d5b8c Use std::vector to prevent violations of std string 2021-03-20 07:22:00 +00:00
duncanspumpkin
07b2945c5b Fix #14353. Provide a buffer for text input 2021-03-19 18:25:14 +00:00
Michael Steenbeek
a018787c91 Fix #14295: Assertion hit in Audio.cpp 2021-03-19 11:58:50 +01:00
Michael Steenbeek
2b9a3424b0 Fix #14347: Crash when inserting a tile element without room 2021-03-18 23:28:43 +01:00
Michael Steenbeek
850e7431c3 Merge pull request #14328 from Gymnasiast/fix/14315
Fix #14315: Crash when renaming APVC in Korean
2021-03-18 22:49:13 +01:00
Duncanspumpkin
0957542503 Implement C++ solution to truncate UTF8 strings 2021-03-18 22:14:12 +01:00
Maximilian Bottin
6f28914f61 Fix #14296: Allow early scenario completion in multiplayer 2021-03-18 20:30:11 +01:00
Michael Steenbeek
e89c37e7ae Fix #11829: Glitches when using mismatched csg1/csg1i 2021-03-17 13:40:45 +01:00
Duncan
4d152d97d2 Use entity list size rather than distance (#14343)
After the refactors with the entity lists we no longer require to walk the whole entity list to get the number of entries.
2021-03-17 08:55:10 +00:00
Duncan
129ef12d6d Refactor paint entity (#14342) 2021-03-17 08:35:39 +00:00
Duncan
df7a284822 Entity type 2: Remove sprite_identifier (#14334)
* Start changing the underlying type

* Further work

* Complete refactor

* Further cleanup

* Remove pointless check

* Increment network and plugin versions

* Add defaults

* Further defaults

* Fix test paint

* Update replays
2021-03-17 08:04:41 +00:00
Duncan
6ec379cd0e Split Entity Lists by Entity type (#14326)
* Make initial changes to add entity type

* Make further corrections

* Revert header changes

* Fix mistakes
2021-03-16 11:18:06 +00:00
Michael Steenbeek
96524e2b4a Convert Land window to class 2021-03-15 23:08:00 +01:00
Gymnasiast
645685de18 Fix #14315: Crash when renaming APVC in Korean 2021-03-15 21:27:13 +01:00
Michael Steenbeek
706fdae588 Fix #13894: Block brakes do not animate 2021-03-15 20:37:08 +01:00
Duncan
5474194905 Implement train view and remove linked_list_index (#13956)
* Make train manager view

* Remove linked list index field

* Remove merge mistake

* Fix further rebase errors

* Rename and add comments

* Update replays

* Fix Xcode project

* Increment network version

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2021-03-15 08:13:00 +00:00
manatails
4fe5b1dc79 Add "Vandals stopped" stat for security guards (#14071)
* Add a stat for security guards: Vandals stopped

* Update src/openrct2-ui/windows/Staff.cpp

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

* Update src/openrct2/peep/Guest.cpp

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

* No need to update screenCoords at the last line

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>

* Add changelog entry and bump network version

* Update to new UI code

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2021-03-14 09:18:35 -03:00
frutiemax
8acdcca712 Part of #12098: Use ScreenRect on gfx_filter_rect in Error.cpp (#14288) 2021-03-13 22:03:13 -03:00
frutiemax
cd9873a78d Use ScreenLine on gfx_draw_line_software 2021-03-13 16:52:58 +01:00
Michael Steenbeek
85c59b88be Convert New Campaign window to a class 2021-03-13 16:51:54 +01:00
Ted John
7793f4c548 Update backtrace token for 0.3.4 2021-03-13 14:11:58 +01:00
Gymnasiast
3f65f282d7 Release v0.3.3
- Feature: [#12110] Add Hybrid Coaster (Rocky Mountain Construction I-Box) track type.
- Feature: [#12999] .sea (RCT Classic) scenarios are now listed in the “New Scenario” dialog.
- Feature: [#13000] objective_options command for console.
- Feature: [#13096] Add Esperanto translation.
- Feature: [#13164] Add 'Objective options' to Cheats menu.
- Change: [#9568] Change lift sounds of Reverser Roller Coaster and Compact Inverted Coaster to better fitting ones.
- Change: [#13160] The lay-out of the Park Cheats tab has been improved.
- Fix: [#1324] Last track piece map selection still visible when placing ride entrance or exit (original bug).
- Fix: [#3200] Close Construction window upon selecting vehicle page.
- Fix: [#4022] Fix Mac cursor offset on launch
- Fix: [#4041] Garbled park option on scenario editor with custom theme.
- Fix: [#4865] Offer an option to disable inhibiting the monitor power.
- Fix: [#5178] Lighting effects cannot be disabled in software mode
- Fix: [#5904] Empty errors on tile inspector base height change.
- Fix: [#6086] Cannot install existing track design with another name.
- Fix: [#6614, #8623] Colours are distorted when using OpenGL with Intel integrated graphics drivers.
- Fix: [#7443] Construction arrows pulse at irregular intervals.
- Fix: [#7518] Water isn't cut down by view clipping tool.
- Fix: [#7748] Tooltips would not timeout for normal UI elements.
- Fix: [#8015] RCT2 files are not found when put into the OpenRCT2 folder.
- Fix: [#8957] Error title missing when building with insufficient funds
- Fix: [#10186] Placing multiple saved rides ignores design name (original bug).
- Fix: [#12368] Desync due to ghost station pieces affecting changing ride settings.
- Fix: [#12940] Windows cause issues with snow drawing.
- Fix: [#13019] Simulated trains sometimes open construction window when they crash.
- Fix: [#13021] Mowed grass and weeds don't show up in extra zoom levels.
- Fix: [#13024] Console cursor does not correctly render at current cursor position.
- Fix: [#13029] Not all Junior Roller Coaster pieces are shown when "Show all track pieces" cheat is enabled.
- Fix: [#13044] Rides in RCT1 saves all have "0 customers per hour".
- Fix: [#13074] Entrance and exit ghosts for mazes not being removed.
- Fix: [#13083] Dialog for renaming conflicting track design crops text out.
- Fix: [#13097] Missing direction arrow for stations
- Fix: [#13098] UI buttons for entrance and exit don't toggle according to them being built.
- Fix: [#13098] Maze can still be constructed while placing entrance and exit (original bug).
- Fix: [#13118] Closing construction window resets ride viewport.
- Fix: [#13129] Missing error message when waiting for train to leave station on the ride measurements graph.
- Fix: [#13138] Fix logical sorting of list windows.
- Fix: [#13158] Cursors are drawn incorrectly in text input fields.
- Fix: [#13222] Vehicle collision causes negative number of passengers (original bug).
- Fix: [#13226, #7280] No error is shown when attempting to load a corrupted save.
- Fix: [#13266] Plugin API: Deleting key of sharedStorage not working.
- Fix: [#13278] Desync caused by ghost tiles changing the ride mode.
- Fix: [#13289] Litter and vomit sometimes not loading with RCT1 saved game or scenario
- Fix: [#13292] Impossible excitement rating requirements with finish building 5 coasters goal
- Improved: [#13023] Made add_news_item console command last argument, assoc, optional.
- Improved: [#13098] Improvements to the maze construction window user interface
- Improved: [#13125] Selecting the RCT2 files now uses localised dialogs.
2021-03-13 12:17:05 +01:00
Michael Steenbeek
96a34318fe Merge pull request #14260 from IntelOrca/fix/14201-research-finish-assert
Fix #14201: Assert in research_finish_item for invalid ride type
2021-03-12 23:32:23 +01:00
Michael Steenbeek
1b5c7dc1c7 Fix inverted condition 2021-03-12 23:05:30 +01:00
Ted John
87dc006b8c Apply code review suggestions 2021-03-12 21:27:23 +00:00
Ted John
a9584ad797 Fix #14266: [Plugin] {STRINGID} format is not applied 2021-03-12 21:08:56 +01:00
Michael Steenbeek
f0dc28e9fc Update objects to v1.0.21 2021-03-12 11:04:04 +01:00
Michael Steenbeek
bc2df33b0a Fix #14225: Desync when “allow early scenario completion” is enabled 2021-03-08 20:16:21 +01:00
Ted John
b1a54fa7ba Fix #14264: [Plugin] Cannot modify the coordinate / size of the viewport 2021-03-08 19:52:26 +01:00
Michael Steenbeek
55fea26a96 Fix #14172: Assertion hit in window_tile_inspector_swap_elements() 2021-03-07 14:53:44 +01:00
Michael Steenbeek
6a11dbf0c9 Fix #14247: Scenarios from RCT1 allow hiring too many staff 2021-03-07 13:54:01 +01:00
Ted John
4b9c704096 Log warning instead of assert in research_finish_item 2021-03-07 12:53:41 +00:00
Michael Steenbeek
140cc442ac Merge pull request #14252 from Phelicks/develop
Add plugin API for vehicle g-forces
2021-03-07 13:46:16 +01:00
Michael Steenbeek
d5426c3779 Fix #14123: NPE in map_obstruction_set_error_text() 2021-03-07 13:37:23 +01:00
Michael Steenbeek
e4e26eeb2a Fix #14167: NPE in Guest::UpdateRideFreeVehicleCheck() 2021-03-07 13:21:23 +01:00
Michael Steenbeek
9d1643d3ce Fix #14217: Crash in large_scenery_paint() 2021-03-07 00:08:51 +01:00
Felix
9ec30e6869 Increase API version and update changelog 2021-03-06 23:51:02 +01:00
Felix
f30a2d417a Fix formatting 2021-03-06 23:36:38 +01:00
Felix
78785fffbe Add plugin API for vehicle g-forces 2021-03-06 23:25:26 +01:00
Michael Steenbeek
64807147e6 Fix #14126: assertion in research_fix()
The assertion was hit because of a non-existant ride type being passed into ride_type_set_invented(). Try to avoid this by fixing DAT files when loading them.
2021-03-06 20:57:48 +01:00
Michael Steenbeek
01ddea5fab Fix #14198: Crash when creating new folder 2021-03-06 20:07:18 +01:00
Michael Steenbeek
58c3426747 Fix #14239: NPE in peep_find_ride_to_look_at() (#14243) 2021-03-06 16:18:16 +00:00
Ted John
966129dd7c Remove network traffic window
Now available in the DevTools plugin.
2021-03-06 14:47:06 +01:00