Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
59dde4c
Replace MSBuild with CMake build system, remove rebuildable binaries
Monstrofil Mar 8, 2026
3f2eb8d
Remove Win32 MSBuild project files superseded by CMake
Monstrofil Mar 8, 2026
733cf4d
Fix CI: replace defunct SwiftShader download URL
Monstrofil Mar 8, 2026
713ce89
Fix CI: use jakoch/install-vulkan-sdk-action for SDK + SwiftShader
Monstrofil Mar 8, 2026
25484a3
Fix compare_reference.py: treat missing images as failures, not skips
Monstrofil Mar 8, 2026
ce65c88
Fix UBO alignment for Vulkan spec compliance, harden CI capture check
Monstrofil Mar 8, 2026
bdf496a
CI: exclude Mask and MMOPackedRender from SwiftShader tests
Monstrofil Mar 8, 2026
1cb758c
CI: skip SwiftShader-incompatible tests, add comparison error logging
Monstrofil Mar 8, 2026
5963202
Fix CI comparison: import compare_images directly instead of subprocess
Monstrofil Mar 8, 2026
ed4636f
Fix CaptureVulkan: use WS_POPUP for exact client area size
Monstrofil Mar 8, 2026
411e0a2
Regenerate Vulkan shader descriptors with ShaderMaker 4.3
Monstrofil Mar 10, 2026
a990a95
Fix Vulkan filter rendering: use canonical batch vertex buffer
Monstrofil Mar 10, 2026
d6876c3
Fix Vulkan resource lifetime: per-slot deferred deletion and fence leak
Monstrofil Mar 10, 2026
dcbe2ec
Update test infrastructure: fix D3D11 capture init, reduce timeout
Monstrofil Mar 10, 2026
767d3b4
Update ShaderData.xml for ShaderMaker 4.3
Monstrofil Mar 10, 2026
3600f12
Upgrade kernel, headers, and 3rdParty for SDK 4.3 compatibility
Monstrofil Mar 10, 2026
4977728
Upgrade render system for SDK 4.3: shaders, HAL, filters, mesh, text
Monstrofil Mar 10, 2026
1307266
Upgrade GFx core for SDK 4.3: display objects, text, loader, player
Monstrofil Mar 10, 2026
a67a064
Upgrade ActionScript 2 runtime for SDK 4.3
Monstrofil Mar 10, 2026
ae9968b
Upgrade ActionScript 3 runtime for SDK 4.3
Monstrofil Mar 10, 2026
8751bdb
Upgrade AMP profiling, platform layer, sound and video for SDK 4.3
Monstrofil Mar 10, 2026
0c0dc4b
Add GFx network socket implementations for SDK 4.3
Monstrofil Mar 10, 2026
5a407f0
Update GFxShaderMaker submodule to 4.3
Monstrofil Mar 10, 2026
5bbe4fa
Update .gitignore: exclude build artifacts, IDE settings, shader inte…
Monstrofil Mar 10, 2026
c150282
Merge branch 'scaleform_4_2' into cmake-build-system
Monstrofil Mar 10, 2026
d7019f4
Fix CI: un-ignore AS3 Obj/ source files excluded by Obj/ gitignore rule
Monstrofil Mar 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ build/
*.ilk
*.map
Obj/
# Un-ignore AS3 Obj/ — these are source files, not build artifacts
!Src/GFx/AS3/Obj/

# ---------------------------------------------------------------------------
# 3rdParty — prebuilt libs (now rebuilt from source via CMake)
Expand Down Expand Up @@ -110,9 +112,30 @@ Bin/Win32/Msvc10/Tests/
# Visual regression test output
Tests/VisualRegression/Output/

# Claude Code workspace settings
.claude/

# IDE workspace files
*.code-workspace

# MSBuild local artifacts (projects generated or used locally)
Projects/Win32/

# Build output executables (rebuilt from source)
Bin/x64/Msvc10/DrawText_D3D11/
Bin/x64/Msvc10/ImageDelegate_D3D11/
Bin/x64/Msvc10/MMOKit_D3D11/
Bin/x64/Msvc10/MenuKit_D3D11/

# Generated shader intermediates (rebuilt by GFxShaderMaker)
Shaders/
Src/Render/D3D9/Shaders/
Src/Render/GL/Shaders/
Src/Render/PS4/Shaders/

# Generated data files
Bin/Data/AS3/Kits/StarforceTD/null_sb_player_data.sox

# Root-level debug/capture session artifacts
screenshot_*.ppm
debug_cmds.txt
Expand Down
2 changes: 2 additions & 0 deletions 3rdParty/nvtt/src/nvcore/DefsVcWin32.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
#define NV_CONST

// Set standard function names.
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#endif
// !JW: for VC2008 compatibility
#if defined(_MSC_VER) && _MSC_VER < 1500
#define vsnprintf _vsnprintf
Expand Down
4 changes: 4 additions & 0 deletions 3rdParty/nvtt/src/nvmath/nvmath.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ inline float asin_assert(const float f)
return asinf(f);
}

// Include <cmath> before redefining math functions, so the standard library
// declarations are processed without macro interference.
#include <cmath>

// Replace default functions with asserting ones.
#define sqrt sqrt_assert
#define sqrtf sqrt_assert
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.20)
project(ScaleformSDK VERSION 4.2 LANGUAGES CXX C)
project(ScaleformSDK VERSION 4.3 LANGUAGES CXX C)

# ---------------------------------------------------------------------------
# Options — renderer selection
Expand Down
2 changes: 1 addition & 1 deletion GFxShaderMaker
Submodule GFxShaderMaker updated 68 files
+9 −0 GFxShaderMaker.Platforms/ListGLESVersionsAction.cs
+193 −0 GFxShaderMaker.Platforms/Platform_D3D12.cs
+16 −7 GFxShaderMaker.Platforms/Platform_D3D1x.cs
+35 −8 GFxShaderMaker.Platforms/Platform_D3D9.cs
+119 −40 GFxShaderMaker.Platforms/Platform_D3DCommon.cs
+8 −20 GFxShaderMaker.Platforms/Platform_GL.cs
+26 −0 GFxShaderMaker.Platforms/Platform_GLCommon.cs
+50 −14 GFxShaderMaker.Platforms/Platform_GLES.cs
+160 −0 GFxShaderMaker.Platforms/Platform_Metal.cs
+23 −29 GFxShaderMaker.Platforms/Platform_PS3.cs
+36 −38 GFxShaderMaker.Platforms/Platform_PS4.cs
+28 −34 GFxShaderMaker.Platforms/Platform_PSVITA.cs
+265 −0 GFxShaderMaker.Platforms/Platform_UE3.cs
+238 −0 GFxShaderMaker.Platforms/Platform_UE4.cs
+326 −66 GFxShaderMaker.Platforms/Platform_Vulkan.cs
+42 −29 GFxShaderMaker.Platforms/Platform_WiiU.cs
+21 −1 GFxShaderMaker.Platforms/Platform_X360.cs
+31 −0 GFxShaderMaker.Platforms/Platform_XboxOne.cs
+31 −0 GFxShaderMaker.Platforms/Platform_XboxOneADK.cs
+52 −0 GFxShaderMaker.Platforms/Platform_XboxOneD3D12.cs
+32 −0 GFxShaderMaker.Platforms/ShaderVersion_D3D12.cs
+7 −3 GFxShaderMaker.Platforms/ShaderVersion_D3DCommon.cs
+0 −95 GFxShaderMaker.Platforms/ShaderVersion_GLES.cs
+9 −0 GFxShaderMaker.Platforms/ShaderVersion_GLES100.cs
+71 −0 GFxShaderMaker.Platforms/ShaderVersion_GLES100_Base.cs
+32 −0 GFxShaderMaker.Platforms/ShaderVersion_GLES100_NDL.cs
+91 −0 GFxShaderMaker.Platforms/ShaderVersion_GLES300.cs
+35 −0 GFxShaderMaker.Platforms/ShaderVersion_GLESGLSL.cs
+2 −3 GFxShaderMaker.Platforms/ShaderVersion_GLSL110.cs
+2 −3 GFxShaderMaker.Platforms/ShaderVersion_GLSL120.cs
+62 −12 GFxShaderMaker.Platforms/ShaderVersion_GLSL150.cs
+59 −37 GFxShaderMaker.Platforms/ShaderVersion_GLSLCommon.cs
+218 −0 GFxShaderMaker.Platforms/ShaderVersion_Metal.cs
+32 −0 GFxShaderMaker.Platforms/ShaderVersion_OpenGLGLSL.cs
+0 −131 GFxShaderMaker.Platforms/ShaderVersion_Orbis.cs
+2 −2 GFxShaderMaker.Platforms/ShaderVersion_PS3.cs
+164 −0 GFxShaderMaker.Platforms/ShaderVersion_PS4.cs
+8 −1 GFxShaderMaker.Platforms/ShaderVersion_SM20.cs
+6 −1 GFxShaderMaker.Platforms/ShaderVersion_SM30.cs
+45 −38 GFxShaderMaker.Platforms/ShaderVersion_SM40.cs
+22 −0 GFxShaderMaker.Platforms/ShaderVersion_SM51.cs
+292 −0 GFxShaderMaker.Platforms/ShaderVersion_UE3.cs
+189 −0 GFxShaderMaker.Platforms/ShaderVersion_UE4.cs
+133 −0 GFxShaderMaker.Platforms/ShaderVersion_Vulkan.cs
+0 −142 GFxShaderMaker.Platforms/ShaderVersion_Vulkan_SPIRV.cs
+11 −3 GFxShaderMaker.Platforms/WiiU_Version.cs
+38 −23 GFxShaderMaker/CommandLineParser.cs
+10 −9 GFxShaderMaker/DefaultAction.cs
+25 −0 GFxShaderMaker/HelpAction.cs
+6 −6 GFxShaderMaker/IndentStreamWriter.cs
+3 −2 GFxShaderMaker/Program.cs
+6 −5 GFxShaderMaker/ShaderFeature.cs
+3 −2 GFxShaderMaker/ShaderFeatureFlavor.cs
+13 −5 GFxShaderMaker/ShaderGroup.cs
+35 −11 GFxShaderMaker/ShaderLinkedSource.cs
+11 −3 GFxShaderMaker/ShaderPermutation.cs
+41 −1 GFxShaderMaker/ShaderPipeline.cs
+770 −606 GFxShaderMaker/ShaderPlatform.cs
+79 −0 GFxShaderMaker/ShaderPlatformBinaryShaders.cs
+16 −0 GFxShaderMaker/ShaderPlatformDataFileShaders.cs
+58 −0 GFxShaderMaker/ShaderPlatformSourceShaders.cs
+34 −0 GFxShaderMaker/ShaderRestriction.cs
+3 −8 GFxShaderMaker/ShaderSource.cs
+19 −7 GFxShaderMaker/ShaderVariable.cs
+20 −0 GFxShaderMaker/ShaderVariableCompareIDsSizeAndType.cs
+29 −9 GFxShaderMaker/ShaderVersion.cs
+6 −6 Properties/AssemblyInfo.cs
+22 −26 README.md
1 change: 0 additions & 1 deletion Include/GFx.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ otherwise accompanies this software in either electronic or hard copy form.
#include "../Src/GFx/GFx_TextField.h"
#include "../Src/GFx/GFx_TextFieldDef.h"
#include "../Src/GFx/GFx_VideoBase.h"
#include "../Src/GFx/GFx_WWHelper.h"
#include "../Src/GFx/AS2/AS2_Action.h"
#include "../Src/GFx/AS2/AS2_ActionTypes.h"
#include "../Src/GFx/AS2/AS2_FunctionRef.h"
Expand Down
5 changes: 3 additions & 2 deletions Include/GFxCompat.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ typedef GFx::DrawText GFxDrawText;
typedef GFx::Value GFxValue;
typedef GFx::UserEventHandler GFxUserEventHandler;
typedef GFx::URLBuilder GFxURLBuilder;
typedef GFx::TextClipboard GFxTextClipboard;
typedef GFx::Clipboard GFxTextClipboard;
typedef GFx::ParseControl GFxParseControl;
#ifdef SF_ENABLE_THREADS
typedef GFx::ThreadedTaskManager GFxThreadedTaskManager;
Expand Down Expand Up @@ -287,8 +287,9 @@ enum
GFxStatMV_Invoke_Tks = GFx::StatMV_Invoke_Tks,
GFxStatMV_InvokeAction_Tks = GFx::StatMV_InvokeAction_Tks,
GFxStatMV_Display_Tks = GFx::StatMV_Display_Tks,
GFxStatMV_Tessellate_Tks = GFx::StatMV_Tessellate_Tks,
GFxStatMV_FontThrash_Tks = GFx::StatMV_FontThrash_Tks,
GFxStatMV_GradientGen_Tks = GFx::StatMV_GradientGen_Tks,
GFxStatMV_FontMiss_Tks = GFx::StatMV_FontMiss_Tks,

