Skip to content

Commit

Permalink
[LCS-117] Import Wwise
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos2380 committed Mar 3, 2018
1 parent 73a93b8 commit 4abcbcd
Show file tree
Hide file tree
Showing 157 changed files with 36,986 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LCSEngine/LCSEngine.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<IncludePath>$(ProjectDir)Assimp\include;$(ProjectDir)DevIL\include;$(ProjectDir)Glew\include;$(ProjectDir)Json\include;$(ProjectDir)SDL_mixer\include;$(ProjectDir)SDL_image\include;$(ProjectDir)SDL\include;$(VC_IncludePath);$(WindowsSDK_IncludePath)</IncludePath>
<IncludePath>$(ProjectDir)Wwise\include;$(ProjectDir)Assimp\include;$(ProjectDir)DevIL\include;$(ProjectDir)Glew\include;$(ProjectDir)Json\include;$(ProjectDir)SDL_mixer\include;$(ProjectDir)SDL_image\include;$(ProjectDir)SDL\include;$(VC_IncludePath);$(WindowsSDK_IncludePath)</IncludePath>
<LibraryPath>$(ProjectDir)assimp\libx86;$(ProjectDir)DevIL\libx86;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<IncludePath>$(ProjectDir)Assimp\include;$(ProjectDir)DevIL\include;$(ProjectDir)Glew\include;$(ProjectDir)Json\include;$(ProjectDir)SDL_mixer\include;$(ProjectDir)SDL_image\include;$(ProjectDir)SDL\include;$(VC_IncludePath);$(WindowsSDK_IncludePath)</IncludePath>
<LibraryPath>$(ProjectDir)assimp\libx86;$(ProjectDir)DevIL\libx86;$(LibraryPath)</LibraryPath>
<IncludePath>$(ProjectDir)Wwise\include;$(ProjectDir)Assimp\include;$(ProjectDir)DevIL\include;$(ProjectDir)Glew\include;$(ProjectDir)Json\include;$(ProjectDir)SDL_mixer\include;$(ProjectDir)SDL_image\include;$(ProjectDir)SDL\include;$(VC_IncludePath);$(WindowsSDK_IncludePath)</IncludePath>
<LibraryPath>$(ProjectDir)Wwise\libx86;$(ProjectDir)assimp\libx86;$(ProjectDir)DevIL\libx86;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<IncludePath>$(ProjectDir)Json\include;$(ProjectDir)SDL_mixer\include;$(ProjectDir)SDL_image\include;$(ProjectDir)SDL\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
Expand Down
75 changes: 75 additions & 0 deletions LCSEngine/Wwise/include/AK/AkPlatforms.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/*******************************************************************************
The content of this file includes portions of the AUDIOKINETIC Wwise Technology
released in source code form as part of the SDK installer package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
may use this file in accordance with the end user license agreement provided
with the software or, alternatively, in accordance with the terms contained in a
written agreement between you and Audiokinetic Inc.
Apache License Usage
Alternatively, this file may be used under the Apache License, Version 2.0 (the
"Apache License"); you may not use this file except in compliance with the
Apache License. You may obtain a copy of the Apache License at
http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed
under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
the specific language governing permissions and limitations under the License.
Version: v2017.2.2 Build: 6553
Copyright (c) 2006-2018 Audiokinetic Inc.
*******************************************************************************/

/// \file
/// Audiokinetic platform checks. This is where we detect which platform
/// is being compiled, and where we define the corresponding AK-specific
/// symbols.

#pragma once

#if defined( NN_NINTENDO_SDK )

#include <AK/SoundEngine/Platforms/NX/AkTypes.h>

#elif defined( _XBOX_ONE )

#include <AK/SoundEngine/Platforms/XboxOne/AkTypes.h>

#elif defined( _WIN32 ) || defined ( _WIN64 ) || defined( WINAPI_FAMILY )

#include <AK/SoundEngine/Platforms/Windows/AkTypes.h>

#elif defined( __APPLE__ )

#include <AK/SoundEngine/Platforms/Mac/AkTypes.h>

#elif defined( __ORBIS__ )

#include <AK/SoundEngine/Platforms/PS4/AkTypes.h>

#elif defined( __ANDROID__ )

#include <AK/SoundEngine/Platforms/Android/AkTypes.h>

#elif defined( __linux__ )

#include <AK/SoundEngine/Platforms/Linux/AkTypes.h>

#elif defined( __EMSCRIPTEN__ )

#include <AK/SoundEngine/Platforms/Emscripten/AkTypes.h>

#elif defined( __QNX__ )

#include <AK/SoundEngine/Platforms/QNX/AkTypes.h>

#else

#error Unsupported platform, or platform-specific symbols not defined

#endif
92 changes: 92 additions & 0 deletions LCSEngine/Wwise/include/AK/AkWwiseSDKVersion.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/*******************************************************************************
The content of this file includes portions of the AUDIOKINETIC Wwise Technology
released in source code form as part of the SDK installer package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
may use this file in accordance with the end user license agreement provided
with the software or, alternatively, in accordance with the terms contained in a
written agreement between you and Audiokinetic Inc.
Apache License Usage
Alternatively, this file may be used under the Apache License, Version 2.0 (the
"Apache License"); you may not use this file except in compliance with the
Apache License. You may obtain a copy of the Apache License at
http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed
under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
the specific language governing permissions and limitations under the License.
Version: v2017.2.2 Build: 6553
Copyright (c) 2006-2018 Audiokinetic Inc.
*******************************************************************************/

