changed to new dll naming scheme
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1784 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
f7427fe167
commit
1b0bdfe7de
16 changed files with 39 additions and 48 deletions
|
@ -171,9 +171,9 @@ private:
|
|||
static this()
|
||||
{
|
||||
debug
|
||||
DllLoader dll = DllLoader.load("csfml-audio-d");
|
||||
DllLoader dll = DllLoader.load("csfml-audio-d-2");
|
||||
else
|
||||
DllLoader dll = DllLoader.load("csfml-audio");
|
||||
DllLoader dll = DllLoader.load("csfml-audio-2");
|
||||
|
||||
sfListener_SetGlobalVolume = cast(pf_sfListener_SetGlobalVolume)dll.getSymbol("sfListener_SetGlobalVolume");
|
||||
sfListener_GetGlobalVolume = cast(pf_sfListener_GetGlobalVolume)dll.getSymbol("sfListener_GetGlobalVolume");
|
||||
|
|
|
@ -171,9 +171,9 @@ uint function(SFMLClass) sfMusic_GetSampleRate;
|
|||
static this()
|
||||
{
|
||||
debug
|
||||
DllLoader dll = DllLoader.load("csfml-audio-d");
|
||||
DllLoader dll = DllLoader.load("csfml-audio-d-2");
|
||||
else
|
||||
DllLoader dll = DllLoader.load("csfml-audio");
|
||||
DllLoader dll = DllLoader.load("csfml-audio-2");
|
||||
|
||||
mixin(loadFromSharedLib("sfMusic_CreateFromFile"));
|
||||
mixin(loadFromSharedLib("sfMusic_CreateFromMemory"));
|
||||
|
|
|
@ -207,9 +207,9 @@ private:
|
|||
static this()
|
||||
{
|
||||
debug
|
||||
DllLoader dll = DllLoader.load("csfml-audio-d");
|
||||
DllLoader dll = DllLoader.load("csfml-audio-d-2");
|
||||
else
|
||||
DllLoader dll = DllLoader.load("csfml-audio");
|
||||
DllLoader dll = DllLoader.load("csfml-audio-2");
|
||||
|
||||
sfSound_Play = cast(pf_sfSound_Play)dll.getSymbol("sfSound_Play");
|
||||
sfSound_Pause = cast(pf_sfSound_Pause)dll.getSymbol("sfSound_Pause");
|
||||
|
|
|
@ -97,9 +97,9 @@ private:
|
|||
static this()
|
||||
{
|
||||
debug
|
||||
DllLoader dll = DllLoader.load("csfml-audio-d");
|
||||
DllLoader dll = DllLoader.load("csfml-audio-d-2");
|
||||
else
|
||||
DllLoader dll = DllLoader.load("csfml-audio");
|
||||
DllLoader dll = DllLoader.load("csfml-audio-2");
|
||||
|
||||
sfSoundBufferRecorder_Create = cast(pf_sfSoundBufferRecorder_Create)dll.getSymbol("sfSoundBufferRecorder_Create");
|
||||
sfSoundBufferRecorder_Destroy = cast(pf_sfSoundBufferRecorder_Destroy)dll.getSymbol("sfSoundBufferRecorder_Destroy");
|
||||
|
|
|
@ -365,9 +365,9 @@ private:
|
|||
static this()
|
||||
{
|
||||
debug
|
||||
DllLoader dll = DllLoader.load("csfml-audio-d");
|
||||
DllLoader dll = DllLoader.load("csfml-audio-d-2");
|
||||
else
|
||||
DllLoader dll = DllLoader.load("csfml-audio");
|
||||
DllLoader dll = DllLoader.load("csfml-audio-2");
|
||||
|
||||
sfSoundStream_Create = cast(pf_sfSoundStream_Create)dll.getSymbol("sfSoundStream_Create");
|
||||
sfSoundStream_Destroy = cast(pf_sfSoundStream_Destroy)dll.getSymbol("sfSoundStream_Destroy");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue