* Switched to FMOD for html5 (Dan blazed the trail here... surprised it works!)
* Removed most of the mp3 files, but kept blank and 3.mp3 (that's the title menu song) git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1613 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
parent
880e0ec2f3
commit
63a9cfd094
73 changed files with 8 additions and 10 deletions
BIN
bin/dink_html5/midi/TimGM6mbTiny.dls
Normal file
BIN
bin/dink_html5/midi/TimGM6mbTiny.dls
Normal file
Binary file not shown.
BIN
bin/dink_html5/sound/1.mid
Normal file
BIN
bin/dink_html5/sound/1.mid
Normal file
Binary file not shown.
BIN
bin/dink_html5/sound/10.mid
Normal file
BIN
bin/dink_html5/sound/10.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/100.mid
Normal file
BIN
bin/dink_html5/sound/100.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/1003.mid
Normal file
BIN
bin/dink_html5/sound/1003.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/101.mid
Normal file
BIN
bin/dink_html5/sound/101.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/102.mid
Normal file
BIN
bin/dink_html5/sound/102.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/103.mid
Normal file
BIN
bin/dink_html5/sound/103.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/104.mid
Normal file
BIN
bin/dink_html5/sound/104.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/105.mid
Normal file
BIN
bin/dink_html5/sound/105.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/106.mid
Normal file
BIN
bin/dink_html5/sound/106.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/107.mid
Normal file
BIN
bin/dink_html5/sound/107.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/11.mid
Normal file
BIN
bin/dink_html5/sound/11.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/12.mid
Normal file
BIN
bin/dink_html5/sound/12.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/13.mid
Normal file
BIN
bin/dink_html5/sound/13.mid
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/16.mid
Normal file
BIN
bin/dink_html5/sound/16.mid
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/18.mid
Normal file
BIN
bin/dink_html5/sound/18.mid
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/2.mid
Normal file
BIN
bin/dink_html5/sound/2.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/4.mid
Normal file
BIN
bin/dink_html5/sound/4.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/5.mid
Normal file
BIN
bin/dink_html5/sound/5.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/6.mid
Normal file
BIN
bin/dink_html5/sound/6.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/7.mid
Normal file
BIN
bin/dink_html5/sound/7.mid
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/9.mid
Normal file
BIN
bin/dink_html5/sound/9.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/battle.mid
Normal file
BIN
bin/dink_html5/sound/battle.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/bullythe.mid
Normal file
BIN
bin/dink_html5/sound/bullythe.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/caveexpl.mid
Normal file
BIN
bin/dink_html5/sound/caveexpl.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/dance.mid
Normal file
BIN
bin/dink_html5/sound/dance.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/denube.mid
Normal file
BIN
bin/dink_html5/sound/denube.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/insper.mid
Normal file
BIN
bin/dink_html5/sound/insper.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/lively.mid
Normal file
BIN
bin/dink_html5/sound/lively.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/love.mid
Normal file
BIN
bin/dink_html5/sound/love.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/lovin.mid
Normal file
BIN
bin/dink_html5/sound/lovin.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/neighbor.mid
Normal file
BIN
bin/dink_html5/sound/neighbor.mid
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/dink_html5/sound/wanderer.mid
Normal file
BIN
bin/dink_html5/sound/wanderer.mid
Normal file
Binary file not shown.
Binary file not shown.
|
@ -71,7 +71,7 @@ set SRC= %SHARED%\PlatformSetup.cpp %SHARED%\html5\HTML5Main.cpp %SHARED%\html5
|
||||||
%SHARED%\util\CRandom.cpp %SHARED%\util\GLESUtils.cpp %SHARED%\util\MathUtils.cpp %SHARED%\util\MiscUtils.cpp %SHARED%\util\RenderUtils.cpp %SHARED%\util\ResourceUtils.cpp ^
|
%SHARED%\util\CRandom.cpp %SHARED%\util\GLESUtils.cpp %SHARED%\util\MathUtils.cpp %SHARED%\util\MiscUtils.cpp %SHARED%\util\RenderUtils.cpp %SHARED%\util\ResourceUtils.cpp ^
|
||||||
%SHARED%\util\Variant.cpp %SHARED%\util\boost\libs\signals\src\connection.cpp %SHARED%\util\boost\libs\signals\src\named_slot_map.cpp %SHARED%\util\boost\libs\signals\src\signal_base.cpp ^
|
%SHARED%\util\Variant.cpp %SHARED%\util\boost\libs\signals\src\connection.cpp %SHARED%\util\boost\libs\signals\src\named_slot_map.cpp %SHARED%\util\boost\libs\signals\src\signal_base.cpp ^
|
||||||
%SHARED%\util\boost\libs\signals\src\slot.cpp %SHARED%\util\boost\libs\signals\src\trackable.cpp %SHARED%\BaseApp.cpp %SHARED%\util\TextScanner.cpp %SHARED%\Entity\EntityUtils.cpp ^
|
%SHARED%\util\boost\libs\signals\src\slot.cpp %SHARED%\util\boost\libs\signals\src\trackable.cpp %SHARED%\BaseApp.cpp %SHARED%\util\TextScanner.cpp %SHARED%\Entity\EntityUtils.cpp ^
|
||||||
%SHARED%\Network\NetSocket.cpp %SHARED%\Network\NetUtils.cpp %SHARED%\Audio\AudioManagerSDL.cpp %SHARED%\FileSystem\StreamingInstance.cpp %SHARED%\FileSystem\FileSystem.cpp ^
|
%SHARED%\Network\NetSocket.cpp %SHARED%\Network\NetUtils.cpp %SHARED%\Audio\AudioManagerFMODStudio.cpp %SHARED%\FileSystem\StreamingInstance.cpp %SHARED%\FileSystem\FileSystem.cpp ^
|
||||||
%SHARED%\FileSystem\StreamingInstanceZip.cpp %SHARED%\FileSystem\StreamingInstanceFile.cpp %SHARED%\FileSystem\FileSystemZip.cpp %SHARED%\util\unzip\unzip.c %SHARED%\util\unzip\ioapi.c %SHARED%\util\PrimeSearch.cpp ^
|
%SHARED%\FileSystem\StreamingInstanceZip.cpp %SHARED%\FileSystem\StreamingInstanceFile.cpp %SHARED%\FileSystem\FileSystemZip.cpp %SHARED%\util\unzip\unzip.c %SHARED%\util\unzip\ioapi.c %SHARED%\util\PrimeSearch.cpp ^
|
||||||
%SHARED%\Manager\AdManager.cpp %SHARED%/Renderer/JPGSurfaceLoader.cpp %SHARED%\util\archive\TarHandler.cpp %SHARED%\Gamepad\GamepadManager.cpp ^
|
%SHARED%\Manager\AdManager.cpp %SHARED%/Renderer/JPGSurfaceLoader.cpp %SHARED%\util\archive\TarHandler.cpp %SHARED%\Gamepad\GamepadManager.cpp ^
|
||||||
%SHARED%\Gamepad\GamepadProvideriCade.cpp %SHARED%\Gamepad\Gamepad.cpp %SHARED%\Gamepad\GamepadProvider.cpp %SHARED%\util\bzip2\blocksort.c ^
|
%SHARED%\Gamepad\GamepadProvideriCade.cpp %SHARED%\Gamepad\Gamepad.cpp %SHARED%\Gamepad\GamepadProvider.cpp %SHARED%\util\bzip2\blocksort.c ^
|
||||||
|
@ -136,7 +136,7 @@ SET CUSTOM_FLAGS=%CUSTOM_FLAGS% -D_DEBUG -s GL_UNSAFE_OPTS=0 -s WARN_ON_UNDEFINE
|
||||||
)
|
)
|
||||||
|
|
||||||
SET INCLUDE_DIRS=-I%SHARED% -I%APP% -I../../shared/util/boost -I../../shared/ClanLib-2.0/Sources -I../../shared/Network/enet/include ^
|
SET INCLUDE_DIRS=-I%SHARED% -I%APP% -I../../shared/util/boost -I../../shared/ClanLib-2.0/Sources -I../../shared/Network/enet/include ^
|
||||||
-I%ZLIBPATH%
|
-I%ZLIBPATH% -I../../shared/html5
|
||||||
|
|
||||||
:compile some libs into a separate thing, otherwise our list of files is too long and breaks stuff
|
:compile some libs into a separate thing, otherwise our list of files is too long and breaks stuff
|
||||||
|
|
||||||
|
@ -151,9 +151,10 @@ del temp.bc
|
||||||
call emcc %CUSTOM_FLAGS% %INCLUDE_DIRS% ^
|
call emcc %CUSTOM_FLAGS% %INCLUDE_DIRS% ^
|
||||||
%ZLIB_SRC% %JPG_SRC% %PARTICLE_SRC% -o temp.bc
|
%ZLIB_SRC% %JPG_SRC% %PARTICLE_SRC% -o temp.bc
|
||||||
|
|
||||||
|
:../../shared/html5/fmodstudio/api/studio/lib/fmodstudio.bc
|
||||||
call emcc %CUSTOM_FLAGS% %INCLUDE_DIRS% ^
|
call emcc %CUSTOM_FLAGS% %INCLUDE_DIRS% ^
|
||||||
%APP_SRC% %SRC% %COMPONENT_SRC% temp.bc ^
|
%APP_SRC% %SRC% %COMPONENT_SRC% temp.bc ../../shared/html5/fmodstudio/api/lowlevel/lib/fmod.bc --exclude-file .svn ^
|
||||||
--preload-file ../bin/interface@interface/ --preload-file ../bin/audio@audio/ --preload-file ../bin/dink_html5_uncompressed@dink/ --js-library %SHARED%\html5\SharedJSLIB.js -o %APP_NAME%.%FINAL_EXTENSION%
|
--preload-file ../bin/interface@interface/ --preload-file ../bin/audio@audio/ --preload-file ../bin/dink_html5@dink/ --js-library %SHARED%\html5\SharedJSLIB.js -o %APP_NAME%.%FINAL_EXTENSION%
|
||||||
|
|
||||||
REM Make sure the file compiled ok
|
REM Make sure the file compiled ok
|
||||||
if not exist %APP_NAME%.js beeper.exe /p
|
if not exist %APP_NAME%.js beeper.exe /p
|
||||||
|
|
|
@ -102,9 +102,9 @@ GamepadManager * GetGamepadManager() {return &g_gamepadManager;}
|
||||||
//AudioManager g_audioManager; //to disable sound
|
//AudioManager g_audioManager; //to disable sound
|
||||||
AudioManagerBBX g_audioManager;
|
AudioManagerBBX g_audioManager;
|
||||||
#elif defined PLATFORM_HTML5
|
#elif defined PLATFORM_HTML5
|
||||||
#include "Audio/AudioManagerSDL.h"
|
#include "Audio/AudioManagerFMODStudio.h"
|
||||||
//AudioManager g_audioManager; //to disable sound
|
//AudioManager g_audioManager; //to disable sound
|
||||||
AudioManagerSDL g_audioManager;
|
AudioManagerFMOD g_audioManager;
|
||||||
|
|
||||||
#elif defined PLATFORM_FLASH
|
#elif defined PLATFORM_FLASH
|
||||||
//AudioManager g_audioManager; //to disable sound
|
//AudioManager g_audioManager; //to disable sound
|
||||||
|
@ -581,15 +581,12 @@ bool App::Init()
|
||||||
//preload audio
|
//preload audio
|
||||||
|
|
||||||
|
|
||||||
if (GetEmulatedPlatformID() == PLATFORM_ID_IOS)
|
if (GetEmulatedPlatformID() == PLATFORM_ID_IOS || GetEmulatedPlatformID() == PLATFORM_ID_HTML5 )
|
||||||
{
|
{
|
||||||
//use our own DLS, as iPhone/iPad don't have any midi system
|
//use our own DLS, as iPhone/iPad don't have any midi system
|
||||||
g_audioManager.SetDLS("dink/midi/TimGM6mbTiny.dls");
|
g_audioManager.SetDLS("dink/midi/TimGM6mbTiny.dls");
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
|
||||||
|
|
||||||
#endif
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
//temporary while I make movies
|
//temporary while I make movies
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue