Tulio Leao
c7ae064a4c
Extract ShouldIgnoreCase to Platform
2021-03-26 23:17:01 -03:00
Tulio Leao
9a071aef76
Extract GetAbsolutePath to Platform
2021-03-26 23:17:01 -03:00
Duncan
177b5e1b08
Add plugin hook for guest generation ( #14107 )
...
* Add plugin hook for guest generation
* Update api version and add ts entry
2021-03-26 05:49:24 +00:00
Duncan
a4a08ea8b4
Reorg entity import to follow export design ( #14177 )
...
* Add CreateEntityAt
* Reorg entity import to follow export design
* Move definitions just because gcc refuses to fix bugs
* Use CreateEntityAt
* Fix freeid allocation
* Streamline freeId reset and add statics
2021-03-26 05:48:38 +00:00
Tulio Leao
f15bbd220a
Extract IsPathSeparator to Platform
2021-03-25 23:45:01 -03:00
Duncan
0a47d2157a
Use more specific types where appropriate ( #14388 )
...
It takes marginally more time to get a Peep than a Guest/Staff so may as well go straight to the correct type
2021-03-25 08:44:25 +00:00
Duncan
1be7457e30
Use entity list rather than MAX_ENTITIES loop ( #14384 )
...
* Use entity list rather than MAX_ENTITIES loop
* Use guest for variable names
2021-03-25 08:08:26 +00:00
TELK
040a3eb144
Fix part of #7489 : Shortcuts work incorrectly for vertical tracks
2021-03-24 20:32:03 +01:00
Michael Steenbeek
19b1958822
Merge pull request #14332 from DKarandikar/develop
...
Close #13749 : Move Banner window to new framework
2021-03-24 20:30:42 +01:00
Duncan
977d05ba29
Entity type5: Remove peep assigned type ( #14380 )
...
* Remove users of AssignedPeepType
* Remove AssignedPeepType
Field no longer required due to changes to EntityType
* Move enum to the RCT12 header
* Increment network version
* Update replays
2021-03-24 08:54:05 +00:00
Michael Steenbeek
a5a63f839a
Allow passing ImageId into gfx_draw_sprite()
2021-03-23 11:58:09 +01:00
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
Daniel Karandikar
d4efbdf531
Refactor InitTileElement
...
Break loop when going to go outside of Tile
2021-03-22 19:23:36 +00:00
Daniel Karandikar
5ef750a879
Tidy up BannerWindow::Initialise
2021-03-22 19:23:34 +00:00
Daniel Karandikar
4c1d35478c
Tidy Window.cpp
2021-03-22 19:23:31 +00:00
Daniel Karandikar
1551389bf5
camelCase for local vars
2021-03-22 19:23:28 +00:00
Daniel Karandikar
248d6a0683
Prepend _ to private member fields
2021-03-22 19:23:20 +00:00
OpenRCT2 git bot
4631c22a3c
Merge Localisation/master into OpenRCT2/develop
2021-03-21 04:05:54 +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
Michael Steenbeek
35cf400ecb
Add #14296 to changelog
2021-03-18 21:33:09 +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
Daniel Karandikar
1229ce6b22
Refactor Banner to use new Window framework
...
Also tidy up a couple of bits of duplicated code
Pulled out into CreateViewport method and tileElement member
2021-03-15 22:59:19 +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
Michael Steenbeek
4ac3fd4b49
Merge pull request #14307 from adam-bloom/xcode_v28_dependencies
...
Xcode v28 dependencies
2021-03-15 14:10:21 +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
OpenRCT2 git bot
cc68b8bf4d
Merge Localisation/master into OpenRCT2/develop
2021-03-15 04:06:00 +00:00
Tulio Leao
f372117939
Extract GetLastModified to Platform
2021-03-14 09:36:44 -03: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
OpenRCT2 git bot
72b6160b65
Merge Localisation/master into OpenRCT2/develop
2021-03-14 04:05:51 +00:00
frutiemax
8acdcca712
Part of #12098 : Use ScreenRect on gfx_filter_rect in Error.cpp ( #14288 )
2021-03-13 22:03:13 -03:00
adam-bloom
2c7afa9cab
include lib folder for macOS cmake zip file
2021-03-13 11:41:28 -07:00
adam-bloom
d8f9f38576
Dependencies v28 in Xcode build
2021-03-13 11:41:28 -07:00