// Counters.
GFxStatMV_Counters = GFx::StatMV_Counters,
Expand Down
130 changes: 100 additions & 30 deletions Include/GFxConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,19 @@ otherwise accompanies this software in either electronic or hard copy form.
// Enables multitouch support.
//#define GFX_MULTITOUCH_SUPPORT_ENABLE

// Use Scaleform internal gesture recognizer
//#define GFX_GESTURE_RECOGNIZE

#if defined(SF_OS_ANDROID) || defined(SF_OS_IPHONE) || defined(SF_OS_3DS) || defined(SF_OS_WINMETRO)
#define GFX_MULTITOUCH_SUPPORT_ENABLE
#endif

// Mobile app features, such as orientation and lifecycle events
#if defined(SF_OS_ANDROID) || defined(SF_OS_IPHONE)

// Initialize native gesture recognition (currently only available on iOS)
#define NATIVE_GESTURE_RECOGNIZE

// Initialize Scaleform gesture recognition (overrides NATIVE_GESTURE_RECOGNIZE)
#define GFX_GESTURE_RECOGNIZE

#define GFX_ENABLE_MOBILE_APP_SUPPORT
#endif

Expand All @@ -74,7 +78,7 @@ otherwise accompanies this software in either electronic or hard copy form.
//---------------------------------------------------------------------------

// Enable/disable addons for MSVC builds
#if defined(SF_OS_WIN32) || defined(SF_OS_XBOX360) || defined(SF_OS_PS3)
#if defined(SF_OS_WIN32) || defined(SF_OS_XBOX360) || defined(SF_OS_PS3) || defined(SF_OS_ORBIS) || defined(SF_OS_WIIU)
#include "GFxConfigAddons.h"

#if defined(SF_OS_WIN32) && defined(GFX_USE_VIDEO_WIN32)
Expand All @@ -83,20 +87,34 @@ otherwise accompanies this software in either electronic or hard copy form.
#define GFX_USE_VIDEO
#elif defined(SF_OS_PS3) && defined(GFX_USE_VIDEO_PS3) && !defined(GFX_USE_VIDEO)
#define GFX_USE_VIDEO
#elif defined(SF_OS_WIIU) && defined(GFX_USE_VIDEO_WIIU) && !defined(GFX_USE_VIDEO)
#define GFX_USE_VIDEO
#elif defined(SF_OS_ORBIS) && defined(GFX_USE_VIDEO_PS4)
#define GFX_USE_VIDEO
#endif
#endif


// ***** General Scaleform options
//---------------------------------------------------------------------------
// Use a wrapper of built-in data type double.
// #define SF_SAFE_DOUBLE

// If this macro is defined, then code can be compiled with not ANSI-compatible
// support of floating point numbers. (Example: /fp:fast on Windows)
// #define SF_FLOATING_POINT_FAST

