Ticket #1322: kfreebsd_collada.diff
File kfreebsd_collada.diff, 53.2 KB (added by , 12 years ago) |
---|
-
build/premake/extern_libs4.lua
361 361 add_default_include_paths("libpng") 362 362 end 363 363 if os.getversion().description == "OpenBSD" then 364 includedirs { "/usr/local/include/libpng" }364 pkgconfig_cflags("libpng") 365 365 end 366 366 end, 367 367 link_settings = function() … … 549 549 -- TODO: We need to force linking with these as currently 550 550 -- they need to be loaded explicitly on execution 551 551 if os.getversion().description == "OpenBSD" then 552 add_default_links({ 553 unix_names = { "ogg", 554 "vorbis" }, 555 }) 552 pkgconfig_libs("vorbisfile") 556 553 end 557 554 add_default_links({ 558 555 win_names = { "vorbisfile" }, -
build/premake/premake4.lua
999 999 -- required to use WinMain() on Windows, otherwise will default to main() 1000 1000 flags { "WinMain" } 1001 1001 1002 elseif os.is("linux") then 1003 defines { "LINUX" } 1004 1002 elseif os.is("linux") or os.getversion().description == "GNU/kFreeBSD" then 1005 1003 links { 1006 1004 "dl", 1007 1005 } … … 1024 1022 linkoptions { "-rdynamic" } 1025 1023 1026 1024 elseif os.is("macosx") then 1027 -- define MACOS-something?1028 1029 1025 -- install_name settings aren't really supported yet by premake, but there are plans for the future. 1030 1026 -- we currently use this hack to work around some bugs with wrong install_names. 1031 1027 if target_type == "SharedLib" then -
libraries/fcollada/include/FMath/FMArrayPointer.h
15 15 #ifndef _FM_ARRAY_POINTER_H_ 16 16 #define _FM_ARRAY_POINTER_H_ 17 17 18 #ifndef _FM_ARRAY_H_19 18 #include "FMath/FMArray.h" 20 #endif // _FM_ARRAY_H_21 19 22 20 // Already documented in FMArray.h. 23 21 namespace fm -
libraries/fcollada/include/FMath/FMTree.h
14 14 #ifndef _FM_TREE_H_ 15 15 #define _FM_TREE_H_ 16 16 17 #ifndef _FM_ALLOCATOR_H_18 17 #include "FMath/FMAllocator.h" 19 #endif // _FM_ALLOCATOR_H_20 18 21 19 namespace fm 22 20 { -
libraries/fcollada/include/FMath/FMFloat.h
14 14 #ifndef _FM_FLOAT_H_ 15 15 #define _FM_FLOAT_H_ 16 16 17 #if !defined(_INC_FLOAT) && (defined (WIN32) || defined ( LINUX) || defined(__APPLE__))17 #if !defined(_INC_FLOAT) && (defined (WIN32) || defined (__linux__) || defined(__APPLE__)) 18 18 #include <float.h> 19 19 #endif // _INC_FLOAT, WIN32 and LINUX 20 20 -
libraries/fcollada/include/FMath/FMArray.h
14 14 #ifndef _FM_ARRAY_H_ 15 15 #define _FM_ARRAY_H_ 16 16 17 #ifndef _FM_ALLOCATOR_H_18 17 #include "FMath/FMAllocator.h" 19 #endif // _FM_ALLOCATOR_H_20 #ifndef _FM_SORT_H_21 18 #include "FMath/FMSort.h" 22 #endif // _FM_SORT_H_23 19 24 20 #ifdef WIN32 25 21 #pragma warning(disable:4127) -
libraries/fcollada/include/FUtils/Platforms.h
27 27 #define FCOLLADA_EXPORT __declspec(dllimport) 28 28 #define FCOLLADA_LOCAL 29 29 #endif // FCOLLADA_INTERNAL 30 #elif defined(__APPLE__) || defined( LINUX)30 #elif defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 31 31 #define FCOLLADA_EXPORT __attribute__((visibility("default"))) 32 32 #define FCOLLADA_LOCAL __attribute__((visibility("hidden"))) 33 33 #endif … … 74 74 #include <wchar.h> 75 75 #include <stdint.h> 76 76 77 #elif defined( LINUX) || defined(__PPU__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)77 #elif defined(__linux__) || defined(__PPU__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 78 78 #include <ctype.h> 79 79 #include <wctype.h> 80 80 #include <unistd.h> … … 125 125 #endif // PLATFORMS 126 126 127 127 // Important functions that some OSes have missing! 128 #if defined(__APPLE__) || defined( LINUX) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)128 #if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 129 129 inline char* strlower(char* str) { char* it = str; while (*it != 0) { *it = tolower(*it); ++it; } return str; } 130 130 inline wchar_t* wcslwr(wchar_t* str) { wchar_t* it = str; while (*it != 0) { *it = towlower(*it); ++it; } return str; } 131 131 inline int wcsicmp(const wchar_t* s1, const wchar_t* s2) { wchar_t c1 = *s1, c2 = *s2; while (c1 != 0 && c2 != 0) { if (c1 >= 'a' && c1 <= 'z') c1 -= 'a' + 'A'; if (c2 >= 'a' && c2 <= 'z') c2 -= 'a' + 'A'; if (c2 < c1) return -1; else if (c2 > c1) return 1; c1 = *(++s1); c2 = *(++s2); } return 0; } … … 139 139 #elif defined(__PPU__) 140 140 #define glClearDepth glClearDepthf 141 141 142 #endif // __APPLE__ || LINUX ||_FreeBSD__ || __FreeBSD_kernel__ || __OpenBSD__142 #endif // __APPLE__ || __linux__ || __FreeBSD__ || __FreeBSD_kernel__ || __OpenBSD__ 143 143 144 144 // Cross-platform needed functions 145 145 #ifdef WIN32 -
libraries/fcollada/include/FUtils/FUStringBuilder.h
135 135 #else 136 136 inline void append(unsigned int i) { append((uint32) i); } /**< See above. */ 137 137 #endif 138 #elif defined(__APPLE__) || defined(__OpenBSD__) 139 inline void append(size_t i) { append((uint64)i); } 138 140 #endif // defined(WIN32) 139 141 140 142 /** Appends the floating-point value, after converting it to a string, -
libraries/fcollada/include/FUtils/FUEvent.h
18 18 #ifndef _FU_EVENT_H_ 19 19 #define _FU_EVENT_H_ 20 20 21 #ifndef _FU_FUNCTOR_H_22 21 #include "FUtils/FUFunctor.h" 23 #endif // _FU_FUNCTOR_H_24 22 25 23 /** 26 24 An event with no argument. -
libraries/fcollada/include/FUtils/FUFileManager.h
15 15 #ifndef _FU_FILE_MANAGER_H_ 16 16 #define _FU_FILE_MANAGER_H_ 17 17 18 #i fndef _FU_URI_H_18 #include "FMath/FMArray.h" 19 19 #include "FUtils/FUUri.h" 20 #endif //_FU_URI_H_21 20 22 #ifndef _FM_ARRAY_H_23 #include "FMath/FMArray.h"24 #endif //_FM_ARRAY_H_25 26 21 class FUFile; 27 22 28 23 /** A scheme callback to load remote files. -
libraries/fcollada/include/FUtils/FUCriticalSection.h
33 33 #elif defined(__APPLE__) 34 34 //Do something here. 35 35 MPCriticalRegionID criticalSection; 36 #elif defined( LINUX) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)36 #elif defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 37 37 #else 38 38 #warning "FUCriticalSection: Critical section not implemented for other platforms." 39 39 #endif -
libraries/fcollada/include/FUtils/FUParameter.h
167 167 /** See above. */ 168 168 #define InitializeParameter(parameterName, ...) parameterName(__VA_ARGS__) 169 169 170 #if defined(__APPLE__) || defined( LINUX)170 #if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 171 171 #include "FUtils/FUParameter.hpp" 172 172 #endif // __APPLE__ 173 173 -
libraries/fcollada/include/FUtils/FUErrorLog.h
14 14 #ifndef _FU_ERROR_LOG_H_ 15 15 #define _FU_ERROR_LOG_H_ 16 16 17 #ifndef _FU_ERROR_H_18 17 #include "FUtils/FUError.h" 19 #endif // _FU_ERROR_H_20 18 21 19 class FULogFile; 22 20 -
libraries/fcollada/include/FUtils/FUAssert.h
14 14 #ifndef _FU_ASSERT_H_ 15 15 #define _FU_ASSERT_H_ 16 16 17 #ifndef _FU_FUNCTOR_H_18 17 #include "FUtils/FUFunctor.h" 19 #endif // _FU_FUNCTOR_H_20 18 21 19 namespace FUAssertion 22 20 { -
libraries/fcollada/include/FUtils/FUError.h
14 14 #ifndef _FU_ERROR_H_ 15 15 #define _FU_ERROR_H_ 16 16 17 #i fndef _FU_EVENT_H_17 #include "FUtils/FUCriticalSection.h" 18 18 #include "FUtils/FUEvent.h" 19 #endif // _FU_EVENT_H_20 #ifndef _FU_CRITICAL_SECTION_H_21 #include "FUtils/FUCriticalSection.h"22 #endif // _FU_CRITICAL_SECTION_H_23 19 24 20 /** Windows API defines this. */ 25 21 #undef ERROR -
libraries/fcollada/include/FUtils/FUPluginManager.h
48 48 fstring filename; 49 49 #if defined(WIN32) 50 50 HMODULE module; 51 #elif defined(__APPLE__) || defined( LINUX)51 #elif defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 52 52 void* module; 53 53 #endif // WIN32 54 54 -
libraries/fcollada/include/FCDocument/FCDEffectTools.h
33 33 34 34 #if defined(WIN32) 35 35 template <class T, int Q> class FCOLLADA_EXPORT FCDEffectParameterAnimatableT; /**< Trick Doxygen. */ 36 #elif defined( LINUX) || defined(__APPLE__)36 #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 37 37 template <class T, int Q> class FCDEffectParameterAnimatableT; /**< Trick Doxygen. */ 38 #endif // LINUX38 #endif // __linux__ 39 39 typedef FCDEffectParameterAnimatableT<FMVector4, 1> FCDEffectParameterColor4; /**< A RGBA color effect parameter. */ 40 40 typedef FCDEffectParameterAnimatableT<float, 0> FCDEffectParameterFloat; /**< A floating-point value effect parameter. */ 41 41 -
libraries/fcollada/include/FCDocument/FCDAnimationClip.h
22 22 23 23 typedef FUTrackedList<FCDAnimationCurve> FCDAnimationCurveTrackList; /**< A dynamically-sized tracking array of animation curves. */ 24 24 25 #ifndef _FCD_ENTITY_H_26 25 #include "FCDocument/FCDEntity.h" 27 #endif // _FCD_ENTITY_H_28 29 #ifndef _FCD_ENTITY_INSTANCE_H_30 26 #include "FCDocument/FCDEntityInstance.h" 31 #endif // _FCD_ENTITY__INSTANCE_H_32 27 33 28 /** 34 29 A COLLADA animation clip. -
libraries/fcollada/include/FCDocument/FCDControllerInstance.h
14 14 #ifndef _FCD_CONTROLLER_INSTANCE_H_ 15 15 #define _FCD_CONTROLLER_INSTANCE_H_ 16 16 17 #ifndef _FCD_GEOMETRY_ENTITY_H_18 17 #include "FCDocument/FCDGeometryInstance.h" 19 #endif // _FCD_GEOMETRY_ENTITY_H_20 21 #ifndef _FU_URI_H_22 18 #include "FUtils/FUUri.h" 23 #endif // _FU_URI_H_24 19 25 20 class FCDSkinController; 26 21 class FCDSceneNode; -
libraries/fcollada/include/FCDocument/FCDEffectParameterSampler.h
14 14 #ifndef _FCD_EFFECT_PARAMETER_SAMPLER_H_ 15 15 #define _FCD_EFFECT_PARAMETER_SAMPLER_H_ 16 16 17 #ifndef _FCD_EFFECT_PARAMETER_H_18 17 #include "FCDocument/FCDEffectParameter.h" 19 #endif // _FCD_EFFECT_PARAMETER_H_20 21 #ifndef _FU_DAE_ENUM_H_22 18 #include "FUtils/FUDaeEnum.h" 23 #endif // _FU_DAE_ENUM_H_24 19 25 20 class FCDocument; 26 21 class FCDEffectPass; -
libraries/fcollada/include/FCDocument/FCDController.h
20 20 #ifndef _FCD_CONTROLLER_H_ 21 21 #define _FCD_CONTROLLER_H_ 22 22 23 #ifndef _FCD_ENTITY_H_24 23 #include "FCDocument/FCDEntity.h" 25 #endif // _FCD_ENTITY_H_26 24 27 25 class FCDocument; 28 26 class FCDGeometry; -
libraries/fcollada/include/FCDocument/FCDEffectCode.h
14 14 #ifndef _FCD_EFFECT_CODE_H_ 15 15 #define _FCD_EFFECT_CODE_H_ 16 16 17 #ifndef __FCD_OBJECT_H_18 17 #include "FCDocument/FCDObject.h" 19 #endif // __FCD_OBJECT_H_20 18 21 19 class FCDocument; 22 20 -
libraries/fcollada/include/FCDocument/FCDAnimationChannel.h
20 20 #ifndef _FCD_ANIMATION_CHANNEL_H_ 21 21 #define _FCD_ANIMATION_CHANNEL_H_ 22 22 23 #ifndef __FCD_OBJECT_H_24 23 #include "FCDocument/FCDObject.h" 25 #endif // __FCD_OBJECT_H_26 #ifndef _FU_PARAMETER_H_27 24 #include "FUtils/FUParameter.h" 28 #endif // _FU_PARAMETER_H_29 25 30 26 class FCDAnimated; 31 27 class FCDAnimation; -
libraries/fcollada/include/FCDocument/FCDEffectStandard.h
37 37 38 38 #if defined(WIN32) 39 39 template <class T, int Q> class FCOLLADA_EXPORT FCDEffectParameterAnimatableT; /**< Trick Doxygen. */ 40 #elif defined( LINUX) || defined(__APPLE__)40 #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 41 41 template <class T, int Q> class FCDEffectParameterAnimatableT; /**< Trick Doxygen. */ 42 #endif // LINUX42 #endif // __linux__ 43 43 typedef FCDEffectParameterAnimatableT<FMVector4, 1> FCDEffectParameterColor4; /**< A RGBA color effect parameter. */ 44 44 typedef FCDEffectParameterAnimatableT<float, 0> FCDEffectParameterFloat; /**< A floating-point value effect parameter. */ 45 45 -
libraries/fcollada/include/FCDocument/FCDCamera.h
20 20 #ifndef _FCD_CAMERA_H_ 21 21 #define _FCD_CAMERA_H_ 22 22 23 #i fndef _FCD_TARGETED_ENTITY_H_23 #include "FCDocument/FCDParameterAnimatable.h" 24 24 #include "FCDocument/FCDTargetedEntity.h" 25 #endif // _FCD_TARGETED_ENTITY_H_26 #ifndef _FCD_PARAMETER_ANIMATABLE_H_27 #include "FCDocument/FCDParameterAnimatable.h"28 #endif // _FCD_PARAMETER_ANIMATABLE_H_29 25 30 26 class FCDocument; 31 27 class FCDSceneNode; -
libraries/fcollada/include/FCDocument/FCDAsset.h
13 13 #ifndef _FCD_ASSET_H_ 14 14 #define _FCD_ASSET_H_ 15 15 16 #ifndef __FCD_OBJECT_H_17 16 #include "FCDocument/FCDObject.h" 18 #endif // __FCD_OBJECT_H_19 #ifndef _FU_DATETIME_H_20 17 #include "FUtils/FUDateTime.h" 21 #endif // _FU_DATETIME_H_22 #ifndef _FU_PARAMETER_H_23 18 #include "FUtils/FUParameter.h" 24 #endif // _FU_PARAMETER_H_25 19 26 20 class FCDAssetContributor; 27 21 -
libraries/fcollada/include/FCDocument/FCDParameterAnimatable.h
396 396 /** See above. */ 397 397 #define InitializeParameterAnimatable(parameterName, ...) parameterName(this, __VA_ARGS__) 398 398 399 #if defined(__APPLE__) || defined( LINUX)399 #if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 400 400 #include <FCDocument/FCDParameterAnimatable.hpp> 401 401 #endif // MAC + LINUX 402 402 -
libraries/fcollada/include/FCDocument/FCDAnimationMultiCurve.h
20 20 #ifndef _FCD_ANIMATION_MULTI_CURVE_H_ 21 21 #define _FCD_ANIMATION_MULTI_CURVE_H_ 22 22 23 #ifndef __FCD_OBJECT_H_24 23 #include "FCDocument/FCDObject.h" 25 #endif // __FCD_OBJECT_H_26 #ifndef _FU_DAE_ENUM_H_27 24 #include "FUtils/FUDaeEnum.h" 28 #endif // _FU_DAE_ENUM_H_29 25 30 26 class FCDocument; 31 27 class FCDAnimationMKey; -
libraries/fcollada/include/FCDocument/FCDEffect.h
20 20 #ifndef _FCD_EFFECT_H_ 21 21 #define _FCD_EFFECT_H_ 22 22 23 #i fndef _FU_DAE_ENUM_H_23 #include "FCDocument/FCDEntity.h" 24 24 #include "FUtils/FUDaeEnum.h" 25 #endif // _FU_DAE_ENUM_H_26 #ifndef _FCD_ENTITY_H_27 #include "FCDocument/FCDEntity.h"28 #endif // _FCD_ENTITY_H_29 25 30 26 class FCDocument; 31 27 class FCDEffectStandard; -
libraries/fcollada/include/FCDocument/FCDAnimated.h
20 20 #ifndef _FCD_ANIMATED_H_ 21 21 #define _FCD_ANIMATED_H_ 22 22 23 #ifndef __FCD_OBJECT_H_24 23 #include "FCDocument/FCDObject.h" 25 #endif // __FCD_OBJECT_H_26 24 27 25 class FCDocument; 28 26 class FCDAnimated; -
libraries/fcollada/include/FCDocument/FCDEffectParameter.h
15 15 #ifndef _FCD_EFFECT_PARAMETER_H_ 16 16 #define _FCD_EFFECT_PARAMETER_H_ 17 17 18 #ifndef __FCD_OBJECT_H_19 18 #include "FCDocument/FCDObject.h" 20 #endif // __FCD_OBJECT_H_21 #ifndef _FCD_PARAMETER_ANIMATABLE_H_22 19 #include "FCDocument/FCDParameterAnimatable.h" 23 #endif // _FCD_PARAMETER_ANIMATABLE_H_24 20 25 21 class FCDocument; 26 22 class FCDEffectParameterAnnotation; … … 369 365 DeclareParameter(fstring, FUParameterQualifiers::SIMPLE, value, FC("Value")); /**< The annotation value. */ 370 366 }; 371 367 372 #if defined(__APPLE__) || defined( LINUX)368 #if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 373 369 #include <FCDocument/FCDEffectParameter.hpp> 374 370 #endif 375 371 -
libraries/fcollada/include/FCDocument/FCDAnimation.h
20 20 #ifndef _FCD_ANIMATION_H_ 21 21 #define _FCD_ANIMATION_H_ 22 22 23 #ifndef _FCD_ENTITY_H_24 23 #include "FCDocument/FCDEntity.h" 25 #endif // _FCD_ENTITY_H_26 24 27 25 class FCDocument; 28 26 class FCDAnimated; -
libraries/fcollada/include/FCDocument/FCDAnimationCurve.h
14 14 #ifndef _FCD_ANIMATION_CURVE_H_ 15 15 #define _FCD_ANIMATION_CURVE_H_ 16 16 17 #i fndef _FU_DAE_ENUM_H_17 #include "FCDocument/FCDObject.h" 18 18 #include "FUtils/FUDaeEnum.h" 19 #endif // _FU_DAE_ENUM_H_20 #ifndef __FCD_OBJECT_H_21 #include "FCDocument/FCDObject.h"22 #endif // __FCD_OBJECT_H_23 19 24 20 class FCDAnimated; 25 21 class FCDAnimationClip; -
libraries/fcollada/include/FCDocument/FCDocument.h
20 20 #ifndef _FC_DOCUMENT_H_ 21 21 #define _FC_DOCUMENT_H_ 22 22 23 #ifndef __FCD_OBJECT_H_24 23 #include "FCDocument/FCDObject.h" 25 #endif // __FCD_OBJECT_H_26 #ifndef _FU_PARAMETER_H_27 24 #include "FUtils/FUParameter.h" 28 #endif // _FU_PARAMETER_H_29 25 30 26 #if defined(WIN32) 31 27 template <class T> class FCOLLADA_EXPORT FCDLibrary; /**< Trick Doxygen. */ 32 28 template <class T> class FCOLLADA_EXPORT FUUniqueStringMapT; /**< Trick Doxygen. */ 33 #elif defined( LINUX) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)29 #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 34 30 template <class T> class FCDLibrary; /**< Trick Doxygen. */ 35 31 template <class T> class FUUniqueStringMapT; /**< Trick Doxygen. */ 36 #endif // LINUX32 #endif // __linux__ 37 33 38 34 class FCDAnimated; 39 35 class FCDAnimation; -
libraries/fcollada/include/FCDocument/FCDTexture.h
35 35 36 36 #if defined(WIN32) 37 37 template <class T> class FCOLLADA_EXPORT FCDEffectParameterT; /**< Trick Doxygen. */ 38 #elif defined( LINUX) || defined(__APPLE__)38 #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 39 39 template <class T> class FCDEffectParameterT; /**< Trick Doxygen. */ 40 #endif // LINUX40 #endif // __linux__ 41 41 typedef FCDEffectParameterT<int32> FCDEffectParameterInt; /**< An integer effect parameter. */ 42 42 43 43 /** -
libraries/fcollada/src/FCollada/FCDocument/FCDAnimationClip.h
22 22 23 23 typedef FUTrackedList<FCDAnimationCurve> FCDAnimationCurveTrackList; /**< A dynamically-sized tracking array of animation curves. */ 24 24 25 #ifndef _FCD_ENTITY_H_26 25 #include "FCDocument/FCDEntity.h" 27 #endif // _FCD_ENTITY_H_28 29 #ifndef _FCD_ENTITY_INSTANCE_H_30 26 #include "FCDocument/FCDEntityInstance.h" 31 #endif // _FCD_ENTITY__INSTANCE_H_32 27 33 28 /** 34 29 A COLLADA animation clip. -
libraries/fcollada/src/FCollada/FCDocument/FCDControllerInstance.h
14 14 #ifndef _FCD_CONTROLLER_INSTANCE_H_ 15 15 #define _FCD_CONTROLLER_INSTANCE_H_ 16 16 17 #ifndef _FCD_GEOMETRY_ENTITY_H_18 17 #include "FCDocument/FCDGeometryInstance.h" 19 #endif // _FCD_GEOMETRY_ENTITY_H_20 21 #ifndef _FU_URI_H_22 18 #include "FUtils/FUUri.h" 23 #endif // _FU_URI_H_24 19 25 20 class FCDSkinController; 26 21 class FCDSceneNode; -
libraries/fcollada/src/FCollada/FCDocument/FCDEffectParameterSampler.h
14 14 #ifndef _FCD_EFFECT_PARAMETER_SAMPLER_H_ 15 15 #define _FCD_EFFECT_PARAMETER_SAMPLER_H_ 16 16 17 #ifndef _FCD_EFFECT_PARAMETER_H_18 17 #include "FCDocument/FCDEffectParameter.h" 19 #endif // _FCD_EFFECT_PARAMETER_H_20 21 #ifndef _FU_DAE_ENUM_H_22 18 #include "FUtils/FUDaeEnum.h" 23 #endif // _FU_DAE_ENUM_H_24 19 25 20 class FCDocument; 26 21 class FCDEffectPass; -
libraries/fcollada/src/FCollada/FCDocument/FCDController.h
20 20 #ifndef _FCD_CONTROLLER_H_ 21 21 #define _FCD_CONTROLLER_H_ 22 22 23 #ifndef _FCD_ENTITY_H_24 23 #include "FCDocument/FCDEntity.h" 25 #endif // _FCD_ENTITY_H_26 24 27 25 class FCDocument; 28 26 class FCDGeometry; -
libraries/fcollada/src/FCollada/FCDocument/FCDEffectCode.h
14 14 #ifndef _FCD_EFFECT_CODE_H_ 15 15 #define _FCD_EFFECT_CODE_H_ 16 16 17 #ifndef __FCD_OBJECT_H_18 17 #include "FCDocument/FCDObject.h" 19 #endif // __FCD_OBJECT_H_20 18 21 19 class FCDocument; 22 20 -
libraries/fcollada/src/FCollada/FCDocument/FCDAnimationChannel.h
20 20 #ifndef _FCD_ANIMATION_CHANNEL_H_ 21 21 #define _FCD_ANIMATION_CHANNEL_H_ 22 22 23 #ifndef __FCD_OBJECT_H_24 23 #include "FCDocument/FCDObject.h" 25 #endif // __FCD_OBJECT_H_26 #ifndef _FU_PARAMETER_H_27 24 #include "FUtils/FUParameter.h" 28 #endif // _FU_PARAMETER_H_29 25 30 26 class FCDAnimated; 31 27 class FCDAnimation; -
libraries/fcollada/src/FCollada/FCDocument/FCDEffectStandard.h
37 37 38 38 #if defined(WIN32) 39 39 template <class T, int Q> class FCOLLADA_EXPORT FCDEffectParameterAnimatableT; /**< Trick Doxygen. */ 40 #elif defined( LINUX) || defined(__APPLE__)40 #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 41 41 template <class T, int Q> class FCDEffectParameterAnimatableT; /**< Trick Doxygen. */ 42 #endif // LINUX42 #endif // __linux__ 43 43 typedef FCDEffectParameterAnimatableT<FMVector4, 1> FCDEffectParameterColor4; /**< A RGBA color effect parameter. */ 44 44 typedef FCDEffectParameterAnimatableT<float, 0> FCDEffectParameterFloat; /**< A floating-point value effect parameter. */ 45 45 -
libraries/fcollada/src/FCollada/FCDocument/FCDParameterAnimatable.h
396 396 /** See above. */ 397 397 #define InitializeParameterAnimatable(parameterName, ...) parameterName(this, __VA_ARGS__) 398 398 399 #if defined(__APPLE__) || defined( LINUX)399 #if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 400 400 #include <FCDocument/FCDParameterAnimatable.hpp> 401 401 #endif // MAC + LINUX 402 402 -
libraries/fcollada/src/FCollada/FCDocument/FCDAnimationMultiCurve.h
20 20 #ifndef _FCD_ANIMATION_MULTI_CURVE_H_ 21 21 #define _FCD_ANIMATION_MULTI_CURVE_H_ 22 22 23 #ifndef __FCD_OBJECT_H_24 23 #include "FCDocument/FCDObject.h" 25 #endif // __FCD_OBJECT_H_26 #ifndef _FU_DAE_ENUM_H_27 24 #include "FUtils/FUDaeEnum.h" 28 #endif // _FU_DAE_ENUM_H_29 25 30 26 class FCDocument; 31 27 class FCDAnimationMKey; -
libraries/fcollada/src/FCollada/FCDocument/FCDParameterAnimatable.cpp
8 8 9 9 #include "StdAfx.h" 10 10 #include "FCDParameterAnimatable.h" 11 #if !defined (__APPLE__) && !defined(LINUX)11 #if !defined(__APPLE__) && !defined(__linux__) && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__OpenBSD__) 12 12 #include "FCDParameterAnimatable.hpp" 13 13 #endif 14 14 #include "FCDAnimated.h" -
libraries/fcollada/src/FCollada/FCDocument/FCDAnimated.h
20 20 #ifndef _FCD_ANIMATED_H_ 21 21 #define _FCD_ANIMATED_H_ 22 22 23 #ifndef __FCD_OBJECT_H_24 23 #include "FCDocument/FCDObject.h" 25 #endif // __FCD_OBJECT_H_26 24 27 25 class FCDocument; 28 26 class FCDAnimated; -
libraries/fcollada/src/FCollada/FCDocument/FCDAnimation.h
20 20 #ifndef _FCD_ANIMATION_H_ 21 21 #define _FCD_ANIMATION_H_ 22 22 23 #ifndef _FCD_ENTITY_H_24 23 #include "FCDocument/FCDEntity.h" 25 #endif // _FCD_ENTITY_H_26 24 27 25 class FCDocument; 28 26 class FCDAnimated; -
libraries/fcollada/src/FCollada/FCDocument/FCDAnimationCurve.h
14 14 #ifndef _FCD_ANIMATION_CURVE_H_ 15 15 #define _FCD_ANIMATION_CURVE_H_ 16 16 17 #i fndef _FU_DAE_ENUM_H_17 #include "FCDocument/FCDObject.h" 18 18 #include "FUtils/FUDaeEnum.h" 19 #endif // _FU_DAE_ENUM_H_20 #ifndef __FCD_OBJECT_H_21 #include "FCDocument/FCDObject.h"22 #endif // __FCD_OBJECT_H_23 19 24 20 class FCDAnimated; 25 21 class FCDAnimationClip; -
libraries/fcollada/src/FCollada/FCDocument/FCDocument.h
20 20 #ifndef _FC_DOCUMENT_H_ 21 21 #define _FC_DOCUMENT_H_ 22 22 23 #ifndef __FCD_OBJECT_H_24 23 #include "FCDocument/FCDObject.h" 25 #endif // __FCD_OBJECT_H_26 #ifndef _FU_PARAMETER_H_27 24 #include "FUtils/FUParameter.h" 28 #endif // _FU_PARAMETER_H_29 25 30 26 #if defined(WIN32) 31 27 template <class T> class FCOLLADA_EXPORT FCDLibrary; /**< Trick Doxygen. */ 32 28 template <class T> class FCOLLADA_EXPORT FUUniqueStringMapT; /**< Trick Doxygen. */ 33 #elif defined( LINUX) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)29 #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 34 30 template <class T> class FCDLibrary; /**< Trick Doxygen. */ 35 31 template <class T> class FUUniqueStringMapT; /**< Trick Doxygen. */ 36 #endif // LINUX32 #endif // __linux__ 37 33 38 34 class FCDAnimated; 39 35 class FCDAnimation; -
libraries/fcollada/src/FCollada/FCDocument/FCDEffectTools.h
33 33 34 34 #if defined(WIN32) 35 35 template <class T, int Q> class FCOLLADA_EXPORT FCDEffectParameterAnimatableT; /**< Trick Doxygen. */ 36 #elif defined( LINUX) || defined(__APPLE__)36 #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 37 37 template <class T, int Q> class FCDEffectParameterAnimatableT; /**< Trick Doxygen. */ 38 #endif // LINUX38 #endif // __linux__ 39 39 typedef FCDEffectParameterAnimatableT<FMVector4, 1> FCDEffectParameterColor4; /**< A RGBA color effect parameter. */ 40 40 typedef FCDEffectParameterAnimatableT<float, 0> FCDEffectParameterFloat; /**< A floating-point value effect parameter. */ 41 41 -
libraries/fcollada/src/FCollada/FCDocument/FCDCamera.h
20 20 #ifndef _FCD_CAMERA_H_ 21 21 #define _FCD_CAMERA_H_ 22 22 23 #i fndef _FCD_TARGETED_ENTITY_H_23 #include "FCDocument/FCDParameterAnimatable.h" 24 24 #include "FCDocument/FCDTargetedEntity.h" 25 #endif // _FCD_TARGETED_ENTITY_H_26 #ifndef _FCD_PARAMETER_ANIMATABLE_H_27 #include "FCDocument/FCDParameterAnimatable.h"28 #endif // _FCD_PARAMETER_ANIMATABLE_H_29 25 30 26 class FCDocument; 31 27 class FCDSceneNode; -
libraries/fcollada/src/FCollada/FCDocument/FCDAsset.h
13 13 #ifndef _FCD_ASSET_H_ 14 14 #define _FCD_ASSET_H_ 15 15 16 #ifndef __FCD_OBJECT_H_17 16 #include "FCDocument/FCDObject.h" 18 #endif // __FCD_OBJECT_H_19 #ifndef _FU_DATETIME_H_20 17 #include "FUtils/FUDateTime.h" 21 #endif // _FU_DATETIME_H_22 #ifndef _FU_PARAMETER_H_23 18 #include "FUtils/FUParameter.h" 24 #endif // _FU_PARAMETER_H_25 19 26 20 class FCDAssetContributor; 27 21 -
libraries/fcollada/src/FCollada/FCDocument/FCDEffectParameter.cpp
14 14 #include "FCDEffectParameter.h" 15 15 #include "FCDEffectParameterFactory.h" 16 16 #include "FCDImage.h" 17 #if !defined(__APPLE__) && !defined( LINUX)17 #if !defined(__APPLE__) && !defined(__linux__) && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__OpenBSD__) 18 18 #include "FCDEffectParameter.hpp" 19 19 #endif 20 20 -
libraries/fcollada/src/FCollada/FCDocument/FCDEffect.h
20 20 #ifndef _FCD_EFFECT_H_ 21 21 #define _FCD_EFFECT_H_ 22 22 23 #i fndef _FU_DAE_ENUM_H_23 #include "FCDocument/FCDEntity.h" 24 24 #include "FUtils/FUDaeEnum.h" 25 #endif // _FU_DAE_ENUM_H_26 #ifndef _FCD_ENTITY_H_27 #include "FCDocument/FCDEntity.h"28 #endif // _FCD_ENTITY_H_29 25 30 26 class FCDocument; 31 27 class FCDEffectStandard; -
libraries/fcollada/src/FCollada/FCDocument/FCDEffectParameter.h
15 15 #ifndef _FCD_EFFECT_PARAMETER_H_ 16 16 #define _FCD_EFFECT_PARAMETER_H_ 17 17 18 #ifndef __FCD_OBJECT_H_19 18 #include "FCDocument/FCDObject.h" 20 #endif // __FCD_OBJECT_H_21 #ifndef _FCD_PARAMETER_ANIMATABLE_H_22 19 #include "FCDocument/FCDParameterAnimatable.h" 23 #endif // _FCD_PARAMETER_ANIMATABLE_H_24 20 25 21 class FCDocument; 26 22 class FCDEffectParameterAnnotation; … … 369 365 DeclareParameter(fstring, FUParameterQualifiers::SIMPLE, value, FC("Value")); /**< The annotation value. */ 370 366 }; 371 367 372 #if defined(__APPLE__) || defined( LINUX)368 #if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 373 369 #include <FCDocument/FCDEffectParameter.hpp> 374 370 #endif 375 371 -
libraries/fcollada/src/FCollada/FCDocument/FCDTexture.h
35 35 36 36 #if defined(WIN32) 37 37 template <class T> class FCOLLADA_EXPORT FCDEffectParameterT; /**< Trick Doxygen. */ 38 #elif defined( LINUX) || defined(__APPLE__)38 #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 39 39 template <class T> class FCDEffectParameterT; /**< Trick Doxygen. */ 40 #endif // LINUX40 #endif // __linux__ 41 41 typedef FCDEffectParameterT<int32> FCDEffectParameterInt; /**< An integer effect parameter. */ 42 42 43 43 /** -
libraries/fcollada/src/FCollada/Sconscript
12 12 env.Append(CPPPATH = [sconscriptRelativePath, sconscriptRelativePath + "LibXML/include"]) 13 13 14 14 #Add the macros defined for all the builds 15 env.Append(CPPDEFINES = ['LINUX'])16 15 if int(ifshared) != 0: env.Append(CPPDEFINES = ['FCOLLADA_DLL']) 17 16 env.Append(CCFLAGS = ['-W', '-Wall', '-Wno-unused-parameter', '-Wno-unused-function']) 18 17 -
libraries/fcollada/src/FCollada/FColladaTest/Sconscript
9 9 env.Append(CPPPATH = [sconscriptRelativePath, sconscriptRelativePath + "/..", sconscriptRelativePath + "/../LibXML/include/"]) 10 10 11 11 #Add the macros defined for all the builds 12 env.Append(CPPDEFINES = [' LINUX', '_DEBUG'])12 env.Append(CPPDEFINES = ['_DEBUG']) 13 13 env.Append(CCFLAGS = ['-O0', '-g', '-W', '-Wall']) 14 14 15 15 #Unicode is pre-requisite to building the test for FCollada. -
libraries/fcollada/src/FCollada/FUtils/FUCriticalSection.h
33 33 #elif defined(__APPLE__) 34 34 //Do something here. 35 35 MPCriticalRegionID criticalSection; 36 #elif defined( LINUX) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)36 #elif defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 37 37 #else 38 38 #warning "FUCriticalSection: Critical section not implemented for other platforms." 39 39 #endif -
libraries/fcollada/src/FCollada/FUtils/FUFileManager.cpp
24 24 #elif defined(__APPLE__) 25 25 #include <mach-o/dyld.h> 26 26 typedef int (*NSGetExecutablePathProcPtr)(char *buf, size_t *bufsize); 27 #elif defined( LINUX)27 #elif defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 28 28 #include <sys/types.h> 29 29 #include <sys/stat.h> 30 30 #include <unistd.h> … … 210 210 if (_mkdir(TO_STRING(absoluteDirectory).c_str()) == 0) return true; 211 211 errno_t err; _get_errno(&err); 212 212 if (err == EEXIST) return true; 213 #elif defined( LINUX)213 #elif defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 214 214 if (mkdir(TO_STRING(absoluteDirectory).c_str(), ~0u) == 0) return true; // I think this means all permissions.. 215 215 #elif defined(__APPLE__) 216 216 fm::string _fname = TO_STRING(directory); … … 374 374 GetModuleFileName(NULL, buffer, 1024); 375 375 buffer[1023] = 0; 376 376 _uri = buffer; 377 #elif defined( LINUX)377 #elif defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 378 378 char path[1024]; 379 379 char path2[1024]; 380 380 struct stat stat_buf; -
libraries/fcollada/src/FCollada/FUtils/FUPluginManager.cpp
24 24 #define ffindclose _findclose 25 25 #define ffindnext _findnext 26 26 #endif 27 #elif defined(__APPLE__) || defined( LINUX)27 #elif defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 28 28 #include <dlfcn.h> 29 29 #include <dirent.h> 30 30 #endif //WIN32 … … 128 128 ffindclose(folderHandle); 129 129 } 130 130 131 #elif defined(__APPLE__) || defined( LINUX)131 #elif defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 132 132 fm::string s_filter = TO_STRING(filter); 133 133 if (s_filter.length() > 0 && s_filter.front() == '*') s_filter.erase(0, 1); 134 134 if (s_filter.length() > 0 && s_filter.back() == '*') s_filter.pop_back(); … … 179 179 { 180 180 #if defined(WIN32) 181 181 if ((*it)->module != NULL) FreeLibrary((*it)->module); 182 #elif defined( LINUX) || defined(__APPLE__)182 #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 183 183 if ((*it)->module != NULL) dlclose((*it)->module); 184 184 #endif // WIN32 185 185 } -
libraries/fcollada/src/FCollada/FUtils/FUAssert.h
14 14 #ifndef _FU_ASSERT_H_ 15 15 #define _FU_ASSERT_H_ 16 16 17 #ifndef _FU_FUNCTOR_H_18 17 #include "FUtils/FUFunctor.h" 19 #endif // _FU_FUNCTOR_H_20 18 21 19 namespace FUAssertion 22 20 { -
libraries/fcollada/src/FCollada/FUtils/FUError.h
14 14 #ifndef _FU_ERROR_H_ 15 15 #define _FU_ERROR_H_ 16 16 17 #i fndef _FU_EVENT_H_17 #include "FUtils/FUCriticalSection.h" 18 18 #include "FUtils/FUEvent.h" 19 #endif // _FU_EVENT_H_20 #ifndef _FU_CRITICAL_SECTION_H_21 #include "FUtils/FUCriticalSection.h"22 #endif // _FU_CRITICAL_SECTION_H_23 19 24 20 /** Windows API defines this. */ 25 21 #undef ERROR -
libraries/fcollada/src/FCollada/FUtils/Platforms.h
27 27 #define FCOLLADA_EXPORT __declspec(dllimport) 28 28 #define FCOLLADA_LOCAL 29 29 #endif // FCOLLADA_INTERNAL 30 #elif defined(__APPLE__) || defined( LINUX)30 #elif defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 31 31 #define FCOLLADA_EXPORT __attribute__((visibility("default"))) 32 32 #define FCOLLADA_LOCAL __attribute__((visibility("hidden"))) 33 33 #endif … … 74 74 #include <wchar.h> 75 75 #include <stdint.h> 76 76 77 #elif defined( LINUX) || defined(__PPU__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)77 #elif defined(__linux__) || defined(__PPU__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 78 78 #include <ctype.h> 79 79 #include <wctype.h> 80 80 #include <unistd.h> … … 125 125 #endif // PLATFORMS 126 126 127 127 // Important functions that some OSes have missing! 128 #if defined(__APPLE__) || defined (LINUX) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)128 #if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 129 129 inline char* strlower(char* str) { char* it = str; while (*it != 0) { *it = tolower(*it); ++it; } return str; } 130 130 inline wchar_t* wcslwr(wchar_t* str) { wchar_t* it = str; while (*it != 0) { *it = towlower(*it); ++it; } return str; } 131 131 inline int wcsicmp(const wchar_t* s1, const wchar_t* s2) { wchar_t c1 = *s1, c2 = *s2; while (c1 != 0 && c2 != 0) { if (c1 >= 'a' && c1 <= 'z') c1 -= 'a' + 'A'; if (c2 >= 'a' && c2 <= 'z') c2 -= 'a' + 'A'; if (c2 < c1) return -1; else if (c2 > c1) return 1; c1 = *(++s1); c2 = *(++s2); } return 0; } … … 139 139 #elif defined(__PPU__) 140 140 #define glClearDepth glClearDepthf 141 141 142 #endif // __APPLE__ and LINUX142 #endif // __APPLE__ || __linux__ || __FreeBSD__ || __FreeBSD_kernel__ || __OpenBSD__ 143 143 144 144 // Cross-platform needed functions 145 145 #ifdef WIN32 -
libraries/fcollada/src/FCollada/FUtils/FUEvent.h
18 18 #ifndef _FU_EVENT_H_ 19 19 #define _FU_EVENT_H_ 20 20 21 #ifndef _FU_FUNCTOR_H_22 21 #include "FUtils/FUFunctor.h" 23 #endif // _FU_FUNCTOR_H_24 22 25 23 /** 26 24 An event with no argument. -
libraries/fcollada/src/FCollada/FUtils/FUDebug.cpp
18 18 FUDebug::FUDebug() {} 19 19 FUDebug::~FUDebug() {} 20 20 21 #if defined( LINUX) || defined(__APPLE__)21 #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 22 22 #if defined(UNICODE) 23 23 #define STRING_OUT(sz) fprintf(stderr, "%s", TO_STRING(sz).c_str()); fflush(stderr); 24 24 #else -
libraries/fcollada/src/FCollada/FUtils/FUFileManager.h
15 15 #ifndef _FU_FILE_MANAGER_H_ 16 16 #define _FU_FILE_MANAGER_H_ 17 17 18 #i fndef _FU_URI_H_18 #include "FMath/FMArray.h" 19 19 #include "FUtils/FUUri.h" 20 #endif //_FU_URI_H_21 20 22 #ifndef _FM_ARRAY_H_23 #include "FMath/FMArray.h"24 #endif //_FM_ARRAY_H_25 26 21 class FUFile; 27 22 28 23 /** A scheme callback to load remote files. -
libraries/fcollada/src/FCollada/FUtils/FUParameter.h
167 167 /** See above. */ 168 168 #define InitializeParameter(parameterName, ...) parameterName(__VA_ARGS__) 169 169 170 #if defined(__APPLE__) || defined( LINUX)170 #if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 171 171 #include "FUtils/FUParameter.hpp" 172 172 #endif // __APPLE__ 173 173 -
libraries/fcollada/src/FCollada/FUtils/FUParameter.cpp
10 10 #include "FUParameterizable.h" 11 11 #include "FUParameter.h" 12 12 #include <FCDocument/FCDParameterAnimatable.h> 13 #if !defined(__APPLE__) && !defined( LINUX)13 #if !defined(__APPLE__) && !defined(__linux__) && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__OpenBSD__) 14 14 #include "FUParameter.hpp" 15 15 #endif 16 16 -
libraries/fcollada/src/FCollada/FUtils/FUErrorLog.h
14 14 #ifndef _FU_ERROR_LOG_H_ 15 15 #define _FU_ERROR_LOG_H_ 16 16 17 #ifndef _FU_ERROR_H_18 17 #include "FUtils/FUError.h" 19 #endif // _FU_ERROR_H_20 18 21 19 class FULogFile; 22 20 -
libraries/fcollada/src/FCollada/FUtils/FUPluginManager.h
48 48 fstring filename; 49 49 #if defined(WIN32) 50 50 HMODULE module; 51 #elif defined(__APPLE__) || defined( LINUX)51 #elif defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 52 52 void* module; 53 53 #endif // WIN32 54 54 -
libraries/fcollada/src/FCollada/DLLEntry.cpp
44 44 hInstance = _hInstance; 45 45 return TRUE; 46 46 } 47 #elif defined(__APPLE__) || defined( LINUX)47 #elif defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) 48 48 void __attribute((constructor)) DllEntry(void) 49 49 { 50 50 } -
libraries/fcollada/src/FCollada/FMath/FMArrayPointer.h
15 15 #ifndef _FM_ARRAY_POINTER_H_ 16 16 #define _FM_ARRAY_POINTER_H_ 17 17 18 #ifndef _FM_ARRAY_H_19 18 #include "FMath/FMArray.h" 20 #endif // _FM_ARRAY_H_21 19 22 20 // Already documented in FMArray.h. 23 21 namespace fm -
libraries/fcollada/src/FCollada/FMath/FMTree.h
14 14 #ifndef _FM_TREE_H_ 15 15 #define _FM_TREE_H_ 16 16 17 #ifndef _FM_ALLOCATOR_H_18 17 #include "FMath/FMAllocator.h" 19 #endif // _FM_ALLOCATOR_H_20 18 21 19 namespace fm 22 20 { -
libraries/fcollada/src/FCollada/FMath/FMFloat.h
14 14 #ifndef _FM_FLOAT_H_ 15 15 #define _FM_FLOAT_H_ 16 16 17 #if !defined(_INC_FLOAT) && (defined (WIN32) || defined ( LINUX) || defined(__APPLE__))17 #if !defined(_INC_FLOAT) && (defined (WIN32) || defined (__linux__) || defined(__APPLE__)) 18 18 #include <float.h> 19 19 #endif // _INC_FLOAT, WIN32 and LINUX 20 20 -
libraries/fcollada/src/FCollada/FMath/FMArray.h
14 14 #ifndef _FM_ARRAY_H_ 15 15 #define _FM_ARRAY_H_ 16 16 17 #ifndef _FM_ALLOCATOR_H_18 17 #include "FMath/FMAllocator.h" 19 #endif // _FM_ALLOCATOR_H_20 #ifndef _FM_SORT_H_21 18 #include "FMath/FMSort.h" 22 #endif // _FM_SORT_H_23 19 24 20 #ifdef WIN32 25 21 #pragma warning(disable:4127) -
libraries/fcollada/src/Makefile
3 3 ifeq ($(OS_ARCH),Darwin) 4 4 PIC_FLAGS ?= -fPIC 5 5 else 6 OS_DEFINE ?= -DLINUX7 6 PIC_FLAGS ?= -fpic 8 7 endif 9 8 10 9 CXX ?= g++ 11 CXXFLAGS += -fvisibility=hidden -W -Wall -Wno-unused-parameter -Wno-unused-function $( OS_DEFINE) $(PIC_FLAGS) $(CPPFLAGS)10 CXXFLAGS += -fvisibility=hidden -W -Wall -Wno-unused-parameter -Wno-unused-function $(PIC_FLAGS) $(CPPFLAGS) 12 11 CXXFLAGS_DEBUG := -O0 -g -D_DEBUG -DRETAIL 13 12 CXXFLAGS_RELEASE := -O1 -DNDEBUG -DRETAIL 14 13 # (-O2 with gcc 4.3 causes linker errors when using this library, for unknown reasons, so stick with -O1)