Add rayman2 source files
This commit is contained in:
157
Rayman_X/cpa/tempgrp/PCS/PCS.DSP
Normal file
157
Rayman_X/cpa/tempgrp/PCS/PCS.DSP
Normal file
@@ -0,0 +1,157 @@
|
||||
# Microsoft Developer Studio Project File - Name="PCS" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 5.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
||||
|
||||
CFG=PCS - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "Pcs.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "Pcs.mak" CFG="PCS - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "PCS - Win32 Release" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "PCS - Win32 Debug" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "PCS - Win32 Retail" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP Scc_ProjName ""$/cpa/tempgrp/PCS", XXDAAAAA"
|
||||
# PROP Scc_LocalPath "."
|
||||
CPP=cl.exe
|
||||
|
||||
!IF "$(CFG)" == "PCS - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "x:\cpa\lib"
|
||||
# PROP Intermediate_Dir "Tmp\Release"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
# ADD CPP /nologo /G5 /W3 /WX /GX /O2 /I "x:\CPA\Public" /D "NDEBUG" /D "VISUAL" /D "WIN32" /D "USE_PROFILER" /FD /c
|
||||
# SUBTRACT CPP /Fr /YX
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo /out:"x:\CPA\Lib\PCSP5_vr.lib"
|
||||
|
||||
!ELSEIF "$(CFG)" == "PCS - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "x:\CPA\Lib"
|
||||
# PROP Intermediate_Dir "Tmp\Debug"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
# ADD CPP /nologo /G5 /W3 /WX /GX /Z7 /Od /I "x:\CPA\Public" /D "_DEBUG" /D "VISUAL" /D "WIN32" /D "USE_PROFILER" /D "MTH_CHECK" /D "CPA_WANTS_EXPORT" /FD /c
|
||||
# SUBTRACT CPP /Fr /YX
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo /out:"x:\CPA\Lib\PCSP5_vd.lib"
|
||||
|
||||
!ELSEIF "$(CFG)" == "PCS - Win32 Retail"
|
||||
|
||||
# PROP BASE Use_MFC 2
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "PCS___Wi"
|
||||
# PROP BASE Intermediate_Dir "PCS___Wi"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "x:/cpa/lib"
|
||||
# PROP Intermediate_Dir "tmp/retail"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /G5 /MD /W3 /WX /GX /O2 /I "x:\CPA\Public" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_AFXDLL" /D "CPA_WANTS_EXPORT" /FD /c
|
||||
# SUBTRACT BASE CPP /Fr /YX
|
||||
# ADD CPP /nologo /G5 /W3 /WX /GX /O2 /I "x:\CPA\Public" /D "NDEBUG" /D "VISUAL" /D "WIN32" /D "RETAIL" /FD /c
|
||||
# SUBTRACT CPP /Fr /YX
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo /out:"x:\CPA\Lib\PCSP5_vr.lib"
|
||||
# ADD LIB32 /nologo /out:"x:\CPA\Lib\PCSP5_vf.lib"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "PCS - Win32 Release"
|
||||
# Name "PCS - Win32 Debug"
|
||||
# Name "PCS - Win32 Retail"
|
||||
# Begin Group "inc"
|
||||
|
||||
# PROP Default_Filter "*.h"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Public\incpcs.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\public\PCS.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\public\PCS\PCS_cpa.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\public\PCS\PCS_Cst.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\public\PCS\PCS_Fct.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\public\PCS\PCS_Hdl.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\public\PCS\PCS_Mcr.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\public\PCS\PCS_Prt.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\public\PCS\PCS_Str.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "src"
|
||||
|
||||
# PROP Default_Filter "*.c"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Specif\PhysColl.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Pcs.mak
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
239
Rayman_X/cpa/tempgrp/PCS/PCS.vcproj
Normal file
239
Rayman_X/cpa/tempgrp/PCS/PCS.vcproj
Normal file
@@ -0,0 +1,239 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="PCS"
|
||||
ProjectGUID="{DF70F8E5-F396-4CFC-A01C-C0C9E11E37E2}"
|
||||
SccProjectName=""$/cpa/tempgrp/PCS", XXDAAAAA"
|
||||
SccAuxPath=""
|
||||
SccLocalPath="."
|
||||
SccProvider="MSSCCI:NXN alienbrain">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="x:\CPA\Libd"
|
||||
IntermediateDirectory=".\Tmp\Debug"
|
||||
ConfigurationType="4"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
OptimizeForProcessor="1"
|
||||
AdditionalIncludeDirectories="x:\CPA\Public"
|
||||
PreprocessorDefinitions="_DEBUG;VISUAL;WIN32;USE_PROFILER;MTH_CHECK;CPA_WANTS_EXPORT"
|
||||
RuntimeLibrary="3"
|
||||
PrecompiledHeaderFile=".\Tmp\Debug/PCS.pch"
|
||||
AssemblerListingLocation=".\Tmp\Debug/"
|
||||
ObjectFile=".\Tmp\Debug/"
|
||||
ProgramDataBaseFileName=".\Tmp\Debug/"
|
||||
WarningLevel="3"
|
||||
WarnAsError="TRUE"
|
||||
SuppressStartupBanner="TRUE"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile="x:\CPA\Libd\PCSP5_vd.lib"
|
||||
SuppressStartupBanner="TRUE"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1033"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="x:\cpa\lib"
|
||||
IntermediateDirectory=".\Tmp\Release"
|
||||
ConfigurationType="4"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
OptimizeForProcessor="1"
|
||||
AdditionalIncludeDirectories="x:\CPA\Public"
|
||||
PreprocessorDefinitions="NDEBUG;VISUAL;WIN32;USE_PROFILER"
|
||||
StringPooling="TRUE"
|
||||
RuntimeLibrary="4"
|
||||
EnableFunctionLevelLinking="TRUE"
|
||||
PrecompiledHeaderFile=".\Tmp\Release/PCS.pch"
|
||||
AssemblerListingLocation=".\Tmp\Release/"
|
||||
ObjectFile=".\Tmp\Release/"
|
||||
ProgramDataBaseFileName=".\Tmp\Release/"
|
||||
WarningLevel="3"
|
||||
WarnAsError="TRUE"
|
||||
SuppressStartupBanner="TRUE"
|
||||
CompileAs="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile="x:\CPA\Lib\PCSP5_vr.lib"
|
||||
SuppressStartupBanner="TRUE"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1033"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Retail|Win32"
|
||||
OutputDirectory="x:/cpa/lib"
|
||||
IntermediateDirectory=".\tmp/retail"
|
||||
ConfigurationType="4"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
OptimizeForProcessor="1"
|
||||
AdditionalIncludeDirectories="x:\CPA\Public"
|
||||
PreprocessorDefinitions="NDEBUG;VISUAL;WIN32;RETAIL"
|
||||
StringPooling="TRUE"
|
||||
RuntimeLibrary="4"
|
||||
EnableFunctionLevelLinking="TRUE"
|
||||
PrecompiledHeaderFile=".\tmp/retail/PCS.pch"
|
||||
AssemblerListingLocation=".\tmp/retail/"
|
||||
ObjectFile=".\tmp/retail/"
|
||||
ProgramDataBaseFileName=".\tmp/retail/"
|
||||
WarningLevel="3"
|
||||
WarnAsError="TRUE"
|
||||
SuppressStartupBanner="TRUE"
|
||||
CompileAs="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile="x:\CPA\Lib\PCSP5_vf.lib"
|
||||
SuppressStartupBanner="TRUE"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1033"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="inc"
|
||||
Filter="*.h">
|
||||
<File
|
||||
RelativePath="..\..\Public\incpcs.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\public\PCS.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\public\PCS\PCS_cpa.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\public\PCS\PCS_Cst.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\public\PCS\PCS_Fct.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\public\PCS\PCS_Hdl.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\public\PCS\PCS_Mcr.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\public\PCS\PCS_Prt.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\public\PCS\PCS_Str.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="src"
|
||||
Filter="*.c">
|
||||
<File
|
||||
RelativePath="Specif\PhysColl.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Retail|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath="Pcs.mak">
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
248
Rayman_X/cpa/tempgrp/PCS/Specif/PhysColl.c
Normal file
248
Rayman_X/cpa/tempgrp/PCS/Specif/PhysColl.c
Normal file
@@ -0,0 +1,248 @@
|
||||
/* ##C_FILE#
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
FILE : PhysColl.c
|
||||
|
||||
DESCRIPTION : Physical collide set module
|
||||
|
||||
VERSION : 1.00/Olivier Jourdan/Creation
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*/
|
||||
|
||||
#define PCS_MAIN
|
||||
|
||||
#include "ACP_Base.h"
|
||||
|
||||
#include "GEO.h"
|
||||
|
||||
#include "PCS\PCS_Cst.h"
|
||||
#include "PCS\PCS_Str.h"
|
||||
#include "PCS\PCS_Mcr.h"
|
||||
#include "PCS\PCS_Hdl.h"
|
||||
#include "PCS\PCS_Prt.h"
|
||||
#include "PCS\PCS_Fct.h"
|
||||
|
||||
/* ##F===================================================================================
|
||||
NAME : PCS_fn_hCreatePhysicalCollideSet
|
||||
DESCRIPTION : Create and init a Physical Collide Set structure
|
||||
OUTPUT : handle to physical collide set
|
||||
=========================================================================================
|
||||
CREATION : Olivier Jourdan
|
||||
=======================================================================================*/
|
||||
PCS_tdxHandleToPhysicalCollSet PCS_fn_hCreatePhysicalCollideSet()
|
||||
{
|
||||
tdstPhysicalCollSet * p_stPCS;
|
||||
|
||||
MMG_fn_vAddMemoryInfo (MMG_C_lTypePCS , MMG_C_lSubTypePCSStructure , NULL);
|
||||
GEO_M_CPAMalloc(p_stPCS,tdstPhysicalCollSet *,sizeof(tdstPhysicalCollSet),E_uwGEONotEnoughtMemory);
|
||||
p_stPCS->hZde = NULL;
|
||||
p_stPCS->hZdm = NULL;
|
||||
p_stPCS->hZdr = NULL;
|
||||
p_stPCS->hZdd = NULL;
|
||||
return( (PCS_tdxHandleToPhysicalCollSet)p_stPCS );
|
||||
}
|
||||
|
||||
|
||||
/* ##F===================================================================================
|
||||
NAME : PCS_fn_hGetZddGeoObjOfPhysicalCollSet
|
||||
DESCRIPTION : Get the Zdd in Physical Collide Set
|
||||
INPUT : handle to phyical collide set
|
||||
OUTPUT : handle of object Zdd
|
||||
=========================================================================================
|
||||
CREATION : Olivier Jourdan
|
||||
=======================================================================================*/
|
||||
ACP_tdxHandleOfObject PCS_fn_hGetZddGeoObjOfPhysicalCollSet(PCS_tdxHandleToPhysicalCollSet _hPhyCollSet)
|
||||
{
|
||||
return( PCS_M_hGetZddGeoObjOfPhysicalCollSet(_hPhyCollSet) );
|
||||
}
|
||||
|
||||
/* ##F===================================================================================
|
||||
NAME : PCS_fn_hGetZdeGeoObjOfPhysicalCollSet
|
||||
DESCRIPTION : Get the Zde in Physical Collide Set
|
||||
INPUT : handle to phyical collide set
|
||||
OUTPUT : handle of object Zde
|
||||
=========================================================================================
|
||||
CREATION : Olivier Jourdan
|
||||
=======================================================================================*/
|
||||
ACP_tdxHandleOfObject PCS_fn_hGetZdeGeoObjOfPhysicalCollSet(PCS_tdxHandleToPhysicalCollSet _hPhyCollSet)
|
||||
{
|
||||
return( PCS_M_hGetZdeGeoObjOfPhysicalCollSet(_hPhyCollSet) );
|
||||
}
|
||||
|
||||
/* ##F===================================================================================
|
||||
NAME : PCS_fn_hGetZdrGeoObjOfPhysicalCollSet
|
||||
DESCRIPTION : Get the Zdr in Physical Collide Set
|
||||
INPUT : handle to phyical collide set
|
||||
OUTPUT : handle of object Zdr
|
||||
=========================================================================================
|
||||
CREATION : Olivier Jourdan
|
||||
=======================================================================================*/
|
||||
ACP_tdxHandleOfObject PCS_fn_hGetZdrGeoObjOfPhysicalCollSet(PCS_tdxHandleToPhysicalCollSet _hPhyCollSet)
|
||||
{
|
||||
return( PCS_M_hGetZdrGeoObjOfPhysicalCollSet(_hPhyCollSet) );
|
||||
}
|
||||
|
||||
/* ##F===================================================================================
|
||||
NAME : PCS_fn_hGetZdmGeoObjOfPhysicalCollSet
|
||||
DESCRIPTION : Get the Zdm in Physical Collide Set
|
||||
INPUT : handle to phyical collide set
|
||||
OUTPUT : handle of object Zdm
|
||||
=========================================================================================
|
||||
CREATION : Olivier Jourdan
|
||||
=======================================================================================*/
|
||||
#ifndef _FIRE_DEADCODE_U64_
|
||||
ACP_tdxHandleOfObject PCS_fn_hGetZdmGeoObjOfPhysicalCollSet(PCS_tdxHandleToPhysicalCollSet _hPhyCollSet)
|
||||
{
|
||||
return( PCS_M_hGetZdmGeoObjOfPhysicalCollSet(_hPhyCollSet) );
|
||||
}
|
||||
#endif /* _FIRE_DEADCODE_U64_ */
|
||||
|
||||
/* ##F===================================================================================
|
||||
NAME : PCS_fn_hGetGeoObjOfPhysicalCollSet
|
||||
DESCRIPTION : Get the Zdx of type in Physical Collide Set
|
||||
INPUT : zone type
|
||||
handle to physical collide set
|
||||
OUTPUT : handle of object Zdx
|
||||
=========================================================================================
|
||||
CREATION : Olivier Jourdan
|
||||
=======================================================================================*/
|
||||
ACP_tdxHandleOfObject PCS_fn_hGetGeoObjOfPhysicalCollSet(unsigned char ucZoneType,PCS_tdxHandleToPhysicalCollSet _hPhyCollSet)
|
||||
{
|
||||
switch( ucZoneType )
|
||||
{
|
||||
case C_ucTypeZdd:
|
||||
return( PCS_M_hGetZddGeoObjOfPhysicalCollSet(_hPhyCollSet) );
|
||||
break;
|
||||
case C_ucTypeZdm:
|
||||
return( PCS_M_hGetZdmGeoObjOfPhysicalCollSet(_hPhyCollSet) );
|
||||
break;
|
||||
case C_ucTypeZdr:
|
||||
return( PCS_M_hGetZdrGeoObjOfPhysicalCollSet(_hPhyCollSet) );
|
||||
break;
|
||||
case C_ucTypeZde:
|
||||
return( PCS_M_hGetZdeGeoObjOfPhysicalCollSet(_hPhyCollSet) );
|
||||
break;
|
||||
default:
|
||||
return NULL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* ##F===================================================================================
|
||||
NAME : PCS_fn_vSetZddGeoObjOfPhysicalCollSet
|
||||
DESCRIPTION : Set the Zdd in Physical Collide Set
|
||||
INPUT : handle to physical collide set
|
||||
handle of object Zdd
|
||||
=========================================================================================
|
||||
CREATION : Olivier Jourdan
|
||||
=======================================================================================*/
|
||||
void PCS_fn_vSetZddGeoObjOfPhysicalCollSet(PCS_tdxHandleToPhysicalCollSet _hPhyCollSet,ACP_tdxHandleOfObject _hGeoObj)
|
||||
{
|
||||
PCS_M_vSetZddGeoObjOfPhysicalCollSet(_hPhyCollSet,_hGeoObj);
|
||||
}
|
||||
|
||||
/* ##F===================================================================================
|
||||
NAME : PCS_fn_vSetZdeGeoObjOfPhysicalCollSet
|
||||
DESCRIPTION : Set the Zde in Physical Collide Set
|
||||
INPUT : handle to phyical collide set
|
||||
handle of object Zde
|
||||
=========================================================================================
|
||||
CREATION : Olivier Jourdan
|
||||
=======================================================================================*/
|
||||
void PCS_fn_vSetZdeGeoObjOfPhysicalCollSet(PCS_tdxHandleToPhysicalCollSet _hPhyCollSet,ACP_tdxHandleOfObject _hGeoObj)
|
||||
{
|
||||
PCS_M_vSetZdeGeoObjOfPhysicalCollSet(_hPhyCollSet,_hGeoObj);
|
||||
}
|
||||
|
||||
/* ##F===================================================================================
|
||||
NAME : PCS_fn_vSetZdmGeoObjOfPhysicalCollSet
|
||||
DESCRIPTION : Set the Zdm in Physical Collide Set
|
||||
INPUT : handle to phyical collide set
|
||||
handle of object Zdm
|
||||
=========================================================================================
|
||||
CREATION : Olivier Jourdan
|
||||
=======================================================================================*/
|
||||
void PCS_fn_vSetZdmGeoObjOfPhysicalCollSet(PCS_tdxHandleToPhysicalCollSet _hPhyCollSet,ACP_tdxHandleOfObject _hGeoObj)
|
||||
{
|
||||
PCS_M_vSetZdmGeoObjOfPhysicalCollSet(_hPhyCollSet,_hGeoObj);
|
||||
}
|
||||
|
||||
/* ##F===================================================================================
|
||||
NAME : PCS_fn_vSetZdrGeoObjOfPhysicalCollSet
|
||||
DESCRIPTION : Set the Zdr in Physical Collide Set
|
||||
INPUT : handle to phyical collide set
|
||||
handle of object Zdr
|
||||
=========================================================================================
|
||||
CREATION : Olivier Jourdan
|
||||
=======================================================================================*/
|
||||
void PCS_fn_vSetZdrGeoObjOfPhysicalCollSet(PCS_tdxHandleToPhysicalCollSet _hPhyCollSet,ACP_tdxHandleOfObject _hGeoObj)
|
||||
{
|
||||
PCS_M_vSetZdrGeoObjOfPhysicalCollSet(_hPhyCollSet,_hGeoObj);
|
||||
}
|
||||
|
||||
/* ##F===================================================================================
|
||||
NAME : PCS_fn_vSetGeoObjOfPhysicalCollSet
|
||||
DESCRIPTION : Set the Zdx in Physical Collide Set
|
||||
INPUT : zone type
|
||||
handle to phyical collide set
|
||||
handle of object Zdx
|
||||
=========================================================================================
|
||||
CREATION : Olivier Jourdan
|
||||
=======================================================================================*/
|
||||
#ifndef _FIRE_DEADCODE_U64_
|
||||
void PCS_fn_vSetGeoObjOfPhysicalCollSet(unsigned char ucZoneType,PCS_tdxHandleToPhysicalCollSet _hPhyCollSet,ACP_tdxHandleOfObject _hGeoObj)
|
||||
{
|
||||
switch( ucZoneType )
|
||||
{
|
||||
case C_ucTypeZdd:
|
||||
PCS_M_vSetZddGeoObjOfPhysicalCollSet(_hPhyCollSet,_hGeoObj);
|
||||
break;
|
||||
case C_ucTypeZdm:
|
||||
PCS_M_vSetZdmGeoObjOfPhysicalCollSet(_hPhyCollSet,_hGeoObj);
|
||||
break;
|
||||
case C_ucTypeZdr:
|
||||
PCS_M_vSetZdrGeoObjOfPhysicalCollSet(_hPhyCollSet,_hGeoObj);
|
||||
break;
|
||||
case C_ucTypeZde:
|
||||
PCS_M_vSetZdeGeoObjOfPhysicalCollSet(_hPhyCollSet,_hGeoObj);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif /* _FIRE_DEADCODE_U64_ */
|
||||
|
||||
|
||||
/* ##F===================================================================================
|
||||
NAME : PCS_fn_vAddPhysicalCollSetToBoundingVolume
|
||||
DESCRIPTION : Compute the bouding volume of the physical collide set
|
||||
INPUT : handle to bounding volume
|
||||
handle to physical collide set
|
||||
=========================================================================================
|
||||
CREATION : Olivier Jourdan
|
||||
=======================================================================================*/
|
||||
#ifndef _FIRE_DEADCODE_U64_
|
||||
/*
|
||||
void PCS_fn_vAddPhysicalCollSetToBoundingVolume(
|
||||
ACP_tdxHandleOfObject _hBoundingVolume,
|
||||
PCS_tdxHandleToPhysicalCollSet _hPhyCollSet)
|
||||
{
|
||||
if( PCS_M_hGetZddGeoObjOfPhysicalCollSet(_hPhyCollSet) )
|
||||
GEO_fn_vAddObjectToBoundingVolume( PCS_M_hGetZddGeoObjOfPhysicalCollSet(_hPhyCollSet),_hBoundingVolume );
|
||||
if( PCS_M_hGetZdeGeoObjOfPhysicalCollSet(_hPhyCollSet) )
|
||||
GEO_fn_vAddObjectToBoundingVolume( PCS_M_hGetZddGeoObjOfPhysicalCollSet(_hPhyCollSet),_hBoundingVolume );
|
||||
if( PCS_M_hGetZdrGeoObjOfPhysicalCollSet(_hPhyCollSet) )
|
||||
GEO_fn_vAddObjectToBoundingVolume( PCS_M_hGetZddGeoObjOfPhysicalCollSet(_hPhyCollSet),_hBoundingVolume );
|
||||
if( PCS_M_hGetZdmGeoObjOfPhysicalCollSet(_hPhyCollSet) )
|
||||
GEO_fn_vAddObjectToBoundingVolume( PCS_M_hGetZddGeoObjOfPhysicalCollSet(_hPhyCollSet),_hBoundingVolume );
|
||||
}
|
||||
*/
|
||||
#endif /* _FIRE_DEADCODE_U64_ */
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
************************************************************************
|
||||
* Do not add anything after this block of comment
|
||||
************************************************************************
|
||||
*----------------------------------------------------------------------*/
|
||||
#undef PCS_MAIN
|
5
Rayman_X/cpa/tempgrp/PCS/mssccprj.scc
Normal file
5
Rayman_X/cpa/tempgrp/PCS/mssccprj.scc
Normal file
@@ -0,0 +1,5 @@
|
||||
SCC = This is a source code control file
|
||||
|
||||
[PCS.vcproj]
|
||||
SCC_Aux_Path = "P4SCC#srvperforce-ma:1666##raymandata##Editor"
|
||||
SCC_Project_Name = Perforce Project
|
Reference in New Issue
Block a user