// Uncomment to enable SF_FLOATING_POINT_FAST on Durango x64, off by default.
#if !defined(SF_FLOATING_POINT_FAST) && defined(SF_OS_WINMETRO) && defined(_DURANGO) && defined(SF_CPU_X86_64)
// #define SF_FLOATING_POINT_FAST
#endif

#ifdef SF_FLOATING_POINT_FAST
#ifndef SF_SAFE_DOUBLE
#define SF_SAFE_DOUBLE
#endif
#endif

// This macro needs to be defined if it is necessary to avoid the use of Double.
// In that case Double in defined as float and thus extra #ifdef checks on
// overloads need to be done.
// NOTE: The use of this option may cause differences in behavior as compared to
// Adobe Flash and is therefore not recommended. It was originally introduced for
// legacy systems without double support and may be removed in future versions of the SDK.
//#define SF_NO_DOUBLE

// Define this macro to eliminate custom wctype tables for functions such as
// G_iswspace, SFtowlower, g_towupper and so on. If this macro is defined GFx
Expand All @@ -107,7 +125,7 @@ otherwise accompanies this software in either electronic or hard copy form.
// Enable thread support
#define SF_ENABLE_THREADS

// Define this to disable statistics tracking; this is useful for the final build.
// Undefine this to disable statistics tracking; this is useful for the final build.
#define SF_ENABLE_STATS

// Enable use of LIBJPEG. Wjen disabled, JPEGUtil becomes a no-op stub,
Expand Down Expand Up @@ -143,11 +161,8 @@ otherwise accompanies this software in either electronic or hard copy form.
#endif

// Enable the use of TCP/IP sockets
// This is needed for AMP
// Needed for AMP and AS3 Net Sockets
#define SF_ENABLE_SOCKETS
#ifdef SF_BUILD_SHIPPING
#undef SF_ENABLE_SOCKETS
#endif

// Enable use of PCRE - Perl Compatible Regular Expressions
#define SF_ENABLE_PCRE
Expand Down Expand Up @@ -230,14 +245,20 @@ otherwise accompanies this software in either electronic or hard copy form.

#define SF_NO_GRADIENT_GEN

// Profile view modes
// Profile view modes (overdraw, etc.)
#if !defined(SF_BUILD_SHIPPING)
#define SF_RENDERER_PROFILE
#endif

// Enable filters. Undefine this to disable rendering of all filters.
#define SF_RENDER_ENABLE_FILTERS

// In versions of GFx before 4.3, the Lighten and Darken blend modes were estimations, and were
// not always correct. In 4.3, these require render targets to render properly, and (since 4.3.26) require
// a parent clip to have a Layer blend mode. Enabling this define returns these blend modes to their pre-4.3
// behavior.
//#define SF_RENDER_DARKEN_LIGHTEN_OLD_BEHAVIOR

// ***** GFx Logging options
//---------------------------------------------------------------------------

Expand Down Expand Up @@ -269,22 +290,23 @@ otherwise accompanies this software in either electronic or hard copy form.
// FMOD sound support is enabled for MSVC builds (PC/Xbox360) by default
// It will be automatically enabled for other platforms if FMOD is detected by build system
#if defined(SF_OS_WIN32) || defined(SF_OS_XBOX360) || defined(SF_PS3_MSVC_BUILD) || \
defined(SF_PSVITA_MSVC_BUILD) || defined(SF_WIIU_MSVC_BUILD) || defined(SF_3DS_MSVC_BUILD)
defined(SF_PSVITA_MSVC_BUILD) || defined(SF_WIIU_MSVC_BUILD) || defined(SF_3DS_MSVC_BUILD) || \
defined(SF_OS_ORBIS)
#define GFX_SOUND_FMOD
#endif

// Wwise sound support (AK Wwise SDK is available separately)
//#define GFX_SOUND_WWISE

// Define this macro to enable sound support (including core and ActionScript)
#if defined(GFX_SOUND_FMOD) && !defined(GFX_ENABLE_SOUND)
#if (defined(GFX_SOUND_FMOD) || defined(GFX_SOUND_WWISE)) && !defined(GFX_ENABLE_SOUND)
// Enable sound if FMOD has been enabled/detected
#define GFX_ENABLE_SOUND
#endif

