Commit Graph

8006 Commits

Author SHA1 Message Date
Ted John 2fa0c7977a add OpenGL drawing engine with FillRect impl 2016-06-07 22:45:36 +01:00
Ted John d20a8a1daa re-route draw sprite through IDrawingContext 2016-06-07 22:45:36 +01:00
Ted John 90704ac1fe port gfx_fill_rect to IDrawingContext 2016-06-07 22:45:36 +01:00
Ted John 6e8cc5469a start introducing the IDrawingContext 2016-06-07 22:45:36 +01:00
Ted John 3e6eb48d4c draw rain via new IRainDrawer interface 2016-06-07 22:45:36 +01:00
Ted John d4edf58a51 use a struct for rain pixels 2016-06-07 22:45:36 +01:00
Ted John 85557d169d reinstate all drawing and fix resize 2016-06-07 22:45:36 +01:00
Ted John 3da57d0865 route old functions to new drawing interface
- hardware display temporarily removed
- rain, fps and other non-window elements not drawn
2016-06-07 22:45:36 +01:00
Ted John 2de332369c add initial interfaces and software engine 2016-06-07 22:45:36 +01:00
X123M3-256 706b3db99e Chain lift cheat (#3818)
* Fix conflict with disable plant aging cheat

* Allow chain lift on any piece

* Keep chain toggled while building

* Ignore current chain lift state when cheat enabled

* Update string ids to one not already used

* Implement command for toggling cheat

* Allow chain on steep tracks when cheat is enabled

* Add checkbox for chain cheat

* Fix spacing

* Send cheat over network

* Change label for checkbox

* Replaced tabs with spaces
2016-06-07 22:08:38 +01:00
Michael Steenbeek 0a4fa02a3e en-GB: drop full stop in option for consistency 2016-06-07 20:01:56 +02:00
Michael Steenbeek be96f33d0e Merge pull request #3823 from Goddesen/fix_#3817
Fix #3817
2016-06-07 19:49:43 +02:00
OpenRCT2 git bot 84334c1485 Merge Localisation/master into OpenRCT2/develop. 2016-06-07 04:00:18 +00:00
OpenRCT2 git bot 3dc4b601b8 Merge Localisation/master into OpenRCT2/develop. 2016-06-06 04:00:21 +00:00
Michał Janiszewski f8fa637b68 Require OpenSSL in all but network-less builds (#3829) 2016-06-05 21:57:28 +01:00
Ted John 3b8f98c86b Merge pull request #3820 from X123M3-256/set_vehicle_friction
Add command to set vehicle friction
2016-06-04 21:37:18 +01:00
X7123M3-256 bbd7e809fd Fix whitespace 2016-06-04 21:36:27 +01:00
X7123M3-256 fc5b5966c8 Check if ride subtype is in range 2016-06-04 21:08:03 +01:00
Goddesen bfd0a405ee Reformatted cheats misc. array to be consistent with other tabs 2016-06-04 22:05:30 +02:00
Goddesen 8cfddca5a9 Widen textbox for neverending marketing to full width 2016-06-04 22:00:58 +02:00
X7123M3-256 0f630bea2f Fix formatting 2016-06-04 20:21:04 +01:00
X7123M3-256 065ffa3e3c Add additional checks on input 2016-06-04 20:19:31 +01:00
X7123M3-256 a03979087d Add error messages for invalid input 2016-06-04 19:48:39 +01:00
X7123M3-256 14f6da31c9 Fix segfaults on rides without vehicles 2016-06-04 17:44:29 +01:00
X7123M3-256 67d99a34f2 Implement command to set friction 2016-06-04 16:53:29 +01:00
OpenRCT2 git bot 4f6929edf6 Merge Localisation/master into OpenRCT2/develop. 2016-06-04 04:00:21 +00:00
Michał Janiszewski e5cd157edc Fix memory leak in TcpSocket (#3815) 2016-06-03 23:29:25 +01:00
Ted John e4c94d7966 fix #3813: Scrolling texts going rogue 2016-06-03 23:27:47 +01:00
Ted John a9bf0cdd4e fix #3811: Multiplayer Crash on join
Game was probably being updated with title sequence sprite spatial index.
2016-06-03 22:03:22 +01:00
Michał Janiszewski a79e793e67 Disable whole-project alignment for MSVC & MinGW (#3807)
As OpenRCT2/OpenRCT2#3783 has now been merged, this should be
unnecessary.
2016-06-03 19:07:52 +01:00
Ted John 428724d86c refactor reset_sprite_spatial_index, integrate gSpriteSpatialIndex 2016-06-03 18:13:00 +01:00
Ted John 3914e92117 Update ISSUE_TEMPLATE.md 2016-06-03 15:17:05 +01:00
Michał Janiszewski 628e263094 Fix #3804: use-after-free in TcpSocket (#3810) 2016-06-03 14:30:00 +01:00
Ted John d2aaad6f7e Merge pull request #3808 from janisozaur/fixes
Fixes
2016-06-03 12:28:44 +01:00
Michał Janiszewski a44cd9cb15 Fix undefined left shifts 2016-06-03 13:14:36 +02:00
Michał Janiszewski 24991b03ec Check for NULL mapElement in ride_update_station_blocksection
Fixes #3434
2016-06-03 13:14:35 +02:00
Ted John 82dd7601eb Merge pull request #3782 from janisozaur/desyncs
synchronise reset_0x69EBE4 over network
2016-06-03 10:47:01 +01:00
Ted John 5889522d74 Merge pull request #3783 from janisozaur/packed-structs
Explicitly pack structs
2016-06-03 10:42:43 +01:00
Michał Janiszewski 1508e49a28 Change macro to assert_struct_size 2016-06-03 11:29:50 +02:00
Michał Janiszewski 934ce5e84e Fix 64 bit by skipping static_asserts for structs with pointers 2016-06-03 10:55:21 +02:00
Michał Janiszewski 60630b9ad7 Drop `PACKED` attribute 2016-06-03 10:55:21 +02:00
Michał Janiszewski df3030e4a9 Provide static_assert for hard-coded struct sizes. 2016-06-03 10:55:21 +02:00
Michał Janiszewski 3907fcd9d2 Explicitly pack structs 2016-06-03 10:55:21 +02:00
OpenRCT2 git bot 7e291c32bc Merge Localisation/master into OpenRCT2/develop. 2016-06-03 04:00:19 +00:00
Michał Janiszewski 4955279b7b Synchronise reset_0x69EBE4 over network
Clients calling reset_0x69EBE4 not in sync is a major cause of desyncs,
this change tries to force sync across clients
2016-06-03 00:33:15 +02:00
Goddesen c004b986ae Moved new strings to uphold string ID order 2016-06-03 00:33:15 +02:00
Goddesen 5ee19db16b Added new cheat feature to changelog 2016-06-03 00:33:15 +02:00
Goddesen 0fdeb37053 Fixed space indentation 2016-06-03 00:33:15 +02:00
Goddesen 60fe00b088 Added Goddesen to contributors. 2016-06-03 00:33:15 +02:00
Goddesen 809e459495 Added cheat to disable plant aging 2016-06-03 00:33:15 +02:00