1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
Ted John
7a86fc2cb5 Link back shortcut functions
Some of this will be temporary until input and windows move over to libopenrct2ui.
2017-06-11 17:23:52 +01:00
Ted John
cbd53f920c Create IWindowManager to open window from libopenrct2 2017-06-11 17:23:51 +01:00
Ted John
0d8f9d6618 Refactor IPlatformEnvironment (#5590) 2017-06-11 12:53:37 +01:00
Ted John
41989da732 Fix #4959: Compiler warning: tmpnam
Load download parks directly from memory without writing to a temporary file.
2017-06-07 21:22:01 +01:00
Michał Janiszewski
61d38511bc Expand tabs to spaces
This commit expands tabs to spaces (ts=4) in all the files under src/
and test/.

Until now we had two wildly different code styles with C using tabs and
new C++ using spaces. It is painful to maintain as none of the commonly
used tools support this kind of setup and in reality is needless, as we
can simply convert all the sources to spaces and have opened PRs do the
same, where needed.

Additionally, trailing whitespace has been removed.
2017-06-06 23:46:14 +02:00
Ted John
8bb15a70de Refactor chat / server stream logging 2017-06-06 23:08:01 +02:00
Ted John
2f053800ba Add verbose logging of base paths 2017-06-06 17:02:45 +01:00
Leurak
babfa1e281 Add command line option for listen address 2017-06-04 00:42:13 +01:00
Ted John
94e982289e Fix openrct2-cli build
By using a dummy audio context, we can now make openrct2-cli start a headless instance without any SDL2 calls. SDL2 is still a dependency until we remove out the input code to openrct2-ui.
2017-06-04 00:18:26 +01:00
Ted John
af91b9f4b4 Fix #5521: Infinite loop on first run if neither Zenity nor kdialog are installed (#5526) 2017-06-03 22:13:20 +01:00
Michał Janiszewski
79d76759bb Fix #5516: Update copyrights for 2017
Not all files were necessarily _changed_, but all were touched, see
https://github.com/OpenRCT2/OpenRCT2/pull/4932
2017-06-01 21:55:10 +02:00
Ted John
f1a8b32db4 Prevent SDL_INIT when the game does not need to launch 2017-05-29 22:38:45 +02:00
Michał Janiszewski
423028dac9 Fix some warnings with clang and GCC 2017-05-29 22:38:44 +02:00
Ted John
fc19b57c09 Fix build after rebase 2017-05-29 22:38:44 +02:00
Ted John
08ae74293d Remove a few more SDL calls from core library 2017-05-29 22:38:44 +02:00
Ted John
cf0dcb4753 Refactor file / directory dialogs to UiContext 2017-05-29 22:38:43 +02:00
Ted John
3fcd42fe2b Move more window code to UiContext 2017-05-29 22:38:43 +02:00
Ted John
d206d181f2 Move audio code to UI project 2017-05-29 22:38:43 +02:00
Ted John
bd9839ff50 Get the game working
Mostly just needed to resolve screen size which is now retrieved via ui context.
2017-05-29 22:38:43 +02:00
Ted John
7163973bd2 Start moving code from OpenRCT2 to Context 2017-05-29 22:38:42 +02:00
Ted John
9d24e47e6f Fix build 2017-05-29 22:38:42 +02:00
Ted John
f736e8ff96 Move more platform code to UiContext 2017-05-29 22:38:42 +02:00
Ted John
5885cb646f Start moving window logic to UI project 2017-05-29 22:38:42 +02:00
Ted John
10182879da Invert Context and UiContext dependencies 2017-05-29 22:38:42 +02:00
Ted John
fedb8917c7 Create new CMake project for libopenrct2 2017-05-29 22:38:42 +02:00
Ted John
006a76c099 Refactor registration of drawing engines 2017-05-29 22:38:42 +02:00
Ted John
bf3749833d Allow drawing engine registration via context interfaces 2017-05-29 22:38:42 +02:00