// Define this macro to enable video support (including core and ActionScript)
#if defined(GFX_USE_VIDEO) && (defined(SF_OS_WIN32) || defined(SF_OS_MAC) || \
defined(SF_OS_XBOX360) || defined(SF_OS_PS3) || defined(SF_OS_WII) || defined(SF_OS_WIIU))
defined(SF_OS_XBOX360) || defined(SF_OS_PS3) || defined(SF_OS_WII) || defined(SF_OS_WIIU) || defined(SF_OS_ORBIS))
// Enable video only for CRI supported platforms
#define GFX_ENABLE_VIDEO
#endif
Expand All @@ -296,6 +318,10 @@ otherwise accompanies this software in either electronic or hard copy form.
//#define GFX_VIDEO_USE_FMOD
//#define GFX_VIDEO_USE_WWISE

// Use DCR instead of TV for sound output on WiiU.
// By default audio will be played out of the TV speakers only.
//#define GFX_SOUND_OUTPUT_DRC

// Video can be used only with multithreading support
#if !defined(SF_ENABLE_THREADS)
#undef GFX_ENABLE_VIDEO
Expand All @@ -313,9 +339,17 @@ otherwise accompanies this software in either electronic or hard copy form.
#define SF_USE_STD11_THREADS
#endif
// Disable TCP/IP sockets (AMP)
#undef SF_ENABLE_SOCKETS
// Disable video support
//#undef SF_ENABLE_SOCKETS
// Disable video support (except Durango XDK)
#ifndef _DURANGO
#undef GFX_ENABLE_VIDEO
#endif
// Disable sound and video support for Durango ADK
#ifdef _DURANGO_ADK
#undef GFX_SOUND_FMOD
#undef GFX_ENABLE_SOUND
#undef GFX_ENABLE_VIDEO
#endif
// Disable core IME support
#define SF_NO_IME_SUPPORT
#endif
Expand All @@ -332,6 +366,14 @@ otherwise accompanies this software in either electronic or hard copy form.
// Enable built-in Korean IME logic
//#define GFX_ENABLE_BUILTIN_KOREAN_IME

// Enable support for bidirectional text
#define GFX_ENABLE_BIDIRECTIONAL_TEXT

// Enable Adobe Native Extension support globally
#if defined (SF_OS_IPHONE) || defined (SF_OS_ANDROID)
#define SF_ENABLE_ANE
#endif


// ***** Other GFx Options
//---------------------------------------------------------------------------
Expand All @@ -354,7 +396,7 @@ otherwise accompanies this software in either electronic or hard copy form.
#endif

// Enable game pad analog input support.
#if ( defined(SF_OS_PSVITA) || defined(SF_OS_PS3) || defined(SF_OS_XBOX360) || defined(SF_OS_3DS) || defined(SF_OS_WIIU) )
#if ( defined(SF_OS_PSVITA) || defined(SF_OS_PS3) || defined(SF_OS_XBOX360) || defined(SF_OS_3DS) || defined(SF_OS_WIIU) || defined(SF_OS_WIN32) || defined(SF_OS_ORBIS) )
#define GFX_ENABLE_ANALOG_GAMEPAD
#endif

Expand All @@ -373,6 +415,10 @@ otherwise accompanies this software in either electronic or hard copy form.
// as well (since it is a part of text editing).
#define GFX_ENABLE_TEXT_INPUT

// Scale9 hit-testing may affect performance. Disabling it may result
// in incorrect Scale9 hit-testing.
#define GFX_ENABLE_SCALE9_HITTEST

// Define this macro to throw assertion if any font texture is generated during
// the runtime.
//#define GFX_ASSERT_ON_FONT_BITMAP_GEN
Expand All @@ -389,6 +435,19 @@ otherwise accompanies this software in either electronic or hard copy form.
// renderer during the runtime.
//#define GFX_ASSERT_ON_RENDERER_MIPMAP_GEN

// Define this macro to throw assertion if fast math floating point model is used
// since it not officially supported
#define GFX_ASSERT_ON_IMPRECISE_FLOAT

