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,75 @@
/*=========================================================================
*
* LPDdLoad.hpp : class LPS_DialogLoad
*
*
* Version 1.0
* Creation date 16/08/97
* Revision date
*
* Shaitan
*=======================================================================*/
#ifndef __LPS_D_LOAD_HPP__
#define __LPS_D_LOAD_HPP__
#include "LPSres.h"
class LipSync_Interface;
/*===========================================================================
* Description: Class LPS_DialogLoad
* Creation date:
* Author: Shaitan
*---------------------------------------------------------------------------
* Revision date: Author:
*=========================================================================*/
class LPS_DialogLoad : public CDialog
{
protected:
LipSync_Interface *m_pOwnerEditor;
CPA_List<CPA_BaseObject> m_oObjectsToLoad;
HTREEITEM m_hFirstItem;
CImageList m_oIconList;
public:
CPA_BaseObjectList *m_p_oListOfFamilies;
// Construction
public:
LPS_DialogLoad (LipSync_Interface *pOwnerEditor, CWnd* pParent = NULL);
CPA_List<CPA_BaseObject> * GetObjectsToLoad (void) { return &m_oObjectsToLoad; }
HTREEITEM GetCorrespondingItem (CPA_BaseObject *pObject, HTREEITEM hElem = NULL);
// Dialog Data
//{{AFX_DATA(LPS_DialogLoad)
enum { IDD = LPS_IDD_DIALOGLIPS };
CTreeCtrl m_cTree;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(LPS_DialogLoad)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(LPS_DialogLoad)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeTreeControl(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRightClkTreeControl(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif //__LPS_D_LOAD_HPP__

View File

@@ -0,0 +1,76 @@
/*=========================================================================
*
* LPSinter.hpp : LipSync DLL Interface - definition
*
*
* Version 1.0
* Creation date 16/08/97
* Revision date 18/08/97
*
* Shaitan
*=======================================================================*/
#ifndef __LPS_INTER_HPP__
#define __LPS_INTER_HPP__
#include "incITF.h"
// if you want only one instance of your DLL
// activate the next line
#define DLL_ONLY_ONE_INSTANCE
class LPS_DialogLoad;
/*===========================================================================
* Description: class LipSync_Interface
* Creation date: 16/08/97
* Author: Shaitan
*---------------------------------------------------------------------------
* Revision date: 18/08/97 Author: Shaitan
*=========================================================================*/
class LipSync_Interface : public CPA_ToolDLLBase
{
protected:
LPS_DialogLoad *m_pDialogLoad;
long m_lNbUnloaded;
public:
LipSync_Interface (void);
~LipSync_Interface (void);
//====================================================================================
//========================= COMMON DLL FUNCTIONS OVERLOAD ============================
//====================================================================================
// ACP Messages Functions overload
void fn_vConstruct (void);
void fn_vJustAfterRegistered (void);
void fn_vLevelChanges (void);
// Menus
BOOL fn_bDefineSubMenu (EDT_SubMenu *p_oEDTSubMenu);
void _OnSubMenuCommand (EDT_SubMenu *p_oEDTSubMenu, UINT uiMsgID);
// Reachable Objects
BOOL fn_bLoadBaseObject (CPA_BaseObject *p_oObject);
//====================================================================================
//=========================== TOOL DLL FUNCTIONS OVERLOAD ============================
//====================================================================================
// To communicate with that editor
long OnQueryAction (CPA_EditorBase *p_oSender, WPARAM, LPARAM);
//====================================================================================
//=========================== LIPSYNC TOOL DLL SPECIFIC FUNCTIONS =====================
//====================================================================================
void fn_vLoadFamilyLipSynchros (CString csFamilyName);
};
extern tdstDLLIdentity g_stLipSyncIdentity;
#endif // __LPS_INTER_HPP__

View File

@@ -0,0 +1,84 @@
/*=========================================================================
*
* LPSobj.hpp : LipSync_Object class - definition
*
*
* Version 1.0
* Creation date 16/08/97
* Revision date 18/08/97
*
* Shaitan
*=======================================================================*/
#ifndef __LPS_OBJECT_HPP__
#define __LPS_OBJECT_HPP__
#include "ACP_Base.h"
#include "incITF.h"
#include "incGAM.h"
class LipSync_Interface;
/*===========================================================================
* Description: class LipSync_Object
* Creation date: 16/08/97
* Author: Shaitan
*---------------------------------------------------------------------------
* Revision date: 18/08/97 Author: Shaitan
*=========================================================================*/
class LipSync_Object : public CPA_SaveObject,
public CPA_EdMot<tdxHandleOfLipsSynchroTable>
{
protected:
CPA_BaseObject *m_pFamily;
public:
//==> Constructor
LipSync_Object (LipSync_Interface *pEditor,
tdxHandleOfLipsSynchroTable hLipSynchro,
CString csName,
CString csFamilyName,
CPA_BaseObject *pFamily);
//==> Destructor
~LipSync_Object (void);
//==> Members
CPA_BaseObject * GetFamily (void) { return m_pFamily; }
//==> Inits for scritps and engine struct
static void StaticInit();
//==> Base Object overlapped
long GetDataType (void) { return 0; }
void * GetData (void) { return (void *) GetStruct(); }
CString GetNameToDraw (void);
tdeMissingCriteria fn_eCheckUnicity (const CString csNewName)
{ return fn_eCheckUnicityWithOwner (csNewName); }
//==> Save Object overlapped
BOOL fn_bCanBeNotified (void) { return FALSE; }
void fn_vNotifySave (void) { };
void fn_vNotifyUnSave (void) { };
void fn_vNotifyRestore (void) { };
void fn_vNotifyRename (void) { };
void fn_vUpdateSectionName (void);
//==> Load
void fn_vLoadEngineStruct (void);
void fn_vFindEngineStruct (void);
protected:
//==> Engine Struct
void SetStruct (tdxHandleOfLipsSynchroTable hLipSynchro);
};
#endif //__LPS_OBJECT_HPP__

View File

@@ -0,0 +1,18 @@
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#ifndef __STDAAFX_H__
#define __STDAAFX_H__
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows 95 Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#endif //__STDAAFX_H__