Skip to content

Commit

Permalink
Replaced FMOD with JPOG's version of FMOD (3.61)
Browse files Browse the repository at this point in the history
Fixed compile error
  • Loading branch information
AdventureT committed Dec 10, 2023
1 parent 5369f96 commit eafb8fc
Show file tree
Hide file tree
Showing 27 changed files with 1,593 additions and 13,808 deletions.
7 changes: 7 additions & 0 deletions OpenJPOG/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,24 @@ project ("OpenJPOG")
includedirs
{
"%{wks.location}/Toshi/Include",
"%{IncludeDir.fmod}"
}

defines
{
"TOSHI_USER_CLIENT"
}

libdirs
{
"%{LibDir.fmod}"
}

postbuildcommands
{
"{COPY} \"%{wks.location}bin/" .. outputdir .. "/TKernelInterface/TKernelInterface.dll\" \"%{wks.location}bin/" .. outputdir .. "/%{prj.name}\"",
"{COPY} \"%{wks.location}bin/" .. outputdir .. "/TApplication/TApplication.dll\" \"%{wks.location}bin/" .. outputdir .. "/%{prj.name}\"",
--"{COPY} \"%{wks.location}Toshi/vendor/fmod/fmod.dll\" \"%{wks.location}bin/" .. outputdir .. "/%{prj.name}\"",
}

filter "system:windows"
Expand Down
2 changes: 1 addition & 1 deletion Toshi/Source/TKernel/TLString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

TOSHI_NAMESPACE_USING

TFreeList TLocalisedString::m_oFreelist = TFreeList(sizeof(TLocalisedString), 0, 2000, (char*)"")
TFreeList TLocalisedString::m_oFreelist = TFreeList(sizeof(TLocalisedString), 0, 2000, (char*)"");
1,090 changes: 1,090 additions & 0 deletions Toshi/vendor/fmod/include/fmod.h

Large diffs are not rendered by default.

667 changes: 0 additions & 667 deletions Toshi/vendor/fmod/include/fmod/core/fmod.h

This file was deleted.

606 changes: 0 additions & 606 deletions Toshi/vendor/fmod/include/fmod/core/fmod.hpp

This file was deleted.

136 changes: 0 additions & 136 deletions Toshi/vendor/fmod/include/fmod/core/fmod_codec.h

This file was deleted.

Loading

0 comments on commit eafb8fc

Please sign in to comment.