Chris Robinson
66565ca7a3
Enable and fix some more warnings
2019-09-18 10:09:04 -07:00
Chris Robinson
da80a7c2b2
Disable warnings 4268 and 4324 on MSVC
...
warning C4268: 'const' static/global data initialized with compiler generated
default constructor fills the object with zeros
warning C4324: structure was padded due to alignment specifier
2019-09-18 09:31:32 -07:00
Chris Robinson
ab87e56b22
Enable some more MSVC warnings
2019-09-18 09:01:46 -07:00
Chris Robinson
dffb874478
Some cleanup for CMakeLists.txt
2019-09-18 08:58:36 -07:00
Chris Robinson
62972babea
Remove unnecessary long long checks
2019-09-16 18:10:01 -07:00
Chris Robinson
6398bd8373
Add preprocessor defines for the common lib
2019-09-16 15:57:05 -07:00
Chris Robinson
b00128411f
Add a missing include directory for the common lib
2019-09-16 15:45:20 -07:00
Chris Robinson
899a414591
Remove the last uses of the system's str[n]casecmp
2019-09-16 15:10:36 -07:00
Chris Robinson
6d93b2ba81
Use our case-insensitive compare functions in makemhr
2019-09-16 14:55:52 -07:00
Chris Robinson
7a9463f863
Make the common code a separate static library
2019-09-16 14:46:41 -07:00
Chris Robinson
2c5c5a5397
Add and use custom string types and functions
2019-09-16 13:45:14 -07:00
Chris Robinson
b43cd047ba
Build with -Wunused
2019-09-14 18:54:16 -07:00
Chris Robinson
807d3b64ca
Enable and fix more warnings
2019-09-14 18:35:23 -07:00
Chris Robinson
4e8caea97e
Enable -Wconversion warnings
...
This is now clean with Clang 7, let's see what other compilers give.
2019-09-14 12:50:44 -07:00
Chris Robinson
474d478854
Only pass -Wold-style-cast for C++
2019-09-11 15:55:37 -07:00
Chris Robinson
be0442c620
Avoid C-style casts in C++
2019-09-11 06:47:56 -07:00
Chris Robinson
38a565bdf8
Move UID definitions to a separate source
2019-08-12 14:56:17 -07:00
Chris Robinson
1aaf65abfe
Add methods to get env vars as an optional
2019-08-12 03:59:52 -07:00
Chris Robinson
f290bf2751
Move vector.h to common
2019-08-11 20:54:21 -07:00
Chris Robinson
e200569cd3
Move the wstr converters to a separate header
2019-08-11 18:50:07 -07:00
Chris Robinson
70058a8a84
Move the dynload decls and defs to common
2019-08-10 21:54:30 -07:00
Chris Robinson
e286ec8d09
Move some declarations out of alcmain.h
2019-08-05 15:03:18 -07:00
Chris Robinson
65f7fc610e
Add a common base for auto-deleting ref-counted objects
...
Which will also work as the basis for a future intrusive_ptr
2019-08-01 13:43:32 -07:00
Chris Robinson
f286c3fa38
Move another function to a ALCcontext method
2019-07-30 21:32:05 -07:00
Chris Robinson
4c9e18c5a0
Rename al/* sources to avoid camel-case
2019-07-29 17:54:07 -07:00
Chris Robinson
76d87330ec
Move the event declarations to a separate header
2019-07-29 15:58:26 -07:00
Chris Robinson
0a26bab14e
Rename the OpenAL32 directory to al
2019-07-29 15:40:17 -07:00
Chris Robinson
8ccb7604d3
Remove some unnecessary cmake checks
2019-07-29 13:46:25 -07:00
Chris Robinson
83432a7e5c
Move some headers out of the Include subdirectory
2019-07-28 19:09:07 -07:00
Chris Robinson
cb3e96e756
Rename Alc to alc
2019-07-28 18:56:04 -07:00
Chris Robinson
93e60919c8
Rename alMain.h to alcmain.h
...
And move it and alu.h to Alc/.
2019-07-28 18:33:29 -07:00
Chris Robinson
bb0062625f
Move the ADPCM decoders to alBuffer.cpp
2019-07-28 17:22:00 -07:00
Chris Robinson
c8bbd75bf9
Remove a couple more cmake checks
2019-07-28 15:37:12 -07:00
Chris Robinson
12e179d539
Remove some unnecessary header checks
2019-07-28 15:22:58 -07:00
Chris Robinson
659b6d4245
Use more proper cmake to set the C/C++ standard version
2019-07-27 18:58:19 -07:00
Chris Robinson
7cfb353334
Don't explicitly check for standard functions
2019-07-26 14:02:14 -07:00
Chris Robinson
99b55bc230
Add the Windows SDK for the winmm library path
2019-07-10 20:06:50 -07:00
Chris Robinson
e2f2b74d6a
Get rid of the custom CHECK_SHARED_FUNCTION_EXISTS function
2019-07-10 19:32:26 -07:00
Chris Robinson
ac28b7d0f2
Use a find module for OpenSL
2019-07-10 18:54:43 -07:00
Lopuska
4a33bbb14d
vocal morpher implementation ( #312 )
...
* vocal morpher implementation
* compile fix for GCC
2019-07-09 22:14:31 -07:00
Philip Muzzall
7affe3d78d
Added rc scripts for dll ( #306 )
...
* Added rc scripts for dll
* Reverted numbering scheme in CMakeLists
2019-06-30 22:01:04 -07:00
Chris Robinson
689f70ce6d
Add a simple optional<> implementation
2019-06-30 16:40:08 -07:00
Chris Robinson
7537bb3492
Don't warn about standard functions with MSVC
2019-06-06 15:57:15 -07:00
Chris Robinson
56faf66887
Disable MSVC warning 4200 again
2019-06-06 03:32:28 -07:00
Chris Robinson
a7be531049
Remove the unused ALIGN macro
2019-06-06 00:24:13 -07:00
Chris Robinson
d9d9e70ed8
Don't disable some MSVC warnings
2019-06-06 00:18:25 -07:00
Chris Robinson
8c4a9a5a32
Properly search for prebuilt native-tools
2019-06-01 11:21:43 -07:00
Chris Robinson
1945b50834
Add a unique byte type for dealing with raw bytes
2019-05-24 06:11:21 -07:00
Chris Robinson
a4af617532
Add a span class to act as a view to contiguous data
2019-05-23 08:15:02 -07:00
Chris Robinson
5ff8d5ae32
Add an exception class to cover backend creation and opening
2019-05-04 18:03:25 -07:00