Add rayman2 source files
This commit is contained in:
47
Rayman_X/cpa/Appli/ChkData/Inc/ChkData.h
Normal file
47
Rayman_X/cpa/Appli/ChkData/Inc/ChkData.h
Normal file
@@ -0,0 +1,47 @@
|
||||
// ChkData.h : main header file for the CHKDATA application
|
||||
//
|
||||
|
||||
#if !defined(AFX_CHKDATA_H__51552986_281B_11D1_8F25_00609736731A__INCLUDED_)
|
||||
#define AFX_CHKDATA_H__51552986_281B_11D1_8F25_00609736731A__INCLUDED_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#ifndef __AFXWIN_H__
|
||||
#error include 'stdafx.h' before including this file for PCH
|
||||
#endif
|
||||
|
||||
#include "resource.h" // main symbols
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CChkDataApp:
|
||||
// See ChkData.cpp for the implementation of this class
|
||||
//
|
||||
|
||||
class CChkDataApp : public CWinApp
|
||||
{
|
||||
public:
|
||||
CChkDataApp();
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CChkDataApp)
|
||||
public:
|
||||
virtual BOOL InitInstance();
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
|
||||
//{{AFX_MSG(CChkDataApp)
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_CHKDATA_H__51552986_281B_11D1_8F25_00609736731A__INCLUDED_)
|
339
Rayman_X/cpa/Appli/ChkData/Inc/ChkData.rc
Normal file
339
Rayman_X/cpa/Appli/ChkData/Inc/ChkData.rc
Normal file
@@ -0,0 +1,339 @@
|
||||
//Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
#include "resource.h"
|
||||
|
||||
#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
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Dialog
|
||||
//
|
||||
|
||||
IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 55
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "About ChkData"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20
|
||||
LTEXT "ChkData Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
|
||||
LTEXT "Copyright (C) 1997",IDC_STATIC,40,25,119,8
|
||||
DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
|
||||
END
|
||||
|
||||
IDD_CHKDATA_DIALOG DIALOGEX 0, 0, 600, 490
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||||
EXSTYLE WS_EX_APPWINDOW
|
||||
CAPTION "Check Script Data"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
PUSHBUTTON "Quit",IDCANCEL,545,290,50,14
|
||||
LISTBOX IDC_LIST_FILETYPE,5,150,90,155,LBS_SORT |
|
||||
LBS_OWNERDRAWFIXED | LBS_HASSTRINGS |
|
||||
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
|
||||
PUSHBUTTON "Section type",IDC_BUTTON_PROCESS,545,155,50,14
|
||||
LISTBOX IDC_LIST_FILE,5,5,590,101,LBS_NOINTEGRALHEIGHT |
|
||||
WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
|
||||
LTEXT "Number of files : ",IDC_STATIC_NUMBEROFFILES,455,111,
|
||||
140,12,SS_SUNKEN | WS_BORDER
|
||||
PUSHBUTTON "Build File list",IDC_BUTTON_BUILDFILELIST,545,135,50,14
|
||||
LISTBOX IDC_LIST_SECTIONS,100,150,120,155,LBS_SORT |
|
||||
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
|
||||
WS_TABSTOP
|
||||
LTEXT "Section types :",IDC_STATIC_NUMBEROFSECTIONTYPES,100,
|
||||
135,120,12,SS_SUNKEN | WS_BORDER
|
||||
CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",NOT
|
||||
WS_VISIBLE | WS_BORDER,5,111,590,12
|
||||
LTEXT "Entries",IDC_STATIC_NUMBEROFENTRIES,225,135,120,12,
|
||||
SS_SUNKEN | WS_BORDER
|
||||
LISTBOX IDC_LIST_ENTRIES,225,150,120,60,LBS_SORT |
|
||||
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
|
||||
WS_TABSTOP
|
||||
LTEXT "",IDC_STATIC_ENTRYSAMPLE,225,215,120,30,SS_SUNKEN |
|
||||
WS_BORDER
|
||||
CONTROL "0",IDC_CHECK_PARAM0,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,235,265,20,10
|
||||
CONTROL "1",IDC_CHECK_PARAM1,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,255,265,20,10
|
||||
CONTROL "2",IDC_CHECK_PARAM2,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,275,265,20,10
|
||||
CONTROL "3",IDC_CHECK_PARAM3,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,295,265,20,10
|
||||
CONTROL "4",IDC_CHECK_PARAM4,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,315,265,20,10
|
||||
CONTROL "5",IDC_CHECK_PARAM5,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,235,275,20,10
|
||||
CONTROL "6",IDC_CHECK_PARAM6,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,255,275,20,10
|
||||
CONTROL "7",IDC_CHECK_PARAM7,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,275,275,20,10
|
||||
CONTROL "8",IDC_CHECK_PARAM8,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,295,275,20,10
|
||||
CONTROL "9",IDC_CHECK_PARAM9,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,315,275,20,10
|
||||
CONTROL "10",IDC_CHECK_PARAM10,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,235,285,20,10
|
||||
CONTROL "11",IDC_CHECK_PARAM11,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,255,285,20,10
|
||||
CONTROL "12",IDC_CHECK_PARAM12,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,275,285,20,10
|
||||
CONTROL "13",IDC_CHECK_PARAM13,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,295,285,20,10
|
||||
CONTROL "14",IDC_CHECK_PARAM14,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,315,285,20,10
|
||||
CONTROL "15",IDC_CHECK_PARAM15,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,235,295,20,10
|
||||
CONTROL "16",IDC_CHECK_PARAM16,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,255,295,20,10
|
||||
CONTROL "17",IDC_CHECK_PARAM17,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,275,295,20,10
|
||||
CONTROL "18",IDC_CHECK_PARAM18,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,295,295,20,10
|
||||
CONTROL "19",IDC_CHECK_PARAM19,"Button",BS_AUTO3STATE |
|
||||
BS_PUSHLIKE | WS_TABSTOP,315,295,20,10
|
||||
LTEXT "Param that are references",IDC_STATIC_PARAM,225,250,120,
|
||||
12,SS_SUNKEN | WS_BORDER
|
||||
PUSHBUTTON "Save",IDC_BUTTON_SAVE,545,175,50,14
|
||||
PUSHBUTTON "Section && Refs",IDC_BUTTON_SECTIONANDREFS,545,220,50,
|
||||
14
|
||||
LISTBOX IDC_LIST_BADREF,5,325,590,100,LBS_SORT |
|
||||
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
|
||||
WS_TABSTOP
|
||||
LTEXT "Bad references",IDC_STATIC_BADREF,5,310,118,12,
|
||||
SS_SUNKEN | WS_BORDER
|
||||
LISTBOX IDC_LIST_SECTIONWITHBADREF,5,430,590,55,LBS_SORT |
|
||||
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
|
||||
WS_TABSTOP
|
||||
CTEXT "Last op. time",IDC_STATIC_LASTOPTIME,545,260,50,20,
|
||||
SS_SUNKEN | WS_BORDER
|
||||
PUSHBUTTON "Stat",IDC_BUTTON_STAT,545,200,50,14
|
||||
LTEXT "File types :",IDC_STATIC_FILETYPE,5,135,90,12,SS_SUNKEN |
|
||||
WS_BORDER
|
||||
EDITTEXT IDC_EDIT_STAT,350,135,180,170,ES_MULTILINE |
|
||||
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY
|
||||
PUSHBUTTON "Mod statistics",IDC_BUTTON_MODSTAT,545,240,50,14
|
||||
END
|
||||
|
||||
|
||||
#ifndef _MAC
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Version
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,0,0,1
|
||||
PRODUCTVERSION 1,0,0,1
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
#else
|
||||
FILEFLAGS 0x0L
|
||||
#endif
|
||||
FILEOS 0x4L
|
||||
FILETYPE 0x1L
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904B0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "\0"
|
||||
VALUE "FileDescription", "ChkData MFC Application\0"
|
||||
VALUE "FileVersion", "1, 0, 0, 1\0"
|
||||
VALUE "InternalName", "ChkData\0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 1997\0"
|
||||
VALUE "LegalTrademarks", "\0"
|
||||
VALUE "OriginalFilename", "ChkData.EXE\0"
|
||||
VALUE "ProductName", "ChkData Application\0"
|
||||
VALUE "ProductVersion", "1, 0, 0, 1\0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
END
|
||||
|
||||
#endif // !_MAC
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// DESIGNINFO
|
||||
//
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
GUIDELINES DESIGNINFO DISCARDABLE
|
||||
BEGIN
|
||||
IDD_ABOUTBOX, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 210
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 48
|
||||
END
|
||||
|
||||
IDD_CHKDATA_DIALOG, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 5
|
||||
RIGHTMARGIN, 595
|
||||
TOPMARGIN, 5
|
||||
BOTTOMMARGIN, 485
|
||||
END
|
||||
END
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// String Table
|
||||
//
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
BEGIN
|
||||
IDS_ABOUTBOX "&About ChkData..."
|
||||
END
|
||||
|
||||
#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
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Dialog
|
||||
//
|
||||
|
||||
IDD_DIALOG_WAIT DIALOG DISCARDABLE 0, 0, 227, 190
|
||||
STYLE DS_MODALFRAME | WS_POPUP
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
CONTROL 187,-1,"Static",SS_BITMAP,7,7,213,148
|
||||
LTEXT "Project",IDC_STATIC_PROJECT,7,161,213,22
|
||||
END
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// DESIGNINFO
|
||||
//
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
GUIDELINES DESIGNINFO DISCARDABLE
|
||||
BEGIN
|
||||
IDD_DIALOG_WAIT, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 220
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 183
|
||||
END
|
||||
END
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
|
||||
#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 ""..\\res\\ChkData.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
|
||||
"#include ""afxres.rc"" // Standard components\r\n"
|
||||
"#endif\0"
|
||||
END
|
||||
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Icon
|
||||
//
|
||||
|
||||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDR_MAINFRAME ICON DISCARDABLE "..\\res\\ChkData.ico"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Bitmap
|
||||
//
|
||||
|
||||
IDB_BITMAP_BTROUGE BITMAP DISCARDABLE "..\\res\\BtRouge.bmp"
|
||||
IDB_BITMAP_BTVERT BITMAP DISCARDABLE "..\\res\\btvert.bmp"
|
||||
IDB_BITMAP_MAIDEN BITMAP DISCARDABLE "..\\res\\Maiden.bmp"
|
||||
#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 "..\res\ChkData.rc2" // non-Microsoft Visual C++ edited resources
|
||||
#include "afxres.rc" // Standard components
|
||||
#endif
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif // not APSTUDIO_INVOKED
|
||||
|
110
Rayman_X/cpa/Appli/ChkData/Inc/ChkDataDlg.h
Normal file
110
Rayman_X/cpa/Appli/ChkData/Inc/ChkDataDlg.h
Normal file
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
=======================================================================================
|
||||
Name : ChkDataDlg.h
|
||||
|
||||
Author : vincent lhullier Date :09/09/97
|
||||
|
||||
Description : main dialgo box
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#if !defined(AFX_CHKDATADLG_H__51552988_281B_11D1_8F25_00609736731A__INCLUDED_)
|
||||
#define AFX_CHKDATADLG_H__51552988_281B_11D1_8F25_00609736731A__INCLUDED_
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#include "ProgBar.h"
|
||||
#include "Scr_fct.h"
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
CChkDataDlg dialog box
|
||||
=======================================================================================
|
||||
*/
|
||||
class CChkDataDlg : public CDialog
|
||||
{
|
||||
// data members
|
||||
private:
|
||||
HICON m_hIcon;
|
||||
|
||||
CBitmap m_hBtRougeBmp;
|
||||
CBitmap m_hBtVertBmp;
|
||||
|
||||
long m_lNumberOfFiles;
|
||||
|
||||
/* ==> dialog control */
|
||||
CMyProgressBar m_oProgress;
|
||||
CListBox *m_p_oLBFiles;
|
||||
CListBox *m_p_oLBFileType;
|
||||
CListBox *m_p_oLBSectionType;
|
||||
CListBox *m_p_oLBEntry;
|
||||
CListBox *m_p_oLBBadRef;
|
||||
CListBox *m_p_oLBSectionWithBadRef;
|
||||
CButton *m_a_poBtParam[ 20 ];
|
||||
|
||||
SCR_tdst_Link_Value *m_p_stCurrentSectionType;
|
||||
tdstEntry *m_p_stCurrentEntry;
|
||||
SCR_tdst_Link_Value *m_p_stCurrentBadRef;
|
||||
|
||||
|
||||
// Construction
|
||||
public:
|
||||
CChkDataDlg(CWnd* pParent = NULL); // standard constructor
|
||||
~CChkDataDlg();
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CChkDataDlg)
|
||||
enum { IDD = IDD_CHKDATA_DIALOG };
|
||||
//}}AFX_DATA
|
||||
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CChkDataDlg)
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
void m_fn_vInitProgessBar ( int _iStart, int _iEnd );
|
||||
void m_fn_vFillSectionTypeList ( void );
|
||||
void m_fn_vFillListEntry ( void );
|
||||
void m_fn_vShowCurrentEntry ( void );
|
||||
void m_fn_vDumpSectionAndRefsListInFile( char *_szFileName );
|
||||
void fn_vFillBadReferenceList ( void );
|
||||
void fn_vFillSectionWithBadReferenceList ( void );
|
||||
void m_fn_vDisplayLastOperationTime( long _lTime );
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CChkDataDlg)
|
||||
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
||||
afx_msg void OnPaint();
|
||||
afx_msg HCURSOR OnQueryDragIcon();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDIS);
|
||||
afx_msg void OnMeasureItem(int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct);
|
||||
afx_msg void OnDblclkListFiletype();
|
||||
afx_msg void OnButtonProcess();
|
||||
afx_msg void OnButtonBuildfilelist();
|
||||
afx_msg void OnSelchangeListSections();
|
||||
afx_msg void OnSelchangeListEntries();
|
||||
afx_msg void OnButtonSave();
|
||||
afx_msg void OnButtonSectionandrefs();
|
||||
afx_msg void OnButtonStat();
|
||||
afx_msg void OnSelchangeListBadref();
|
||||
afx_msg void OnDblclkListSectionwithbadref();
|
||||
afx_msg void OnButtonModstat();
|
||||
//}}AFX_MSG
|
||||
afx_msg void OnButtonParam( UINT nID );
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_CHKDATADLG_H__51552988_281B_11D1_8F25_00609736731A__INCLUDED_)
|
23
Rayman_X/cpa/Appli/ChkData/Inc/Constant.h
Normal file
23
Rayman_X/cpa/Appli/ChkData/Inc/Constant.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
*=======================================================================================
|
||||
* Name :constant.h
|
||||
*
|
||||
* Author : VL Date :16/07/97
|
||||
*
|
||||
* Description :constant for vss data manager
|
||||
*=======================================================================================
|
||||
* Modification -> Author : Date :
|
||||
* Description :
|
||||
*=======================================================================================
|
||||
*/
|
||||
|
||||
#ifndef __CONSTANT_H__
|
||||
#define __CONSTANT_H__
|
||||
|
||||
/*
|
||||
* constant for main window min size
|
||||
*/
|
||||
#define C_iMainMinWidth 300
|
||||
#define C_iMainMinHeight 300
|
||||
|
||||
#endif /*__CONSTANT_H__*/
|
153
Rayman_X/cpa/Appli/ChkData/Inc/IniData.h
Normal file
153
Rayman_X/cpa/Appli/ChkData/Inc/IniData.h
Normal file
@@ -0,0 +1,153 @@
|
||||
/*
|
||||
=======================================================================================
|
||||
Name :IniData.h
|
||||
|
||||
Author :Vincent lhullier Date :21/07/97
|
||||
|
||||
Description :function for initial value (saving, loading, ... ) Header file
|
||||
=======================================================================================
|
||||
Modification -> Author : Date :
|
||||
Description :
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#ifndef __INIDATA_H__
|
||||
#define __INIDATA_H__
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#include <afxdisp.h>
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
typedef struct tdstProject_ tdstProject;
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
Constants
|
||||
=======================================================================================
|
||||
*/
|
||||
/*
|
||||
* Ini file
|
||||
*/
|
||||
#define C_szIniFile "ChkData.ini"
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
Structures
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
typedef struct tdstAvailablePaths_
|
||||
{
|
||||
char szGraphicsBanks [ MAX_PATH ]; // ("GameData\World\Graphics\Objects\Banks")
|
||||
char szLevels [ MAX_PATH ]; // ("GameData\World\Levels")
|
||||
char szFamilies [ MAX_PATH ]; // ("GameData\World\Levels\_Common\Families")
|
||||
char szTexture [ MAX_PATH ]; // ("GameData\World\Graphics\Textures")
|
||||
char szGameData [ MAX_PATH ]; // ("GameData")
|
||||
char szWorld [ MAX_PATH ]; // ("GameData\World")
|
||||
char szAnimations [ MAX_PATH ]; // ("GameData\World\Graphics\Anims")
|
||||
char szGraphicsClasses [ MAX_PATH ]; // ("GameData\World\Graphics\Objects\Classes")
|
||||
char szMechanics [ MAX_PATH ]; // ("GameData\World\Libraries\Mechanics")
|
||||
char szSound [ MAX_PATH ]; // ("GameData\World\Sound")
|
||||
char szVisuals [ MAX_PATH ]; // ("GameData\World\Graphics\Visuals")
|
||||
char szMaterials [ MAX_PATH ]; // ("GameData\World\Libraries\Materials")
|
||||
char szEnvironment [ MAX_PATH ]; // ("GameData\World\Libraries\Environment")
|
||||
char szSaveGame [ MAX_PATH ]; // ("GameData\SaveGame")
|
||||
char szVignettes [ MAX_PATH ]; // ("GameData\Vignette")
|
||||
char szOptions [ MAX_PATH ]; // ("GameData\Options")
|
||||
char szZdx [ MAX_PATH ]; // ("GameData\World\Levels")
|
||||
char szCharacters [ MAX_PATH ]; // ("GameData\World\Levels")
|
||||
} tdstAvailablePaths;
|
||||
|
||||
typedef struct tdstDirectoryType_
|
||||
{
|
||||
char *szPath;
|
||||
char szName[ 16 ];
|
||||
}tdstDirectoryType;
|
||||
|
||||
/*
|
||||
* structure to store config of file list information
|
||||
*/
|
||||
typedef struct tdstFileListConfig_
|
||||
{
|
||||
char szKey[20]; // congfing entry in vss entry
|
||||
char cIndex; // current config index
|
||||
char szId[20]; // current config id
|
||||
char szName[40]; // current config name
|
||||
long lNumberOfFiles; // number of file in current config
|
||||
char **d_szFile; // list of file name in current config
|
||||
} tdstFileListConfig;
|
||||
|
||||
/*
|
||||
* structure to store program information
|
||||
*/
|
||||
typedef struct tdstIniData_
|
||||
{
|
||||
char szLocalPath[MAX_PATH]; // name of local data path
|
||||
char szRootForSection[ MAX_PATH ];
|
||||
long lRootForSectionLength;
|
||||
char szResultFile[MAX_PATH]; // name of file that contains result
|
||||
char szSectionFile[MAX_PATH];
|
||||
|
||||
char cNumberOfConfigs; // number of config found in ini file
|
||||
tdstFileListConfig stCheckConfig;
|
||||
|
||||
tdstAvailablePaths stAvailablePaths;
|
||||
char cNumberOfDataPaths;
|
||||
tdstDirectoryType a_stDataPath[18];
|
||||
} tdstIniData;
|
||||
|
||||
/*
|
||||
* structure to store Window preference and options
|
||||
*/
|
||||
typedef struct tdstWindowsPref_
|
||||
{
|
||||
RECT stMainPos; // main window position and size
|
||||
}tdstWindowsPref;
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
GLOBALS
|
||||
=======================================================================================
|
||||
*/
|
||||
extern tdstIniData g_stIniData; // initial data
|
||||
extern tdstWindowsPref g_stWinPref; // program options
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
FUNCTIONS
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
/*
|
||||
* specific function for file list configuration
|
||||
*/
|
||||
void fn_IniD_vFreeFileList( tdstFileListConfig *_p_stFileList );
|
||||
void fn_IniD_vWriteFileList( tdstFileListConfig *_p_stFileList );
|
||||
BOOL fn_IniD_bGetFileList( tdstFileListConfig *_p_stFileList, char _cConfig );
|
||||
void fn_IniD_vSetSingleFileList( tdstFileListConfig *_p_stFileList, char *_szFileName );
|
||||
|
||||
char fn_IniD_cGetIndexFromId( char *_szId );
|
||||
char fn_IniD_cGetNumberOfConfig( void );
|
||||
void fn_IniD_vGetConfigName( char _cConfig, char *_szName );
|
||||
|
||||
/*
|
||||
* function to get/set single initial data
|
||||
*/
|
||||
BOOL fn_IniD_bGetFileTypeConsiderStatus( char *_szExt );
|
||||
void fn_IniD_vSetFileTypeConsiderStatus( char *_szExt, BOOL _bConsider );
|
||||
|
||||
void fn_IniD_vSetLocalPath( char *_szPath );
|
||||
void fn_IniD_vSetResultFile( char *_szFileName );
|
||||
|
||||
/*
|
||||
* function for windows preference data
|
||||
*/
|
||||
void fn_IniD_vGetWindowPreference( void );
|
||||
void fn_IniD_vWriteWindowPreference( void );
|
||||
|
||||
/*
|
||||
* function for all ini data
|
||||
*/
|
||||
void fn_IniD_vGetAllFromIniFile( BOOL _bFirst );
|
||||
|
||||
#endif //__INIDATA_H__
|
94
Rayman_X/cpa/Appli/ChkData/Inc/ProgBar.h
Normal file
94
Rayman_X/cpa/Appli/ChkData/Inc/ProgBar.h
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
*=======================================================================================
|
||||
* Name :progbar.h
|
||||
*
|
||||
* Author :Vincent lhullier Date :15/07/97
|
||||
*
|
||||
* Description :a beautiful progress bar
|
||||
*=======================================================================================
|
||||
* Modification -> Author : Date :
|
||||
* Description :
|
||||
*=======================================================================================
|
||||
*/
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#if !defined(AFX_PROGBAR_H__9367697B_F92A_11D0_8EF0_00609736731A__INCLUDED_)
|
||||
#define AFX_PROGBAR_H__9367697B_F92A_11D0_8EF0_00609736731A__INCLUDED_
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
CMyProgressBar window
|
||||
=======================================================================================
|
||||
*/
|
||||
class CMyProgressBar : public CProgressCtrl
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CMyProgressBar();
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
BOOL m_bInit;
|
||||
|
||||
int m_iStart;
|
||||
int m_iEnd;
|
||||
|
||||
CDC m_oDC;
|
||||
CBitmap m_oBitmap;
|
||||
|
||||
CDC m_oAnimDC;
|
||||
CBitmap m_oAnimBitmap;
|
||||
char m_cNumberOfFrames;
|
||||
char m_cFrameWidth;
|
||||
char m_cCurrentFrame;
|
||||
|
||||
COLORREF m_xBackgroundColor;
|
||||
COLORREF m_xForegroundColor;
|
||||
|
||||
|
||||
|
||||
// Operations
|
||||
public:
|
||||
void m_fn_vSetRange( int _iStart, int _iEnd );
|
||||
void m_fn_vReinit( void );
|
||||
|
||||
void m_fn_vInitDC( void );
|
||||
|
||||
void m_fn_vInitDrawing( COLORREF _xBackground = 0);
|
||||
void m_fn_vInitDrawing( int _iRed, int _iGreen, int _iBlue, COLORREF _xBackground = 0);
|
||||
void m_fn_vInitDrawing( UINT _uiBitmap, COLORREF _xForeground, COLORREF _xBackground = 0);
|
||||
|
||||
void m_fn_vInitAnim( UINT _uiBitmap, char _cFrame, char _cFrameWidht );
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CMyProgressBar)
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
virtual ~CMyProgressBar();
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
//{{AFX_MSG(CMyProgressBar)
|
||||
afx_msg void OnPaint();
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_PROGBAR_H__9367697B_F92A_11D0_8EF0_00609736731A__INCLUDED_)
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
143
Rayman_X/cpa/Appli/ChkData/Inc/Scr_Fct.h
Normal file
143
Rayman_X/cpa/Appli/ChkData/Inc/Scr_Fct.h
Normal file
@@ -0,0 +1,143 @@
|
||||
/*
|
||||
=======================================================================================
|
||||
Name : Scr_Fct.h
|
||||
|
||||
Author : vincent lhullier Date :08/09/97
|
||||
|
||||
Description : script functions
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#ifndef __SCR_FCT_H__
|
||||
#define __SCR_FCT_H__
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#include "SCR.h"
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
Structures
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
/*
|
||||
* structure to save a reference that own to a section
|
||||
*/
|
||||
typedef struct tdstReference_
|
||||
{
|
||||
SCR_tdst_DyAr_Header stHeader; /* Header of element */
|
||||
SCR_tdst_Link_Value *p_stRef;
|
||||
unsigned int uiLine;
|
||||
} tdstReference;
|
||||
|
||||
/*
|
||||
* structure to store data about an entry
|
||||
*/
|
||||
typedef struct tdstEntry_
|
||||
{
|
||||
SCR_tdst_DyAr_Header stHeader; /* Header of element */
|
||||
char *szName;
|
||||
char *szSample;
|
||||
char cNumberOfParams;
|
||||
char cNumberOfRefs;
|
||||
char a_cIsRef[20];
|
||||
} tdstEntry;
|
||||
|
||||
/*
|
||||
* structure to store computed script stat
|
||||
*/
|
||||
typedef struct tdstScriptStat_
|
||||
{
|
||||
unsigned long ulNbFiles;
|
||||
char szBiggestFile[MAX_PATH];
|
||||
unsigned long ulMaxSize;
|
||||
unsigned long ulNbChars;
|
||||
unsigned long ulNbLines;
|
||||
unsigned long ulNbDirectiveLines;
|
||||
unsigned long ulNbBeginSectionLines;
|
||||
unsigned long ulNbEntryLines;
|
||||
unsigned long ulNbEndSectionLines;
|
||||
unsigned long ulNbMaxSectionInAFile;
|
||||
char szFileWithMaxSection[ SCR_CV_ui_Cfg_MaxLenWord ];
|
||||
unsigned long ulSectionNameMinLength;
|
||||
char szSectionNameMin[ SCR_CV_ui_Cfg_MaxLenWord ];
|
||||
unsigned long ulSectionNameMaxLength;
|
||||
char szSectionNameMax[ SCR_CV_ui_Cfg_MaxLenWord ];
|
||||
unsigned long ulSectionExtMaxLength;
|
||||
char szSectionExtMax[ SCR_CV_ui_Cfg_MaxLenWord ];
|
||||
float fSectionExtAverageLength;
|
||||
unsigned long ulEntryMinLength;
|
||||
char szEntryMin[ SCR_CV_ui_Cfg_MaxLenWord ];
|
||||
unsigned long ulEntryMaxLength;
|
||||
char szEntryMax[ SCR_CV_ui_Cfg_MaxLenWord ];
|
||||
unsigned long ulFormatMaxLength;
|
||||
char cMaxParams;
|
||||
unsigned long ulParamsMaxLength;
|
||||
} tdstScriptStat;
|
||||
|
||||
/*
|
||||
* structure to store statistic on mod files
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
unsigned long ulNumber;
|
||||
|
||||
unsigned long ulMaxPoints;
|
||||
unsigned long ulMinPoints;
|
||||
|
||||
unsigned long ulMaxEdges;
|
||||
unsigned long ulMinEdges;
|
||||
|
||||
unsigned long ulMinElement;
|
||||
unsigned long ulMaxElement;
|
||||
|
||||
unsigned long ulNumberOfITElement;
|
||||
unsigned long ulMinTriangles;
|
||||
unsigned long ulMaxTriangles;
|
||||
unsigned long ulMinUV;
|
||||
unsigned long ulMaxUV;
|
||||
} tdstModStat;
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
Globals
|
||||
=======================================================================================
|
||||
*/
|
||||
extern SCR_tdst_Link_Table g_stSectionTypeLinkTable;
|
||||
extern SCR_tdst_Link_Table g_stSectionLinkTable;
|
||||
extern SCR_tdst_Link_Table g_stRefLinkTable;
|
||||
extern SCR_tdst_Link_Table g_stFileLinkTable;
|
||||
/*
|
||||
=======================================================================================
|
||||
Functions
|
||||
=======================================================================================
|
||||
*/
|
||||
void fn_Scr_vSaveSectionTypes( void );
|
||||
void fn_Scr_vLoadSectionTypes( void );
|
||||
|
||||
tdstEntry *fn_Scr_p_stFindEntry( SCR_tdst_DyAr_Description *_p_stSectionEntryDyAr, char *_szEntryName );
|
||||
void fn_Scr_vAddEntryToSection( SCR_tdst_DyAr_Description *_p_stSectionEntryDyAr, SCR_tdst_Cxt_Description *_p_stContext );
|
||||
|
||||
void fn_Scr_vResetUsedCounters( void );
|
||||
void fn_Scr_vComputeSectionTypeHasRef( void );
|
||||
|
||||
void fn_Scr_vFreeSectionTypeList( void );
|
||||
void fn_Scr_vFreeSectionList( void );
|
||||
void fn_Scr_vFreeLTFile( void );
|
||||
|
||||
void fn_Scr_vParseFileToBuildListOfSectionTypes(char *_p_szFileName);
|
||||
void fn_Scr_vParseFileToBuildListOfSectionsAndRefs(char *_p_szFileName);
|
||||
void fn_Scr_vNewParseFileToBuildListOfSectionsAndRefs( char *_szFileName, SCR_tdst_Link_Value *_p_stLVFile );
|
||||
|
||||
void fn_Scr_vInitStat( tdstScriptStat *_stStat );
|
||||
void fn_Scr_vParseFileForStat(char *_p_szFileName, tdstScriptStat *_stStat );
|
||||
|
||||
void fn_Scr_vInitModStat( tdstModStat *_pst_Stat );
|
||||
void fn_Scr_vParseFileToCountModData( char *_sz_FileName, tdstModStat *_pst_Stat );
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#endif /* __SCR_FCT_H__ */
|
57
Rayman_X/cpa/Appli/ChkData/Inc/SpecRef.h
Normal file
57
Rayman_X/cpa/Appli/ChkData/Inc/SpecRef.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
=======================================================================================
|
||||
Name : SpecRef.h
|
||||
|
||||
Author : vincent lhullier Date :10/09/97
|
||||
|
||||
Description : functions to transform special references
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#ifndef __SPECREF_H__
|
||||
#define __SPECREF_H__
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
Typedef & struct
|
||||
=======================================================================================
|
||||
*/
|
||||
typedef void (* tdpfn_Scr_TransformSpecialRef)(char *);
|
||||
|
||||
typedef struct tdstSpecialReference_
|
||||
{
|
||||
char szSectionType[512];
|
||||
char szEntry[512];
|
||||
char cParam;
|
||||
tdpfn_Scr_TransformSpecialRef pfn_vTransform;
|
||||
} tdstSpecialReference;
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
constants
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
#define C_lNumberOfSpecialRefs 1
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
globals
|
||||
=======================================================================================
|
||||
*/
|
||||
extern tdstSpecialReference g_a_stSpecialRef[ C_lNumberOfSpecialRefs ];
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
functions
|
||||
=======================================================================================
|
||||
*/
|
||||
void fn_SpRef_vTransformSpecialRef( char *_szSectionType, char *_szEntryName, char _cParam, char *_szRef );
|
||||
|
||||
/* special ref transformation */
|
||||
void fn_vTransformCSRef( char *_szRef );
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#endif
|
25
Rayman_X/cpa/Appli/ChkData/Inc/StdAfx.h
Normal file
25
Rayman_X/cpa/Appli/ChkData/Inc/StdAfx.h
Normal file
@@ -0,0 +1,25 @@
|
||||
// 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__5155298A_281B_11D1_8F25_00609736731A__INCLUDED_)
|
||||
#define AFX_STDAFX_H__5155298A_281B_11D1_8F25_00609736731A__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
|
||||
#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__5155298A_281B_11D1_8F25_00609736731A__INCLUDED_)
|
131
Rayman_X/cpa/Appli/ChkData/Inc/Tree_Fct.h
Normal file
131
Rayman_X/cpa/Appli/ChkData/Inc/Tree_Fct.h
Normal file
@@ -0,0 +1,131 @@
|
||||
/*
|
||||
=======================================================================================
|
||||
Name : Tree_Fct.h
|
||||
|
||||
Author : vincent lhullier Date :04/09/97
|
||||
|
||||
Description : header file for tree of project or file functions
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#ifndef __VSSFUNCT_H__
|
||||
#define __VSSFUNCT_H__
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
typedef struct tdstFileListConfig_ tdstFileListConfig;
|
||||
typedef struct tdstSection_ tdstSection;
|
||||
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
STRUCTURES
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
/*
|
||||
* structure to store info about project tree
|
||||
*/
|
||||
typedef struct tdstFile_
|
||||
{
|
||||
char *szName;
|
||||
BOOL bGet;
|
||||
HTREEITEM hTreeItem;
|
||||
} tdstFile;
|
||||
|
||||
typedef struct tdstProject_
|
||||
{
|
||||
char *szName;
|
||||
BOOL bGet;
|
||||
BOOL bRecurse;
|
||||
long lNumberOfSubProjects;
|
||||
struct tdstProject_ *d_stSubProject;
|
||||
long lNumberOfFiles;
|
||||
tdstFile *d_stFile;
|
||||
HTREEITEM hTreeItem;
|
||||
} tdstProject;
|
||||
|
||||
/*
|
||||
* structure to describe a file type
|
||||
*/
|
||||
typedef struct tdstFileType_
|
||||
{
|
||||
char szExt[8];
|
||||
long lUsed;
|
||||
BOOL bConsider;
|
||||
// long lNumberOfSections;
|
||||
// tdstSection *d_stSection;
|
||||
} tdstFileType;
|
||||
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
CONSTANT
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
#define C_cVssProject 0
|
||||
#define C_cLocalProject 1
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
GLOBALS
|
||||
=======================================================================================
|
||||
*/
|
||||
extern tdstProject *g_p_stRootProject;
|
||||
|
||||
extern long g_lNumberOfFileTypes;
|
||||
extern long g_lNumberMaxOfFileTypes;
|
||||
extern tdstFileType *g_d_stFileType;
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
FUNCTIONS
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
File type functions
|
||||
=======================================================================================
|
||||
*/
|
||||
void fn_Tree_vFreeFileTypeList ( void );
|
||||
tdstFileType *fn_Tree_p_stIsAFileType ( char *_szFileType );
|
||||
tdstFileType *fn_Tree_p_stAddFileType ( char *_szFileType );
|
||||
void fn_Tree_vAddFileTypeFromFile ( char *_szFile );
|
||||
BOOL fn_Tree_bConsiderFile ( char *_szFile );
|
||||
|
||||
void fn_Tree_vInitProject ( tdstProject *_p_stProj, char *_szName );
|
||||
void fn_Tree_vInitProjectWithPointerName ( tdstProject *_p_stProj, char *_szName );
|
||||
void fn_Tree_vInitFile ( tdstFile *_p_stFile, char *_szName );
|
||||
void fn_Tree_vInitFileWithPointerName ( tdstFile *_p_stFile, char *_szName );
|
||||
|
||||
tdstProject *fn_Tree_p_stGetProject ( tdstProject *_p_stInProj, char *_szName );
|
||||
tdstFile *fn_Tree_p_stGetFile ( tdstProject *_p_stInProj, char *_szName );
|
||||
|
||||
void fn_Tree_vFreeProject ( tdstProject *_p_stProj, BOOL _bDelete );
|
||||
void fn_Tree_vFreeProjectTree ( tdstProject *_p_stProj, BOOL _bDelete);
|
||||
void fn_Tree_vFreeProjectFileList ( tdstProject *_p_stProj );
|
||||
|
||||
void fn_Tree_vGetNothing ( tdstProject *_p_stProj);
|
||||
void fn_Tree_vRefreshWithFileList ( tdstProject *_p_stProj, tdstFileListConfig *_p_stFileList );
|
||||
|
||||
void fn_Tree_vGetNumberOfFilesOrProjectsToGet( tdstProject *_p_stProj, long *_p_lNbFiles );
|
||||
void fn_Tree_vGetFilesOrProjectToGet ( tdstProject *_p_stProj, long *_p_lNbFiles, char **_d_szFile );
|
||||
void fn_Tree_vGetNumberOfFilesToGet ( tdstProject *_p_stProj, long *_p_lNbFiles, BOOL _bAll );
|
||||
void fn_Tree_vGetFilesToGet ( tdstProject *_p_stProj, long *_p_lNbFiles, char **_d_szFile, BOOL _bAll );
|
||||
|
||||
long fn_Tree_lBuildListOfFilesToGet ( tdstProject *_p_stProj, char ***_ppp_szFile );
|
||||
void fn_Tree_vFreeListOfFilesToGet ( long _lNumberOfFiles, char **_pp_szFile );
|
||||
|
||||
BOOL fn_TREE_bGetFileList ( tdstProject *_p_stProj, tdstFileListConfig *_p_stFileList, char _cConfig, char *_szFileListName );
|
||||
|
||||
/*
|
||||
=======================================================================================
|
||||
Function for local tree
|
||||
=======================================================================================
|
||||
*/
|
||||
|
||||
BOOL fn_Tree_bBuildFromDisk ( tdstProject **_pp_stRootProject, char *_szRootName, HWND _hProjectWindow );
|
||||
|
||||
#endif //__VSSFUNCT_H__
|
67
Rayman_X/cpa/Appli/ChkData/Inc/resource.h
Normal file
67
Rayman_X/cpa/Appli/ChkData/Inc/resource.h
Normal file
@@ -0,0 +1,67 @@
|
||||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Developer Studio generated include file.
|
||||
// Used by ChkData.rc
|
||||
//
|
||||
#define IDM_ABOUTBOX 0x0010
|
||||
#define IDD_ABOUTBOX 100
|
||||
#define IDS_ABOUTBOX 101
|
||||
#define IDD_CHKDATA_DIALOG 102
|
||||
#define IDR_MAINFRAME 128
|
||||
#define IDB_BITMAP_BTROUGE 129
|
||||
#define IDB_BITMAP_BTVERT 130
|
||||
#define IDD_DIALOG_WAIT 152
|
||||
#define IDB_BITMAP_MAIDEN 187
|
||||
#define IDC_LIST_FILETYPE 1000
|
||||
#define IDC_BUTTON_PROCESS 1001
|
||||
#define IDC_LIST_FILE 1002
|
||||
#define IDC_STATIC_NUMBEROFFILES 1003
|
||||
#define IDC_BUTTON_BUILDFILELIST 1004
|
||||
#define IDC_LIST_SECTIONS 1005
|
||||
#define IDC_STATIC_NUMBEROFSECTIONTYPES 1006
|
||||
#define IDC_PROGRESS 1007
|
||||
#define IDC_STATIC_NUMBEROFENTRIES 1008
|
||||
#define IDC_LIST_ENTRIES 1009
|
||||
#define IDC_STATIC_ENTRYSAMPLE 1010
|
||||
#define IDC_CHECK_PARAM0 1011
|
||||
#define IDC_CHECK_PARAM1 1012
|
||||
#define IDC_CHECK_PARAM2 1013
|
||||
#define IDC_CHECK_PARAM3 1014
|
||||
#define IDC_CHECK_PARAM4 1015
|
||||
#define IDC_CHECK_PARAM5 1016
|
||||
#define IDC_CHECK_PARAM6 1017
|
||||
#define IDC_CHECK_PARAM7 1018
|
||||
#define IDC_CHECK_PARAM8 1019
|
||||
#define IDC_CHECK_PARAM9 1020
|
||||
#define IDC_CHECK_PARAM10 1021
|
||||
#define IDC_CHECK_PARAM11 1022
|
||||
#define IDC_CHECK_PARAM12 1023
|
||||
#define IDC_CHECK_PARAM13 1024
|
||||
#define IDC_CHECK_PARAM14 1025
|
||||
#define IDC_CHECK_PARAM15 1026
|
||||
#define IDC_CHECK_PARAM16 1027
|
||||
#define IDC_CHECK_PARAM17 1028
|
||||
#define IDC_CHECK_PARAM18 1029
|
||||
#define IDC_CHECK_PARAM19 1030
|
||||
#define IDC_STATIC_PARAM 1031
|
||||
#define IDC_BUTTON_SAVE 1032
|
||||
#define IDC_BUTTON_SECTIONANDREFS 1033
|
||||
#define IDC_LIST_BADREF 1034
|
||||
#define IDC_STATIC_PROJECT 1034
|
||||
#define IDC_STATIC_BADREF 1035
|
||||
#define IDC_LIST_SECTIONWITHBADREF 1036
|
||||
#define IDC_STATIC_LASTOPTIME 1037
|
||||
#define IDC_BUTTON_STAT 1038
|
||||
#define IDC_STATIC_FILETYPE 1039
|
||||
#define IDC_EDIT_STAT 1040
|
||||
#define IDC_BUTTON_MODSTAT 1041
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 131
|
||||
#define _APS_NEXT_COMMAND_VALUE 32771
|
||||
#define _APS_NEXT_CONTROL_VALUE 1041
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
Reference in New Issue
Block a user