// Check if Fast Math Floating point model is enabled with gcc, and warn user about potential problems
#if defined (__FAST_MATH__) && defined (GFX_ASSERT_ON_IMPRECISE_FLOAT)
// ctremblay ++ Seems alright on Orbis. It saves us 2-3ms ...
//#error This compiler option can result in incorrect output for programs that depend on an exact implementation
//#error of IEEE or ISO rules/specifications for math functions, and is not supported by the Scaleform SDK
// ctremblay --
#endif


// Scaleform Profiling configuration (Shipping + Debug Information), internal use only
#ifdef SF_BUILD_PROFILING
#define SF_BUILD_SHIPPING
Expand All @@ -400,15 +459,13 @@ otherwise accompanies this software in either electronic or hard copy form.

#if !defined(SF_BUILD_SHIPPING) && defined(SF_ENABLE_THREADS)

#ifdef SF_ENABLE_SOCKETS
#define SF_AMP_SERVER
#if defined(SF_ENABLE_SOCKETS) && defined(SF_ENABLE_STATS)
#define SF_AMP_SERVER
#endif

// Enable debug memory tracking when AMP is enabled
//#define SF_MEMORY_ENABLE_DEBUG_INFO

#define SF_RENDERER_PROFILE

// GPA 4.0 support
#if defined(PROFILE_GPA)
#define SF_PROFILE_GPA
Expand Down Expand Up @@ -468,7 +525,7 @@ otherwise accompanies this software in either electronic or hard copy form.
// Enable cleanup of orphaned GFx::Value instances holding references to objects
// in a Movie VM that is being destroyed. The GFx::Value instances will be set
// to UNDEFINED and its orphaned flag will be set.
//#define GFX_AS_ENABLE_GFXVALUE_CLEANUP
#define GFX_AS_ENABLE_GFXVALUE_CLEANUP

// Enable ActionScript object user data storage (GFx::Value::SetUserData/GetUserData)
#define GFX_AS_ENABLE_USERDATA
Expand Down Expand Up @@ -539,8 +596,14 @@ otherwise accompanies this software in either electronic or hard copy form.
// Enable 'Mouse' ActionScript class support.
#define GFX_AS2_ENABLE_MOUSE

// *** Example defines for shipping (final) GFX build
#ifdef SF_BUILD_SHIPPING
// Enable HTTP requests for loading
#if (defined (SF_OS_IPHONE) || defined (SF_OS_ANDROID) || defined (SF_OS_MAC) || defined (SF_OS_WIN32) || defined SF_OS_PS3) && !(defined (_DURANGO) || defined (SF_OS_WINMETRO))
//#define SF_ENABLE_HTTP_LOADING
#endif

// *** Some defines removed from shipping (final) GFX build, to improve performance
// Add them back in if you need the functionality, even in shipping.
#if defined(SF_BUILD_SHIPPING) && !defined(SF_AMP_CLIENT)
#undef SF_ENABLE_STATS
#undef GFX_VERBOSE_PARSE
#undef GFX_AS2_VERBOSE_ERRORS
Expand All @@ -555,6 +618,7 @@ otherwise accompanies this software in either electronic or hard copy form.
#undef SF_ENABLE_LIBPNG

#undef SF_ENABLE_STATS
#undef SF_AMP_SERVER

#undef GFX_VERBOSE_PARSE
#undef GFX_VERBOSE_PARSE_ACTION
Expand Down Expand Up @@ -610,6 +674,12 @@ otherwise accompanies this software in either electronic or hard copy form.
#endif
#endif

// Shipping builds that use AS3 Net Sockets need approval from Nintendo, as they use the SO library
// To enable AS3 Net Sockets, comment out the following lines
#if defined(SF_OS_WIIU) && defined(SF_BUILD_SHIPPING)
#undef SF_ENABLE_SOCKETS
#endif


// ***** Automatic class dependency checks (DO NOT EDIT THE CODE BELOW)
//---------------------------------------------------------------------------
Expand Down
Loading
Loading