UnknownShadow200
1c3d8fb72e
Simplify writing plugins in C++ slightly
2024-07-28 23:33:22 +10:00
UnknownShadow200
6dcc9ec7e3
Audio: Now pass chunks in QueueChunk too
2024-06-14 07:19:25 +10:00
UnknownShadow200
6694f05ac5
Switch: Simplify audio code a bit
2024-06-12 19:13:21 +10:00
UnknownShadow200
b98cb2fc74
Change messaging for required vs optional resources, support loading classicube.zip as fallback for sounds
2024-04-03 19:22:31 +11:00
UnknownShadow200
4ecffcedb0
More work on audio zip generation
2024-04-03 18:37:52 +11:00
UnknownShadow200
8bfe004d71
Audio: AllocChunks should return error code, and fix GameCube/Wii backend to compile again after merging audio changes branch
2024-03-26 20:20:58 +11:00
UnknownShadow200
17f0e51a07
Fix windowws audio backend
2024-03-26 07:38:32 +11:00
UnknownShadow200
b2fdf80be1
Try to simplify audio backend code a bit
2024-03-25 20:33:25 +11:00
UnknownShadow200
e22be93ab3
Refactor audio backends to allow explicitly setting volume
2024-03-25 19:46:27 +11:00
UnknownShadow200
b7d92bc8b9
Change saplings to not instantly grow when placed in singleplayer
...
Also change PSP to always load from PSP/GAME/ClassiCube folder on the memory stick
2024-03-21 17:13:52 +11:00
UnknownShadow200
1966c551e9
Simplify audio context init and change OpenAL backend to use AL_GAIN to adjust volume of sounds
2024-03-20 18:23:36 +11:00
UnknownShadow200
bb87a24464
Refactor Audio into frontend and backend files
2024-03-20 17:26:39 +11:00
UnknownShadow200
2e7c309e79
Tick audio from main game thread
2024-03-15 13:08:26 +11:00
UnknownShadow200
0efa11390e
Redesign audio chunk allocation for music
2024-01-20 08:52:56 +11:00
UnknownShadow200
c156484de2
Add audio backend function for allocating audio chunks
...
Also try to fix stick drift on 3DS (Thanks camthesaxman)
2024-01-19 18:33:55 +11:00
UnknownShadow200
2f989fca4f
Update copyright year to 2023
2023-07-17 22:56:16 +10:00
UnknownShadow200
ba6d8fd738
Make Makefile more standard and update copyright year
2022-10-20 19:15:35 +11:00
UnknownShadow200
483d489d99
Fix music/sounds not defaulting to 100 volume in misc options (Thanks lavacraft)
2021-10-09 09:38:44 +11:00
UnknownShadow200
97fcc429bf
WIP on adding speed/rate argument when playing sounds instead
2021-08-22 09:31:46 +10:00
UnknownShadow200
5a5504dae5
Support volume and add all sounds
2021-08-13 18:02:46 +10:00
UnknownShadow200
dc692eefaa
Add error messages for audio
2021-08-11 19:20:41 +10:00
UnknownShadow200
d43d931ed8
Move 'fast context detection' code into dedicated Audio_FastPlay
...
This only benefits OpenAL backend
2021-08-10 23:13:58 +10:00
UnknownShadow200
4b86422359
move sound playing code into Audio_PlaySound
2021-08-08 08:01:46 +10:00
UnknownShadow200
8c5864621d
Eliminate AudioFormat struct
2021-08-07 21:03:08 +10:00
UnknownShadow200
1ca0b4e636
Android: Pause music when in background, instead of muting
2021-07-31 11:52:55 +10:00
UnknownShadow200
50f2ec067c
Change API to single Audio_Poll instead which returns number of buffers in use
...
OpenAL backend still needs to be rewritten, OpenSLES backend isn't even tested
2021-07-29 23:11:56 +10:00
UnknownShadow200
b30995e14a
Remove Audio_Stop from API
2021-07-29 18:50:54 +10:00
UnknownShadow200
16ce6c7506
Audio_Close/Audio_Stop don't need to return anything
2021-07-23 11:00:27 +10:00
UnknownShadow200
a485f4c6af
Webclient: Start using placeholder text for mobile on-screen keyboard in a few places
...
Also bump copyright to 2021
2021-01-08 23:39:33 +11:00
UnknownShadow200
fa687f1e93
Get sounds to work for android, music still broken
...
Also change Audio_IsCompleted to Audio_IsAvailable to be clearer
2020-10-23 19:03:51 +11:00
UnknownShadow200
6fdcc930a1
Android: Finally get some audio output for OpenSL ES backend. Music doesn't work and sounds break after a few times, but at least it's something
2020-10-23 15:15:35 +11:00
UnknownShadow200
e100fb7476
Remove AudioHandle and use AudioContext struct directly instead
...
AudioHandle was rather fail, since it represented an index into a static array of 20 AudioContexts. As such, it was not thread safe, and imposed an arbitrary limit of how many audio contextx could be used
2020-10-23 14:54:21 +11:00
UnknownShadow200
7c22112aa3
considering that it is always half way through 2020, probably should update copyright year to 2020
2020-06-25 20:44:38 +10:00
UnknownShadow200
ada9caef3e
Fix MSVC project not compiling due to missing GameStructs.h, don't expose some private functions in .h files
2020-06-19 22:23:07 +10:00
UnknownShadow200
dc93f95a3f
Make fields of AudioFormat lowercase
2020-02-18 07:24:30 +11:00
UnknownShadow200
a2dfccc560
Drop support for 8 bit wav files that were never used anyways.
2020-02-16 09:04:23 +11:00
UnknownShadow200
7b1f08b06f
ReturnCode -> cc_result
2019-10-10 13:30:07 +11:00
UnknownShadow200
540bd993b2
bool -> cc_bool, for better compatibility with system headers that define bool type
2019-10-10 13:20:30 +11:00
UnknownShadow200
39cd47b2d3
use cc_uint8 instead of uint8_t so we can avoid stdint.h for gcc and clang
...
This fixes not compiling with mingw32 out of the box on windows (not mingw-w64, it works fine) due to WINVER being defined somewhere in the headers included by stdint.h. Even after that it would produce executables that wouldn't work properly unless DUNICODE was also added.
2019-08-25 19:36:45 +10:00
UnknownShadow200
93384fa327
Update copyright year in all .h files
2019-06-03 22:09:34 +10:00
UnknownShadow200
d92093dc9a
fix last commit
2019-03-27 20:40:12 +11:00
UnknownShadow200
819fe3f5cf
move native audio into Audio.c
2019-03-27 20:14:07 +11:00
UnknownShadow200
dc58379697
Move stuff out of Game.c and general cleanup
2018-12-13 21:51:42 +11:00
UnknownShadow200
7e63dea2cd
don't hardcode max number of components
2018-11-25 20:37:18 +11:00
UnknownShadow200
f9eea60daf
UInt8 -> uint8_t
2018-10-07 14:25:06 +11:00
UnknownShadow200
0aed43d82d
Use int instead of Int32 in most places
2018-10-07 10:28:56 +11:00
UnknownShadow200
84ae5b6205
simplify vorbis windowing
2018-08-23 18:17:18 +10:00
UnknownShadow200
17c686feab
recorganise directory structure of C client
2018-08-22 17:28:33 +10:00