using System;
using System.Text;

namespace AK
{
namespace Wwise
{
public static class Version
{
#region Wwise SDK Version - Numeric values

/// <summary>
/// Wwise SDK major version
/// </summary>
public const int Major = 2017;

/// <summary>
/// Wwise SDK minor version
/// </summary>
public const int Minor = 2;

/// <summary>
/// Wwise SDK sub-minor version
/// </summary>
public const int SubMinor = 2;

/// <summary>
/// Wwise SDK build number
/// </summary>
public const int Build = 6553;

/// <summary>
/// Wwise SDK build nickname
/// </summary>
public const string Nickname = "";

#endregion Wwise SDK Version - Numeric values

#region Wwise SDK Version - String values

/// <summary>
/// String representing the Wwise SDK version
/// </summary>
public static string VersionName
{
get
{
return "v" + Major + "." + Minor + "." + SubMinor + (Nickname.Length == 0 ? "" : "_" + Nickname);
}
}

/// <summary>
/// String representing the Wwise SDK version
/// </summary>
public const string AssemblyVersion = "2017.2.2.6553";

/// <summary>
/// String representing the Wwise SDK copyright notice
/// </summary>
public const string CopyrightNotice = "\xA9 2006-2017. Audiokinetic Inc. All rights reserved.";

#endregion Wwise SDK Version - String values
}
}
}
105 changes: 105 additions & 0 deletions LCSEngine/Wwise/include/AK/AkWwiseSDKVersion.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/*******************************************************************************
The content of this file includes portions of the AUDIOKINETIC Wwise Technology
released in source code form as part of the SDK installer package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
may use this file in accordance with the end user license agreement provided
with the software or, alternatively, in accordance with the terms contained in a
written agreement between you and Audiokinetic Inc.
Apache License Usage
Alternatively, this file may be used under the Apache License, Version 2.0 (the
"Apache License"); you may not use this file except in compliance with the
Apache License. You may obtain a copy of the Apache License at
http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed
under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
the specific language governing permissions and limitations under the License.
Version: v2017.2.2 Build: 6553
Copyright (c) 2006-2018 Audiokinetic Inc.
*******************************************************************************/

#ifndef _AKWWISESDKVERSION_H_
#define _AKWWISESDKVERSION_H_

/// \file
/// Audiokinetic Wwise SDK version, build number and copyright defines. These
/// are used by sample projects to display the version and to include it in DLL or
/// EXE resources. They can also be used by games or tools to display the current
/// version and build number of the Wwise Sound Engine.

/// @name Wwise SDK Version - Numeric values
//@{

/// Wwise SDK major version
#define AK_WWISESDK_VERSION_MAJOR 2017

/// Wwise SDK minor version
#define AK_WWISESDK_VERSION_MINOR 2

/// Wwise SDK sub-minor version
#define AK_WWISESDK_VERSION_SUBMINOR 2

/// Wwise SDK build number
#define AK_WWISESDK_VERSION_BUILD 6553

/// Wwise SDK build date (year)
#define AK_WWISESDK_BUILD_YEAR 2018

/// Wwise SDK build date (month)
#define AK_WWISESDK_BUILD_MONTH 2

/// Wwise SDK build date (day)
#define AK_WWISESDK_BUILD_DAY 27

//@}

/// @name Wwise SDK Version - String values
//@{

/// Macro that "converts" a numeric define to a string
/// \sa
/// - \ref AK_WWISESDK_NUM2STRING
#define _AK_WWISESDK_NUM2STRING( n ) #n

/// Macro that "converts" a numeric define to a string
#define AK_WWISESDK_NUM2STRING( n ) _AK_WWISESDK_NUM2STRING( n )

/// Macro to determine if there's a nickname to add to the full version name
#if defined( AK_WWISESDK_VERSION_NICKNAME )
#define AK_WWISESDK_VERSION_NICKNAME_POSTFIX "_" AK_WWISESDK_VERSION_NICKNAME
#else
#define AK_WWISESDK_VERSION_NICKNAME_POSTFIX
#endif

/// String representing the Wwise SDK version without the nickname postfix
#define AK_WWISESDK_VERSIONNAME_SHORT "v" AK_WWISESDK_NUM2STRING( AK_WWISESDK_VERSION_MAJOR ) \
"." AK_WWISESDK_NUM2STRING( AK_WWISESDK_VERSION_MINOR ) \
"." AK_WWISESDK_NUM2STRING( AK_WWISESDK_VERSION_SUBMINOR )

/// String representing the Wwise SDK version
#define AK_WWISESDK_VERSIONNAME AK_WWISESDK_VERSIONNAME_SHORT \
AK_WWISESDK_VERSION_NICKNAME_POSTFIX

/// Wwise SDK branch
#define AK_WWISESDK_BRANCH "wwise_v2017.2"

/// @name Wwise SDK Copyright Notice

//@{
/// Wwise SDK copyright notice
#define AK_WWISESDK_COPYRIGHT "\xA9 2006-2018. Audiokinetic Inc. All rights reserved."
/// Wwise SDK copyright notice
#define AK_WWISESDK_COPYRIGHT_CONSOLE "(C) 2006-2018. Audiokinetic Inc. All rights reserved."
//@}

#define AK_WWISESDK_VERSION_COMBINED ((AK_WWISESDK_VERSION_MAJOR<<8) | AK_WWISESDK_VERSION_MINOR)

#endif // _AKWWISESDKVERSION_H_

Loading

0 comments on commit 4abcbcd

Please sign in to comment.