Ted John
8b2eb8a13e
Move screen variables to OpenRCT2.h
2017-07-29 20:29:29 +01:00
Ted John
e6e503a853
Move path related functions to Context.cpp
...
- rct2_init_directories
- get_file_path
2017-07-29 20:29:26 +01:00
rwjuk
2fb1e40f1a
Guard against nullptr in AudioMixer.cpp
2017-07-05 09:32:50 +02:00
Ted John
47e6f1d139
Rename our version of SDL_MIX_MAXVOLUME to MIXER_VOLUME_MAX
...
Keep an assert to make sure its the same as SDL in the mixer. If SDL changes it, we can either change ours or convert the number proportionally.
2017-06-10 17:14:07 +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
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
ee9aa55083
Fix more warnings
2017-05-29 22:38:45 +02:00
Michał Janiszewski
e670a386ba
Add cmath include to AudioMixer for std::pow
2017-05-29 22:38:44 +02:00
Ted John
0440c3deea
Clean up audio.cpp
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
f736e8ff96
Move more platform code to UiContext
2017-05-29 22:38:42 +02:00
Ted John
fb2c835d52
Include new config header
2017-02-18 15:45:10 +00:00
Broxzier
60603ae10a
Use types from common.h
2017-01-14 12:37:31 +01:00
Michał Janiszewski
0a36af19e4
Mark classes as final to help devirtualisation
2017-01-13 12:12:50 +01:00
Ted John
25bc798ff8
Move contents of src into project sub directory
2017-01-04 17:44:12 +00:00