Commit Graph
7836 Commits
Author SHA1 Message Date
OpenRCT2 git bot b511eb0a2e Merge Localisation/master into OpenRCT2/develop. 2016-06-09 04:00:18 +00:00
Michał Janiszewski 74780b3e70 Minor fixes to #3803 (#3843) 2016-06-08 23:40:56 +01:00
Ted John 504e5e0720 Merge pull request #3803 from IntelOrca/refactor/drawing
Refactor drawing and add initial infrastructure for OpenGL rendering.
2016-06-08 21:21:39 +01:00
Ted John 5a69e262d7 delete drawing engine if it fails to initialise 2016-06-08 18:14:26 +01:00
Ted John 601f8901e3 rename rain.cpp to Rain.cpp 2016-06-08 18:05:58 +01:00
Michał Janiszewski a92972eef6 Disable OpenGL for all platforms
OpenGL rendering is not yet ready, but the infrastructure is in place.
2016-06-08 18:02:18 +01:00
Michał Janiszewski 39472ce3f3 Update CMake targets with OpenGL linking (#17) 2016-06-08 13:28:33 +01:00
OpenRCT2 git bot 426e106111 Merge Localisation/master into OpenRCT2/develop. 2016-06-08 04:00:22 +00:00
LRFLEW 26a07333b2 Update Xcode Project (#18) 2016-06-07 22:47:31 +01:00
Ted John 40bd085f35 add OPENGL_NO_LINK ability for all platforms 2016-06-07 22:47:31 +01:00
Ted John 876336f455 fallback to software mode if engine fails to initialise 2016-06-07 22:47:31 +01:00
Ted John f14ea6873c dynamically import OpenGL functions 2016-06-07 22:47:31 +01:00
Ted John 79292b56ad allow disabling of OpenGL 2016-06-07 22:47:31 +01:00
Ted John 313110ab8d reinstate hardware display 2016-06-07 22:47:31 +01:00
Ted John 3b627651aa add drawing engine config 2016-06-07 22:47:31 +01:00
Ted John 0aba395c39 invalidate images on object load 2016-06-07 22:45:36 +01:00
Ted John ffd7b7f7e0 implement draw line for OpenGL 2016-06-07 22:45:36 +01:00
Ted John 18f3aa12a1 fix scrolling text 2016-06-07 22:45:36 +01:00
Ted John 5ca2b12f94 fix FillRect on OpenGL 2016-06-07 22:45:36 +01:00
Ted John 996202ac43 remove gScreenDPI 2016-06-07 22:45:36 +01:00
Ted John 932dec75d0 do not shift viewport pixels on OpenGL 2016-06-07 22:45:36 +01:00
Ted John a8fed0c4b8 remove more references to gScreenDPI 2016-06-07 22:45:36 +01:00
Ted John ebd9710fdf fix intro with new drawing 2016-06-07 22:45:36 +01:00
Ted John 83fc6ec4af remove usages of gScreenDPI and gWindowDPI 2016-06-07 22:45:36 +01:00
Ted John ccec48e382 do not draw windows twice on OpenGL 2016-06-07 22:45:36 +01:00
Ted John 8edc97bebe add support for OpenGL extensions 2016-06-07 22:45:36 +01:00
LRFLEW 3a7ab9b20a Updated Xcode Project (#15) 2016-06-07 22:45:36 +01:00
Ted John cf824a1859 remove unused functions 2016-06-07 22:45:36 +01:00
Ted John 8036f6c773 fix drawing of picked up peep 2016-06-07 22:45:36 +01:00
Ted John 8920c73ea4 add software / hardware rendering switch 2016-06-07 22:45:36 +01:00
Ted John aafaf0e883 try to improve zoom 2016-06-07 22:45:36 +01:00
Ted John f15a1e70f6 load textures and draw them 2016-06-07 22:45:36 +01:00
Ted John 8bff699659 draw OpenGL sprite rects 2016-06-07 22:45:36 +01:00
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
Goddesen bfd0a405ee Reformatted cheats misc. array to be consistent with other tabs 2016-06-04 22:05:30 +02:00