1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00
Commit Graph

7905 Commits

Author SHA1 Message Date
Ted John
60cb84fd9d Handle nullptr for object when getting track designs 2017-01-05 18:19:20 +00:00
Ted John
e1ace9528d Use std::string for File and FileScanner 2017-01-05 18:19:01 +00:00
Ted John
11477c5869 Refactor more of TrackDesignRepository to std::string 2017-01-05 17:51:31 +00:00
Ted John
be035dcdb2 Refactor various methods to use std::string 2017-01-05 13:13:22 +00:00
Ted John
f201a8b43a Refactor TrackDesignRepository.cpp 2017-01-05 12:55:41 +00:00
Ted John
4fbecc2f60 Replace magic numbers with constant SPRITE_INDEX_NULL 2017-01-05 12:49:42 +00:00
Michael Steenbeek
2b35986746 Add and use constant for number of ride types 2017-01-05 09:19:22 +01:00
Michał Janiszewski
6684851115 Fix MinGW builds 2017-01-04 18:28:39 +00:00
Ted John
a2e3f10ca1 Update VS project files 2017-01-04 18:28:37 +00:00
Ted John
25bc798ff8 Move contents of src into project sub directory 2017-01-04 17:44:12 +00:00
Michał Janiszewski
02bcaabac2 Improve NO_TTF build 2017-01-04 13:51:49 +01:00
Michał Janiszewski
34b8c2034e Allow building without SDL2_ttf 2017-01-04 13:51:49 +01:00
Ted John
73d1c6a1f0 Merge pull request #4971 from IntelOrca/refactor/mixer
Refactor mixer
2017-01-04 12:16:14 +00:00
Ted John
dbe694f7c8 Remove all usages of Uint types 2017-01-03 20:39:15 +00:00
Ted John
5ee43a26ac Create buffer type to reduce duplicated code 2017-01-03 20:38:46 +00:00
Ted John
c549fe0fba Rename mixer to AudioMixer 2017-01-03 20:15:02 +00:00
Ted John
f23d3c4e1c Refactor callback code 2017-01-03 19:53:36 +00:00
Ted John
983c59c9ff Refactor resampling code 2017-01-03 19:47:38 +00:00
Ted John
cb592726d9 Fix convert buffer, wrong allocation size 2017-01-03 19:27:35 +00:00
Michael Steenbeek
7312d81e17 Add constants for max stations per ride (#4979) 2017-01-03 16:25:17 +01:00
Ted John
a277419855 Use appropriate integer types 2017-01-03 12:43:34 +00:00
Ted John
683fc90ea7 Add cmath include to fix MacOS build 2017-01-02 23:36:09 +00:00
Michał Janiszewski
2f7ee8460e Fix compilation with clang 2017-01-02 23:37:04 +01:00
Michał Janiszewski
e45301b104 Fix compilation with GCC 2017-01-02 23:36:56 +01:00
Ted John
fb37e57b96 Conform to naming conventions 2017-01-02 22:35:43 +00:00
Ted John
8b1590e248 Move AudioFormat to new header 2017-01-02 22:35:43 +00:00
Ted John
6ae1356af6 Move classes into their own source files 2017-01-02 22:35:43 +00:00
Ted John
1abafdc6a3 Rename audio sources 2017-01-02 22:35:43 +00:00
Ted John
ca7bbdfbcc Move Source to an interface 2017-01-02 22:35:43 +00:00
Ted John
6b2ad98a07 Move source implementations to mixer.cpp 2017-01-02 22:35:43 +00:00
Ted John
beb5fcb054 Extract resample code to new method 2017-01-02 22:35:43 +00:00
Ted John
cab4562950 Refactor resample code 2017-01-02 22:35:43 +00:00
Ted John
c70c80c8f4 Add underscores to class fields 2017-01-02 22:35:43 +00:00
Ted John
324dea94bc Make effect buffer lazy and dynamic 2017-01-02 22:35:43 +00:00
Ted John
7d16685d58 Re-use convert buffer 2017-01-02 22:35:43 +00:00
Ted John
2496c872d7 Refactor MixChannel more 2017-01-02 22:35:43 +00:00
Ted John
8c49bb8590 Move reading channel data to channel class 2017-01-02 22:35:43 +00:00
Ted John
46b4dbb4cb Make Channel an interface 2017-01-02 22:35:43 +00:00
Ted John
0d4531d10d Make Mixer an interface 2017-01-02 22:35:43 +00:00
Michał Janiszewski
a19b477c8e Fix compilation with ICC 2017-01-02 23:33:43 +01:00
Michał Janiszewski
8cb1460ca8 Fix undefined macro check in linux.c 2017-01-02 22:34:40 +01:00
Michał Janiszewski
cbef2c8a29 Constrain surfaceStyle value to valid range 2017-01-02 16:11:23 +00:00
Ted John
a091d39b1f Fix #4968: Completing a scenario does not save the name 2017-01-02 00:28:14 +00:00
Ted John
98a26d9dc1 Fix quick blank screen when loading title screen 2017-01-01 23:49:06 +00:00
Ted John
fa2f889bc2 Fix #4951: RCT1 Scenario Menu doesn't display completion 2017-01-01 23:31:24 +00:00
Ted John
84ddd12a3c Merge pull request #4963 from Gymnasiast/add-boosters
Re-add boosters
2017-01-01 21:31:33 +00:00
Gymnasiast
b6750c96c4 Change order of includes
[ci skip]
2017-01-01 22:22:20 +01:00
Gymnasiast
33c41456bf Move C header to 'extern C' block 2017-01-01 22:13:31 +01:00
Gymnasiast
2ef9078945 Put braces on separate line 2017-01-01 21:11:04 +01:00
Gymnasiast
fd046a592c Sort includes 2017-01-01 21:10:06 +01:00