Add rayman2 source files

This commit is contained in:
2024-09-18 02:33:44 +08:00
parent bcc093f8ed
commit fb036c54fd
14339 changed files with 2596224 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
/* (c) Ubi R&D 1997*/
/* See Sebastien DAVID for any comment or question*/
#ifndef __IPOFUNCT_H__
#define __IPOFUNCT_H__
#ifdef __cplusplus
extern "C" {
#endif
/* For DLL using these function :*/
#include "../cpa_expt.h"
/****************************************************************************/
/* ACCESSORS */
/****************************************************************************/
#ifdef __cplusplus
}/* extern "C" */
#endif
/* __IPOFUNCT_H__*/
#endif

View File

@@ -0,0 +1,12 @@
/* (c) Ubi R&D 1997*/
/* See Sebastien DAVID for any comment or question*/
#ifndef __IPOHANDL_H__
#define __IPOHANDL_H__
/* Use this handle*/
typedef struct IPO_tdstInstanciatedPhysicalObject_ * IPO_tdxHandleToInstanciatedPhysicalObject;
/* __IPOHANDL_H__*/
#endif

View File

@@ -0,0 +1,101 @@
/*=========================================================================
* IPOLoad.h : Header file for loading IPO
*
* Version 1.0
* Creation date 30/04/97
* Revision date
*
* That file needs to be compatible for all platforms.
*
* (c) Ubi Studios 1997
*=======================================================================*/
#if !defined(__IPOLOAD_H__)
#define __IPOLOAD_H__
/* For DLL using these function :*/
#include "cpa_expt.h"
/*****************************************************************************************/
/**** Below : macros used to read script. ****/
/*****************************************************************************************/
#define C_GrandChildSection ( 2)
#define C_ChildSection ( 1)
#define C_ThisSection ( 0)
#define C_ParentSection (-1)
#define C_GrandParentSection (-2)
#define C_GrandChildContext ( 2)
#define C_ChildContext ( 1)
#define C_ThisContext ( 0)
#define C_ParentContext (-1)
#define C_GrandParentContext (-2)
#define M_IsTitle (_eAction==SCR_EA_Anl_BeginSection)
#define M_IsEnd (_eAction==SCR_EA_Anl_EndSection)
#define M_IsBegSubSection (_eAction==SCR_EA_Anl_BeginSubSection)
#define M_IsEndSubSection (_eAction==SCR_EA_Anl_EndSubSection)
#define M_IsEntry (_eAction==SCR_EA_Anl_Entry)
#define M_ActionIs(szActionAsked) (!strcmpi(_p_szName,szActionAsked))
/**** IPO scripts ****/
#define C_Section_IPOHeader "IPO_HEADER"
#define C_Entry_FileVersion "VersionNumber"
#define C_Section_IPOGeneral "IPO"
#define C_Section_IPO_MirrorGeneral "IPO_Mirror"
#define C_Entry_PO "PO"
#define C_Entry_RLI "RLI"
/*
* Animations files script call-backs
*/
#if !defined(U64)
extern CPA_EXPORT SCR_tde_Anl_ReturnValue IPO_fn_eScriptCallBackHeader(SCR_tdst_File_Description *_p_stFile,char *_p_szName,char *_ap_szParams[],SCR_tde_Anl_Action _eAction);
extern CPA_EXPORT SCR_tde_Anl_ReturnValue IPO_fn_eScriptCallBackGeneral(SCR_tdst_File_Description *_p_stFile,char *_p_szName,char *_ap_szParams[],SCR_tde_Anl_Action _eAction);
/*BEGIN OS 06-Mar-98*/
extern CPA_EXPORT SCR_tde_Anl_ReturnValue IPO_fn_eScriptCallBackBinHeader(SCR_tdst_File_Description *_p_stFile,char *_p_szName,char *_ap_szParams[],SCR_tde_Anl_Action _eAction);
extern CPA_EXPORT SCR_tde_Anl_ReturnValue IPO_fn_eScriptCallBackBinGeneral(SCR_tdst_File_Description *_p_stFile,char *_p_szName,char *_ap_szParams[],SCR_tde_Anl_Action _eAction);
/*END OS 06-Mar-98*/
#endif /* U64 */
/*************************************************/
/********* global for IPO Link Table *************/
/*************************************************/
#if !defined(U64)
extern CPA_EXPORT SCR_tdst_Link_Table IPO_g_stLinkTable;
#endif /* U64 */
/*************************************************/
/*
* Initialisation and access to link table for IPO name storage
*/
#if !defined(U64)
extern CPA_EXPORT SCR_tdst_Link_Table *IPO_fn_p_stGetLinkTable(void);
#endif /* U64 */
extern CPA_EXPORT void IPO_fn_vInitLinkTable(void);
extern CPA_EXPORT void IPO_fn_vCloseLinkTable(void);
extern CPA_EXPORT void IPO_fn_vRegisterAllScriptSections(void);
extern CPA_EXPORT IPO_tdxHandleToInstanciatedPhysicalObject IPO_fn_xLoadInstanciatedPhysicalObject(char* _szSectionName);
/*BEGIN OS 06-Mar-98*/
extern CPA_EXPORT IPO_tdxHandleToInstanciatedPhysicalObject IPO_fn_xLoadBinInstanciatedPhysicalObject(char* _szSectionName);
/*END OS 06-Mar-98*/
/*
extern CPA_EXPORT void IPO_fn_vPrepareSaveBinaryBloc();
extern CPA_EXPORT unsigned long IPO_fn_ulWriteBinaryBloc(unsigned long _ulStructAddress, char* _p_cDestBuffer);
extern CPA_EXPORT void IPO_fn_vWriteAllIPOBinaryBlocs(char* _szBinaryFileName);
extern CPA_EXPORT unsigned long IPO_fn_ulReadBinaryBloc(char* _p_cLoadedBuffer,unsigned long _ulLoadedBufferSize);
extern CPA_EXPORT void IPO_fn_vReadAllIPOBinaryBlocs(char* _szBinaryFileName);
extern CPA_EXPORT void IPO_fn_vReadAllIPOBinaryBlocs2(char* _szBinaryFileName);
extern CPA_EXPORT void IPO_fn_vResolveBinaryBloc(unsigned long _ulAddress);
*/
/* !__IPOLOAD_H__ */
#endif

