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,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__

View File

@@ -0,0 +1,75 @@
/*=========================================================================
*
* LPDdLoad.hpp : class OT_DialogLoad
*
*
* Version 1.0
* Creation date 18/08/97
* Revision date
*
* Shaitan
*=======================================================================*/
#ifndef __OT_D_LOAD_HPP__
#define __OT_D_LOAD_HPP__
#include "OTres.h"
class ObjectTableInterface;
/*===========================================================================
* Description: Class OT_DialogLoad
* Creation date:
* Author: Shaitan
*---------------------------------------------------------------------------
* Revision date: Author:
*=========================================================================*/
class OT_DialogLoad : public CDialog
{
protected:
ObjectTableInterface *m_pOwnerEditor;
CPA_List<CPA_BaseObject> m_oObjectsToLoad;
HTREEITEM m_hFirstItem;
CImageList m_oIconList;
public:
CPA_BaseObjectList *m_p_oListOfFamilies;
// Construction
public:
OT_DialogLoad (ObjectTableInterface *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(CDlgLoad)
enum { IDD = TOT_IDD_DIALOGLOAD };
CTreeCtrl m_cTree;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgLoad)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgLoad)
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 //__OT_D_LOAD_HPP__

View File

@@ -0,0 +1,82 @@
/*=========================================================================
*
* ot_intf.hpp : ObjectTable DLL Interface - definition
*
* Version 2.0
* Creation date 06/06/97 Author : Vincent Lhullier
* Revision date 18/08/97 Author : Shaitan
*
* Shaitan
*=======================================================================*/
#ifndef __OT_INTF_HPP__
#define __OT_INTF_HPP__
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#include "incGAM.h"
#include "x:\cpa\main\inc\_editid.h"
#include "TOT.h"
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#define DLL_ONLY_ONE_INSTANCE
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
class CPA_Family;
class OT_DialogLoad;
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/*===========================================================================
* Description: class ObjectTableInterface
* Creation date: 06/06/97
* Author: Vincent Lhullier
*---------------------------------------------------------------------------
* Revision date: 18/08/97 Author: Shaitan
*=========================================================================*/
class ObjectTableInterface : public CPA_ToolDLLBase
{
protected:
OT_DialogLoad *m_pDialogLoad;
long m_lNbUnloaded;
public:
ObjectTableInterface (void);
~ObjectTableInterface (void);
//====================================================================================
//========================= COMMON DLL FUNCTIONS OVERLOAD ============================
//====================================================================================
// ACP Messages Functions overload
void fn_vConstruct (void);
void fn_vJustAfterRegistered (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);
//====================================================================================
//=========================== OBJECT TABLES TOOL DLL SPECIFIC FUNCTIONS =====================
//====================================================================================
void m_fn_vLoadFamilyObjectTables (CPA_Family *p_oFamily);
};
#undef extern
extern tdstDLLIdentity g_stOTIdentity;
#endif //__OT_INTF_HPP__