Commit Graph

32 Commits

Author SHA1 Message Date
Phillip Stephens 137e4c19a3 Remove amuse, and compile fixes 2023-10-22 09:21:20 -07:00
Luke Street 7b9f893a49 aurora: the boring C++ version 2022-02-16 00:21:24 -05:00
Phillip Stephens 9bae2f943e
Rename everything 2021-04-10 01:42:06 -07:00
Lioncash fa3e639a9d RuntimeCommon: Make use of bitfield initializers where applicable
Continues and finishes the migration towards initializing all bitfield
members where applicable
2020-04-21 17:16:19 -04:00
Luke Street 8e691d0f73 Runtime/Audio: Replace bitfield unions with constructor initializers 2020-04-10 15:02:55 -04:00
Lioncash 45dca4a25b CStreamAudioManager: Always initialize x74_oneshot
Provides deterministic consistent state when constructing the class.
2020-04-07 12:53:05 -04:00
Lioncash f17042ab77 CStreamAudioManager: Make use of std::array where applicable
Dehardcodes a lot of repeated array sizes.
2020-04-07 06:01:14 -04:00
Lioncash 67f6666ea1 Runtime: Add more usages of explicit
Prevents error-prone implicit conversions where applicable.

This targets the regular RuntimeCommon target this time around.
2020-03-31 03:53:49 -04:00
Lioncash f1256faeb7 Runtime: Remove unnecessary c_str() calls
Makes for less noisy code and also gets rid of unnecessary std::strlen
calls in the case things are passed to a std::string_view parameter.
2020-02-28 05:26:41 -05:00
Lioncash 1cb289f243 RuntimeCommon: Normalize cpp inclusions
Normalizes the headers for the cpp files in the RuntimeCommon target.
Now all headers and source files within the RuntimeCommon/RuntimeCommonB
targets are normalized and consistent with one another.
2020-01-15 09:15:47 -05:00
Lioncash 0d2b2f45a8 CStringExtras: Prevent potential out of bounds reads with CompareCaseInsensitive
The strcasecmp and _stricmp functions expect the passed in strings to
be null-terminated, however we we're also exposing a std::string_view
overload for that function. std::string_view instances aren't required
to be null-terminated, so this makes the interface a little unsafe.

We can use std::lexicographical_compare() to provide the same behavior
and also properly handle the case of non-null-terminated strings.
2019-09-14 16:43:04 -04:00
Lioncash 9312eef905 RuntimeCommon: Use override where applicable
Continues the override modernization by applying it to the main
RuntimeCommon target. Resolves around 1100+ cases where override can be
used.
2019-08-09 17:39:42 -04:00
Jack Andersen e218b8aeb5 CActorContraption fixes, better CMake dependency handling 2019-06-11 16:05:17 -10:00
Jack Andersen ad2681f857 Windows fixes 2019-01-28 22:28:35 -10:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen 67197621a1 Fix fixed position camera hint 2018-07-09 08:08:44 -10:00
Jack Andersen 357a7efa9a Various bug fixes 2018-06-01 20:06:40 -10:00
Jack Andersen 56a5cfd115 Fix TSan-reported race conditions 2018-06-01 14:03:31 -10:00
Jack Andersen 397d3b690c Use boo::ObjToken for referencing voices 2017-12-03 17:21:35 -10:00
Jack Andersen 31ccb48246 Buffer overrun bug fixes 2017-11-27 16:48:24 -10:00
Jack Andersen f60097b7e3 Implement CScriptSound and bug fixes 2017-11-26 19:06:53 -10:00
Jack Andersen f7ec7bdc0c string_view refactor 2017-11-12 20:19:18 -10:00
Jack Andersen 6a7fc0145f Bitstream fixes 2017-02-05 17:21:58 -10:00
Jack Andersen 62dc61bfb2 Keyboard/Mouse CFinalInput integration 2017-01-22 11:26:58 -10:00
Jack Andersen 0744a2307a Several architectural fixes and additions 2017-01-21 15:40:12 -10:00
Jack Andersen 04452ad919 Windows fixes 2017-01-20 14:21:35 -10:00
Jack Andersen b958182073 Work on CAudioSys, boo fixes 2017-01-19 17:53:32 -10:00
Jack Andersen d17557398f Fix race condition when switching DSP tracks 2017-01-18 16:29:49 -10:00
Jack Andersen 3cc93ffd75 DSP streaming bug fixes 2017-01-18 10:57:48 -10:00
Jack Andersen 56b24c39f0 Ensure directories are created late in extract 2017-01-16 15:23:19 -10:00
Jack Andersen d66d9a24f4 Integrate CStreamAudioManager globals 2017-01-15 23:14:54 -10:00
Jack Andersen 01c31b4fc5 Initial CStreamAudioManager implementation 2017-01-15 22:40:33 -10:00