Add rayman2 source files
This commit is contained in:
50
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/DlgAbout.h
Normal file
50
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/DlgAbout.h
Normal file
@@ -0,0 +1,50 @@
|
||||
/*=========================================================================
|
||||
*
|
||||
* DLGAbout.h - Header file for about dialog box class
|
||||
*
|
||||
* Version 1.0
|
||||
* Revision date
|
||||
*
|
||||
*=======================================================================*/
|
||||
#ifndef __DLGABOUT_H__
|
||||
#define __DLGABOUT_H__
|
||||
|
||||
|
||||
//--- Includes --------------------------------------------------------
|
||||
|
||||
#include "Resource.h"
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
CAboutDlg dialog class
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
class CAboutDlg : public CDialog
|
||||
{
|
||||
//data members
|
||||
private:
|
||||
|
||||
// Construction
|
||||
public:
|
||||
CAboutDlg(CWnd* pParent = NULL); // standard constructor
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CAboutDlg)
|
||||
enum { IDD = IDD_DIALOGABOUT };
|
||||
// NOTE: the ClassWizard will add data members here
|
||||
//}}AFX_DATA
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CAboutDlg)
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnDestroy();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
#endif //__DLGABOUT_H__
|
617
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/DlgMain.h
Normal file
617
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/DlgMain.h
Normal file
@@ -0,0 +1,617 @@
|
||||
/*=========================================================================
|
||||
*
|
||||
* DlgMain.h - Header file for main window class
|
||||
*
|
||||
* Version 1.0
|
||||
* Revision date
|
||||
*
|
||||
*=======================================================================*/
|
||||
#ifndef __DLGMAIN_H__
|
||||
#define __DLGMAIN_H__
|
||||
|
||||
//--- Includes --------------------------------------------------------
|
||||
|
||||
#include <shlobj.h>
|
||||
|
||||
#include "Resource.h"
|
||||
|
||||
#include "GIType.h"
|
||||
|
||||
|
||||
//--- Global --------------------------------------------------------
|
||||
|
||||
extern int g_iResultIndex[100];
|
||||
extern int g_iCommandIndex[1000];
|
||||
|
||||
extern char g_szInitialDirectory[_MAX_PATH];
|
||||
|
||||
extern int g_iNbConfDirs;
|
||||
extern char g_szConfDirs[20][20];
|
||||
|
||||
extern int g_iNbConfOptions;
|
||||
extern char g_szConfOptions[20][20];
|
||||
|
||||
extern int g_iNbConfSelects;
|
||||
extern char g_szConfSelects[20][20];
|
||||
|
||||
extern char g_szAnimsObj[25][256];
|
||||
extern char g_szBanksObj[25][256];
|
||||
extern char g_szLevelsObj[25][256];
|
||||
extern char g_szClassesObj[25][256];
|
||||
extern char g_szFamiliesObj[25][256];
|
||||
extern char g_szTexturesObj[25][256];
|
||||
|
||||
extern int g_iNbAnimsObj;
|
||||
extern int g_iNbBanksObj;
|
||||
extern int g_iNbLevelsObj;
|
||||
extern int g_iNbClassesObj;
|
||||
extern int g_iNbFamiliesObj;
|
||||
extern int g_iNbTexturesObj;
|
||||
|
||||
extern BOOL g_bChangeComboDir;
|
||||
extern int g_iCurrentIndexDir;
|
||||
|
||||
extern BOOL g_bChangeComboOption;
|
||||
extern int g_iCurrentIndexOption;
|
||||
|
||||
extern BOOL g_bChangeComboSelect;
|
||||
extern int g_iCurrentIndexSelect;
|
||||
|
||||
extern char g_szDirConfig[256];
|
||||
extern char g_szSelectConfig[256];
|
||||
extern char g_szOptionConfig[256];
|
||||
|
||||
extern char g_szRayman2[_MAX_PATH];
|
||||
extern char g_szModifLst[_MAX_PATH];
|
||||
extern char g_szEraseMdf[_MAX_PATH];
|
||||
extern char g_szIgnoreZoo[_MAX_PATH];
|
||||
extern char g_szIgnoreSct[_MAX_PATH];
|
||||
extern char g_szIgnoreSpo[_MAX_PATH];
|
||||
extern char g_szIgnoreGmt[_MAX_PATH];
|
||||
extern char g_szIgnoreVmt[_MAX_PATH];
|
||||
extern char g_szCopyAnims[_MAX_PATH];
|
||||
extern char g_szCopyTextures[_MAX_PATH];
|
||||
extern char g_szGenerateRLI[_MAX_PATH];
|
||||
extern char g_szUpdateGameDSC[_MAX_PATH];
|
||||
extern char g_szEraseDuplicated[_MAX_PATH];
|
||||
extern char g_szEraseUnused[_MAX_PATH];
|
||||
extern char g_szForceCommon[_MAX_PATH];
|
||||
extern char g_szForceSpecific[_MAX_PATH];
|
||||
extern char g_szCreateBasicFamily[_MAX_PATH];
|
||||
|
||||
//--- Functions --------------------------------------------------------
|
||||
|
||||
extern LRESULT CALLBACK Command(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp);
|
||||
|
||||
extern void MLT_vSetDataSpecific1 ();
|
||||
extern void MLT_vSetDataSpecific2 ();
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
CDlgMain dialog class
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
class CDlgMain : public CDialog
|
||||
{
|
||||
public:
|
||||
|
||||
// lists
|
||||
CListBox *m_oListType;
|
||||
CListBox *m_oListObject;
|
||||
|
||||
// command window
|
||||
CRichEditCtrl m_oRichEditCom;
|
||||
CHARFORMAT m_stCharFormatCom;
|
||||
|
||||
// result window
|
||||
CRichEditCtrl m_oRichEditRes;
|
||||
CHARFORMAT m_stCharFormatRes;
|
||||
|
||||
// the possible types in the first list box
|
||||
GI_Type *m_p_oTypeAnims;
|
||||
GI_Type *m_p_oTypeBanks;
|
||||
GI_Type *m_p_oTypeClasses;
|
||||
GI_Type *m_p_oTypeFamilies;
|
||||
GI_Type *m_p_oTypeLevels;
|
||||
GI_Type *m_p_oTypeTextures;
|
||||
|
||||
// the number of all selections in all list associated with the types
|
||||
int m_iCountOfSelections;
|
||||
int m_iInd;
|
||||
|
||||
// used for displaying a cross in front of an active object in the second list
|
||||
BOOL m_bFirstShow;
|
||||
CDC m_oCrossDC;
|
||||
CBitmap m_oCrossBitmap;
|
||||
|
||||
BOOL m_bConversion;
|
||||
BOOL m_bInit;
|
||||
BOOL m_bRun;
|
||||
|
||||
int m_nIndexLast;
|
||||
|
||||
CStatic m_oVersion;
|
||||
|
||||
|
||||
// window controls for resizing
|
||||
|
||||
// FIRST PANEL
|
||||
|
||||
UINT m_a_uiGroupButtons[5];
|
||||
char m_cNbGroupButtons;
|
||||
|
||||
UINT m_a_uiEditControls[6];
|
||||
char m_cNbEditControls;
|
||||
|
||||
UINT m_a_uiEditNameControls[4];
|
||||
char m_cNbEditNameControls;
|
||||
|
||||
UINT m_a_uiBrowseButtons[12];
|
||||
char m_cNbBrowseButtons;
|
||||
|
||||
UINT m_a_uiCustomConfigControls[7];
|
||||
char m_cNbCustomConfigControls;
|
||||
|
||||
UINT m_a_uiCustomStaticControls[6];
|
||||
char m_cNbCustomStaticControls;
|
||||
|
||||
UINT m_a_uiCustomEditControls[6];
|
||||
char m_cNbCustomEditControls;
|
||||
|
||||
UINT m_a_uiMainButtons[3];
|
||||
char m_cNbMainButtons;
|
||||
|
||||
// SECOND PANEL
|
||||
|
||||
UINT m_a_uiSelectButtons[2];
|
||||
char m_cNbSelectButtons;
|
||||
|
||||
UINT m_a_uiClearButtons[2];
|
||||
char m_cNbClearButtons;
|
||||
|
||||
UINT m_a_uiSelectConfigButtons[7];
|
||||
char m_cNbSelectConfigButtons;
|
||||
|
||||
UINT m_a_uiConflictStaticButtons[5];
|
||||
char m_cNbConflictStaticButtons;
|
||||
|
||||
UINT m_a_uiConflictMaxButtons[5];
|
||||
char m_cNbConflictMaxButtons;
|
||||
|
||||
UINT m_a_uiConflictEdsButtons[5];
|
||||
char m_cNbConflictEdsButtons;
|
||||
|
||||
UINT m_a_uiOptionButtons[5];
|
||||
char m_cNbOptionButtons;
|
||||
|
||||
UINT m_a_uiEraseButtons[2];
|
||||
char m_cNbEraseButtons;
|
||||
|
||||
UINT m_a_uiFamilyButtons[3];
|
||||
char m_cNbFamilyButtons;
|
||||
|
||||
UINT m_a_uiOptionConfig[7];
|
||||
char m_cNbOptionConfig;
|
||||
|
||||
|
||||
// Construction
|
||||
public:
|
||||
CDlgMain(CWnd* pParent = NULL);
|
||||
~CDlgMain();
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CDlgMain)
|
||||
enum { IDD = IDD_DIALOGMAIN };
|
||||
|
||||
// panels
|
||||
CTabCtrl m_oMainPanel;
|
||||
CTabCtrl m_oConfigPanel;
|
||||
|
||||
// directory configs
|
||||
CEdit m_oEditRegisterDir;
|
||||
CEdit m_oEditCreateDir;
|
||||
CButton m_oButtonRegisterDir;
|
||||
CButton m_oButtonCreateDir;
|
||||
CButton m_oButtonDeleteDir;
|
||||
CButton m_oButtonSaveDir;
|
||||
CComboBox m_oComboChooseDir;
|
||||
|
||||
// rawdata
|
||||
CButton m_oCheckRawData;
|
||||
CButton m_oCheckRawSP1;
|
||||
CButton m_oCheckRawSP2;
|
||||
CEdit m_oEditRawSp1;
|
||||
CEdit m_oEditRawSp2;
|
||||
// gamedata
|
||||
CButton m_oCheckGameData;
|
||||
CButton m_oCheckGameSP1;
|
||||
CButton m_oCheckGameSP2;
|
||||
CEdit m_oEditGameSp1;
|
||||
CEdit m_oEditGameSp2;
|
||||
// main options
|
||||
CButton m_oCheckRayman2;
|
||||
CButton m_oCheckModifLst;
|
||||
CButton m_oCheckEraseMdf;
|
||||
|
||||
// selection buttons
|
||||
CButton m_oSelectList;
|
||||
CButton m_oSelectAll;
|
||||
CButton m_oClearList;
|
||||
CButton m_oClearAll;
|
||||
// select configs buttons
|
||||
CEdit m_oEditCreateSelect;
|
||||
CEdit m_oEditRegisterSelect;
|
||||
CButton m_oButtonRegisterSelect;
|
||||
CButton m_oButtonCreateSelect;
|
||||
CButton m_oButtonDeleteSelect;
|
||||
CButton m_oButtonSaveSelect;
|
||||
CComboBox m_oComboChooseSelect;
|
||||
// conflict options
|
||||
CButton m_oCheckZooMax;
|
||||
CButton m_oCheckSctMax;
|
||||
CButton m_oCheckSpoMax;
|
||||
CButton m_oCheckGmtMax;
|
||||
CButton m_oCheckVmtMax;
|
||||
CButton m_oCheckZooEds;
|
||||
CButton m_oCheckSctEds;
|
||||
CButton m_oCheckSpoEds;
|
||||
CButton m_oCheckGmtEds;
|
||||
CButton m_oCheckVmtEds;
|
||||
// conversion options
|
||||
CButton m_oCheckCopyAnims;
|
||||
CButton m_oCheckCopyTextures;
|
||||
CButton m_oCheckGenerateRLI;
|
||||
CButton m_oCheckUpdateGameDsc;
|
||||
// erase options
|
||||
CButton m_oCheckEraseDup;
|
||||
CButton m_oCheckEraseUnused;
|
||||
// family options
|
||||
CButton m_oCheckAskFamily;
|
||||
CButton m_oCheckCommon;
|
||||
CButton m_oCheckSpecific;
|
||||
// bank options
|
||||
CButton m_oCheckCreateFamily;
|
||||
|
||||
// options configs
|
||||
CEdit m_oEditCreateOption;
|
||||
CEdit m_oEditRegisterOption;
|
||||
CButton m_oButtonRegisterOption;
|
||||
CButton m_oButtonCreateOption;
|
||||
CButton m_oButtonDeleteOption;
|
||||
CButton m_oButtonSaveOption;
|
||||
CComboBox m_oComboChooseOption;
|
||||
|
||||
// convert button
|
||||
CButton m_oConvert;
|
||||
|
||||
// progress bar
|
||||
CProgressCtrl m_oProgress;
|
||||
|
||||
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//==============================================================================================================
|
||||
// DlgMain2.cpp : Main conversion functions
|
||||
//==============================================================================================================
|
||||
|
||||
// main function
|
||||
void m_fn_vConvertData();
|
||||
|
||||
// command line
|
||||
void m_fn_vBuildCommandLine (char *szCommand);
|
||||
|
||||
// convert for each type
|
||||
void m_fn_vConvertAnimations (char *sGameDir, char *sRaw, char *sGame, int *j, int *l);
|
||||
void m_fn_vConvertBanks (char *sGameDir, char *sRaw, char *sGame, int *j, int *l);
|
||||
void m_fn_vConvertClasses (char *sGameDir, char *sRaw, char *sGame, int *j, int *l);
|
||||
void m_fn_vConvertFamilies (char *sGameDir, char *sRaw, char *sGame, int *j, int *l);
|
||||
void m_fn_vConvertLevels (char *sGameDir, char *sRaw, char *sGame, int *j, int *l);
|
||||
void m_fn_vConvertTextures (char *sGameDir, char *sRaw, char *sGame, int *j, int *l);
|
||||
|
||||
// family conversion
|
||||
void m_fn_vPrepareCommonFamily (BOOL bForce, char sFile1[40][_MAX_PATH], BOOL *bContinue, int iIndex, int iProgress);
|
||||
void m_fn_vPrepareSpecificFamily (BOOL bForce, char sFile1[40][_MAX_PATH], BOOL *bContinue, int iIndex);
|
||||
|
||||
// level conversion
|
||||
void m_fn_vUpdateGameDSC (void);
|
||||
|
||||
|
||||
static UINT ms_fn_vConvertData( void* ptr)
|
||||
{
|
||||
((CDlgMain*)ptr)->m_fn_vConvertData();
|
||||
return 0;
|
||||
};
|
||||
|
||||
// init all options
|
||||
void m_fn_vInitAllOptions (char *p_szCommanLine, char *szAnims, char *szBanks, char *szClasses, char *szFamilies, char *szLevels, char *szTextures);
|
||||
|
||||
|
||||
//==============================================================================================================
|
||||
// DlgMain3.cpp : Dialog management functions
|
||||
//==============================================================================================================
|
||||
|
||||
// warnings
|
||||
BOOL m_fn_vTestIniDatas ();
|
||||
BOOL m_fn_bWarningUser ();
|
||||
void m_fn_vShowPartialWarning (BOOL bSet, char *szPath, char *_szMessage, BOOL * bDisplay, int iID, char *szDir);
|
||||
|
||||
// show controls according to main panel
|
||||
void m_fn_TabC_vShowControlsPanelDir () ;
|
||||
void m_fn_TabC_vShowControlsPanelSel () ;
|
||||
void m_fn_TabC_vShowControlsPanelRes () ;
|
||||
// Show or hide the buttons in the main panel
|
||||
void m_fn_TabC_vChangeShowControlsPanelDir (BOOL bChange) ;
|
||||
void m_fn_TabC_vChangeShowControlsPanelSel (BOOL bChange) ;
|
||||
void m_fn_TabC_vChangeShowControlsPanelRes (BOOL bChange) ;
|
||||
// disable or enable buttons
|
||||
void m_fn_TabC_vEnableButtons () ;
|
||||
void m_fn_TabC_vDisableAllButtons ();
|
||||
void m_fn_TabC_vDisableSelButtons ();
|
||||
|
||||
// show controls acording to config panel
|
||||
void m_fn_vShowControlsPanelCustom ();
|
||||
void m_fn_vShowControlsPanelCurrent ();
|
||||
// show or hide the buttons in the config panel
|
||||
void m_fn_vChangeShowControlsPanelCurrent (BOOL bChange);
|
||||
void m_fn_vChangeShowControlsPanelCustom (BOOL bChange);
|
||||
|
||||
// browse functions
|
||||
void m_fn_vBrowseStartingFromDirectory (char *szPath, int *iResult) ;
|
||||
void m_fn_vBrowseDirectory (char* szPath, int *p_iResult, ITEMIDLIST *p_stItemRoot);
|
||||
|
||||
// search for directories or and files
|
||||
BOOL m_fn_bExistDirectories (char *szPath);
|
||||
BOOL m_fn_bGetFiles (char *szFile, HANDLE *hHandle, WIN32_FIND_DATA *stFindFileData);
|
||||
|
||||
// get available types and data
|
||||
void m_fn_vGetAllTypes ();
|
||||
void m_fn_vGetDatas (char *szType, char *szPath);
|
||||
void m_fn_vGetSetDatasInList (char *szAnims, char *szBanks, char *szClasses, char *szFamilies, char *szLevels, char *szTextures);
|
||||
|
||||
// create lists
|
||||
int m_fn_iAddTestDirType (char *szFiles);
|
||||
void m_fn_vCreateLists (CList<GI_Item *,GI_Item *> *_oListObject, char *szPath, char *szType, GI_Item * _p_oItem);
|
||||
void m_fn_vSetTypeInList (GI_Type ** _p_oType, char *szType, int iNumber);
|
||||
void m_fn_vAddType (GI_Type * p_oType, char *szReturn, char *szType, char *szDir, int *iNumber);
|
||||
|
||||
void m_fn_vAddAnim (void);
|
||||
void m_fn_vAddAnims (void);
|
||||
void m_fn_vAddBank (void);
|
||||
void m_fn_vAddBanks (void);
|
||||
void m_fn_vAddClass (void);
|
||||
void m_fn_vAddClasses (void);
|
||||
void m_fn_vAddFamily (void);
|
||||
void m_fn_vAddFamilies (void);
|
||||
void m_fn_vAddLevel (void);
|
||||
void m_fn_vAddLevels (void);
|
||||
void m_fn_vAddTexture (void);
|
||||
void m_fn_vAddTextures (void);
|
||||
|
||||
// return the total number of objects in all lists
|
||||
int m_fn_iGetAllObjects();
|
||||
|
||||
// update list boxes
|
||||
void m_fn_vUpdateListBox (CList<GI_Item *,GI_Item *> *_oListObject, char *szPath, char *szType);
|
||||
void m_fn_vUpdateAll ();
|
||||
|
||||
// draw items in list boxes
|
||||
void m_fn_vOnDrawItemListBoxType (LPDRAWITEMSTRUCT lpDIS);
|
||||
void m_fn_vOnDrawItemListBoxObject (LPDRAWITEMSTRUCT lpDIS);
|
||||
|
||||
// selection
|
||||
BOOL m_fn_bOnChangeActivation (GI_Item *_p_oItem, int iIndexItem);
|
||||
void m_fn_vChange (GI_Item *p_oItem, GI_Type *p_oType, BOOL bSet);
|
||||
|
||||
// selection of the items
|
||||
void m_fn_vResetSelection ();
|
||||
void m_fn_vSelectAll (BOOL bSet) ;
|
||||
void m_fn_vSelectAllForType (BOOL bSet);
|
||||
void m_fn_vSelectAllInList (GI_Type * _p_oType, BOOL bSet) ;
|
||||
|
||||
// enable/disable buttons in the second panel
|
||||
void m_fn_vEnableButtons (BOOL bSet) ;
|
||||
void m_fn_vEnableButtonAll ();
|
||||
void m_fn_vEnableButtonConvert ();
|
||||
|
||||
// options
|
||||
void m_fn_vSetOptions ();
|
||||
void m_fn_vChangeCheck (int iId, int iId1, BOOL *bChange);
|
||||
void m_fn_vChangeCheckButton (int iId, BOOL *bChange);
|
||||
|
||||
// free allocated memory
|
||||
void m_fn_vFreeMemory ();
|
||||
void m_fn_vFreeMemoryForType (GI_Type **_p_oType) ;
|
||||
|
||||
// read from the rich edit and write in the file Win_M23D.log
|
||||
int m_fn_vWriteInFile (BOOL bTest);
|
||||
|
||||
// use file lists
|
||||
void m_fn_vReadIniFile (char *szName, GI_Type *p_oType, BOOL bTwo);
|
||||
BOOL m_fn_bSearchInFile (char *szName, char *szObject) ;
|
||||
void m_fn_vSetFromFileList (char *szName, char *szObject);
|
||||
void m_fn_vSelectDir (char *sDir, char *szName);
|
||||
|
||||
|
||||
//==============================================================================================================
|
||||
// DlgMain4.cpp : Configuration functions
|
||||
//==============================================================================================================
|
||||
|
||||
// directories configs
|
||||
void m_fn_vInitDirCombo ();
|
||||
void m_fn_vSetDefaultDirConfig ();
|
||||
void m_fn_vUpdateForDirConfig ();
|
||||
void m_fn_vUpdateDirectories ();
|
||||
void m_fn_vRegisterAllPaths (int iNumConfig);
|
||||
|
||||
// selections configs
|
||||
void m_fn_vInitSelectCombo ();
|
||||
void m_fn_vSetDefaultSelectConfig ();
|
||||
void m_fn_vUpdateForSelectConfig ();
|
||||
void m_fn_vUpdateSelectLists ();
|
||||
void m_fn_vUpdateSelections ();
|
||||
void m_fn_vRegisterSelections (int iNumConfig);
|
||||
void m_fn_vUpdateSelectListForType (char *szType, char *szObjects, int *iNbObjects);
|
||||
void m_fn_vUpdateSelectionForType (char *szType, int g_iNb );
|
||||
void m_fn_vRegisterSelectionForType (char *szName, char *szType);
|
||||
void m_fn_vReadCurrentSelection ();
|
||||
|
||||
// directories configs
|
||||
void m_fn_vInitOptionCombo ();
|
||||
void m_fn_vSetDefaultOptionConfig ();
|
||||
void m_fn_vUpdateForOptionConfig ();
|
||||
void m_fn_vRegisterAllOptions (int iNumConfig);
|
||||
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
|
||||
//==============================================================================================================
|
||||
// DlgMain.cpp : Main Dialog functions
|
||||
//==============================================================================================================
|
||||
|
||||
// Generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CDlgMain)
|
||||
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CDlgMain)
|
||||
// main functions
|
||||
afx_msg BOOL OnInitDialog();
|
||||
afx_msg void OnPaint();
|
||||
afx_msg void OnSize(UINT nType, int cx, int cy);
|
||||
afx_msg void OnSizing(UINT nSide, LPRECT lpRect);
|
||||
afx_msg void OnDestroy();
|
||||
afx_msg void OnClose();
|
||||
afx_msg void OnQuit();
|
||||
|
||||
//==============================================================================================================
|
||||
// DlgMain1.cpp : Main Dialog functions
|
||||
//==============================================================================================================
|
||||
|
||||
// help
|
||||
afx_msg void OnCheckHelp();
|
||||
afx_msg void OnHelp();
|
||||
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo) ;
|
||||
|
||||
// change panel
|
||||
afx_msg void OnSelchangePanel(NMHDR* pNMHDR, LRESULT* pResult);
|
||||
afx_msg void OnSelchangeTab(NMHDR* pNMHDR, LRESULT* pResult);
|
||||
|
||||
// rename directories
|
||||
afx_msg void OnKillFocusGameSpecific1();
|
||||
afx_msg void OnKillFocusGameSpecific2();
|
||||
afx_msg void OnKillFocusRawSpecific1();
|
||||
afx_msg void OnKillFocusRawSpecific2();
|
||||
// choose directories
|
||||
afx_msg void OnCheckGameData();
|
||||
afx_msg void OnCheckGameSpecific1();
|
||||
afx_msg void OnCheckGameSpecific2();
|
||||
afx_msg void OnCheckRawData();
|
||||
afx_msg void OnCheckRawSpecific1();
|
||||
afx_msg void OnCheckRawSpecific2();
|
||||
// browse directories
|
||||
afx_msg void OnButtonBrowseGameData();
|
||||
afx_msg void OnButtonBrowseGameSpecific1();
|
||||
afx_msg void OnButtonBrowseGameSpecific2();
|
||||
afx_msg void OnButtonBrowseRawData();
|
||||
afx_msg void OnButtonBrowseRawSpecific1();
|
||||
afx_msg void OnButtonBrowseRawSpecific2();
|
||||
|
||||
// directory configuration
|
||||
afx_msg void OnCreateConfigDir();
|
||||
afx_msg void OnRegisterConfigDir();
|
||||
afx_msg void OnSaveConfigDir();
|
||||
afx_msg void OnDeleteConfigDir();
|
||||
afx_msg void OnChooseConfigDir();
|
||||
afx_msg void OnKillFocusEditCreateConfigDir();
|
||||
afx_msg void OnKillFocusEditRegisterConfigDir();
|
||||
afx_msg void OnKillFocusComboChooseConfigDir();
|
||||
|
||||
// browse custom directories
|
||||
afx_msg void OnButtonBrowseAnims();
|
||||
afx_msg void OnButtonBrowseBanks();
|
||||
afx_msg void OnButtonBrowseClasses();
|
||||
afx_msg void OnButtonBrowseFamilies();
|
||||
afx_msg void OnButtonBrowseLevels();
|
||||
afx_msg void OnButtonBrowseTextures();
|
||||
|
||||
// main options
|
||||
afx_msg void OnRayman2();
|
||||
afx_msg void OnModifLst();
|
||||
afx_msg void OnEraseMdf();
|
||||
|
||||
// listbox functions
|
||||
afx_msg void OnSelchangeListType();
|
||||
afx_msg BOOL OnLButtonDownListBoxObject(MSG *pMsg);
|
||||
afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDIS);
|
||||
afx_msg void OnMeasureItem(int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct) ;
|
||||
|
||||
// selection buttons
|
||||
afx_msg void OnSelectAll();
|
||||
afx_msg void OnSelectList();
|
||||
afx_msg void OnClearList();
|
||||
afx_msg void OnClearAll();
|
||||
// select config buttons
|
||||
afx_msg void OnCreateConfigSelect();
|
||||
afx_msg void OnRegisterConfigSelect();
|
||||
afx_msg void OnSaveConfigSelect();
|
||||
afx_msg void OnChooseConfigSelect();
|
||||
afx_msg void OnDeleteConfigSelect();
|
||||
afx_msg void OnKillFocusEditCreateConfigSelect();
|
||||
afx_msg void OnKillFocusEditRegisterConfigSelect();
|
||||
afx_msg void OnKillFocusComboChooseConfigSelect();
|
||||
|
||||
// convert button
|
||||
afx_msg void OnConvert();
|
||||
|
||||
// ignore options
|
||||
afx_msg void OnCheckZooMax();
|
||||
afx_msg void OnCheckZooEds();
|
||||
afx_msg void OnCheckSctMax();
|
||||
afx_msg void OnCheckSctEds();
|
||||
afx_msg void OnCheckSpoMax();
|
||||
afx_msg void OnCheckSpoEds();
|
||||
afx_msg void OnCheckVmtMax();
|
||||
afx_msg void OnCheckVmtEds();
|
||||
afx_msg void OnCheckGmtMax();
|
||||
afx_msg void OnCheckGmtEds();
|
||||
// conversion options
|
||||
afx_msg void OnCopyAnims();
|
||||
afx_msg void OnCopyTextures();
|
||||
afx_msg void OnGenerateRLI();
|
||||
afx_msg void OnUpdateGameDSC();
|
||||
// erase options
|
||||
afx_msg void OnEraseDuplicated();
|
||||
afx_msg void OnEraseUnused();
|
||||
// family options
|
||||
afx_msg void OnForceCommon();
|
||||
afx_msg void OnForceSpecific();
|
||||
afx_msg void OnAskFamily();
|
||||
// bank option
|
||||
afx_msg void OnCreateBasicFamily();
|
||||
|
||||
// option configuration
|
||||
afx_msg void OnCreateConfigOption();
|
||||
afx_msg void OnRegisterConfigOption();
|
||||
afx_msg void OnSaveConfigOption();
|
||||
afx_msg void OnChooseConfigOption();
|
||||
afx_msg void OnDeleteConfigOption();
|
||||
afx_msg void OnKillFocusEditCreateConfigOption();
|
||||
afx_msg void OnKillFocusEditRegisterConfigOption();
|
||||
afx_msg void OnKillFocusComboChooseConfigOption();
|
||||
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif //__DLGMAIN_H__
|
64
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/DlgWarning.h
Normal file
64
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/DlgWarning.h
Normal file
@@ -0,0 +1,64 @@
|
||||
/*=========================================================================
|
||||
*
|
||||
* DLGWarning.h - Header file for warning dialog box class
|
||||
*
|
||||
* Version 1.0
|
||||
* Revision date
|
||||
*
|
||||
*=======================================================================*/
|
||||
#ifndef __DLGWARNING_H__
|
||||
#define __DLGWARNING_H__
|
||||
|
||||
//--- Includes --------------------------------------------------------
|
||||
|
||||
#include "Resource.h"
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
typedef enum tdeWarningMode_
|
||||
{
|
||||
E_ForceCommon,
|
||||
E_ForceSpecific
|
||||
}
|
||||
tdeWarningMode;
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
CDlgWarning dialog class
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
class CDlgWarning : public CDialog
|
||||
{
|
||||
//data members
|
||||
private:
|
||||
char m_sMes[500];
|
||||
char m_sOK[256];
|
||||
char m_sCancel[256];
|
||||
|
||||
CStatic *m_oStatic;
|
||||
|
||||
// Construction
|
||||
public:
|
||||
CDlgWarning(CWnd* pParent = NULL); // standard constructor
|
||||
|
||||
void m_fn_vBuildTextMessage (tdeWarningMode eMode, char *sName);
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CDlgWarning)
|
||||
enum { IDD = IDD_DIALOGWARNING };
|
||||
// NOTE: the ClassWizard will add data members here
|
||||
//}}AFX_DATA
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CDlgWarning)
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnDestroy();
|
||||
afx_msg void OnApplyAll();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
#endif //__DLGWARNING_H__
|
39
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/GIItem.h
Normal file
39
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/GIItem.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/*=========================================================================
|
||||
*
|
||||
* GIItem.h - Define the GI_Item class
|
||||
*
|
||||
* Version 1.0
|
||||
* Revision date
|
||||
*
|
||||
*=======================================================================*/
|
||||
#ifndef __GIITEM_H__
|
||||
#define __GIITEM_H__
|
||||
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
GI_Item class
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
class GI_Item
|
||||
{
|
||||
// datas
|
||||
public:
|
||||
// boolean for telling if the object is active or inactive
|
||||
BOOL m_bActived;
|
||||
// name of the object
|
||||
char m_szName[50];
|
||||
|
||||
// methods
|
||||
public:
|
||||
//constructor
|
||||
GI_Item(BOOL bAct, char *szName);
|
||||
//destructor
|
||||
~GI_Item();
|
||||
|
||||
//return the name of the object
|
||||
char* m_fn_p_oGetName(void) { return m_szName; }
|
||||
};
|
||||
|
||||
#endif // __GIITEM_H__
|
56
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/GIType.h
Normal file
56
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/GIType.h
Normal file
@@ -0,0 +1,56 @@
|
||||
/*=========================================================================
|
||||
*
|
||||
* GIType.h - Define the GI_Type class
|
||||
*
|
||||
* Version 1.0
|
||||
* Revision date
|
||||
*
|
||||
*=======================================================================*/
|
||||
#ifndef __GITYPE_H__
|
||||
#define __GITYPE_H__
|
||||
|
||||
|
||||
//--- Includes --------------------------------------------------------
|
||||
|
||||
#include <afxtempl.h>
|
||||
|
||||
#include "GIItem.h"
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
GI_Type class
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
class GI_Type
|
||||
{
|
||||
// datas
|
||||
public:
|
||||
// name of the type
|
||||
char m_szName[50];
|
||||
// number of selected objects for the type
|
||||
int m_iSelected;
|
||||
// the text color of the type in list box
|
||||
COLORREF m_xTextColor;
|
||||
// the list of objects associated with the type
|
||||
CList<GI_Item *,GI_Item *> m_oList;
|
||||
|
||||
// methods
|
||||
public:
|
||||
// contructor
|
||||
GI_Type(char *szName, int _iSelected, COLORREF m_xTextColor);
|
||||
// destructor
|
||||
~GI_Type();
|
||||
|
||||
// return the name of type
|
||||
char* m_fn_p_oGetName(void) { return m_szName; }
|
||||
// return the number of objects selected for that type
|
||||
int m_fn_iGetSelected(void) { return m_iSelected; }
|
||||
// set the number of selected objects
|
||||
void m_fn_iSetName(int _iSelected) { m_iSelected=_iSelected; }
|
||||
};
|
||||
|
||||
#endif // __GITYPE_H__
|
BIN
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/GraphInter.aps
Normal file
BIN
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/GraphInter.aps
Normal file
Binary file not shown.
381
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/GraphInter.clw
Normal file
381
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/GraphInter.clw
Normal file
@@ -0,0 +1,381 @@
|
||||
; CLW file contains information for the MFC ClassWizard
|
||||
|
||||
[General Info]
|
||||
Version=1
|
||||
LastClass=CGraphInterApp
|
||||
LastTemplate=CDialog
|
||||
NewFileInclude1=#include "stdafx.h"
|
||||
NewFileInclude2=#include "graphinter.h"
|
||||
LastPage=0
|
||||
|
||||
ClassCount=4
|
||||
Class1=CAboutDlg
|
||||
Class2=CDlgMain
|
||||
Class3=CGraphInterApp
|
||||
Class4=CMainFrame
|
||||
|
||||
ResourceCount=10
|
||||
Resource1=IDD_ABOUTBOX
|
||||
Resource2=IDD_DIALOGWARNING
|
||||
Resource3=IDD_DIALOGMAIN
|
||||
Resource4=IDD_ABOUTBOX (English (U.S.))
|
||||
Resource5=IDD_DIALOGABOUT
|
||||
Resource6=IDD_DIALOGCONFIG
|
||||
Resource7=IDR_ACCELERATOR1
|
||||
Resource8=IDD_DIALOGABOUT (English (U.S.))
|
||||
Resource9=IDD_DIALOGWARNING (English (U.S.))
|
||||
Resource10=IDD_DIALOGMAIN (English (U.S.))
|
||||
|
||||
[CLS:CAboutDlg]
|
||||
Type=0
|
||||
BaseClass=CDialog
|
||||
HeaderFile=DlgAbout.h
|
||||
ImplementationFile=\cpa\Appli\Max23Dos\Win_M23D\src\DlgAbout.cpp
|
||||
LastObject=CAboutDlg
|
||||
Filter=M
|
||||
|
||||
[CLS:CDlgMain]
|
||||
Type=0
|
||||
BaseClass=CDialog
|
||||
HeaderFile=DlgMain.h
|
||||
ImplementationFile=\cpa\Appli\Max23Dos\Win_M23D\src\DlgMain.cpp
|
||||
Filter=D
|
||||
LastObject=IDC_BROWSE_ANIMS
|
||||
|
||||
[CLS:CGraphInterApp]
|
||||
Type=0
|
||||
BaseClass=CWinApp
|
||||
HeaderFile=GraphInter.h
|
||||
ImplementationFile=\cpa\Appli\Max23Dos\Win_M23D\src\GraphInter.cpp
|
||||
LastObject=CGraphInterApp
|
||||
|
||||
[CLS:CMainFrame]
|
||||
Type=0
|
||||
BaseClass=CFrameWnd
|
||||
HeaderFile=MainFrm.h
|
||||
ImplementationFile=\cpa\Appli\Max23Dos\Win_M23D\src\MainFrm.cpp
|
||||
Filter=T
|
||||
LastObject=CMainFrame
|
||||
VirtualFilter=fWC
|
||||
|
||||
[DLG:IDD_ABOUTBOX]
|
||||
Type=1
|
||||
Class=CAboutDlg
|
||||
ControlCount=4
|
||||
Control1=IDC_STATIC,static,1342177294
|
||||
Control2=IDC_STATIC,static,1342308480
|
||||
Control3=IDC_STATIC,static,1342308352
|
||||
Control4=IDOK,button,1342373889
|
||||
|
||||
[DLG:IDD_DIALOGMAIN]
|
||||
Type=1
|
||||
Class=CDlgMain
|
||||
ControlCount=111
|
||||
Control1=IDC_GROUP_DIRECTORIES,button,1342177287
|
||||
Control2=IDC_STATIC_RAWDATA,static,1342308352
|
||||
Control3=IDC_CHECK_RAWDATA,button,1342373897
|
||||
Control4=IDC_EDIT_RAWDATA,edit,1350633600
|
||||
Control5=IDC_BROWSE_RAWDATA,button,1342242816
|
||||
Control6=IDC_CHECK_RAWSPECIFIC1,button,1342242825
|
||||
Control7=IDC_EDIT_RAWSPECIFIC1,edit,1350633600
|
||||
Control8=IDC_BROWSE_RAWSPECIFIC1,button,1342242816
|
||||
Control9=IDC_BROWSE_RAWSP1,button,1342242816
|
||||
Control10=IDC_EDIT_RAWSP1,edit,1350631552
|
||||
Control11=IDC_CHECK_RAWSPECIFIC2,button,1342242825
|
||||
Control12=IDC_EDIT_RAWSPECIFIC2,edit,1350633600
|
||||
Control13=IDC_BROWSE_RAWSPECIFIC2,button,1342242816
|
||||
Control14=IDC_BROWSE_RAWSP2,button,1342242816
|
||||
Control15=IDC_EDIT_RAWSP2,edit,1350631552
|
||||
Control16=IDC_STATIC_GAMEDATA,static,1342308352
|
||||
Control17=IDC_CHECK_GAMEDATA,button,1342308361
|
||||
Control18=IDC_EDIT_GAMEDATA,edit,1350633600
|
||||
Control19=IDC_BROWSE_GAMEDATA,button,1342242816
|
||||
Control20=IDC_CHECK_GAMESPECIFIC1,button,1342177289
|
||||
Control21=IDC_EDIT_GAMESPECIFIC1,edit,1350633600
|
||||
Control22=IDC_BROWSE_GAMESPECIFIC1,button,1342242816
|
||||
Control23=IDC_BROWSE_GAMESP1,button,1342242816
|
||||
Control24=IDC_EDIT_GAMESP1,edit,1350631552
|
||||
Control25=IDC_CHECK_GAMESPECIFIC2,button,1342177289
|
||||
Control26=IDC_EDIT_GAMESPECIFIC2,edit,1350633600
|
||||
Control27=IDC_BROWSE_GAMESPECIFIC2,button,1342242816
|
||||
Control28=IDC_BROWSE_GAMESP2,button,1342242816
|
||||
Control29=IDC_EDIT_GAMESP2,edit,1350631552
|
||||
Control30=IDC_STATIC_ANIMS,static,1342308352
|
||||
Control31=IDC_EDIT_ANIMS,edit,1350633600
|
||||
Control32=IDC_BROWSE_ANIMS,button,1342242816
|
||||
Control33=IDC_STATIC_BANKS,static,1342308352
|
||||
Control34=IDC_EDIT_BANKS,edit,1350633600
|
||||
Control35=IDC_BROWSE_BANKS,button,1342242816
|
||||
Control36=IDC_STATIC_CLASSES,static,1342308352
|
||||
Control37=IDC_EDIT_CLASSES,edit,1350633600
|
||||
Control38=IDC_BROWSE_CLASSES,button,1342242816
|
||||
Control39=IDC_STATIC_FAMILIES,static,1342308352
|
||||
Control40=IDC_EDIT_FAMILIES,edit,1350633600
|
||||
Control41=IDC_BROWSE_FAMILIES,button,1342242816
|
||||
Control42=IDC_STATIC_LEVELS,static,1342308352
|
||||
Control43=IDC_EDIT_LEVELS,edit,1350633600
|
||||
Control44=IDC_BROWSE_LEVELS,button,1342242816
|
||||
Control45=IDC_STATIC_TEXTURES,static,1342308352
|
||||
Control46=IDC_EDIT_TEXTURES,edit,1350633600
|
||||
Control47=IDC_BROWSE_TEXTURES,button,1342242816
|
||||
Control48=IDC_GROUP_MAINOPTIONS,button,1342177287
|
||||
Control49=IDC_CHECK_RAYMAN2,button,1342242819
|
||||
Control50=IDC_CHECK_MODIFLST,button,1342242819
|
||||
Control51=IDC_CHECK_ERASEMOD,button,1342242819
|
||||
Control52=IDC_STATIC_LISTMESSAGE,static,1342308352
|
||||
Control53=IDC_LISTBOX_TYPES,listbox,1352728915
|
||||
Control54=IDC_LISTBOX_OBJECTS,listbox,1352862035
|
||||
Control55=IDC_GROUP_IGNORE,button,1342177287
|
||||
Control56=IDC_CHECK_IGNOREZOO,button,1342242819
|
||||
Control57=IDC_CHECK_IGNORESCT,button,1342242819
|
||||
Control58=IDC_CHECK_IGNORESPO,button,1342242819
|
||||
Control59=IDC_CHECK_IGNOREGMT,button,1342242819
|
||||
Control60=IDC_CHECK_IGNOREVMT,button,1342242819
|
||||
Control61=IDC_GROUP_OPTIONS,button,1342177287
|
||||
Control62=IDC_CHECK_COPYANIMS,button,1342242819
|
||||
Control63=IDC_CHECK_COPYTEXTURES,button,1342242819
|
||||
Control64=IDC_CHECK_GENERATERLI,button,1342242819
|
||||
Control65=IDC_CHECK_UPDATEGAMEDSC,button,1342242819
|
||||
Control66=IDC_GROUP_ERASE,button,1342177287
|
||||
Control67=IDC_CHECK_ERASEDUPLICATED,button,1342242819
|
||||
Control68=IDC_CHECK_ERASEUNUSED,button,1342242819
|
||||
Control69=IDC_GROUP_FAMILIES,button,1342177287
|
||||
Control70=IDC_CHECK_FORCECOMMON,button,1342242819
|
||||
Control71=IDC_CHECK_FORCESPECIFIC,button,1342242819
|
||||
Control72=IDC_CHECK_ASKFAMILY,button,1342242819
|
||||
Control73=IDC_GROUP_BANK,button,1342177287
|
||||
Control74=IDC_CHECK_BASICFAMILY,button,1342242819
|
||||
Control75=IDC_CONFIG,button,1342242819
|
||||
Control76=IDC_GROUP_SELECTION,button,1342177287
|
||||
Control77=IDC_BUTTON_SELECTALL,button,1342242816
|
||||
Control78=IDC_BUTTON_CLEARALL,button,1342242816
|
||||
Control79=IDC_BUTTON_SELECTLIST,button,1342242816
|
||||
Control80=IDC_BUTTON_CLEARLIST,button,1342242816
|
||||
Control81=IDC_GROUP_FILELIST,button,1342177543
|
||||
Control82=IDC_BUTTON_CLEARFILE,button,1342242816
|
||||
Control83=IDC_BUTTON_ADDFILE,button,1342242816
|
||||
Control84=IDC_BUTTON_BUILDFILE,button,1342242816
|
||||
Control85=IDC_BUTTON_SELECTFILELIST,button,1342242816
|
||||
Control86=IDC_BUTTON_CONVERT,button,1342242816
|
||||
Control87=IDC_STATIC_COMMAND,static,1342308608
|
||||
Control88=IDC_STATIC_COMMANDEDIT,static,1082134537
|
||||
Control89=IDC_STATIC_RESULT,static,1342308352
|
||||
Control90=IDC_STATIC_RESULTEDIT,static,1082130441
|
||||
Control91=IDC_STATIC_PROGRESS,msctls_progress32,1350565888
|
||||
Control92=IDC_STATIC_VERSION,static,1342308352
|
||||
Control93=IDC_BUTTON_HELP,button,1342242816
|
||||
Control94=IDC_BUTTON_QUIT,button,1342242816
|
||||
Control95=IDC_PANEL,SysTabControl32,1342177280
|
||||
Control96=IDC_TAB1,SysTabControl32,1342177280
|
||||
Control97=IDC_REGISTER,button,1342242816
|
||||
Control98=IDC_EDIT_REGISTER,edit,1350631552
|
||||
Control99=IDC_SAVE,button,1342242816
|
||||
Control100=IDC_COMBO1,combobox,1344339970
|
||||
Control101=IDC_RENAME,button,1342242816
|
||||
Control102=IDC_EDIT_RENAME,edit,1350631552
|
||||
Control103=IDC_DELETE,button,1342242816
|
||||
Control104=IDC_GROUP_CONFIG,button,1342177543
|
||||
Control105=IDC_REGISTER1,button,1342242816
|
||||
Control106=IDC_EDIT_REGISTER1,edit,1350631552
|
||||
Control107=IDC_SAVE1,button,1342242816
|
||||
Control108=IDC_COMBO11,combobox,1344339970
|
||||
Control109=IDC_RENAME1,button,1342242816
|
||||
Control110=IDC_EDIT_RENAME1,edit,1350631552
|
||||
Control111=IDC_DELETE1,button,1342242816
|
||||
|
||||
[DLG:IDD_ABOUTBOX (English (U.S.))]
|
||||
Type=1
|
||||
ControlCount=4
|
||||
Control1=IDC_STATIC,static,1342177294
|
||||
Control2=IDC_STATIC,static,1342308480
|
||||
Control3=IDC_STATIC,static,1342308352
|
||||
Control4=IDOK,button,1342373889
|
||||
|
||||
[DLG:IDD_DIALOGMAIN (English (U.S.))]
|
||||
Type=1
|
||||
ControlCount=114
|
||||
Control1=IDC_STATIC_RAWDATA,static,1342308353
|
||||
Control2=IDC_EDIT_RAWSP1,edit,1350631552
|
||||
Control3=IDC_EDIT_RAWSP2,edit,1350631552
|
||||
Control4=IDC_CHECK_RAWDATA,button,1342373897
|
||||
Control5=IDC_CHECK_RAWSPECIFIC1,button,1342242825
|
||||
Control6=IDC_CHECK_RAWSPECIFIC2,button,1342242825
|
||||
Control7=IDC_EDIT_RAWDATA,edit,1350633600
|
||||
Control8=IDC_EDIT_RAWSPECIFIC1,edit,1350633600
|
||||
Control9=IDC_EDIT_RAWSPECIFIC2,edit,1350633600
|
||||
Control10=IDC_BROWSE_RAWDATA,button,1342242816
|
||||
Control11=IDC_BROWSE_RAWSPECIFIC1,button,1342242816
|
||||
Control12=IDC_BROWSE_RAWSPECIFIC2,button,1342242816
|
||||
Control13=IDC_GROUP_SOURCEDIRECTORIES,button,1342177287
|
||||
Control14=IDC_BUTTON_REGISTERCONFIGDIR,button,1342242816
|
||||
Control15=IDC_EDIT_REGISTERCONFIGDIR,edit,1350631552
|
||||
Control16=IDC_BUTTON_SAVECONFIGDIR,button,1342242816
|
||||
Control17=IDC_COMBO_CONFIGDIR,combobox,1344339970
|
||||
Control18=IDC_BUTTON_DELETECONFIGDIR,button,1342242816
|
||||
Control19=IDC_PANELCONFIGS,SysTabControl32,1342177280
|
||||
Control20=IDC_STATIC_ANIMS,static,1342308352
|
||||
Control21=IDC_STATIC_BANKS,static,1342308352
|
||||
Control22=IDC_STATIC_CLASSES,static,1342308352
|
||||
Control23=IDC_STATIC_FAMILIES,static,1342308352
|
||||
Control24=IDC_STATIC_LEVELS,static,1342308352
|
||||
Control25=IDC_STATIC_TEXTURES,static,1342308352
|
||||
Control26=IDC_EDIT_ANIMS,edit,1350633600
|
||||
Control27=IDC_EDIT_BANKS,edit,1350633600
|
||||
Control28=IDC_EDIT_CLASSES,edit,1350633600
|
||||
Control29=IDC_EDIT_FAMILIES,edit,1350633600
|
||||
Control30=IDC_EDIT_LEVELS,edit,1350633600
|
||||
Control31=IDC_EDIT_TEXTURES,edit,1350633600
|
||||
Control32=IDC_BROWSE_ANIMS,button,1342242816
|
||||
Control33=IDC_BROWSE_BANKS,button,1342242816
|
||||
Control34=IDC_BROWSE_CLASSES,button,1342242816
|
||||
Control35=IDC_BROWSE_FAMILIES,button,1342242816
|
||||
Control36=IDC_BROWSE_LEVELS,button,1342242816
|
||||
Control37=IDC_BROWSE_TEXTURES,button,1342242816
|
||||
Control38=IDC_STATIC_GAMEDATA,static,1342308352
|
||||
Control39=IDC_EDIT_GAMESP1,edit,1350631552
|
||||
Control40=IDC_EDIT_GAMESP2,edit,1350631552
|
||||
Control41=IDC_CHECK_GAMEDATA,button,1342308361
|
||||
Control42=IDC_CHECK_GAMESPECIFIC1,button,1342177289
|
||||
Control43=IDC_CHECK_GAMESPECIFIC2,button,1342177289
|
||||
Control44=IDC_EDIT_GAMEDATA,edit,1350633600
|
||||
Control45=IDC_EDIT_GAMESPECIFIC1,edit,1350633600
|
||||
Control46=IDC_EDIT_GAMESPECIFIC2,edit,1350633600
|
||||
Control47=IDC_BROWSE_GAMEDATA,button,1342242816
|
||||
Control48=IDC_BROWSE_GAMESPECIFIC1,button,1342242816
|
||||
Control49=IDC_BROWSE_GAMESPECIFIC2,button,1342242816
|
||||
Control50=IDC_GROUP_DESTDIRECTORIES,button,1342177287
|
||||
Control51=IDC_CHECK_RAYMAN2,button,1342242819
|
||||
Control52=IDC_CHECK_MODIFLST,button,1342242819
|
||||
Control53=IDC_CHECK_ERASEMOD,button,1342242819
|
||||
Control54=IDC_GROUP_MAINOPTIONS,button,1342177287
|
||||
Control55=IDC_LISTBOX_TYPES,listbox,1352728915
|
||||
Control56=IDC_LISTBOX_OBJECTS,listbox,1352862035
|
||||
Control57=IDC_BUTTON_CLEARALL,button,1342242816
|
||||
Control58=IDC_BUTTON_CLEARLIST,button,1342242816
|
||||
Control59=IDC_BUTTON_SELECTALL,button,1342242816
|
||||
Control60=IDC_BUTTON_SELECTLIST,button,1342242816
|
||||
Control61=IDC_GROUP_SELECTION,button,1342177287
|
||||
Control62=IDC_BUTTON_SELECTFILELIST,button,1342243584
|
||||
Control63=IDC_BUTTON_BUILDFILE,button,1342242816
|
||||
Control64=IDC_BUTTON_ADDFILE,button,1342242816
|
||||
Control65=IDC_BUTTON_CLEARFILE,button,1342242816
|
||||
Control66=IDC_GROUP_FILELIST,button,1342177543
|
||||
Control67=IDC_BUTTON_CONVERT,button,1342242816
|
||||
Control68=IDC_STATIC_ZOO,static,1342308352
|
||||
Control69=IDC_CHECK_ZOO_MAX,button,1342308361
|
||||
Control70=IDC_CHECK_ZOO_EDS,button,1342177289
|
||||
Control71=IDC_STATIC_SCT,static,1342308352
|
||||
Control72=IDC_CHECK_SCT_MAX,button,1342308361
|
||||
Control73=IDC_CHECK_SCT_EDS,button,1342177289
|
||||
Control74=IDC_STATIC_SPO,static,1342308352
|
||||
Control75=IDC_CHECK_SPO_MAX,button,1342308361
|
||||
Control76=IDC_CHECK_SPO_EDS,button,1342177289
|
||||
Control77=IDC_STATIC_GMT,static,1342308352
|
||||
Control78=IDC_CHECK_GMT_MAX,button,1342308361
|
||||
Control79=IDC_CHECK_GMT_EDS,button,1342177289
|
||||
Control80=IDC_STATIC_VMT,static,1342308352
|
||||
Control81=IDC_CHECK_VMT_MAX,button,1342308361
|
||||
Control82=IDC_CHECK_VMT_EDS,button,1342177289
|
||||
Control83=IDC_GROUP_CONFLICT,button,1342177287
|
||||
Control84=IDC_CHECK_COPYANIMS,button,1342242819
|
||||
Control85=IDC_CHECK_COPYTEXTURES,button,1342242819
|
||||
Control86=IDC_CHECK_GENERATERLI,button,1342242819
|
||||
Control87=IDC_CHECK_UPDATEGAMEDSC,button,1342242819
|
||||
Control88=IDC_GROUP_OPTIONS,button,1342177287
|
||||
Control89=IDC_CHECK_ERASEDUPLICATED,button,1342259203
|
||||
Control90=IDC_CHECK_ERASEUNUSED,button,1342242819
|
||||
Control91=IDC_GROUP_ERASE,button,1342177287
|
||||
Control92=IDC_CHECK_FORCECOMMON,button,1342242819
|
||||
Control93=IDC_CHECK_FORCESPECIFIC,button,1342242819
|
||||
Control94=IDC_CHECK_ASKFAMILY,button,1342242819
|
||||
Control95=IDC_GROUP_FAMILIES,button,1342177287
|
||||
Control96=IDC_CHECK_BASICFAMILY,button,1342242819
|
||||
Control97=IDC_GROUP_BANK,button,1342177287
|
||||
Control98=IDC_CHECK_USECONFIG,button,1342242819
|
||||
Control99=IDC_BUTTON_REGISTERCONFIGOPTION,button,1342242816
|
||||
Control100=IDC_EDIT_REGISTERCONFIGOPTION,edit,1350631552
|
||||
Control101=IDC_BUTTON_SAVECONFIGOPTION,button,1342242816
|
||||
Control102=IDC_COMBO_CONFIGOPTION,combobox,1344339970
|
||||
Control103=IDC_BUTTON_DELETECONFIGOPTION,button,1342242816
|
||||
Control104=IDC_GROUP_CONFIG,button,1342177543
|
||||
Control105=IDC_STATIC_LISTMESSAGE,static,1342308352
|
||||
Control106=IDC_STATIC_COMMAND,static,1342308608
|
||||
Control107=IDC_STATIC_COMMANDEDIT,static,1082134537
|
||||
Control108=IDC_STATIC_RESULT,static,1342308352
|
||||
Control109=IDC_STATIC_RESULTEDIT,static,1082130441
|
||||
Control110=IDC_STATIC_PROGRESS,msctls_progress32,1350565888
|
||||
Control111=IDC_MAINPANEL,SysTabControl32,1342177280
|
||||
Control112=IDC_STATIC_VERSION,static,1342308352
|
||||
Control113=IDC_BUTTON_HELP,button,1342242816
|
||||
Control114=IDC_BUTTON_QUIT,button,1342242816
|
||||
|
||||
[DLG:IDD_DIALOGABOUT]
|
||||
Type=1
|
||||
ControlCount=4
|
||||
Control1=IDC_ABOUT_STATICICON,static,1342177294
|
||||
Control2=IDC_ABOUT_STATICVERSION,static,1342308480
|
||||
Control3=IDC_ABOUT_STATICCOPYRIGHT,static,1342308352
|
||||
Control4=IDOK,button,1342373889
|
||||
|
||||
[DLG:IDD_DIALOGWARNING]
|
||||
Type=1
|
||||
ControlCount=4
|
||||
Control1=IDOK,button,1342242817
|
||||
Control2=IDCANCEL,button,1342242816
|
||||
Control3=IDC_WARNING_STATICMESSAGE,static,1342308352
|
||||
Control4=IDC_WARNING_CHECKAPPLYALL,button,1342242819
|
||||
|
||||
[DLG:IDD_DIALOGCONFIG]
|
||||
Type=1
|
||||
ControlCount=29
|
||||
Control1=IDC_GROUP_CONFIG,button,1342177543
|
||||
Control2=IDC_REGISTER1,button,1342242816
|
||||
Control3=IDC_EDIT_REGISTER1,edit,1350631552
|
||||
Control4=IDC_SAVE1,button,1342242816
|
||||
Control5=IDC_COMBO11,combobox,1344339970
|
||||
Control6=IDC_RENAME1,button,1342242816
|
||||
Control7=IDC_EDIT_RENAME1,edit,1350631552
|
||||
Control8=IDC_DELETE1,button,1342242816
|
||||
Control9=IDC_GROUP_IGNORE1,button,1342177287
|
||||
Control10=IDC_CHECK_IGNOREZOO1,button,1342242819
|
||||
Control11=IDC_CHECK_IGNORESCT1,button,1342242819
|
||||
Control12=IDC_CHECK_IGNORESPO1,button,1342242819
|
||||
Control13=IDC_CHECK_IGNOREGMT1,button,1342242819
|
||||
Control14=IDC_CHECK_IGNOREVMT1,button,1342242819
|
||||
Control15=IDC_GROUP_OPTIONS1,button,1342177287
|
||||
Control16=IDC_CHECK_COPYANIMS1,button,1342242819
|
||||
Control17=IDC_CHECK_COPYTEXTURES1,button,1342242819
|
||||
Control18=IDC_CHECK_GENERATERLI1,button,1342242819
|
||||
Control19=IDC_CHECK_UPDATEGAMEDSC1,button,1342242819
|
||||
Control20=IDC_GROUP_ERASE1,button,1342177287
|
||||
Control21=IDC_CHECK_ERASEDUPLICATED1,button,1342242819
|
||||
Control22=IDC_CHECK_ERASEUNUSED1,button,1342242819
|
||||
Control23=IDC_GROUP_FAMILIES1,button,1342177287
|
||||
Control24=IDC_CHECK_FORCECOMMON1,button,1342242819
|
||||
Control25=IDC_CHECK_FORCESPECIFIC1,button,1342242819
|
||||
Control26=IDC_CHECK_ASKFAMILY1,button,1342242819
|
||||
Control27=IDC_GROUP_BANK1,button,1342177287
|
||||
Control28=IDC_CHECK_BASICFAMILY1,button,1342242819
|
||||
Control29=IDC_BUTTON_QUIT1,button,1342242816
|
||||
|
||||
[DLG:IDD_DIALOGABOUT (English (U.S.))]
|
||||
Type=1
|
||||
ControlCount=4
|
||||
Control1=IDC_ABOUT_STATICICON,static,1342177294
|
||||
Control2=IDC_ABOUT_STATICVERSION,static,1342308480
|
||||
Control3=IDC_ABOUT_STATICCOPYRIGHT,static,1342308352
|
||||
Control4=IDOK,button,1342373889
|
||||
|
||||
[DLG:IDD_DIALOGWARNING (English (U.S.))]
|
||||
Type=1
|
||||
ControlCount=4
|
||||
Control1=IDOK,button,1342242817
|
||||
Control2=IDCANCEL,button,1342242816
|
||||
Control3=IDC_WARNING_STATICMESSAGE,static,1342308352
|
||||
Control4=IDC_WARNING_CHECKAPPLYALL,button,1342242819
|
||||
|
||||
[ACL:IDR_ACCELERATOR1]
|
||||
Type=1
|
||||
Command1=ID_CONTEXT_HELP
|
||||
CommandCount=1
|
||||
|
50
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/GraphInter.h
Normal file
50
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/GraphInter.h
Normal file
@@ -0,0 +1,50 @@
|
||||
/*=========================================================================
|
||||
*
|
||||
* GraphInter.h - main header file for the graphic interface
|
||||
*
|
||||
* Version 1.0
|
||||
* Revision date
|
||||
*
|
||||
*=======================================================================*/
|
||||
#ifndef __GRAPHINTER_H__
|
||||
#define __GRAPHINTER_H__
|
||||
|
||||
|
||||
//--- Includes --------------------------------------------------------
|
||||
|
||||
#include "Resource.h"
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
CGraphInterApp class
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
class CGraphInterApp : public CWinApp
|
||||
{
|
||||
public:
|
||||
CGraphInterApp();
|
||||
|
||||
void fn_vChangeContextHelpFile (char *szNewName);
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CGraphInterApp)
|
||||
public:
|
||||
virtual BOOL InitInstance();
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
|
||||
//{{AFX_MSG(CGraphInterApp)
|
||||
// NOTE - the ClassWizard will add and remove member functions here.
|
||||
// DO NOT EDIT what you see in these blocks of generated code !
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif //__GRAPHINTER_H__
|
446
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/GraphInter.rc
Normal file
446
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/GraphInter.rc
Normal file
@@ -0,0 +1,446 @@
|
||||
//Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
#include "resource.h"
|
||||
|
||||
// Generated Help ID header file
|
||||
#define APSTUDIO_HIDDEN_SYMBOLS
|
||||
#include "resource.hm"
|
||||
#undef APSTUDIO_HIDDEN_SYMBOLS
|
||||
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 2 resource.
|
||||
//
|
||||
#include "afxres.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// English (U.S.) resources
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||
#ifdef _WIN32
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
#pragma code_page(1252)
|
||||
#endif //_WIN32
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// TEXTINCLUDE
|
||||
//
|
||||
|
||||
1 TEXTINCLUDE DISCARDABLE
|
||||
BEGIN
|
||||
"resource.h\0"
|
||||
END
|
||||
|
||||
2 TEXTINCLUDE DISCARDABLE
|
||||
BEGIN
|
||||
"#include ""afxres.h""\r\n"
|
||||
"\0"
|
||||
END
|
||||
|
||||
3 TEXTINCLUDE DISCARDABLE
|
||||
BEGIN
|
||||
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
|
||||
"#define _AFX_NO_OLE_RESOURCES\r\n"
|
||||
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
|
||||
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
|
||||
"\r\n"
|
||||
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
|
||||
"#ifdef _WIN32\r\n"
|
||||
"LANGUAGE 9, 1\r\n"
|
||||
"#pragma code_page(1252)\r\n"
|
||||
"#endif\r\n"
|
||||
"#include ""afxres.rc"" // Standard components\r\n"
|
||||
"#include ""afxprint.rc"" // printing/print preview resources\r\n"
|
||||
"#endif\0"
|
||||
END
|
||||
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Bitmap
|
||||
//
|
||||
|
||||
IDB_BITMAP_CROSS BITMAP DISCARDABLE "..\\res\\croix.bmp"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Dialog
|
||||
//
|
||||
|
||||
IDD_DIALOGABOUT DIALOG DISCARDABLE 0, 0, 217, 55
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "About Win_M23D"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
CONTROL "",IDC_ABOUT_STATICICON,"Static",SS_BITMAP,11,17,20,20
|
||||
LTEXT "Win_M23D Version 7.0.0",IDC_ABOUT_STATICVERSION,40,10,
|
||||
119,8,SS_NOPREFIX
|
||||
LTEXT "Copyright (C) Ubi Soft - 1998",
|
||||
IDC_ABOUT_STATICCOPYRIGHT,40,25,119,8
|
||||
DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
|
||||
END
|
||||
|
||||
IDD_DIALOGMAIN DIALOGEX 0, 0, 750, 558
|
||||
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
|
||||
CAPTION "Max23Dos Converting Tool"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
CTEXT "RawData",IDC_STATIC_RAWDATA,35,77,40,11,0,0,
|
||||
HIDC_STATIC_RAWDATA
|
||||
EDITTEXT IDC_EDIT_RAWSP1,30,94,47,14,ES_AUTOHSCROLL,0,
|
||||
HIDC_EDIT_RAWSP1
|
||||
EDITTEXT IDC_EDIT_RAWSP2,30,113,47,14,ES_AUTOHSCROLL,0,
|
||||
HIDC_EDIT_RAWSP2
|
||||
CONTROL "",IDC_CHECK_RAWDATA,"Button",BS_AUTORADIOBUTTON |
|
||||
WS_GROUP | WS_TABSTOP,82,74,15,15,0,HIDC_CHECK_RAWDATA
|
||||
CONTROL "",IDC_CHECK_RAWSPECIFIC1,"Button",BS_AUTORADIOBUTTON |
|
||||
WS_TABSTOP,82,93,15,15,0,HIDC_CHECK_RAWSPECIFIC1
|
||||
CONTROL "",IDC_CHECK_RAWSPECIFIC2,"Button",BS_AUTORADIOBUTTON |
|
||||
WS_TABSTOP,82,112,15,15,0,HIDC_CHECK_RAWSPECIFIC2
|
||||
EDITTEXT IDC_EDIT_RAWDATA,101,74,100,13,ES_AUTOHSCROLL |
|
||||
ES_READONLY,0,HIDC_EDIT_RAWDATA
|
||||
EDITTEXT IDC_EDIT_RAWSPECIFIC1,101,93,100,13,ES_AUTOHSCROLL |
|
||||
ES_READONLY,0,HIDC_EDIT_RAWSPECIFIC1
|
||||
EDITTEXT IDC_EDIT_RAWSPECIFIC2,101,113,100,13,ES_AUTOHSCROLL |
|
||||
ES_READONLY,0,HIDC_EDIT_RAWSPECIFIC2
|
||||
PUSHBUTTON "...",IDC_BROWSE_RAWDATA,226,74,17,13,0,0,
|
||||
HIDC_BROWSE_RAWDATA
|
||||
PUSHBUTTON "...",IDC_BROWSE_RAWSPECIFIC1,226,94,17,13,0,0,
|
||||
HIDC_BROWSE_RAWSPECIFIC1
|
||||
PUSHBUTTON "...",IDC_BROWSE_RAWSPECIFIC2,226,113,17,13,0,0,
|
||||
HIDC_BROWSE_RAWSPECIFIC2
|
||||
GROUPBOX "Source directories",IDC_GROUP_SOURCEDIRECTORIES,19,28,
|
||||
254,143,0,0,HIDC_GROUP_SOURCEDIRECTORIES
|
||||
PUSHBUTTON "Save As ...",IDC_BUTTON_REGISTERCONFIGDIR,383,64,65,14,
|
||||
0,0,HIDC_BUTTON_REGISTERCONFIGDIR
|
||||
EDITTEXT IDC_EDIT_REGISTERCONFIGDIR,339,64,75,14,ES_AUTOHSCROLL,0,
|
||||
HIDC_EDIT_REGISTERCONFIGDIR
|
||||
COMBOBOX IDC_COMBO_CONFIGDIR,383,82,65,100,CBS_DROPDOWN |
|
||||
WS_VSCROLL | WS_TABSTOP,0,HIDC_COMBO_CONFIGDIR
|
||||
PUSHBUTTON "Create new",IDC_BUTTON_CREATECONFIGDIR,383,98,65,14,0,0,
|
||||
HIDC_BUTTON_CREATECONFIGDIR
|
||||
EDITTEXT IDC_EDIT_CREATECONFIGDIR,339,98,75,14,ES_AUTOHSCROLL,0,
|
||||
HIDC_EDIT_CREATECONFIGDIR
|
||||
PUSHBUTTON "Save ",IDC_BUTTON_SAVECONFIGDIR,383,116,65,14,0,0,
|
||||
HIDC_BUTTON_SAVECONFIGDIR
|
||||
PUSHBUTTON "Delete ",IDC_BUTTON_DELETECONFIGDIR,383,134,65,14,0,0,
|
||||
HIDC_BUTTON_DELETECONFIGDIR
|
||||
CONTROL "Tab2",IDC_PANELCONFIGS,"SysTabControl32",0x0,339,26,159,
|
||||
17
|
||||
LTEXT " Anims",IDC_STATIC_ANIMS,469,64,36,13,0,0,
|
||||
HIDC_STATIC_ANIMS
|
||||
LTEXT " Banks",IDC_STATIC_BANKS,469,79,36,13,0,0,
|
||||
HIDC_STATIC_BANKS
|
||||
LTEXT " Classes",IDC_STATIC_CLASSES,469,94,36,13,0,0,
|
||||
HIDC_STATIC_CLASSES
|
||||
LTEXT " Families",IDC_STATIC_FAMILIES,469,109,36,13,0,0,
|
||||
HIDC_STATIC_FAMILIES
|
||||
LTEXT " Levels",IDC_STATIC_LEVELS,469,124,36,13,0,0,
|
||||
HIDC_STATIC_LEVELS
|
||||
LTEXT " Textures",IDC_STATIC_TEXTURES,469,139,36,13,0,0,
|
||||
HIDC_STATIC_TEXTURES
|
||||
EDITTEXT IDC_EDIT_ANIMS,511,62,165,13,ES_AUTOHSCROLL |
|
||||
ES_READONLY,0,HIDC_EDIT_ANIMS
|
||||
EDITTEXT IDC_EDIT_BANKS,511,77,165,13,ES_AUTOHSCROLL |
|
||||
ES_READONLY,0,HIDC_EDIT_BANKS
|
||||
EDITTEXT IDC_EDIT_CLASSES,511,92,165,13,ES_AUTOHSCROLL |
|
||||
ES_READONLY,0,HIDC_EDIT_CLASSES
|
||||
EDITTEXT IDC_EDIT_FAMILIES,511,107,165,13,ES_AUTOHSCROLL |
|
||||
ES_READONLY,0,HIDC_EDIT_FAMILIES
|
||||
EDITTEXT IDC_EDIT_LEVELS,511,122,165,13,ES_AUTOHSCROLL |
|
||||
ES_READONLY,0,HIDC_EDIT_LEVELS
|
||||
EDITTEXT IDC_EDIT_TEXTURES,511,137,165,13,ES_AUTOHSCROLL |
|
||||
ES_READONLY,0,HIDC_EDIT_TEXTURES
|
||||
PUSHBUTTON "...",IDC_BROWSE_ANIMS,679,62,17,13,0,0,
|
||||
HIDC_BROWSE_ANIMS
|
||||
PUSHBUTTON "...",IDC_BROWSE_BANKS,679,77,17,13,0,0,
|
||||
HIDC_BROWSE_BANKS
|
||||
PUSHBUTTON "...",IDC_BROWSE_CLASSES,679,92,17,13,0,0,
|
||||
HIDC_BROWSE_CLASSES
|
||||
PUSHBUTTON "...",IDC_BROWSE_FAMILIES,679,107,17,13,0,0,
|
||||
HIDC_BROWSE_FAMILIES
|
||||
PUSHBUTTON "...",IDC_BROWSE_LEVELS,679,122,17,13,0,0,
|
||||
HIDC_BROWSE_LEVELS
|
||||
PUSHBUTTON "...",IDC_BROWSE_TEXTURES,679,137,17,13,0,0,
|
||||
HIDC_BROWSE_TEXTURES
|
||||
LTEXT "GameData",IDC_STATIC_GAMEDATA,34,207,38,12,0,0,
|
||||
HIDC_STATIC_GAMEDATA
|
||||
EDITTEXT IDC_EDIT_GAMESP1,29,226,49,14,ES_AUTOHSCROLL,0,
|
||||
HIDC_EDIT_GAMESP1
|
||||
EDITTEXT IDC_EDIT_GAMESP2,27,248,49,12,ES_AUTOHSCROLL,0,
|
||||
HIDC_EDIT_GAMESP2
|
||||
CONTROL "",IDC_CHECK_GAMEDATA,"Button",BS_AUTORADIOBUTTON |
|
||||
WS_GROUP,81,204,15,15,0,HIDC_CHECK_GAMEDATA
|
||||
CONTROL "",IDC_CHECK_GAMESPECIFIC1,"Button",BS_AUTORADIOBUTTON,
|
||||
81,225,15,15,0,HIDC_CHECK_GAMESPECIFIC1
|
||||
CONTROL "",IDC_CHECK_GAMESPECIFIC2,"Button",BS_AUTORADIOBUTTON,
|
||||
81,246,15,15,0,HIDC_CHECK_GAMESPECIFIC2
|
||||
EDITTEXT IDC_EDIT_GAMEDATA,97,204,100,13,ES_AUTOHSCROLL |
|
||||
ES_READONLY,0,HIDC_EDIT_GAMEDATA
|
||||
EDITTEXT IDC_EDIT_GAMESPECIFIC1,97,225,100,13,ES_AUTOHSCROLL |
|
||||
ES_READONLY,0,HIDC_EDIT_GAMESPECIFIC1
|
||||
EDITTEXT IDC_EDIT_GAMESPECIFIC2,97,246,100,13,ES_AUTOHSCROLL |
|
||||
ES_READONLY,0,HIDC_EDIT_GAMESPECIFIC2
|
||||
PUSHBUTTON "...",IDC_BROWSE_GAMEDATA,231,204,17,13,0,0,
|
||||
HIDC_BROWSE_GAMEDATA
|
||||
PUSHBUTTON "...",IDC_BROWSE_GAMESPECIFIC1,232,225,17,13,0,0,
|
||||
HIDC_BROWSE_GAMESPECIFIC1
|
||||
PUSHBUTTON "...",IDC_BROWSE_GAMESPECIFIC2,232,246,17,13,0,0,
|
||||
HIDC_BROWSE_GAMESPECIFIC2
|
||||
GROUPBOX "Destination directories",IDC_GROUP_DESTDIRECTORIES,19,
|
||||
185,254,87,0,0,HIDC_GROUP_DESTDIRECTORIES
|
||||
CONTROL "Rayman2",IDC_CHECK_RAYMAN2,"Button",BS_AUTOCHECKBOX |
|
||||
WS_TABSTOP,43,298,110,15,0,HIDC_CHECK_RAYMAN2
|
||||
CONTROL "Update ModifLst.txt",IDC_CHECK_MODIFLST,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,43,314,110,15,0,
|
||||
HIDC_CHECK_MODIFLST
|
||||
CONTROL "Erase MDF files",IDC_CHECK_ERASEMOD,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,43,330,110,15,0,
|
||||
HIDC_CHECK_ERASEMOD
|
||||
GROUPBOX "General Options",IDC_GROUP_MAINOPTIONS,19,284,251,68,0,
|
||||
0,HIDC_GROUP_MAINOPTIONS
|
||||
LISTBOX IDC_LISTBOX_TYPES,401,210,77,62,LBS_SORT |
|
||||
LBS_OWNERDRAWFIXED | LBS_HASSTRINGS |
|
||||
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP,0,
|
||||
HIDC_LISTBOX_TYPES
|
||||
LISTBOX IDC_LISTBOX_OBJECTS,485,210,94,286,LBS_SORT |
|
||||
LBS_OWNERDRAWFIXED | LBS_HASSTRINGS |
|
||||
LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL |
|
||||
WS_GROUP | WS_TABSTOP,0,HIDC_LISTBOX_OBJECTS
|
||||
PUSHBUTTON "Save As ...",IDC_BUTTON_REGISTERCONFIGSELECT,403,291,60,
|
||||
14,0,0,HIDC_BUTTON_REGISTERCONFIGSELECT
|
||||
EDITTEXT IDC_EDIT_REGISTERCONFIGSELECT,370,291,65,14,
|
||||
ES_AUTOHSCROLL,0,HIDC_EDIT_REGISTERCONFIGSELECT
|
||||
COMBOBOX IDC_COMBO_CONFIGSELECT,403,309,60,100,CBS_DROPDOWN |
|
||||
WS_VSCROLL | WS_TABSTOP,0,HIDC_COMBO_CONFIGSELECT
|
||||
PUSHBUTTON "Create New",IDC_BUTTON_CREATECONFIGSELECT,403,325,60,14,
|
||||
0,0,HIDC_BUTTON_CREATECONFIGSELECT
|
||||
EDITTEXT IDC_EDIT_CREATECONFIGSELECT,370,325,65,14,ES_AUTOHSCROLL,
|
||||
0,HIDC_EDIT_CREATECONFIGSELECT
|
||||
PUSHBUTTON "Save",IDC_BUTTON_SAVECONFIGSELECT,403,343,60,14,0,0,
|
||||
HIDC_BUTTON_SAVECONFIGSELECT
|
||||
PUSHBUTTON "Delete",IDC_BUTTON_DELETECONFIGSELECT,403,361,60,14,0,0,
|
||||
HIDC_BUTTON_DELETECONFIGSELECT
|
||||
GROUPBOX "Selection Configs",IDC_GROUP_SELECTIONCONFIG,397,279,73,
|
||||
105,BS_LEFT,0,HIDC_GROUP_SELECTIONCONFIG
|
||||
PUSHBUTTON "Select All",IDC_BUTTON_SELECTALL,405,399,50,12,0,0,
|
||||
HIDC_BUTTON_SELECTALL
|
||||
PUSHBUTTON "Select List",IDC_BUTTON_SELECTLIST,405,415,50,12,0,0,
|
||||
HIDC_BUTTON_SELECTLIST
|
||||
PUSHBUTTON "Clear All",IDC_BUTTON_CLEARALL,405,436,50,12,0,0,
|
||||
HIDC_BUTTON_CLEARALL
|
||||
PUSHBUTTON "Clear List",IDC_BUTTON_CLEARLIST,406,451,50,12,0,0,
|
||||
HIDC_BUTTON_CLEARLIST
|
||||
GROUPBOX "Selection",IDC_GROUP_SELECTION,397,389,73,82,0,0,
|
||||
HIDC_GROUP_SELECTION
|
||||
PUSHBUTTON "Convert",IDC_BUTTON_CONVERT,406,475,55,15,0,0,
|
||||
HIDC_BUTTON_CONVERT
|
||||
PUSHBUTTON "Create New",IDC_BUTTON_CREATECONFIGOPTION,588,199,60,14,
|
||||
0,0,HIDC_BUTTON_CREATECONFIGOPTION
|
||||
EDITTEXT IDC_EDIT_CREATECONFIGOPTION,588,205,60,14,ES_AUTOHSCROLL,
|
||||
0,HIDC_EDIT_CREATECONFIGOPTION
|
||||
PUSHBUTTON "Save",IDC_BUTTON_SAVECONFIGOPTION,653,199,35,14,0,0,
|
||||
HIDC_BUTTON_SAVECONFIGOPTION
|
||||
PUSHBUTTON "Delete",IDC_BUTTON_DELETECONFIGOPTION,696,198,35,14,0,0,
|
||||
HIDC_BUTTON_DELETECONFIGOPTION
|
||||
PUSHBUTTON "Save As ...",IDC_BUTTON_REGISTERCONFIGOPTION,605,180,60,
|
||||
14,0,0,HIDC_BUTTON_REGISTERCONFIGOPTION
|
||||
EDITTEXT IDC_EDIT_REGISTERCONFIGOPTION,595,180,60,14,
|
||||
ES_AUTOHSCROLL,0,HIDC_EDIT_REGISTERCONFIGOPTION
|
||||
COMBOBOX IDC_COMBO_CONFIGOPTION,669,180,65,100,CBS_DROPDOWN |
|
||||
WS_VSCROLL | WS_TABSTOP,0,HIDC_COMBO_CONFIGOPTION
|
||||
GROUPBOX "Options Configs",IDC_GROUP_OPTIONCONFIG,585,169,153,50,
|
||||
BS_LEFT,0,HIDC_GROUP_OPTIONCONFIG
|
||||
LTEXT "Zones / Collisions",IDC_STATIC_ZOO,593,239,57,8,0,0,
|
||||
HIDC_STATIC_ZOO
|
||||
CONTROL "",IDC_CHECK_ZOO_MAX,"Button",BS_AUTORADIOBUTTON |
|
||||
WS_GROUP,693,239,16,8,0,HIDC_CHECK_ZOO_MAX
|
||||
CONTROL "",IDC_CHECK_ZOO_EDS,"Button",BS_AUTORADIOBUTTON,713,239,
|
||||
11,8,0,HIDC_CHECK_ZOO_EDS
|
||||
LTEXT "Sector Parameters",IDC_STATIC_SCT,593,252,59,8,0,0,
|
||||
HIDC_STATIC_SCT
|
||||
CONTROL "",IDC_CHECK_SCT_MAX,"Button",BS_AUTORADIOBUTTON |
|
||||
WS_GROUP,693,252,16,8,0,HIDC_CHECK_SCT_MAX
|
||||
CONTROL "",IDC_CHECK_SCT_EDS,"Button",BS_AUTORADIOBUTTON,713,252,
|
||||
11,8,0,HIDC_CHECK_SCT_EDS
|
||||
LTEXT "Super Objects Flags",IDC_STATIC_SPO,593,266,64,8,0,0,
|
||||
HIDC_STATIC_SPO
|
||||
CONTROL "",IDC_CHECK_SPO_MAX,"Button",BS_AUTORADIOBUTTON |
|
||||
WS_GROUP,693,266,16,8,0,HIDC_CHECK_SPO_MAX
|
||||
CONTROL "",IDC_CHECK_SPO_EDS,"Button",BS_AUTORADIOBUTTON,713,266,
|
||||
12,8,0,HIDC_CHECK_SPO_EDS
|
||||
LTEXT "Material Interactive Properties",IDC_STATIC_GMT,593,279,
|
||||
94,8,0,0,HIDC_STATIC_GMT
|
||||
CONTROL "",IDC_CHECK_GMT_MAX,"Button",BS_AUTORADIOBUTTON |
|
||||
WS_GROUP,693,279,16,8,0,HIDC_CHECK_GMT_MAX
|
||||
CONTROL "",IDC_CHECK_GMT_EDS,"Button",BS_AUTORADIOBUTTON,713,279,
|
||||
11,8,0,HIDC_CHECK_GMT_EDS
|
||||
LTEXT "Material Visual Properties",IDC_STATIC_VMT,593,292,80,8,
|
||||
0,0,HIDC_STATIC_VMT
|
||||
CONTROL "",IDC_CHECK_VMT_MAX,"Button",BS_AUTORADIOBUTTON |
|
||||
WS_GROUP,693,292,16,8,0,HIDC_CHECK_VMT_MAX
|
||||
CONTROL "",IDC_CHECK_VMT_EDS,"Button",BS_AUTORADIOBUTTON,713,292,
|
||||
11,8,0,HIDC_CHECK_VMT_EDS
|
||||
GROUPBOX "Conflict information : 3DSmax Editors ",
|
||||
IDC_GROUP_CONFLICT,586,226,150,81,0,0,
|
||||
HIDC_GROUP_CONFLICT
|
||||
CONTROL "Copy Anims",IDC_CHECK_COPYANIMS,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,591,322,80,15,0,
|
||||
HIDC_CHECK_COPYANIMS
|
||||
CONTROL "Copy Textures",IDC_CHECK_COPYTEXTURES,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,591,335,80,15,0,
|
||||
HIDC_CHECK_COPYTEXTURES
|
||||
CONTROL "Generate Blend RLI",IDC_CHECK_GENERATERLI,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,591,348,80,15,0,
|
||||
HIDC_CHECK_GENERATERLI
|
||||
CONTROL "Update Game.DSC",IDC_CHECK_UPDATEGAMEDSC,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,591,359,80,15,0,
|
||||
HIDC_CHECK_UPDATEGAMEDSC
|
||||
CONTROL "Create basic family",IDC_CHECK_BASICFAMILY,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,591,372,83,15,0,
|
||||
HIDC_CHECK_BASICFAMILY
|
||||
GROUPBOX "Options",IDC_GROUP_OPTIONS,586,314,150,74,0,0,
|
||||
HIDC_GROUP_OPTIONS
|
||||
CONTROL "Invalid Faces",IDC_CHECK_ERASEDUPLICATED,"Button",
|
||||
BS_AUTOCHECKBOX | BS_NOTIFY | WS_TABSTOP,591,407,101,14,
|
||||
0,HIDC_CHECK_ERASEDUPLICATED
|
||||
CONTROL "Unused Points",IDC_CHECK_ERASEUNUSED,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,591,418,99,14,0,
|
||||
HIDC_CHECK_ERASEUNUSED
|
||||
GROUPBOX "Erase automatically",IDC_GROUP_ERASE,586,399,150,38,0,0,
|
||||
HIDC_GROUP_ERASE
|
||||
CONTROL "Force Common",IDC_CHECK_FORCECOMMON,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,592,452,101,15,0,
|
||||
HIDC_CHECK_FORCECOMMON
|
||||
CONTROL "Force Specific",IDC_CHECK_FORCESPECIFIC,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,592,463,101,15,0,
|
||||
HIDC_CHECK_FORCESPECIFIC
|
||||
CONTROL "Ask for each family",IDC_CHECK_ASKFAMILY,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,592,474,101,15,0,
|
||||
HIDC_CHECK_ASKFAMILY
|
||||
GROUPBOX "Options for families",IDC_GROUP_FAMILIES,587,444,150,51,
|
||||
0,0,HIDC_GROUP_FAMILIES
|
||||
LTEXT "There are no datas to convert! \n\n Please select another source directory, \n or another source configuration...",
|
||||
IDC_STATIC_LISTMESSAGE,398,173,177,31,0,0,
|
||||
HIDC_STATIC_LISTMESSAGE
|
||||
LTEXT "Commands",IDC_STATIC_COMMAND,7,359,63,11,SS_NOTIFY,0,
|
||||
HIDC_STATIC_COMMAND
|
||||
CONTROL "",IDC_STATIC_COMMANDEDIT,"Static",SS_WHITEFRAME |
|
||||
SS_SUNKEN | NOT WS_VISIBLE | WS_BORDER,7,372,219,47,0,
|
||||
HIDC_STATIC_COMMANDEDIT
|
||||
LTEXT "Result",IDC_STATIC_RESULT,7,434,63,11,0,0,
|
||||
HIDC_STATIC_RESULT
|
||||
CONTROL "",IDC_STATIC_RESULTEDIT,"Static",SS_WHITEFRAME | NOT
|
||||
WS_VISIBLE | WS_BORDER,7,448,269,89,0,
|
||||
HIDC_STATIC_RESULTEDIT
|
||||
CONTROL "",IDC_STATIC_PROGRESS,"msctls_progress32",WS_BORDER,7,
|
||||
542,87,15,0,HIDC_STATIC_PROGRESS
|
||||
CONTROL "Tab1",IDC_MAINPANEL,"SysTabControl32",0x0,7,7,148,16
|
||||
LTEXT "Win_M23D Version",IDC_STATIC_VERSION,460,518,100,14,0,0,
|
||||
HIDC_STATIC_VERSION
|
||||
PUSHBUTTON "Help",IDC_BUTTON_HELP,566,518,50,14,0,0,
|
||||
HIDC_BUTTON_HELP
|
||||
PUSHBUTTON "Quit",IDC_BUTTON_QUIT,624,518,50,14,0,0,
|
||||
HIDC_BUTTON_QUIT
|
||||
END
|
||||
|
||||
IDD_DIALOGWARNING DIALOG DISCARDABLE 0, 0, 186, 95
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Family Conversion : Specific / Common"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "OK",IDOK,7,74,80,14
|
||||
PUSHBUTTON "Cancel",IDCANCEL,99,74,80,14
|
||||
LTEXT "",IDC_WARNING_STATICMESSAGE,7,7,172,44
|
||||
CONTROL "Apply to all families",IDC_WARNING_CHECKAPPLYALL,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,64,57,75,10
|
||||
END
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// DESIGNINFO
|
||||
//
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
GUIDELINES DESIGNINFO DISCARDABLE
|
||||
BEGIN
|
||||
IDD_DIALOGABOUT, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 210
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 48
|
||||
END
|
||||
|
||||
IDD_DIALOGMAIN, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
TOPMARGIN, 7
|
||||
END
|
||||
|
||||
IDD_DIALOGWARNING, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 179
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 88
|
||||
END
|
||||
END
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
#endif // English (U.S.) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// French (France) resources
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
|
||||
#ifdef _WIN32
|
||||
LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
|
||||
#pragma code_page(1252)
|
||||
#endif //_WIN32
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Icon
|
||||
//
|
||||
|
||||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDI_MAINICON ICON DISCARDABLE "..\\res\\mainicon.ico"
|
||||
#endif // French (France) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
#ifndef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 3 resource.
|
||||
//
|
||||
#define _AFX_NO_SPLITTER_RESOURCES
|
||||
#define _AFX_NO_OLE_RESOURCES
|
||||
#define _AFX_NO_TRACKER_RESOURCES
|
||||
#define _AFX_NO_PROPERTY_RESOURCES
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||
#ifdef _WIN32
|
||||
LANGUAGE 9, 1
|
||||
#pragma code_page(1252)
|
||||
#endif
|
||||
#include "afxres.rc" // Standard components
|
||||
#include "afxprint.rc" // printing/print preview resources
|
||||
#endif
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif // not APSTUDIO_INVOKED
|
||||
|
31
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/Help.h
Normal file
31
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/Help.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*=========================================================================
|
||||
*
|
||||
* Help.h - link the HLP file with the application
|
||||
*
|
||||
* Version 1.0
|
||||
* Revision date
|
||||
*
|
||||
*=======================================================================*/
|
||||
#ifndef __HELP_H__
|
||||
#define __HELP_H__
|
||||
|
||||
|
||||
//--- Defines --------------------------------------------------------
|
||||
|
||||
|
||||
// Help file name
|
||||
#define C_szCxtHelpFile "M23D_Cxt.hlp"
|
||||
#define C_szMainHelpFile "M23D.hlp"
|
||||
|
||||
|
||||
// topic IDs for main panels
|
||||
#define ID_USAGE_PATHS 320
|
||||
#define ID_USAGE_SELECTION 350
|
||||
#define ID_USAGE_CONVERSION 370
|
||||
|
||||
// define IDs for config panels
|
||||
#define HID_MAINPANEL 0x80660418
|
||||
#define HID_PANELCONFIGS 0x80660419
|
||||
#define HID_RICHEDIT_RESULT 0x80660836
|
||||
#define HID_RICHEDIT_COMMAND 0x8066083b
|
||||
#endif __HELP_H__
|
202
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/IniData.h
Normal file
202
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/IniData.h
Normal file
@@ -0,0 +1,202 @@
|
||||
/*=========================================================================
|
||||
*
|
||||
* IniData.h - general functions for saving, loading
|
||||
*
|
||||
* Version 1.0
|
||||
* Revision date
|
||||
*
|
||||
*=======================================================================*/
|
||||
|
||||
#ifndef __INIDATA_H__
|
||||
#define __INIDATA_H__
|
||||
|
||||
|
||||
//--- Defines --------------------------------------------------------
|
||||
|
||||
// constants for main window min size
|
||||
#define C_iMainWindowWidth 615
|
||||
#define C_iMainWindowHeight 665
|
||||
|
||||
// File .ini
|
||||
#define C_szIniFile "GIData.ini"
|
||||
#define C_szIniConfDirFile "ConfDirs.ini"
|
||||
#define C_szIniConfSelectFile "ConfSelects.ini"
|
||||
#define C_szIniConfOptionFile "ConfOptions.ini"
|
||||
|
||||
|
||||
|
||||
//--- Structures --------------------------------------------------------
|
||||
|
||||
|
||||
typedef struct tdstInitialValue_
|
||||
{
|
||||
char szTempGameData[MAX_PATH]; // temporary path for the game data path
|
||||
char szTempRawData[MAX_PATH]; // temporary path for the rawdata path
|
||||
char szTempTextures[MAX_PATH]; // temporary path for the textures sub-directory
|
||||
char szTempDefault[MAX_PATH]; // temporary path for the default sub-directory
|
||||
char szTempVersion[MAX_PATH]; // temporary path for the version
|
||||
char szTempModifLst[MAX_PATH]; // temporary path for the ModifLst
|
||||
char szTempGameSpecific1[MAX_PATH]; // temporary path for the game Specific1 path
|
||||
char szTempGameSpecific2[MAX_PATH]; // temporary path for the game Specific2 path
|
||||
char szTempRawSpecific1[MAX_PATH]; // temporary path for the raw Specific1 path
|
||||
char szTempRawSpecific2[MAX_PATH]; // temporary path for the raw Specific2 path
|
||||
char szTempFamily[MAX_PATH]; // temporary path for the family directory
|
||||
char szTempRawSp1[MAX_PATH]; // temporary path for the Raw Sp1 name
|
||||
char szTempRawSp2[MAX_PATH]; // temporary path for the Raw Sp2 name
|
||||
char szTempGameSp1[MAX_PATH]; // temporary path for the Game Sp1 name
|
||||
char szTempGameSp2[MAX_PATH]; // temporary path for the Game Sp2 name
|
||||
char szTempConfDirs[MAX_PATH]; // temporary path for the config directories
|
||||
char szTempConfSelects[MAX_PATH]; // temporary path for the config selections
|
||||
char szTempConfOptions[MAX_PATH]; // temporary path for the config options
|
||||
|
||||
char szGameData[MAX_PATH]; // name of game data path
|
||||
char szRawData[MAX_PATH]; // name of raw data path
|
||||
char szTextures[MAX_PATH]; // name of textures path
|
||||
char szDefault[MAX_PATH]; // name of default path
|
||||
char szVersion[MAX_PATH]; // name of version path
|
||||
char szModifLst[MAX_PATH]; // name of ModifLst path
|
||||
char szGameSpecific1[MAX_PATH]; // name of game Specific1 path
|
||||
char szGameSpecific2[MAX_PATH]; // name of game Specific2 path
|
||||
char szRawSpecific1[MAX_PATH]; // name of raw Specific1 path
|
||||
char szRawSpecific2[MAX_PATH]; // name of raw Specific2 path
|
||||
char szFamily[MAX_PATH]; // name of family directory
|
||||
char szRawSp1[MAX_PATH]; // name of Raw Sp1
|
||||
char szRawSp2[MAX_PATH]; // name of Raw Sp2
|
||||
char szGameSp1[MAX_PATH]; // name of Game Sp1
|
||||
char szGameSp2[MAX_PATH]; // name of Game Sp2
|
||||
char szConfDirs[MAX_PATH]; // name of config for directories
|
||||
char szConfSelects[MAX_PATH]; // name of config for selections
|
||||
char szConfOptions[MAX_PATH]; // name of config for options
|
||||
}
|
||||
tdstInitialValue;
|
||||
|
||||
|
||||
typedef struct tdstInitialDirValue_
|
||||
{
|
||||
char szTempAnims[MAX_PATH];
|
||||
char szTempBanks[MAX_PATH];
|
||||
char szTempClasses[MAX_PATH];
|
||||
char szTempFamilies[MAX_PATH];
|
||||
char szTempLevels[MAX_PATH];
|
||||
char szTempTextures[MAX_PATH];
|
||||
|
||||
char szAnims[MAX_PATH];
|
||||
char szBanks[MAX_PATH];
|
||||
char szClasses[MAX_PATH];
|
||||
char szFamilies[MAX_PATH];
|
||||
char szLevels[MAX_PATH];
|
||||
char szTextures[MAX_PATH];
|
||||
|
||||
}
|
||||
tdstInitialDirValue;
|
||||
|
||||
|
||||
typedef struct tdstInitialSelectValue_
|
||||
{
|
||||
char szAnims[MAX_PATH];
|
||||
char szBanks[MAX_PATH];
|
||||
char szClasses[MAX_PATH];
|
||||
char szFamilies[MAX_PATH];
|
||||
char szLevels[MAX_PATH];
|
||||
char szTextures[MAX_PATH];
|
||||
}
|
||||
tdstInitialSelectValue;
|
||||
|
||||
|
||||
typedef struct tdstInitialOptionValue_
|
||||
{
|
||||
char szIgnoreZoo[MAX_PATH];
|
||||
char szIgnoreSct[MAX_PATH];
|
||||
char szIgnoreSpo[MAX_PATH];
|
||||
char szIgnoreGmt[MAX_PATH];
|
||||
char szIgnoreTex[MAX_PATH];
|
||||
|
||||
char szCopyAnims[MAX_PATH];
|
||||
char szCopyTextures[MAX_PATH];
|
||||
char szGenerateRLI[MAX_PATH];
|
||||
char szUpdateGameDSC[MAX_PATH];
|
||||
char szCreateBasicFamily[MAX_PATH];
|
||||
|
||||
char szEraseDuplicated[MAX_PATH];
|
||||
char szEraseUnused[MAX_PATH];
|
||||
|
||||
char szCommonFamily[MAX_PATH];
|
||||
char szSpecificFamily[MAX_PATH];
|
||||
char szAskFamily[MAX_PATH];
|
||||
}
|
||||
tdstInitialOptionValue;
|
||||
|
||||
typedef struct tdstWindowsPosSize_
|
||||
{
|
||||
RECT stMainPos; // window dimension
|
||||
}
|
||||
tdstWindowsPosSize;
|
||||
|
||||
|
||||
//--- Globals --------------------------------------------------------
|
||||
|
||||
extern tdstWindowsPosSize g_stWinPosSize; // program options
|
||||
|
||||
extern tdstInitialValue g_stInitialData; // initial data
|
||||
extern tdstInitialDirValue g_stInitialDirData; // initial data
|
||||
extern tdstInitialSelectValue g_stInitialSelectData; // initial data
|
||||
extern tdstInitialOptionValue g_stInitialOptionData; // initial data
|
||||
|
||||
extern char g_szIniFile[MAX_PATH]; // ini file
|
||||
extern char g_szIniConfDirFile[MAX_PATH]; // ini file
|
||||
extern char g_szIniConfSelectFile[MAX_PATH]; // ini file
|
||||
extern char g_szIniConfOptionFile[MAX_PATH]; // ini file
|
||||
|
||||
|
||||
|
||||
//--- Statics --------------------------------------------------------
|
||||
|
||||
static COLORREF gs_a_xLineColor[5] = { RGB(0,155,0), RGB(0,0,0), RGB(0,155,0), RGB(0,0,255), RGB(255,0,0), };
|
||||
|
||||
|
||||
|
||||
//--- Functions --------------------------------------------------------
|
||||
|
||||
// set the paths
|
||||
void fn_IniData_vSetGameData (char *_szPath);
|
||||
void fn_IniData_vSetGameSpecific1 (char *_szPath);
|
||||
void fn_IniData_vSetGameSpecific2 (char *_szPath);
|
||||
void fn_IniData_vSetRawData (char *_szPath);
|
||||
void fn_IniData_vSetRawSpecific1 (char *_szPath);
|
||||
void fn_IniData_vSetRawSpecific2 (char *_szPath);
|
||||
|
||||
// set the names
|
||||
void fn_IniData_vSetRawSp1 (char *_szPath);
|
||||
void fn_IniData_vSetRawSp2 (char *_szPath);
|
||||
void fn_IniData_vSetGameSp1 (char *_szPath);
|
||||
void fn_IniData_vSetGameSp2 (char *_szPath);
|
||||
|
||||
// obtaining all the datas in the .ini file
|
||||
void fn_IniData_vGetDatasFromFile (BOOL _bFirst);
|
||||
|
||||
// directory config
|
||||
void fn_IniData_vGetDatasFromConfigDirsFile (BOOL _bFirst, char *szTag);
|
||||
void fn_IniData_vSetConfigDirNames (char *_szPath);
|
||||
void fn_IniData_vSetConfigDirPath (char* szConf, char *szDirName, char *_szPath );
|
||||
|
||||
// select configs
|
||||
void fn_IniData_vGetDatasFromConfigSelectFile (BOOL _bFirst, char *szTag);
|
||||
void fn_IniData_vSetSelectConfigNames (char *_szPath);
|
||||
void fn_IniData_vSetSelectConfigValues (char *szName, char *szType, char *szPath);
|
||||
|
||||
// option configs
|
||||
void fn_IniData_vGetDatasFromConfigOptionsFile (BOOL _bFirst, char *szTag);
|
||||
void fn_IniData_vSetOptionConfigNames (char *_szPath);
|
||||
void fn_IniData_vSetOptionConfigValues (BOOL bSetIgnore, char *szName, char *szNew);
|
||||
|
||||
// window position
|
||||
void fn_IniData_vGetWindowPosSize (void);
|
||||
void fn_IniData_vWriteWindowPosSize (void);
|
||||
void fn_IniData_vStudyRect (char *_szString, RECT *_p_stRect);
|
||||
|
||||
|
||||
// rich edit
|
||||
void fn_ComRes_vDeleteLines (CRichEditCtrl *_oRichEdit);
|
||||
void fn_ComRes_vWriteLine (char *szLine, char cLineType ,CRichEditCtrl* _oRichEdit, CHARFORMAT* _stCharFormat);
|
||||
|
||||
#endif //__INIDATA_H__
|
59
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/MainFrm.h
Normal file
59
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/MainFrm.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*=========================================================================
|
||||
*
|
||||
* MainFrm.h - interface of the CMainFrame class
|
||||
*
|
||||
* Version 1.0
|
||||
* Revision date
|
||||
*
|
||||
*=======================================================================*/
|
||||
#ifndef __MAINFRM_H__
|
||||
#define __MAINFRM_H__
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
CMainFrame class
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
class CMainFrame : public CFrameWnd
|
||||
{
|
||||
protected: // create from serialization only
|
||||
CMainFrame();
|
||||
DECLARE_DYNCREATE(CMainFrame)
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
// Operations
|
||||
public:
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CMainFrame)
|
||||
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
virtual ~CMainFrame();
|
||||
#ifdef _DEBUG
|
||||
virtual void AssertValid() const;
|
||||
virtual void Dump(CDumpContext& dc) const;
|
||||
#endif
|
||||
|
||||
protected: // control bar embedded members
|
||||
CStatusBar m_wndStatusBar;
|
||||
CToolBar m_wndToolBar;
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
//{{AFX_MSG(CMainFrame)
|
||||
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
||||
// NOTE - the ClassWizard will add and remove member functions here.
|
||||
// DO NOT EDIT what you see in these blocks of generated code!
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
|
||||
#endif // __MAINFRM_H__
|
151
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/Resource.h
Normal file
151
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/Resource.h
Normal file
@@ -0,0 +1,151 @@
|
||||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Developer Studio generated include file.
|
||||
// Used by GraphInter.rc
|
||||
//
|
||||
#define IDD_DIALOGABOUT 100
|
||||
#define IDD_DIALOGWARNING 101
|
||||
#define IDD_DIALOGMAIN 102
|
||||
#define IDC_RICHEDIT_RESULT 103
|
||||
#define IDC_RICHEDIT_COMMAND 104
|
||||
#define IDR_MAINFRAME 128
|
||||
#define IDB_BITMAP_CROSS 132
|
||||
#define IDI_MAINICON 135
|
||||
#define IDC_ABOUT_STATICVERSION 1000
|
||||
#define IDC_ABOUT_STATICCOPYRIGHT 1001
|
||||
#define IDC_ABOUT_STATICICON 1002
|
||||
#define IDC_WARNING_CHECKAPPLYALL 1003
|
||||
#define IDC_WARNING_STATICMESSAGE 1004
|
||||
#define IDC_MAINPANEL 1010
|
||||
#define IDC_STATIC_VERSION 1011
|
||||
#define IDC_BUTTON_HELP 1012
|
||||
#define IDC_BUTTON_QUIT 1013
|
||||
#define IDC_GROUP_SOURCEDIRECTORIES 1015
|
||||
#define IDC_PANELCONFIGS 1016
|
||||
#define IDC_STATIC_RAWDATA 1020
|
||||
#define IDC_EDIT_RAWSP1 1023
|
||||
#define IDC_EDIT_RAWSP2 1024
|
||||
#define IDC_CHECK_RAWDATA 1025
|
||||
#define IDC_CHECK_RAWSPECIFIC1 1026
|
||||
#define IDC_CHECK_RAWSPECIFIC2 1027
|
||||
#define IDC_EDIT_RAWDATA 1028
|
||||
#define IDC_EDIT_RAWSPECIFIC1 1029
|
||||
#define IDC_EDIT_RAWSPECIFIC2 1030
|
||||
#define IDC_BROWSE_RAWDATA 1031
|
||||
#define IDC_BROWSE_RAWSPECIFIC1 1032
|
||||
#define IDC_BROWSE_RAWSPECIFIC2 1033
|
||||
#define IDC_EDIT_REGISTERCONFIGDIR 1040
|
||||
#define IDC_BUTTON_REGISTERCONFIGDIR 1041
|
||||
#define IDC_BUTTON_CREATECONFIGDIR 1042
|
||||
#define IDC_EDIT_CREATECONFIGDIR 1043
|
||||
#define IDC_BUTTON_SAVECONFIGDIR 1044
|
||||
#define IDC_COMBO_CONFIGDIR 1045
|
||||
#define IDC_BUTTON_DELETECONFIGDIR 1046
|
||||
#define IDC_STATIC_ANIMS 1050
|
||||
#define IDC_STATIC_BANKS 1051
|
||||
#define IDC_STATIC_CLASSES 1052
|
||||
#define IDC_STATIC_FAMILIES 1053
|
||||
#define IDC_STATIC_LEVELS 1054
|
||||
#define IDC_STATIC_TEXTURES 1055
|
||||
#define IDC_EDIT_ANIMS 1056
|
||||
#define IDC_EDIT_BANKS 1057
|
||||
#define IDC_EDIT_CLASSES 1058
|
||||
#define IDC_EDIT_FAMILIES 1059
|
||||
#define IDC_EDIT_LEVELS 1060
|
||||
#define IDC_EDIT_TEXTURES 1061
|
||||
#define IDC_BROWSE_ANIMS 1062
|
||||
#define IDC_BROWSE_BANKS 1063
|
||||
#define IDC_BROWSE_CLASSES 1064
|
||||
#define IDC_BROWSE_FAMILIES 1065
|
||||
#define IDC_BROWSE_LEVELS 1066
|
||||
#define IDC_BROWSE_TEXTURES 1067
|
||||
#define IDC_GROUP_DESTDIRECTORIES 1070
|
||||
#define IDC_STATIC_GAMEDATA 1071
|
||||
#define IDC_EDIT_GAMESP1 1072
|
||||
#define IDC_EDIT_GAMESP2 1073
|
||||
#define IDC_CHECK_GAMEDATA 1076
|
||||
#define IDC_CHECK_GAMESPECIFIC1 1077
|
||||
#define IDC_CHECK_GAMESPECIFIC2 1078
|
||||
#define IDC_EDIT_GAMEDATA 1079
|
||||
#define IDC_EDIT_GAMESPECIFIC1 1080
|
||||
#define IDC_EDIT_GAMESPECIFIC2 1081
|
||||
#define IDC_BROWSE_GAMEDATA 1082
|
||||
#define IDC_BROWSE_GAMESPECIFIC1 1083
|
||||
#define IDC_BROWSE_GAMESPECIFIC2 1084
|
||||
#define IDC_GROUP_MAINOPTIONS 1090
|
||||
#define IDC_CHECK_RAYMAN2 1091
|
||||
#define IDC_CHECK_MODIFLST 1092
|
||||
#define IDC_CHECK_ERASEMOD 1093
|
||||
#define IDC_STATIC_LISTMESSAGE 2000
|
||||
#define IDC_LISTBOX_TYPES 2001
|
||||
#define IDC_LISTBOX_OBJECTS 2002
|
||||
#define IDC_GROUP_SELECTION 2005
|
||||
#define IDC_BUTTON_SELECTALL 2006
|
||||
#define IDC_BUTTON_SELECTLIST 2007
|
||||
#define IDC_BUTTON_CLEARLIST 2008
|
||||
#define IDC_BUTTON_CLEARALL 2009
|
||||
#define IDC_GROUP_SELECTIONCONFIG 2010
|
||||
#define IDC_BUTTON_REGISTERCONFIGSELECT 2011
|
||||
#define IDC_EDIT_REGISTERCONFIGSELECT 2012
|
||||
#define IDC_BUTTON_CREATECONFIGSELECT 2013
|
||||
#define IDC_EDIT_CREATECONFIGSELECT 2014
|
||||
#define IDC_BUTTON_SAVECONFIGSELECT 2015
|
||||
#define IDC_COMBO_CONFIGSELECT 2016
|
||||
#define IDC_BUTTON_DELETECONFIGSELECT 2017
|
||||
#define IDC_BUTTON_CONVERT 2018
|
||||
#define IDC_GROUP_CONFLICT 2020
|
||||
#define IDC_STATIC_ZOO 2025
|
||||
#define IDC_STATIC_SCT 2026
|
||||
#define IDC_STATIC_SPO 2027
|
||||
#define IDC_STATIC_GMT 2028
|
||||
#define IDC_STATIC_VMT 2029
|
||||
#define IDC_CHECK_ZOO_MAX 2030
|
||||
#define IDC_CHECK_SCT_MAX 2031
|
||||
#define IDC_CHECK_SPO_MAX 2032
|
||||
#define IDC_CHECK_GMT_MAX 2033
|
||||
#define IDC_CHECK_VMT_MAX 2034
|
||||
#define IDC_CHECK_ZOO_EDS 2035
|
||||
#define IDC_CHECK_SCT_EDS 2036
|
||||
#define IDC_CHECK_SPO_EDS 2037
|
||||
#define IDC_CHECK_GMT_EDS 2038
|
||||
#define IDC_CHECK_VMT_EDS 2039
|
||||
#define IDC_GROUP_OPTIONS 2040
|
||||
#define IDC_CHECK_COPYANIMS 2041
|
||||
#define IDC_CHECK_COPYTEXTURES 2042
|
||||
#define IDC_CHECK_GENERATERLI 2043
|
||||
#define IDC_CHECK_UPDATEGAMEDSC 2044
|
||||
#define IDC_CHECK_BASICFAMILY 2045
|
||||
#define IDC_GROUP_ERASE 2050
|
||||
#define IDC_CHECK_ERASEDUPLICATED 2051
|
||||
#define IDC_CHECK_ERASEUNUSED 2052
|
||||
#define IDC_GROUP_FAMILIES 2055
|
||||
#define IDC_CHECK_FORCECOMMON 2056
|
||||
#define IDC_CHECK_FORCESPECIFIC 2057
|
||||
#define IDC_CHECK_ASKFAMILY 2058
|
||||
#define IDC_GROUP_CONFIG 2060
|
||||
#define IDC_GROUP_OPTIONCONFIG 2060
|
||||
#define IDC_BUTTON_REGISTERCONFIGOPTION 2062
|
||||
#define IDC_EDIT_REGISTERCONFIGOPTION 2063
|
||||
#define IDC_BUTTON_CREATECONFIGOPTION 2064
|
||||
#define IDC_EDIT_CREATECONFIGOPTION 2065
|
||||
#define IDC_COMBO_CONFIGOPTION 2066
|
||||
#define IDC_BUTTON_SAVECONFIGOPTION 2067
|
||||
#define IDC_BUTTON_DELETECONFIGOPTION 2068
|
||||
#define IDC_STATIC_RESULT 2100
|
||||
#define IDC_STATIC_RESULTEDIT 2101
|
||||
#define IDC_STATIC_COMMAND 2105
|
||||
#define IDC_STATIC_COMMANDEDIT 2106
|
||||
#define IDC_STATIC_PROGRESS 2110
|
||||
#define IDM_OPENHELP 2200
|
||||
#define IDM_ABOUTBOX 2201
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_3D_CONTROLS 1
|
||||
#define _APS_NEXT_RESOURCE_VALUE 137
|
||||
#define _APS_NEXT_COMMAND_VALUE 32771
|
||||
#define _APS_NEXT_CONTROL_VALUE 3033
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
26
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/StdAfx.h
Normal file
26
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/StdAfx.h
Normal file
@@ -0,0 +1,26 @@
|
||||
// stdafx.h : include file for standard system include files,
|
||||
// or project specific include files that are used frequently, but
|
||||
// are changed infrequently
|
||||
//
|
||||
|
||||
#if !defined(AFX_STDAFX_H__6E893D49_5B46_11D1_A939_00A0245D4B6C__INCLUDED_)
|
||||
#define AFX_STDAFX_H__6E893D49_5B46_11D1_A939_00A0245D4B6C__INCLUDED_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
||||
|
||||
#include <afxwin.h> // MFC core and standard components
|
||||
#include <afxext.h> // MFC extensions
|
||||
#include <afxdisp.h> // MFC OLE automation classes
|
||||
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
||||
#include <afxcmn.h> // MFC support for Windows Common Controls
|
||||
#endif // _AFX_NO_AFXCMN_SUPPORT
|
||||
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_STDAFX_H__6E893D49_5B46_11D1_A939_00A0245D4B6C__INCLUDED_)
|
79
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/main.h
Normal file
79
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/main.h
Normal file
@@ -0,0 +1,79 @@
|
||||
/*=========================================================================
|
||||
*
|
||||
* Main.h - globals
|
||||
*
|
||||
* Version 1.0
|
||||
* Revision date
|
||||
*
|
||||
*=======================================================================*/
|
||||
#ifndef __MAIN_H__
|
||||
#define __MAIN_H__
|
||||
|
||||
|
||||
//--- Includes --------------------------------------------------------
|
||||
|
||||
#include "typedef.h"
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
#ifdef _WINDOWS
|
||||
/********************************************************/
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
/********************************************************/
|
||||
#endif //_WINDOWS
|
||||
|
||||
|
||||
//--- Typedefs ---------------------------------------------------------
|
||||
|
||||
typedef enum { C_Anim, C_Family, C_Bank, C_Level, C_Classe , C_Texture} MLT_tdeCategory;
|
||||
|
||||
//--- Globals ---------------------------------------------------------
|
||||
|
||||
// current version
|
||||
extern char g_fVersion[9];
|
||||
extern BOOL g_bVersionN64;
|
||||
|
||||
// modes
|
||||
extern BOOL g_bOneAnimMode, g_bAnimMode;
|
||||
extern BOOL g_bOneBankMode, g_bBankMode;
|
||||
extern BOOL g_bOneClassMode, g_bClassMode;
|
||||
extern BOOL g_bOneLevelMode, g_bLevelMode;
|
||||
extern BOOL g_bOneFamilyMode, g_bFamilyMode;
|
||||
extern BOOL g_bOneTextureMode, g_bTextureMode;
|
||||
|
||||
// data
|
||||
extern MLT_tdeCategory g_cCategoryType;
|
||||
|
||||
extern xString g_sAnim[100];
|
||||
extern xString g_sBank[100];
|
||||
extern xString g_sClass[100];
|
||||
extern xString g_sLevel[100];
|
||||
extern xString g_sFamily[100];
|
||||
extern xString g_sTexture[100];
|
||||
|
||||
extern long g_lAnimNum;
|
||||
extern long g_lBankNum;
|
||||
extern long g_lClassNum;
|
||||
extern long g_lLevelNum;
|
||||
extern long g_lFamilyNum;
|
||||
extern long g_lTextureNum;
|
||||
|
||||
// directories
|
||||
extern xString g_sInitialDir;
|
||||
|
||||
extern xString g_sRawData;
|
||||
extern xString g_sGameData;
|
||||
|
||||
|
||||
|
||||
#ifdef _WINDOWS
|
||||
/********************************************************/
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // __cplusplus
|
||||
/********************************************************/
|
||||
#endif //_WINDOWS
|
||||
|
||||
#endif //__MAIN_H__
|
141
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/resource.hm
Normal file
141
Rayman_X/cpa/Appli/Max23Dos/Win_M23D/inc/resource.hm
Normal file
@@ -0,0 +1,141 @@
|
||||
// Microsoft Developer Studio generated Help ID include file.
|
||||
// Used by GraphInter.rc
|
||||
//
|
||||
|
||||
#define HIDC_STATIC_VERSION 0x806603f3 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_HELP 0x806603f4 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_QUIT 0x806603f5 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_GROUP_SOURCEDIRECTORIES 0x806603f7 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_RAWDATA 0x806603fc // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_RAWSP1 0x806603ff // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_RAWSP2 0x80660400 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_RAWDATA 0x80660401 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_RAWSPECIFIC1 0x80660402 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_RAWSPECIFIC2 0x80660403 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_RAWDATA 0x80660404 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_RAWSPECIFIC1 0x80660405 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_RAWSPECIFIC2 0x80660406 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BROWSE_RAWDATA 0x80660407 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BROWSE_RAWSPECIFIC1 0x80660408 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BROWSE_RAWSPECIFIC2 0x80660409 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_BUTTON_CREATECONFIGDIR 0x80660410 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_CREATECONFIGDIR 0x80660411 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_REGISTERCONFIGDIR 0x80660412 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_REGISTERCONFIGDIR 0x80660413 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_SAVECONFIGDIR 0x80660414 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_COMBO_CONFIGDIR 0x80660415 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_DELETECONFIGDIR 0x80660416 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_STATIC_ANIMS 0x8066041a // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_BANKS 0x8066041b // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_CLASSES 0x8066041c // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_FAMILIES 0x8066041d // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_LEVELS 0x8066041e // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_TEXTURES 0x8066041f // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_ANIMS 0x80660420 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_BANKS 0x80660421 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_CLASSES 0x80660422 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_FAMILIES 0x80660423 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_LEVELS 0x80660424 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_TEXTURES 0x80660425 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BROWSE_ANIMS 0x80660426 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BROWSE_BANKS 0x80660427 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BROWSE_CLASSES 0x80660428 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BROWSE_FAMILIES 0x80660429 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BROWSE_LEVELS 0x8066042a // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BROWSE_TEXTURES 0x8066042b // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_GROUP_DESTDIRECTORIES 0x8066042e // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_GAMEDATA 0x8066042f // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_GAMESP1 0x80660430 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_GAMESP2 0x80660431 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_GAMEDATA 0x80660434 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_GAMESPECIFIC1 0x80660435 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_GAMESPECIFIC2 0x80660436 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_GAMEDATA 0x80660437 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_GAMESPECIFIC1 0x80660438 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_GAMESPECIFIC2 0x80660439 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BROWSE_GAMEDATA 0x8066043a // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BROWSE_GAMESPECIFIC1 0x8066043b // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BROWSE_GAMESPECIFIC2 0x8066043c // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_GROUP_MAINOPTIONS 0x80660442 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_RAYMAN2 0x80660443 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_MODIFLST 0x80660444 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_ERASEMOD 0x80660445 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_STATIC_LISTMESSAGE 0x806607d0 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_LISTBOX_TYPES 0x806607d1 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_LISTBOX_OBJECTS 0x806607d2 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_GROUP_SELECTION 0x806607d5 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_SELECTALL 0x806607d6 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_SELECTLIST 0x806607d7 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_CLEARLIST 0x806607d8 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_CLEARALL 0x806607d9 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_GROUP_SELECTIONCONFIG 0x806607da // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_CREATECONFIGSELECT 0x806607db // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_CREATECONFIGSELECT 0x806607dc // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_REGISTERCONFIGSELECT 0x806607dd // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_REGISTERCONFIGSELECT 0x806607de // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_COMBO_CONFIGSELECT 0x806607df // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_SAVECONFIGSELECT 0x806607e0 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_DELETECONFIGSELECT 0x806607e1 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_BUTTON_CONVERT 0x806607e2 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_GROUP_CONFLICT 0x806607e4 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_ZOO 0x806607e9 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_SCT 0x806607ea // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_SPO 0x806607eb // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_GMT 0x806607ec // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_VMT 0x806607ed // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_ZOO_MAX 0x806607ee // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_SCT_MAX 0x806607ef // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_SPO_MAX 0x806607f0 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_GMT_MAX 0x806607f1 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_VMT_MAX 0x806607f2 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_ZOO_EDS 0x806607f3 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_SCT_EDS 0x806607f4 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_SPO_EDS 0x806607f5 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_GMT_EDS 0x806607f6 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_VMT_EDS 0x806607f7 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_GROUP_OPTIONS 0x806607f8 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_COPYANIMS 0x806607f9 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_COPYTEXTURES 0x806607fa // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_GENERATERLI 0x806607fb // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_UPDATEGAMEDSC 0x806607fc // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_BASICFAMILY 0x806607fd // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_GROUP_ERASE 0x806607fe // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_ERASEDUPLICATED 0x806607ff // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_ERASEUNUSED 0x80660800 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_GROUP_FAMILIES 0x80660801 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_FORCECOMMON 0x80660802 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_FORCESPECIFIC 0x80660803 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_CHECK_ASKFAMILY 0x80660804 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_GROUP_OPTIONCONFIG 0x80660807 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_CREATECONFIGOPTION 0x80660809 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_CREATECONFIGOPTION 0x8066080a // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_REGISTERCONFIGOPTION 0x8066080b // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_EDIT_REGISTERCONFIGOPTION 0x8066080c // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_COMBO_CONFIGOPTION 0x8066080d // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_SAVECONFIGOPTION 0x8066080e // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_BUTTON_DELETECONFIGOPTION 0x8066080f // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_STATIC_RESULT 0x80660834 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_RESULTEDIT 0x80660835 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_STATIC_COMMAND 0x80660839 // IDD_DIALOGMAIN [English (U.S.)]
|
||||
#define HIDC_STATIC_COMMANDEDIT 0x8066083a // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
#define HIDC_STATIC_PROGRESS 0x8066083e // IDD_DIALOGMAIN [English (U.S.)]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user