Commit graph

5686 commits

Author SHA1 Message Date
UnknownShadow200
7055bd1fa3 Move Audio_SetFormat into backend, fix backends not working at all 2021-08-10 23:31:26 +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
29f023f8c1 simplify interop_web.js by using __deps
This way can just call functions directly instead of having to use a separate wrapper function declare a function property of Module
2021-08-10 18:05:53 +10:00
UnknownShadow200
2cc65bf627
Merge pull request #880 from UnknownShadow200/AudioFixup2
Audio fixup part 2
2021-08-10 07:09:52 +10:00
UnknownShadow200
39f5e9a229 #defome is not a valid token 2021-08-09 19:54:59 +10:00
UnknownShadow200
94415a57c6 Fix OpenAL backend not compiling 2021-08-09 18:01:45 +10:00
UnknownShadow200
bf2d34dc34 Simplify sound context code, split up CC_BUILD_NOAUDIO into CC_BUILD_NOSOUND/NOMUSIC 2021-08-08 17:12:12 +10:00
UnknownShadow200
faf01b1eea avoid removing then readding audio folder from paths 2021-08-08 14:00:01 +10:00
UnknownShadow200
d9662de0a8 simplify Sounds code to avoid global StringsBuffer 2021-08-08 13:09:02 +10:00
UnknownShadow200
233d8cb53c Move code out of Audio and into Music/Sounds 2021-08-08 12:55:10 +10:00
UnknownShadow200
75fb77f702 Separate out music files retrieving 2021-08-08 11:07:53 +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
4bd2e4f49f Backend -> AudioBackend/HttpBackend 2021-08-07 16:30:34 +10:00
UnknownShadow200
c9e1c9159e Add +names/-names to MOTD (thanks Venk) 2021-08-07 12:32:16 +10:00
UnknownShadow200
1ca308f23d Fix /cuboid [block] yes not persisting (Thanks Goodly) 2021-08-07 12:03:01 +10:00
UnknownShadow200
63316d405a per menu titles, remove yellow from classicube title 2021-08-06 22:10:51 +10:00
UnknownShadow200
60c123b37f Fix 2021-08-06 20:38:59 +10:00
UnknownShadow200
ee096caa54
Merge pull request #879 from UnknownShadow200/Themes
Add very basic themes to launcher
2021-08-06 20:27:35 +10:00
UnknownShadow200
cd367d8e97 Improve classic theme, add border for checkbox 2021-08-06 20:06:10 +10:00
UnknownShadow200
4fbd5005f4 Add checkbox widget 2021-08-06 19:48:51 +10:00
UnknownShadow200
c2d84dcdb5 Add themes list menu 2021-08-06 18:39:59 +10:00
UnknownShadow200
0573eaedd4 WIP classic theme 2021-08-06 18:18:12 +10:00
UnknownShadow200
4ef86dfa13 Move skin related variables into LauncherTheme struct 2021-08-06 17:32:21 +10:00
UnknownShadow200
579027fda2 Fix crash playing music on Windows (thanks ThatGuyJerry) 2021-08-06 10:03:57 +10:00
UnknownShadow200
919045f7ce Fix issues when running game through libTAS
1. Window always thought it didn't have input focus, so was stuck in menu
2. Crashed whenever a key was pressed
2021-08-04 23:04:24 +10:00
UnknownShadow200
b62a315a8b Fix input overlay not being closed when source button is disabled (Thanks Me_) 2021-08-03 19:03:02 +10:00
UnknownShadow200
76e5c2b899
Merge pull request #877 from UnknownShadow200/AudioFixup1
Audio rewrite
2021-07-31 17:59:08 +10:00
UnknownShadow200
1ca0b4e636 Android: Pause music when in background, instead of muting 2021-07-31 11:52:55 +10:00
UnknownShadow200
0b08bf77bd Fix OpenAL backend 2021-07-30 07:11:28 +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
16cf787236 Don't recreate OpenAL source if possible 2021-07-29 19:05:57 +10:00
UnknownShadow200
b30995e14a Remove Audio_Stop from API 2021-07-29 18:50:54 +10:00
UnknownShadow200
907ddd90cd Tidy up readme, add TCC WIP compile instructions 2021-07-24 13:51:30 +10:00
UnknownShadow200
5aaefd4510 fix not compiling with TCC, avoid shellapi.h 2021-07-24 12:21:04 +10:00
UnknownShadow200
bb9d8fb29f Avoid including Windows headers for WinINet backend 2021-07-24 10:09:30 +10:00
UnknownShadow200
04f9fd932a Avoid including windows headers for WinMM backend 2021-07-23 21:17:56 +10:00
UnknownShadow200
16ce6c7506 Audio_Close/Audio_Stop don't need to return anything 2021-07-23 11:00:27 +10:00
UnknownShadow200
7c16d1e584 Release 1.2.7 2021-07-22 11:41:14 +10:00
UnknownShadow200
672e0ce0e7 Make Vec3_Normalise handle 0 vectors 2021-07-22 08:50:10 +10:00
UnknownShadow200
c2fc17f0de tidy up OpenGL backend compatibility code, make the OpenGL 1.1 slightly more unified behaviour 2021-07-21 11:50:21 +10:00
UnknownShadow200
2dab8f427e Make OpenGL 1.5/1.2+VBO backend almost work with 1.1 too, just slower 2021-07-20 08:59:26 +10:00
UnknownShadow200
b9168ee255
Merge pull request #869 from UnknownShadow200/WindowSplit
Split up Window.c into its individual backends
2021-07-17 07:03:26 +10:00
UnknownShadow200
78cc5b708c don't forget to update VS project 2021-07-16 23:08:52 +10:00
UnknownShadow200
f7ffad8ee3 Compilation fixes 2021-07-16 11:43:19 +10:00
UnknownShadow200
d8bee2e32c Split up mac window implementations too 2021-07-16 08:29:30 +10:00
UnknownShadow200
df6cc32cdf Split up Window.c into separate backends, except for mac 2021-07-16 07:57:17 +10:00
UnknownShadow200
bf64700292 Move common part of Window.c into _WindowBase.h 2021-07-16 07:25:25 +10:00
UnknownShadow200
3a33e94a94 Use NSPasteboard for clipboard in Cocoa 2021-07-15 22:49:44 +10:00
UnknownShadow200
5a4e5d6fa0 more col->colors, less warnings compiling Cocoa backend 2021-07-15 19:36:36 +10:00