View File

@@ -0,0 +1,6 @@
/* (c) Ubi R&D 1997*/
/* See Sebastien DAVID for any comment or question*/
/* For the friend modules only : change functions into macros*/

View File

@@ -0,0 +1,41 @@
/* (c) Ubi R&D 1997*/
/* See Sebastien DAVID for any comment or question*/
#ifndef __IPOPROTO_H__
#define __IPOPROTO_H__
#ifdef __cplusplus
extern "C" {
#endif
/* ***************************************************************************** */
/* ********************** Basics functions for IPOs **************************** */
/* ***************************************************************************** */
extern CPA_EXPORT IPO_tdxHandleToInstanciatedPhysicalObject IPO_fn_hAllocInstanciatedPhysicalObject(void);
extern CPA_EXPORT void IPO_fn_vFreeInstanciatedPhysicalObject(IPO_tdxHandleToInstanciatedPhysicalObject _hInstanciatedPhysicalObject);
/* ***************************************************************************** */
/* ******************** Access functions to Objects in IPO *********************** */
/* ***************************************************************************** */
extern CPA_EXPORT PO_tdxHandleToPhysicalObject IPO_fn_hGetPhysicalObject(IPO_tdxHandleToInstanciatedPhysicalObject _hInstanciatedPhysicalObject);
extern CPA_EXPORT void IPO_fn_vSetPhysicalObject(IPO_tdxHandleToInstanciatedPhysicalObject _hInstanciatedPhysicalObject
,PO_tdxHandleToPhysicalObject _hPhysicalObject);
extern CPA_EXPORT ACP_tdxHandleToRadiosity IPO_fn_hGetRadiosity(IPO_tdxHandleToInstanciatedPhysicalObject _hInstanciatedPhysicalObject);
extern CPA_EXPORT void IPO_fn_vSetRadiosity(IPO_tdxHandleToInstanciatedPhysicalObject _hInstanciatedPhysicalObject
,ACP_tdxHandleToRadiosity _hRadiosity);
/*extern CPA_EXPORT void GLI_vSendIPOToViewport ( GLD_tdstViewportAttributes *p_stVpt , IPO_tdxHandleToInstanciatedPhysicalObject h_stInstanciablePhysicalObject , long lDrawModeMask );*/
#ifdef __cplusplus
}/* extern "C" */
#endif
/* __IPOPROTO_H__*/
#endif

View File

@@ -0,0 +1,28 @@
/* (c) Ubi R&D 1997*/
/* See Sebastien DAVID for any comment or question*/
#ifndef __IPOSTRUC_H__
#define __IPOSTRUC_H__
#ifdef __cplusplus
extern "C" {
#endif
typedef struct IPO_tdstInstanciatedPhysicalObject_
{
PO_tdxHandleToPhysicalObject _hPhysicalObject;
ACP_tdxHandleToRadiosity _hRadiosity;
} IPO_tdstInstanciatedPhysicalObject;
/* Definition of the accessor macros for the friend modules*/
/* Rem: handles are pointers*/
#ifdef __cplusplus
}/* extern "C" */
#endif
/* __IPOSTRUC_H__*/
#endif

View File

@@ -0,0 +1,6 @@
LIST OF MODULES YOU NEED :
PO
LIST OF MODULES WHO USE YOUR MODULE :
???

View File

@@ -0,0 +1,29 @@
IPO V5.0.2
Full name : Intanciated Physical Objetcs Library
WHAT'S NEW :
--- 970917 10h10 ------------------------
Module & Version : IPO V5.0.3
User : Alain Robin
Description :
Optimisation for the binarisation.
--- 970908 19h30 ------------------------
Module & Version : IPO V5.0.2
User : Alain Robin
Description :
Changes for the binarisation.
--- 970425 18h30 ------------------------
Module & Version : PO V5.0.1
User : Sebastien David
Description :
Add on this organization.
--- 970507 17h30 ------------------------
Module & Version : PO V5.0.2
User : Sebastien David
Description :
add load functions.