Add rayman2 source files
BIN
Rayman_X/cpa/tempgrp/TID/Inc/IAD.APS
Normal file
337
Rayman_X/cpa/tempgrp/TID/Inc/IAD.clw
Normal file
@@ -0,0 +1,337 @@
|
||||
; CLW file contains information for the MFC ClassWizard
|
||||
|
||||
[General Info]
|
||||
Version=1
|
||||
LastClass=IAD_Dialog_FindInTree
|
||||
LastTemplate=CDialog
|
||||
NewFileInclude1=#include "stdafx.h"
|
||||
NewFileInclude2=#include "iad.h"
|
||||
LastPage=0
|
||||
|
||||
ClassCount=13
|
||||
Class1=IAD_Dialog_FindInTree
|
||||
Class2=IAD_InformationDialog
|
||||
Class3=IAD_QuestionDialog
|
||||
Class4=IAD_EditorSetupDialog
|
||||
Class5=TID_Dialog_Setup
|
||||
Class6=IAD_MainFrame
|
||||
Class7=IAD_ListControl
|
||||
Class8=IAD_TreeControl
|
||||
Class9=IAD_TreeView
|
||||
Class10=IAD_ResultView
|
||||
Class11=IAD_ControlView
|
||||
Class12=IAD_Color_Button
|
||||
|
||||
ResourceCount=15
|
||||
Resource1=IDD_IAD_CONTROL
|
||||
Resource2=IDD_IAD_QUESTION
|
||||
Resource3=IDD_IAD_SETUP
|
||||
Resource4=IDD_IAD_RESULT_VIEW1 (French (France))
|
||||
Resource5=IDD_IAD_FIND
|
||||
Resource6=IDD_IAD_INFO
|
||||
Class13=IAD_Dialog_SetNumber
|
||||
Resource7=IDD_IAD_SET_NUMBER
|
||||
Resource8=IDD_IAD_QUESTION (French (France))
|
||||
Resource9=IDD_IAD_RESULT_VIEW (French (France))
|
||||
Resource10=IDD_IAD_INFO (French (France))
|
||||
Resource11=IDD_IAD_FIND (French (France))
|
||||
Resource12=IDD_IAD_CONTROL (French (France))
|
||||
Resource13=IDD_IAD_SETUP (French (France))
|
||||
Resource14=IDD_IAD_SET_NUMBER (French (France))
|
||||
Resource15=IDD_IAD_VARIABLE (French (France))
|
||||
|
||||
[CLS:IAD_Dialog_FindInTree]
|
||||
Type=0
|
||||
BaseClass=CDialog
|
||||
HeaderFile=IADDgFnd.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\Src\IADDgFnd.cpp
|
||||
Filter=D
|
||||
VirtualFilter=dWC
|
||||
LastObject=IAD_Dialog_FindInTree
|
||||
|
||||
[CLS:IAD_InformationDialog]
|
||||
Type=0
|
||||
BaseClass=CDialog
|
||||
HeaderFile=IADDgIf.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\Src\IADDgIf.cpp
|
||||
|
||||
[CLS:IAD_QuestionDialog]
|
||||
Type=0
|
||||
BaseClass=CDialog
|
||||
HeaderFile=IADDgQu.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\Src\IADDgQu.cpp
|
||||
|
||||
[CLS:IAD_EditorSetupDialog]
|
||||
Type=0
|
||||
BaseClass=CDialog
|
||||
HeaderFile=IADDgSp.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\Src\IADDgSp.cpp
|
||||
|
||||
[CLS:TID_Dialog_Setup]
|
||||
Type=0
|
||||
BaseClass=CDialog
|
||||
HeaderFile=IADDgStp.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\Src\IADDgStp.cpp
|
||||
|
||||
[CLS:IAD_MainFrame]
|
||||
Type=0
|
||||
BaseClass=CSplitFrame
|
||||
HeaderFile=IADFmMn.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\Src\IADFmMn.cpp
|
||||
|
||||
[CLS:IAD_ListControl]
|
||||
Type=0
|
||||
BaseClass=CListCtrl
|
||||
HeaderFile=IADLstCt.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\Src\IADLstCt.cpp
|
||||
Filter=W
|
||||
VirtualFilter=FWC
|
||||
LastObject=IAD_ListControl
|
||||
|
||||
[CLS:IAD_TreeControl]
|
||||
Type=0
|
||||
BaseClass=CTreeCtrl
|
||||
HeaderFile=IADTrCtl.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\Src\IADTrCtl.cpp
|
||||
LastObject=IAD_TreeControl
|
||||
Filter=W
|
||||
VirtualFilter=GWC
|
||||
|
||||
[CLS:IAD_TreeView]
|
||||
Type=0
|
||||
BaseClass=CTreeView
|
||||
HeaderFile=IADTrVw.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\Src\IADTrVw.cpp
|
||||
Filter=C
|
||||
|
||||
[CLS:IAD_ResultView]
|
||||
Type=0
|
||||
BaseClass=CFormView
|
||||
HeaderFile=IADVwRst.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\Src\IADVwRst.cpp
|
||||
LastObject=IDC_CHECK_SYNCHRONIZE
|
||||
Filter=D
|
||||
VirtualFilter=VWC
|
||||
|
||||
[CLS:IAD_ControlView]
|
||||
Type=0
|
||||
BaseClass=CFormView
|
||||
HeaderFile=IADVwMn.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\Src\IADVwMn.cpp
|
||||
LastObject=IAD_ControlView
|
||||
Filter=D
|
||||
VirtualFilter=VWC
|
||||
|
||||
[CLS:IAD_Color_Button]
|
||||
Type=0
|
||||
BaseClass=CButton
|
||||
HeaderFile=IADWCBt.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\Src\IADWCBt.cpp
|
||||
LastObject=IAD_Color_Button
|
||||
|
||||
[DLG:IDD_IAD_FIND]
|
||||
Type=1
|
||||
Class=IAD_Dialog_FindInTree
|
||||
ControlCount=29
|
||||
Control1=IDOK,button,1342242817
|
||||
Control2=IDCANCEL,button,1342242816
|
||||
Control3=IDC_STATIC_DEEP_SEARCH_TEXT,static,1342308352
|
||||
Control4=IDC_COMBO_FIELD_TYPE,combobox,1344340227
|
||||
Control5=IDC_EDIT_NAME,edit,1350631552
|
||||
Control6=IDC_EDIT_VALUE,edit,1350631552
|
||||
Control7=IDC_EDIT_RETURNING_VALUE,edit,1350631552
|
||||
Control8=IDC_CHECK_EXACT_NAME,button,1342242819
|
||||
Control9=IDC_STATIC_RECT_NAME,button,1342177287
|
||||
Control10=IDC_CHECK_CASE_NAME,button,1342242819
|
||||
Control11=IDC_STATIC_RECT_VALUE,button,1342177287
|
||||
Control12=IDC_STATIC_RECT_RET_VALUE,button,1342177287
|
||||
Control13=IDC_CHECK_EXACT_VALUE,button,1342242819
|
||||
Control14=IDC_CHECK_CASE_VALUE,button,1342242819
|
||||
Control15=IDC_CHECK_EXACT_R_VALUE,button,1342242819
|
||||
Control16=IDC_CHECK_CASE_R_VALUE,button,1342242819
|
||||
Control17=IDC_EDIT_BEGINNING_LEVEL,edit,1484849280
|
||||
Control18=IDC_STATIC_AND_TEXT,static,1342308352
|
||||
Control19=IDC_EDIT_END_LEVEL,edit,1350631552
|
||||
Control20=IDC_RADIO_SIMPLE_SEARCH,button,1342308361
|
||||
Control21=IDC_RADIO_DEEP_SEARCH,button,1342177289
|
||||
Control22=IDC_STATIC_RECT_SIMPLE_SERACH,button,1342177287
|
||||
Control23=IDC_STATIC_DEEP_SEARCH_RECT,button,1342177287
|
||||
Control24=IDC_CHECK_SEARCH_IN_LEVELS,button,1342242819
|
||||
Control25=IDC_STATIC_SIMPLE_SEARCH_TEXT,static,1342308352
|
||||
Control26=IDC_EDIT_SIMPLE_SEARCH,edit,1350631552
|
||||
Control27=IDC_CHECK_EXACT_SIMPLE_SEARCH,button,1342242819
|
||||
Control28=IDC_CHECK_CASE_SIMPLE_SEARCH,button,1342242819
|
||||
Control29=IDC_STATIC,button,1342177287
|
||||
|
||||
[DLG:IDD_IAD_INFO]
|
||||
Type=1
|
||||
Class=IAD_InformationDialog
|
||||
ControlCount=3
|
||||
Control1=IDOK,button,1342242817
|
||||
Control2=IDC_STATIC_TEXT,static,1342312449
|
||||
Control3=IDC_STATIC_IMAGE,static,1342177294
|
||||
|
||||
[DLG:IDD_IAD_QUESTION]
|
||||
Type=1
|
||||
Class=IAD_QuestionDialog
|
||||
ControlCount=4
|
||||
Control1=IDYES,button,1342242817
|
||||
Control2=IDNO,button,1342242816
|
||||
Control3=IDC_STATIC_QUESTION,static,1342312449
|
||||
Control4=IDC_EDIT_BIDON,edit,1350631552
|
||||
|
||||
[DLG:IDD_IAD_PREF]
|
||||
Type=1
|
||||
Class=IAD_EditorSetupDialog
|
||||
|
||||
[DLG:IDD_IAD_SETUP]
|
||||
Type=1
|
||||
Class=TID_Dialog_Setup
|
||||
ControlCount=5
|
||||
Control1=IDOK,button,1342242817
|
||||
Control2=IDCANCEL,button,1342242816
|
||||
Control3=IDC_STATIC,static,1342308352
|
||||
Control4=IDC_STATIC,static,1342308352
|
||||
Control5=IDC_STATIC_COLORS_USED,button,1342177287
|
||||
|
||||
[DLG:IDD_IAD_CONTROL]
|
||||
Type=1
|
||||
Class=IAD_ResultView
|
||||
ControlCount=3
|
||||
Control1=IDC_STATIC,static,1342308352
|
||||
Control2=IDC_CHECK_IA_DEBUGGER_ON,button,1476464643
|
||||
Control3=IDC_LIST_ACTORS,SysListView32,1350664197
|
||||
|
||||
[DLG:IDD_IAD_SET_NUMBER]
|
||||
Type=1
|
||||
Class=IAD_Dialog_SetNumber
|
||||
ControlCount=2
|
||||
Control1=IDC_EDIT_NUMBER,edit,1350631553
|
||||
Control2=IDOK,button,1073807360
|
||||
|
||||
[CLS:IAD_Dialog_SetNumber]
|
||||
Type=0
|
||||
HeaderFile=IADDgSN.hpp
|
||||
ImplementationFile=\Cpa\TempGrp\TID\src\IADDgSN.cpp
|
||||
BaseClass=CDialog
|
||||
Filter=D
|
||||
LastObject=IAD_Dialog_SetNumber
|
||||
VirtualFilter=dWC
|
||||
|
||||
[DLG:IDD_IAD_QUESTION (French (France))]
|
||||
Type=1
|
||||
ControlCount=4
|
||||
Control1=IDYES,button,1342242817
|
||||
Control2=IDNO,button,1342242816
|
||||
Control3=IDC_STATIC_QUESTION,static,1342312449
|
||||
Control4=IDC_EDIT_BIDON,edit,1350631552
|
||||
|
||||
[DLG:IDD_IAD_RESULT_VIEW (French (France))]
|
||||
Type=1
|
||||
ControlCount=17
|
||||
Control1=IDC_CHECK_SYNCHRONIZE,button,1342242851
|
||||
Control2=IDC_EDIT_LEVELS,edit,1350631553
|
||||
Control3=IDC_SPIN_LEVELS,msctls_updown32,1342177298
|
||||
Control4=IDC_STATIC,static,1342308352
|
||||
Control5=IDC_STATIC_ACTOR_NAME,static,1342312449
|
||||
Control6=IDC_STATIC_STATUS,static,1342312448
|
||||
Control7=IDC_STATIC,static,1342308352
|
||||
Control8=IDC_STATIC_IA_TREE,static,1342312449
|
||||
Control9=IDC_PROGRESS_STATUS,msctls_progress32,1350565888
|
||||
Control10=IDC_BUTTON_FIND_NEXT_IN_TREE,button,1476460608
|
||||
Control11=IDC_BUTTON_FIND_IN_TREE,button,1342242880
|
||||
Control12=IDC_STATIC_FIND_STATUS,static,1342312449
|
||||
Control13=IDC_BUTTON_FIND_PREVIOUS_IN_TREE,button,1476460608
|
||||
Control14=IDC_CHECK_VIEW_REFLEX,button,1342242850
|
||||
Control15=IDC_CHECK_VIEW_AI,button,1342242850
|
||||
Control16=IDC_CHECK_SHOW_MARKS,button,1342242851
|
||||
Control17=IDC_CHECK_SHOW_TESTS,button,1342242851
|
||||
|
||||
[DLG:IDD_IAD_INFO (French (France))]
|
||||
Type=1
|
||||
ControlCount=3
|
||||
Control1=IDOK,button,1342242817
|
||||
Control2=IDC_STATIC_TEXT,static,1342312449
|
||||
Control3=IDC_STATIC_IMAGE,static,1342177294
|
||||
|
||||
[DLG:IDD_IAD_FIND (French (France))]
|
||||
Type=1
|
||||
ControlCount=29
|
||||
Control1=IDOK,button,1342242817
|
||||
Control2=IDCANCEL,button,1342242816
|
||||
Control3=IDC_STATIC_DEEP_SEARCH_TEXT,static,1342308352
|
||||
Control4=IDC_COMBO_FIELD_TYPE,combobox,1344340227
|
||||
Control5=IDC_EDIT_NAME,edit,1350631552
|
||||
Control6=IDC_EDIT_VALUE,edit,1350631552
|
||||
Control7=IDC_EDIT_RETURNING_VALUE,edit,1350631552
|
||||
Control8=IDC_CHECK_EXACT_NAME,button,1342242819
|
||||
Control9=IDC_STATIC_RECT_NAME,button,1342177287
|
||||
Control10=IDC_CHECK_CASE_NAME,button,1342242819
|
||||
Control11=IDC_STATIC_RECT_VALUE,button,1342177287
|
||||
Control12=IDC_STATIC_RECT_RET_VALUE,button,1342177287
|
||||
Control13=IDC_CHECK_EXACT_VALUE,button,1342242819
|
||||
Control14=IDC_CHECK_CASE_VALUE,button,1342242819
|
||||
Control15=IDC_CHECK_EXACT_R_VALUE,button,1342242819
|
||||
Control16=IDC_CHECK_CASE_R_VALUE,button,1342242819
|
||||
Control17=IDC_EDIT_BEGINNING_LEVEL,edit,1484849280
|
||||
Control18=IDC_STATIC_AND_TEXT,static,1342308352
|
||||
Control19=IDC_EDIT_END_LEVEL,edit,1350631552
|
||||
Control20=IDC_RADIO_SIMPLE_SEARCH,button,1342308361
|
||||
Control21=IDC_RADIO_DEEP_SEARCH,button,1342177289
|
||||
Control22=IDC_STATIC_RECT_SIMPLE_SERACH,button,1342177287
|
||||
Control23=IDC_STATIC_DEEP_SEARCH_RECT,button,1342177287
|
||||
Control24=IDC_CHECK_SEARCH_IN_LEVELS,button,1342242819
|
||||
Control25=IDC_STATIC_SIMPLE_SEARCH_TEXT,static,1342308352
|
||||
Control26=IDC_EDIT_SIMPLE_SEARCH,edit,1350631552
|
||||
Control27=IDC_CHECK_EXACT_SIMPLE_SEARCH,button,1342242819
|
||||
Control28=IDC_CHECK_CASE_SIMPLE_SEARCH,button,1342242819
|
||||
Control29=IDC_STATIC,button,1342177287
|
||||
|
||||
[DLG:IDD_IAD_CONTROL (French (France))]
|
||||
Type=1
|
||||
ControlCount=3
|
||||
Control1=IDC_STATIC,static,1342308352
|
||||
Control2=IDC_CHECK_IA_DEBUGGER_ON,button,1476464643
|
||||
Control3=IDC_LIST_ACTORS,SysListView32,1350664197
|
||||
|
||||
[DLG:IDD_IAD_SETUP (French (France))]
|
||||
Type=1
|
||||
ControlCount=5
|
||||
Control1=IDOK,button,1342242817
|
||||
Control2=IDCANCEL,button,1342242816
|
||||
Control3=IDC_STATIC,static,1342308352
|
||||
Control4=IDC_STATIC,static,1342308352
|
||||
Control5=IDC_STATIC_COLORS_USED,button,1342177287
|
||||
|
||||
[DLG:IDD_IAD_SET_NUMBER (French (France))]
|
||||
Type=1
|
||||
ControlCount=2
|
||||
Control1=IDC_EDIT_NUMBER,edit,1350631553
|
||||
Control2=IDOK,button,1073807360
|
||||
|
||||
[DLG:IDD_IAD_VARIABLE (French (France))]
|
||||
Type=1
|
||||
ControlCount=1
|
||||
Control1=IDC_LIST_VARIABLES,SysListView32,1350664197
|
||||
|
||||
[DLG:IDD_IAD_RESULT_VIEW1 (French (France))]
|
||||
Type=1
|
||||
ControlCount=17
|
||||
Control1=IDC_CHECK_SYNCHRONIZE,button,1342242851
|
||||
Control2=IDC_EDIT_LEVELS,edit,1350631553
|
||||
Control3=IDC_SPIN_LEVELS,msctls_updown32,1342177298
|
||||
Control4=IDC_STATIC,static,1342308352
|
||||
Control5=IDC_STATIC_ACTOR_NAME,static,1342312449
|
||||
Control6=IDC_STATIC_STATUS,static,1342312448
|
||||
Control7=IDC_STATIC,static,1342308352
|
||||
Control8=IDC_STATIC_IA_TREE,static,1342312449
|
||||
Control9=IDC_PROGRESS_STATUS,msctls_progress32,1350565888
|
||||
Control10=IDC_BUTTON_FIND_NEXT_IN_TREE,button,1476460608
|
||||
Control11=IDC_BUTTON_FIND_IN_TREE,button,1342242880
|
||||
Control12=IDC_STATIC_FIND_STATUS,static,1342312449
|
||||
Control13=IDC_BUTTON_FIND_PREVIOUS_IN_TREE,button,1476460608
|
||||
Control14=IDC_CHECK_VIEW_REFLEX,button,1342242850
|
||||
Control15=IDC_CHECK_VIEW_AI,button,1342242850
|
||||
Control16=IDC_CHECK_SHOW_MARKS,button,1342242851
|
||||
Control17=IDC_CHECK_SHOW_TESTS,button,1342242851
|
||||
|
388
Rayman_X/cpa/tempgrp/TID/Inc/IAD.rc
Normal file
@@ -0,0 +1,388 @@
|
||||
//Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
#include "IAD_Res.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
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Icon
|
||||
//
|
||||
|
||||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDI_ICON_NEXT_LINE ICON DISCARDABLE "..\\res\\inextline.ico"
|
||||
#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
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// TEXTINCLUDE
|
||||
//
|
||||
|
||||
1 TEXTINCLUDE DISCARDABLE
|
||||
BEGIN
|
||||
"IAD_Res.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_FRA)\r\n"
|
||||
"#ifdef _WIN32\r\n"
|
||||
"LANGUAGE 12, 1\r\n"
|
||||
"#pragma code_page(1252)\r\n"
|
||||
"#endif\r\n"
|
||||
"#include ""IAD.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
|
||||
"#include ""l.fra\\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\\EdCarac.ico"
|
||||
IDI_ICON_FIND ICON DISCARDABLE "..\\res\\icon_fin.ico"
|
||||
IDI_ICON_FIND_NEXT ICON DISCARDABLE "..\\res\\ico00001.ico"
|
||||
IDI_ICON_FIND_PREVIOUS ICON DISCARDABLE "..\\res\\ico00002.ico"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Dialog
|
||||
//
|
||||
|
||||
IDD_IAD_QUESTION DIALOG DISCARDABLE 0, 0, 277, 67
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "IA Debugger - Question"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "Yes",IDYES,108,46,50,14
|
||||
PUSHBUTTON "No",IDNO,170,46,50,14
|
||||
CTEXT "Static",IDC_STATIC_QUESTION,59,7,211,35,SS_SUNKEN
|
||||
EDITTEXT IDC_EDIT_BIDON,3,7,40,38,ES_AUTOHSCROLL
|
||||
END
|
||||
|
||||
IDD_IAD_INFO DIALOG DISCARDABLE 0, 0, 277, 67
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "IA Debugger - Information"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "Continue !",IDOK,113,46,50,14
|
||||
CTEXT "Static",IDC_STATIC_TEXT,59,7,211,35,SS_SUNKEN
|
||||
CONTROL "",IDC_STATIC_IMAGE,"Static",SS_BITMAP,7,7,37,34
|
||||
END
|
||||
|
||||
IDD_IAD_FIND DIALOG DISCARDABLE 0, 0, 277, 246
|
||||
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION |
|
||||
WS_SYSMENU
|
||||
CAPTION "IA Debugger - Find in Trace"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "OK",IDOK,78,225,50,14
|
||||
PUSHBUTTON "Cancel",IDCANCEL,149,225,50,14
|
||||
LTEXT "Search for type :",IDC_STATIC_DEEP_SEARCH_TEXT,11,98,53,
|
||||
9
|
||||
COMBOBOX IDC_COMBO_FIELD_TYPE,72,97,192,94,CBS_DROPDOWNLIST |
|
||||
CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
||||
EDITTEXT IDC_EDIT_NAME,17,130,77,12,ES_AUTOHSCROLL
|
||||
EDITTEXT IDC_EDIT_VALUE,101,130,77,12,ES_AUTOHSCROLL
|
||||
EDITTEXT IDC_EDIT_RETURNING_VALUE,183,130,77,12,ES_AUTOHSCROLL
|
||||
CONTROL "Whole word",IDC_CHECK_EXACT_NAME,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,19,146,54,10
|
||||
GROUPBOX "Name",IDC_STATIC_RECT_NAME,13,118,83,53
|
||||
CONTROL "Match Case",IDC_CHECK_CASE_NAME,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,19,157,54,10
|
||||
GROUPBOX "Value",IDC_STATIC_RECT_VALUE,97,118,83,53
|
||||
GROUPBOX "Returned value",IDC_STATIC_RECT_RET_VALUE,181,118,83,53
|
||||
CONTROL "Whole word",IDC_CHECK_EXACT_VALUE,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,103,146,54,10
|
||||
CONTROL "Match Case",IDC_CHECK_CASE_VALUE,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,103,157,54,10
|
||||
CONTROL "Whole word",IDC_CHECK_EXACT_R_VALUE,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,187,146,54,10
|
||||
CONTROL "Match Case",IDC_CHECK_CASE_R_VALUE,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,187,158,54,10
|
||||
EDITTEXT IDC_EDIT_BEGINNING_LEVEL,113,194,36,12,ES_AUTOHSCROLL |
|
||||
WS_DISABLED
|
||||
LTEXT "and :",IDC_STATIC_AND_TEXT,153,195,17,8
|
||||
EDITTEXT IDC_EDIT_END_LEVEL,174,194,36,12,ES_AUTOHSCROLL
|
||||
CONTROL "Simple search",IDC_RADIO_SIMPLE_SEARCH,"Button",
|
||||
BS_AUTORADIOBUTTON | WS_GROUP,7,7,226,10
|
||||
CONTROL "Deep search",IDC_RADIO_DEEP_SEARCH,"Button",
|
||||
BS_AUTORADIOBUTTON,7,76,243,10
|
||||
GROUPBOX "",IDC_STATIC_RECT_SIMPLE_SERACH,7,14,263,55
|
||||
GROUPBOX "",IDC_STATIC_DEEP_SEARCH_RECT,7,84,263,91
|
||||
CONTROL "Search between levels :",IDC_CHECK_SEARCH_IN_LEVELS,
|
||||
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,194,90,10
|
||||
LTEXT "Search for string :",IDC_STATIC_SIMPLE_SEARCH_TEXT,14,
|
||||
23,56,8
|
||||
EDITTEXT IDC_EDIT_SIMPLE_SEARCH,70,22,192,12,ES_AUTOHSCROLL
|
||||
CONTROL "Whole word",IDC_CHECK_EXACT_SIMPLE_SEARCH,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,15,40,54,10
|
||||
CONTROL "Match Case",IDC_CHECK_CASE_SIMPLE_SEARCH,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,15,53,54,10
|
||||
GROUPBOX "Levels exclusion",IDC_STATIC,7,182,263,29
|
||||
END
|
||||
|
||||
IDD_IAD_CONTROL DIALOG DISCARDABLE 0, 0, 213, 87
|
||||
STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Dialog"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
LTEXT "Actors with an AI :",IDC_STATIC,3,3,66,8
|
||||
CONTROL "Debugger Off",IDC_CHECK_IA_DEBUGGER_ON,"Button",
|
||||
BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_DISABLED | WS_TABSTOP,
|
||||
153,1,53,14
|
||||
CONTROL "List1",IDC_LIST_ACTORS,"SysListView32",LVS_REPORT |
|
||||
LVS_SINGLESEL | LVS_NOSORTHEADER | WS_BORDER |
|
||||
WS_TABSTOP,0,19,206,67
|
||||
CONTROL "View All",IDC_VIEW_ALL,"Button",BS_AUTOCHECKBOX |
|
||||
WS_TABSTOP,109,3,41,10
|
||||
END
|
||||
|
||||
IDD_IAD_SETUP DIALOG DISCARDABLE 0, 0, 325, 215
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "IA Debugger - Setup"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "OK",IDOK,105,194,50,14
|
||||
PUSHBUTTON "Cancel",IDCANCEL,170,194,50,14
|
||||
LTEXT "To copy a Color, drag a button on another one...",
|
||||
IDC_STATIC,7,7,311,8
|
||||
LTEXT "To edit a Color, double clic on button.",IDC_STATIC,7,
|
||||
17,311,8
|
||||
GROUPBOX "Colors used",IDC_STATIC_COLORS_USED,7,27,311,160
|
||||
END
|
||||
|
||||
IDD_IAD_SET_NUMBER DIALOG DISCARDABLE 0, 0, 40, 12
|
||||
STYLE DS_MODALFRAME | WS_POPUP
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
EDITTEXT IDC_EDIT_NUMBER,0,0,40,12,ES_CENTER | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK",IDOK,20,0,15,12,NOT WS_VISIBLE
|
||||
END
|
||||
|
||||
IDD_IAD_VARIABLE DIALOG DISCARDABLE 0, 0, 207, 50
|
||||
STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Dialog"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
CONTROL "List1",IDC_LIST_VARIABLES,"SysListView32",LVS_REPORT |
|
||||
LVS_SINGLESEL | LVS_NOSORTHEADER | WS_BORDER |
|
||||
WS_TABSTOP,0,0,200,50
|
||||
END
|
||||
|
||||
IDD_IAD_RESULT_VIEW DIALOG DISCARDABLE 0, 0, 180, 250
|
||||
STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
CONTROL "Sync",IDC_CHECK_SYNCHRONIZE,"Button",BS_AUTOCHECKBOX |
|
||||
BS_LEFTTEXT | WS_TABSTOP,147,13,32,10
|
||||
EDITTEXT IDC_EDIT_LEVELS,28,14,22,12,ES_CENTER | ES_AUTOHSCROLL
|
||||
CONTROL "Spin1",IDC_SPIN_LEVELS,"msctls_updown32",
|
||||
UDS_SETBUDDYINT | UDS_AUTOBUDDY,51,12,11,14
|
||||
LTEXT "Current Actor :",IDC_STATIC,0,1,48,8
|
||||
CTEXT "<< Name >>",IDC_STATIC_ACTOR_NAME,48,0,131,10,SS_SUNKEN
|
||||
LTEXT "<< Status >>",IDC_STATIC_STATUS,0,223,179,10,SS_SUNKEN
|
||||
LTEXT "Expand:",IDC_STATIC,0,15,27,8
|
||||
CTEXT "IA Tree",IDC_STATIC_IA_TREE,0,54,179,10,SS_SUNKEN
|
||||
CONTROL "Progress1",IDC_PROGRESS_STATUS,"msctls_progress32",
|
||||
WS_BORDER,0,234,179,9
|
||||
PUSHBUTTON "Next",IDC_BUTTON_FIND_NEXT_IN_TREE,156,25,21,12,BS_ICON |
|
||||
WS_DISABLED
|
||||
PUSHBUTTON "Search",IDC_BUTTON_FIND_IN_TREE,105,25,14,12,BS_ICON
|
||||
CTEXT "<< Find status >>",IDC_STATIC_FIND_STATUS,0,27,82,10,
|
||||
SS_SUNKEN
|
||||
PUSHBUTTON "Prev",IDC_BUTTON_FIND_PREVIOUS_IN_TREE,128,25,21,12,
|
||||
BS_ICON | WS_DISABLED
|
||||
CHECKBOX "Rflx",IDC_CHECK_VIEW_REFLEX,95,13,28,10,BS_LEFTTEXT
|
||||
CHECKBOX "IA",IDC_CHECK_VIEW_AI,125,13,23,10,BS_LEFTTEXT
|
||||
CONTROL "Marks",IDC_CHECK_SHOW_MARKS,"Button",BS_AUTOCHECKBOX |
|
||||
BS_LEFTTEXT | WS_TABSTOP,0,41,35,10
|
||||
CONTROL "Tests",IDC_CHECK_SHOW_TESTS,"Button",BS_AUTOCHECKBOX |
|
||||
BS_LEFTTEXT | WS_TABSTOP,42,41,33,10
|
||||
PUSHBUTTON "F10",IDC_BUTTON_NEXT_LINE,165,39,14,12,BS_ICON
|
||||
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", "Application ""Editeur de M<>canique""\0"
|
||||
VALUE "FileVersion", "1, 0, 0, 1\0"
|
||||
VALUE "InternalName", "IAD\0"
|
||||
VALUE "LegalCopyright", "Copyright <20> 1996\0"
|
||||
VALUE "OriginalFilename", "IAD.dll\0"
|
||||
VALUE "ProductName", "Editeur de M<>canique\0"
|
||||
VALUE "ProductVersion", "1, 0, 0, 1\0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
END
|
||||
|
||||
#endif // !_MAC
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Cursor
|
||||
//
|
||||
|
||||
IDC_CURSOR_CLOSED_HAND CURSOR DISCARDABLE "..\\res\\cursor_1.cur"
|
||||
IDC_CURSOR_DEVELOP CURSOR DISCARDABLE "..\\res\\cursor_d.cur"
|
||||
IDC_CURSOR_DRAG_COLOR CURSOR DISCARDABLE "..\\res\\cur00001.cur"
|
||||
IDC_CURSOR_DRAG_INVALID_COLOR CURSOR DISCARDABLE "..\\res\\cur00002.cur"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Bitmap
|
||||
//
|
||||
|
||||
IDB_BITMAP_QUESTION BITMAP DISCARDABLE "..\\res\\bitmap_q.bmp"
|
||||
IDB_BITMAP_INFO1 BITMAP DISCARDABLE "..\\res\\bitmap_i.bmp"
|
||||
IDB_BITMAP_INFO2 BITMAP DISCARDABLE "..\\res\\bmp00010.bmp"
|
||||
IDB_BITMAP_INFO3 BITMAP DISCARDABLE "..\\res\\bmp00011.bmp"
|
||||
IDB_BITMAP_INFO4 BITMAP DISCARDABLE "..\\res\\bmp00012.bmp"
|
||||
IDB_BITMAP_INFO5 BITMAP DISCARDABLE "..\\res\\bmp00013.bmp"
|
||||
IDB_BITMAP_MINUS BITMAP DISCARDABLE "..\\res\\bitmap1.bmp"
|
||||
IDB_BITMAP_PLUS BITMAP DISCARDABLE "..\\res\\bitmap_m.bmp"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// DESIGNINFO
|
||||
//
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
GUIDELINES DESIGNINFO DISCARDABLE
|
||||
BEGIN
|
||||
IDD_IAD_FIND, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 270
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 239
|
||||
HORZGUIDE, 69
|
||||
END
|
||||
|
||||
IDD_IAD_CONTROL, DIALOG
|
||||
BEGIN
|
||||
RIGHTMARGIN, 206
|
||||
BOTTOMMARGIN, 86
|
||||
END
|
||||
|
||||
IDD_IAD_SETUP, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 318
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 208
|
||||
END
|
||||
|
||||
IDD_IAD_VARIABLE, DIALOG
|
||||
BEGIN
|
||||
RIGHTMARGIN, 200
|
||||
END
|
||||
|
||||
IDD_IAD_RESULT_VIEW, DIALOG
|
||||
BEGIN
|
||||
RIGHTMARGIN, 179
|
||||
BOTTOMMARGIN, 243
|
||||
END
|
||||
END
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
#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_FRA)
|
||||
#ifdef _WIN32
|
||||
LANGUAGE 12, 1
|
||||
#pragma code_page(1252)
|
||||
#endif
|
||||
#include "IAD.rc2" // non-Microsoft Visual C++ edited resources
|
||||
#include "l.fra\afxres.rc" // Standard components
|
||||
#endif
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif // not APSTUDIO_INVOKED
|
||||
|
13
Rayman_X/cpa/tempgrp/TID/Inc/IAD.rc2
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// EDCARAC.RC2 - resources Microsoft Visual C++ does not edit directly
|
||||
//
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#error this file is not editable by Microsoft Visual C++
|
||||
#endif //APSTUDIO_INVOKED
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Add manually edited resources here...
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
176
Rayman_X/cpa/tempgrp/TID/Inc/IADClBck.hpp
Normal file
@@ -0,0 +1,176 @@
|
||||
// CallBacks (called to compute the string displayed in Editor Tree)
|
||||
//
|
||||
// YB
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _IA_DEBUGGER_CALLBACKS_
|
||||
#define _IA_DEBUGGER_CALLBACKS_
|
||||
|
||||
// For "IncAI.h" !!
|
||||
#include "ACP_Base.h"
|
||||
#include "IncAI.h"
|
||||
// End For "IncAI.h" !!
|
||||
|
||||
//Type name
|
||||
CString IAD_fn_vGetTypeCallBack_EngineLoop(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_ReflexOrAI(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_CurrentComport(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Field(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Constant(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_DsgVarId(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_DsgVar(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Button(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_EnvRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_SectorRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_SurfaceRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_PersoRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_ActionRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Real(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Vector(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_ConstantVector(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Way(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_WayPoint(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Module(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_ChannelNumber(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Mask(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_String(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_LipsSynchroRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_SoundEventRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_FamilyRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_BeginMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_EndMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Comport(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_KeyWord(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Condition(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Function(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Operator(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_Procedure(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_MetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_BeginMetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_TextRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_FontRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetTypeCallBack_ParticleGenerator(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
|
||||
//Name
|
||||
CString IAD_fn_vGetNameCallBack_EngineLoop(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_ReflexOrAI(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_CurrentComport(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Field(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Constant(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_DsgVarId(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_DsgVar(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Button(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_EnvRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_SectorRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_SurfaceRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_PersoRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_ActionRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Real(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Vector(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_ConstantVector(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Way(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_WayPoint(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Module(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_ChannelNumber(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Mask(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_String(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_LipsSynchroRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_SoundEventRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_FamilyRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_BeginMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_EndMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Comport(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_KeyWord(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Condition(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Function(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Operator(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_Procedure(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_MetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_BeginMetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_TextRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_FontRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetNameCallBack_ParticleGenerator(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
|
||||
|
||||
//Value
|
||||
CString IAD_fn_vGetValueCallBack_EngineLoop(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_ReflexOrAI(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_CurrentComport(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Field(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Constant(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_DsgVarId(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_DsgVar(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Button(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_EnvRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_SectorRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_SurfaceRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_PersoRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_ActionRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Real(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Vector(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_ConstantVector(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Way(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_WayPoint(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Module(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_ChannelNumber(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Mask(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_String(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_LipsSynchroRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_SoundEventRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_FamilyRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_BeginMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_EndMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Comport(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_KeyWord(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Condition(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Function(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Operator(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_Procedure(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_MetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_BeginMetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_TextRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_FontRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetValueCallBack_ParticleGenerator(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
|
||||
//Returned Value
|
||||
CString IAD_fn_vGetReturnValueCallBack_EngineLoop(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_ReflexOrAI(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_CurrentComport(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Field(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Constant(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_DsgVarId(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_DsgVar(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Button(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_EnvRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_SectorRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_SurfaceRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_PersoRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_ActionRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Real(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Vector(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_ConstantVector(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Way(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_WayPoint(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Module(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_ChannelNumber(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Mask(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_String(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_LipsSynchroRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_SoundEventRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_FamilyRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_BeginMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_EndMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Comport(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_KeyWord(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Condition(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Function(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Operator(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_Procedure(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_MetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_BeginMetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_TextRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_FontRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
CString IAD_fn_vGetReturnValueCallBack_ParticleGenerator(long _lID, tdstGetSetParam *_p_tdstGetSetParam);
|
||||
|
||||
#endif //_IA_DEBUGGER_CALLBACKS_
|
||||
|
||||
|
101
Rayman_X/cpa/tempgrp/TID/Inc/IADCnst.hpp
Normal file
@@ -0,0 +1,101 @@
|
||||
// Constants definition for the Charactersitics Editor
|
||||
////////////////////////////////////////////////////////
|
||||
#ifndef _EDCAR_CONST_HPP_
|
||||
#define _EDCAR_CONST_HPP_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
//Definitions for Editor
|
||||
#define C_EDITOR_SUBSTRACTED_HEIGHT 0
|
||||
#define C_EDITOR_WIDTH 250
|
||||
#define C_SCROLLBAR_WIDTH 7
|
||||
|
||||
//Definitions for MS placing
|
||||
#define C_SPACE_FOR_BORDER 2
|
||||
#define C_MS_LINE_HEIGHT 20
|
||||
#define C_MS_SPACING 3
|
||||
|
||||
//Definitions for MS internal controls
|
||||
#define C_TABULATION 0
|
||||
#define C_ALLOC_BUTTON_PERCENT_WIDTH 20
|
||||
|
||||
//Definitions for special tool tips windows
|
||||
#define C_TTIPS_SPACING 4
|
||||
|
||||
//Definitions for Actors' View
|
||||
//Defines for next/prev buttons display
|
||||
#define C_BUTTON_SIZE 20 //square buttons
|
||||
//Defines for direct acces buttons display
|
||||
#define C_BUTTON_SPACING 2
|
||||
#define C_BUTTON_HEIGHT 20
|
||||
#define C_BUTTONS_COLUMNS 3 //Number of direct access buttons per line
|
||||
|
||||
//Definitions for Main View
|
||||
#define C_MAIN_VIEW_SPACING 2
|
||||
|
||||
//Definitions for Buttons
|
||||
#define C_BUTTON_MARGIN 3
|
||||
|
||||
//Definitions for Spin Buttons
|
||||
#define C_SPIN_PRECISION 3
|
||||
#define C_ACCEL_NB 5
|
||||
|
||||
|
||||
//Global definitions for control
|
||||
#define C_SPACE_BETWEEN_CONTROLS 2
|
||||
#define C_EDIT_HEIGHT 15
|
||||
|
||||
//Definitions for Boolean control
|
||||
#define C_BOOL_NAME_BOX_PERCENT_WIDTH 70
|
||||
#define C_BOOL_NAME_BOX_MIN_WIDTH 40
|
||||
#define C_BOOL_BUTTON_PERCENT_WIDTH 30
|
||||
#define C_BUTTON_HEIGHT 20
|
||||
#define C_BUTTON_WIDTH 40
|
||||
|
||||
//Definitions for Enum control
|
||||
#define C_ENUM_BOX_TOTAL_HEIGHT 100
|
||||
#define C_ENUM_COMBO_BOX_HEIGHT 20
|
||||
#define C_ENUM_BOX_PERCENT_WIDTH 50
|
||||
#define C_ENUM_BOX_MIN_WIDTH 90
|
||||
#define C_ENUM_NAME_PERCENT_WIDTH 50
|
||||
|
||||
//Definitions for Float control
|
||||
#define C_DECIMAL_NAME_BOX_PERCENT_WIDTH 60
|
||||
#define C_DECIMAL_CURRENT_VALUE_PERCENT_WIDTH 35
|
||||
#define C_DECIMAL_CURRENT_VALUE_MIN_WIDTH 50 //for Auto Spacing
|
||||
#define C_DECIMAL_SPIN_PERCENT_WIDTH 5
|
||||
#define C_DECIMAL_SPIN_MIN_WIDTH 10 //for Auto Spacing
|
||||
#define C_SPIN_HEIGHT 17 //for Auto Spacing
|
||||
|
||||
//Definitions for Int control
|
||||
#define C_INT_NAME_BOX_PERCENT_WIDTH 70
|
||||
#define C_INT_CURRENT_VALUE_PERCENT_WIDTH 25
|
||||
#define C_INT_CURRENT_VALUE_MIN_WIDTH 30 //for Auto Spacing
|
||||
#define C_INT_SPIN_PERCENT_WIDTH 5
|
||||
#define C_INT_SPIN_MIN_WIDTH 10 //for Auto Spacing
|
||||
|
||||
//Definitions for List control
|
||||
#define C_LIST_NUMBER_OF_CONTROLS 3
|
||||
#define C_LIST_BUTTON_HEIGHT 20
|
||||
#define C_LIST_EDIT_BUTTON_PERCENT_WIDTH 15
|
||||
#define C_LIST_DEV_BUTTON_PERCENT_WIDTH 15
|
||||
#define C_LIST_NAME_BOX_PERCENT_WIDTH 70
|
||||
#define C_LIST_ADDING_HEIGHT_WHEN_DEV 70
|
||||
|
||||
//Definitions for Matrice control
|
||||
#define C_MATRICE_NUMBER_OF_CONTROLS 3
|
||||
#define C_MATRICE_BUTTON_HEIGHT 20
|
||||
#define C_MATRICE_EDIT_BUTTON_PERCENT_WIDTH 15
|
||||
#define C_MATRICE_DEV_BUTTON_PERCENT_WIDTH 15
|
||||
#define C_MATRICE_NAME_BOX_PERCENT_WIDTH 70
|
||||
#define C_MATRICE_ADDING_HEIGHT_WHEN_DEV 50
|
||||
|
||||
//Definitions for Text control
|
||||
#define C_TEXT_NAME_BOX_PERCENT_WIDTH 70
|
||||
#define C_TEXT_CURRENT_VALUE_PERCENT_WIDTH 30
|
||||
#define C_TEXT_CURRENT_VALUE_MIN_WIDTH 30 //for Auto Spacing
|
||||
|
||||
|
||||
#endif //_EDCAR_CONST_HPP_
|
71
Rayman_X/cpa/tempgrp/TID/Inc/IADDgFnd.hpp
Normal file
@@ -0,0 +1,71 @@
|
||||
// IADDgFnd.hpp : header file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _IAD_DIALOG_FIND_IN_TRACE_
|
||||
#define _IAD_DIALOG_FIND_IN_TRACE_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "IAD_Res.h"
|
||||
#include "IADDoc.hpp"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_Dialog_FindInTree dialog
|
||||
|
||||
class IAD_Dialog_FindInTree : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
IAD_Dialog_FindInTree(CWnd* pParent = NULL); // standard constructor
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(IAD_Dialog_FindInTree)
|
||||
enum { IDD = IDD_IAD_FIND };
|
||||
BOOL m_bName_CaseSensitive;
|
||||
BOOL m_bName_Exact;
|
||||
BOOL m_bValue_CaseSensitive;
|
||||
BOOL m_bRetValue_CaseSensitive;
|
||||
BOOL m_bValue_Exact;
|
||||
BOOL m_bRetValue_Exact;
|
||||
CString m_csName;
|
||||
CString m_csRetValue;
|
||||
CString m_csValue;
|
||||
int m_iSearchType;
|
||||
BOOL m_bSimpleSearchCaseSensitive;
|
||||
BOOL m_bSimpleSearchExact;
|
||||
CString m_csSimpleSearchString;
|
||||
CString m_csBeginningLevel;
|
||||
CString m_csEndLevel;
|
||||
BOOL m_bOnlyLevels;
|
||||
//}}AFX_DATA
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_Dialog_FindInTree)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(IAD_Dialog_FindInTree)
|
||||
virtual void OnOK();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnSelchangeComboFieldType();
|
||||
afx_msg void OnRadioDeepSearch();
|
||||
afx_msg void OnRadioSimpleSearch();
|
||||
afx_msg void OnCheckSearchInLevels();
|
||||
//}}AFX_MSG
|
||||
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
private:
|
||||
void m_pri_fn_vEnableDeepSearchControls(BOOL _bEnable);
|
||||
void m_pri_fn_vEnableSimpleSearchControls(BOOL _bEnable);
|
||||
void m_pri_fn_vFillCombo();
|
||||
};
|
||||
|
||||
#endif // _IAD_DIALOG_FIND_IN_TRACE_
|
60
Rayman_X/cpa/tempgrp/TID/Inc/IADDgIf.hpp
Normal file
@@ -0,0 +1,60 @@
|
||||
// cpacqudg.hpp : header file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _CPACINFODG_HPP_
|
||||
#define _CPACINFODG_HPP_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "IAD_Res.h"
|
||||
|
||||
#define C_NUMBER_OF_BITMAPS 5
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_InformationDialog dialog
|
||||
|
||||
class IAD_InformationDialog : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
// standard constructor
|
||||
IAD_InformationDialog(CWnd* pParent, CString);
|
||||
~IAD_InformationDialog();
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(IAD_InformationDialog)
|
||||
enum { IDD = IDD_IAD_INFO };
|
||||
CString m_csMessage;
|
||||
//}}AFX_DATA
|
||||
|
||||
private:
|
||||
CBitmap m_a_cbBitmaps[C_NUMBER_OF_BITMAPS];
|
||||
|
||||
HINSTANCE m_hOldInstance;
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_InformationDialog)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(IAD_InformationDialog)
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnTimer(UINT nIDEvent);
|
||||
//}}AFX_MSG
|
||||
|
||||
void OnOK();
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
#endif //_CPACINFODG_HPP_
|
||||
|
58
Rayman_X/cpa/tempgrp/TID/Inc/IADDgQu.hpp
Normal file
@@ -0,0 +1,58 @@
|
||||
// cpacqudg.hpp : header file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _CPACQUDG_HPP_
|
||||
#define _CPACQUDG_HPP_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "IAD_Res.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_QuestionDialog dialog
|
||||
|
||||
class IAD_QuestionDialog : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
// standard constructor
|
||||
IAD_QuestionDialog(CWnd* pParent, CString);
|
||||
~IAD_QuestionDialog();
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(IAD_QuestionDialog)
|
||||
enum { IDD = IDD_IAD_QUESTION };
|
||||
CString m_csMessage;
|
||||
//}}AFX_DATA
|
||||
|
||||
private:
|
||||
CBitmap m_cbBitmap;
|
||||
|
||||
HINSTANCE m_hOldInstance;
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_QuestionDialog)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(IAD_QuestionDialog)
|
||||
afx_msg void OnNo();
|
||||
afx_msg void OnYes();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnTimer(UINT nIDEvent);
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
#endif //_CPACQUDG_HPP_
|
||||
|
57
Rayman_X/cpa/tempgrp/TID/Inc/IADDgSN.hpp
Normal file
@@ -0,0 +1,57 @@
|
||||
// IAD_Dialog_SetNumber dialog
|
||||
// IADDgSN.hpp : header file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _IAD_DIALOG_SET_NUMBER_
|
||||
#define _IAD_DIALOG_SET_NUMBER_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "IAD_Res.h"
|
||||
|
||||
class IAD_Dialog_SetNumber : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
//Standard constructor
|
||||
IAD_Dialog_SetNumber( CPoint _cpTopLeft,
|
||||
long _lOldValue,
|
||||
CWnd* pParent = NULL);
|
||||
~IAD_Dialog_SetNumber();
|
||||
|
||||
private:
|
||||
HINSTANCE m_hOldInstance;
|
||||
|
||||
CPoint m_pri_cpTopLeft;
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(IAD_Dialog_SetNumber)
|
||||
enum { IDD = IDD_IAD_SET_NUMBER };
|
||||
long m_lNewValue;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_Dialog_SetNumber)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
long m_pub_fn_lGetNumber();
|
||||
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(IAD_Dialog_SetNumber)
|
||||
virtual BOOL OnInitDialog();
|
||||
//}}AFX_MSG
|
||||
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
#endif // _IAD_DIALOG_SET_NUMBER_
|
61
Rayman_X/cpa/tempgrp/TID/Inc/IADDgSp.hpp
Normal file
@@ -0,0 +1,61 @@
|
||||
// CPACSetp.hpp : header file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _CAPCSETP_HPP_
|
||||
#define _CAPCSETP_HPP_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "IAD_Res.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_EditorSetupDialog dialog
|
||||
|
||||
class IAD_EditorSetupDialog : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
IAD_EditorSetupDialog(CWnd* pParent = NULL); // standard constructor
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(IAD_EditorSetupDialog)
|
||||
enum { IDD = IDD_IAD_PREF };
|
||||
BOOL m_bMustDisplayModelFieldsInInstance;
|
||||
BOOL m_bMustConfirmSuppressionInWatch;
|
||||
BOOL m_bKeepPreviousReference;
|
||||
BOOL m_bMustDisplayUnallocatedMS;
|
||||
BOOL m_bMustConfirmUnallocation;
|
||||
BOOL m_bMustConfirmAllocation;
|
||||
BOOL m_bMustFillWhenInWatch;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_EditorSetupDialog)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(IAD_EditorSetupDialog)
|
||||
afx_msg void OnPaint();
|
||||
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
|
||||
virtual void OnOK();
|
||||
//}}AFX_MSG
|
||||
afx_msg long OnMyHelp(UINT, long);
|
||||
|
||||
private:
|
||||
BOOL m_fn_bEditColor(COLORREF &r_Color);
|
||||
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
#endif //_CAPCSETP_HPP_
|
44
Rayman_X/cpa/tempgrp/TID/Inc/IADDgStp.hpp
Normal file
@@ -0,0 +1,44 @@
|
||||
// TID_Dialog_Setup dialog
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _IAD_DIALOG_SETUP_
|
||||
#define _IAD_DIALOG_SETUP_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "IAD_Res.h"
|
||||
|
||||
class TID_Dialog_Setup : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
TID_Dialog_Setup(CWnd* pParent = NULL); // standard constructor
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(TID_Dialog_Setup)
|
||||
enum { IDD = IDD_IAD_SETUP };
|
||||
// NOTE: the ClassWizard will add data members here
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(TID_Dialog_Setup)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(TID_Dialog_Setup)
|
||||
virtual BOOL OnInitDialog();
|
||||
//}}AFX_MSG
|
||||
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
#endif // _IAD_DIALOG_SETUP_
|
129
Rayman_X/cpa/tempgrp/TID/Inc/IADDoc.hpp
Normal file
@@ -0,0 +1,129 @@
|
||||
// Definitions for the class CMyDocument
|
||||
/////////////////////////////////////////////
|
||||
#ifndef _IAD_DOC_HPP_
|
||||
#define _IAD_DOC_HPP_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include <afxtempl.h>
|
||||
|
||||
#include "IADEdtTr.hpp"
|
||||
|
||||
class IAD_ControlView;
|
||||
class IAD_ResultView;
|
||||
class CPA_Actor;
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
class IAD_VariableView;
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
//######################################################################
|
||||
typedef struct TID_stFindInfo
|
||||
{
|
||||
BOOL bSimpleSearch;
|
||||
CString csSimpleSearchString;
|
||||
BOOL bSimpleSearch_CaseSensitive;
|
||||
BOOL bSimpleSearch_Exact;
|
||||
|
||||
enum AIDebug_tdeSectionType_ eNodeType;
|
||||
BOOL bName_CaseSensitive;
|
||||
BOOL bName_Exact;
|
||||
BOOL bValue_CaseSensitive;
|
||||
BOOL bRetValue_CaseSensitive;
|
||||
BOOL bValue_Exact;
|
||||
BOOL bRetValue_Exact;
|
||||
CString csName;
|
||||
CString csRetValue;
|
||||
CString csValue;
|
||||
|
||||
BOOL bAllLevels;
|
||||
long lBeginningLevel;
|
||||
long lEndLevel;
|
||||
|
||||
} TID_tdstFindInfo;
|
||||
|
||||
//######################################################################
|
||||
class IAD_MyDocument
|
||||
{
|
||||
public:
|
||||
IAD_MyDocument();
|
||||
~IAD_MyDocument();
|
||||
|
||||
//Attributes
|
||||
public:
|
||||
|
||||
//Pointers on the views
|
||||
IAD_ControlView *m_pclControlView;
|
||||
IAD_ResultView *m_pclResultView;
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
IAD_VariableView *m_pclVariableView;
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
//Editor's setup variables
|
||||
//------------------------
|
||||
CString m_csIniFileName;
|
||||
|
||||
//Editor's Help variables
|
||||
//------------------------
|
||||
CString m_csHelpFileNameAndPath;
|
||||
|
||||
BOOL m_pub_bIsDeletingTree;
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
CList<IAD_EditorTreeNode *, IAD_EditorTreeNode *> m_pri_clListOfFoundNodes;
|
||||
long m_pri_lCurrentIndexInFoundItemsList;
|
||||
|
||||
TID_tdstFindInfo m_pri_tdstFindInfo;
|
||||
|
||||
struct IAD_stInternalActorDescription *m_pri_p_stSelectedActor;
|
||||
|
||||
BOOL m_pri_bDebuggerIsOn;
|
||||
|
||||
//Functions
|
||||
public:
|
||||
struct AI_tdstMind_ *m_pub_fn_p_stGetMindOfActor(struct IAD_stInternalActorDescription *_p_stInternalActor);
|
||||
void m_pub_fn_vDisplaySetup();
|
||||
|
||||
HTREEITEM m_pub_fn_hFindInTree( IAD_EditorTreeNode *_pclRoot,
|
||||
TID_tdstFindInfo *_p_tdstFindInfo);
|
||||
HTREEITEM m_pub_fn_hFindNextInTree();
|
||||
HTREEITEM m_pub_fn_hFindPreviousInTree();
|
||||
|
||||
TID_tdstFindInfo *m_pub_p_tdstGetFindInfo();
|
||||
|
||||
struct IAD_stInternalActorDescription *m_pub_fn_p_stGetSelectedActor();
|
||||
void m_pub_fn_vSetSelectedActor(struct IAD_stInternalActorDescription *_p_stNewSelectedActor);
|
||||
|
||||
void m_pub_fn_vFreeEditorTraceForActor(struct IAD_stInternalActorDescription *_p_stActorToFree);
|
||||
void m_pub_fn_vFreeEditorTraceForEditedActor();
|
||||
void m_pub_fn_vReInitEditorTraceForActors();
|
||||
|
||||
BOOL m_pub_fn_bIsDebuggerOn();
|
||||
void m_pub_fn_vSetDebuggerOn(BOOL _bDebuggerOn = TRUE);
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
void m_pri_fn_vFindInOneLevelOfTree(IAD_EditorTreeNode *_pclParentNode,
|
||||
TID_tdstFindInfo *_p_tdstFindInfo);
|
||||
BOOL m_pri_fn_bNodeRespectsFindCriteria(IAD_EditorTreeNode *_pclNode,
|
||||
TID_tdstFindInfo *_p_tdstFindInfo);
|
||||
BOOL m_pri_fn_bCompareStringsWithCriteria(CString _csString1,
|
||||
CString _csString2,
|
||||
BOOL _bMatchCase,
|
||||
BOOL _bExact);
|
||||
|
||||
void m_pri_fn_vFreeNodes(IAD_EditorTreeNode *_pclParentNode);
|
||||
|
||||
//Ini file
|
||||
BOOL m_fn_bReadIniFile();
|
||||
BOOL m_fn_bWriteIniFile();
|
||||
|
||||
};
|
||||
|
||||
#endif //_IAD_DOC_HPP_
|
||||
|
||||
|
151
Rayman_X/cpa/tempgrp/TID/Inc/IADEdtTr.hpp
Normal file
@@ -0,0 +1,151 @@
|
||||
// Classes for the Editor tree
|
||||
//
|
||||
// YB
|
||||
//////////////////////////////////////////////
|
||||
#ifndef _IA_DEBUGGER_EDITOR_TREE_
|
||||
#define _IA_DEBUGGER_EDITOR_TREE_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include <afxtempl.h>
|
||||
|
||||
// For "IncAI.h" !!
|
||||
#include "ACP_Base.h"
|
||||
#include "IncAI.h"
|
||||
// End For "IncAI.h" !!
|
||||
|
||||
typedef CList<class IAD_EditorTreeNode *, class IAD_EditorTreeNode *> IAD_tdListOfNodes;
|
||||
|
||||
#define IAD_NODE_DEPTH_UNKNOWN (-1)
|
||||
|
||||
class CPA_Actor;
|
||||
|
||||
//##########################################################################################
|
||||
class IAD_EditorTreeNode
|
||||
{
|
||||
public:
|
||||
//Constructor
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
IAD_EditorTreeNode( enum AIDebug_tdeSectionType_ _tdeNodeType,
|
||||
tdstNodeInterpret *_p_stNode,
|
||||
CPA_Actor *_pclParentActor,
|
||||
IAD_EditorTreeNode *_pclParentNode,
|
||||
short _wDepth,
|
||||
CString _csNodeType,
|
||||
CString _csNodeName = "",
|
||||
CString _csValue = "",
|
||||
CString _csReturnValue = "",
|
||||
CString _csNodeAdditionnalInfo = "",
|
||||
BOOL bSubtreeBuilded = TRUE,
|
||||
unsigned short uwSubtreeTraceIndex = -1);
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
//Empty Constructor for Root
|
||||
IAD_EditorTreeNode();
|
||||
|
||||
//Destructor
|
||||
~IAD_EditorTreeNode();
|
||||
|
||||
//Members
|
||||
public:
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
// used for partial tree construction
|
||||
BOOL m_bSubtreeBuilded; // is the subtree builded?
|
||||
unsigned short m_uwSubtreeTraceIndex; // begining of the subtree trace raw info
|
||||
unsigned short m_lNumberOfVariableValues;
|
||||
tdstGetSetParam *m_a_tdstArrayOfVariableValues;
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
protected:
|
||||
IAD_tdListOfNodes m_pro_clListOfChildNodes;
|
||||
IAD_EditorTreeNode *m_pro_pclParentNode;
|
||||
tdstNodeInterpret *m_p_stMotorNode;
|
||||
CPA_Actor *m_pri_pclParentActor;
|
||||
|
||||
short m_pro_wDepth;
|
||||
|
||||
CString m_pro_csNodeType;
|
||||
CString m_pro_csNodeName;
|
||||
CString m_pro_csValue; //<--> ID
|
||||
CString m_pro_csReturnValue; //For functions aso
|
||||
|
||||
CString m_pro_csNodeAdditionnalInfo;
|
||||
|
||||
CString m_pro_csCompleteString;
|
||||
|
||||
enum AIDebug_tdeSectionType_ m_pro_tdeNodeType;
|
||||
|
||||
HTREEITEM m_pro_hTreeItem;
|
||||
|
||||
private:
|
||||
|
||||
|
||||
//Functions
|
||||
public:
|
||||
//Get/Set functions
|
||||
////////////////////
|
||||
IAD_tdListOfNodes *m_pub_fn_ptdGetListOfChildNodes();
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
void m_fn_vSetListOfChildNodes (IAD_tdListOfNodes *);
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
IAD_EditorTreeNode *m_pub_fn_pclGetParentNode();
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
void m_fn_vSetParentNode (IAD_EditorTreeNode * _pclParentNode) {m_pro_pclParentNode = _pclParentNode;};
|
||||
// only works after post processation
|
||||
IAD_EditorTreeNode *m_fn_pclGetBehaviourParentNode (void);
|
||||
void m_fn_vAddExecutedNodes (void);
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
IAD_EditorTreeNode *m_fn_pclGetEngineLoopParentNode (void);
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
tdstNodeInterpret *m_pub_fn_p_stGetMotorNode();
|
||||
|
||||
CPA_Actor *m_pub_fn_pclGetParentActor();
|
||||
|
||||
short m_pub_fn_wGetDepth();
|
||||
|
||||
enum AIDebug_tdeSectionType_ m_pub_fn_tdeGetNodeType();
|
||||
|
||||
HTREEITEM m_pub_fn_hGetTreeItem();
|
||||
void m_pub_fn_vSetTreeItem(HTREEITEM _hTreeItem);
|
||||
|
||||
CString m_pub_fn_csGetNodeType();
|
||||
CString m_pub_fn_csGetNodeName();
|
||||
CString m_pub_fn_csGetNodeValue();
|
||||
CString m_pub_fn_csGetNodeReturnValue();
|
||||
|
||||
CString m_pub_fn_csGetNodeAdditionnalInfo();
|
||||
void m_pub_fn_vSetNodeAdditionnalInfo(CString _csNewNodeInfo);
|
||||
|
||||
CString m_pub_fn_csGetCompleteString();
|
||||
|
||||
//Tree construction
|
||||
////////////////////
|
||||
IAD_EditorTreeNode *m_pub_fn_pclAddChildNode( enum AIDebug_tdeSectionType_ _tdeNodeType,
|
||||
tdstNodeInterpret *_p_stNode,
|
||||
CPA_Actor *_pclParentActor,
|
||||
CString _csNewElementType,
|
||||
CString _csNewElementName,
|
||||
CString _csNewElementValue,
|
||||
CString _csNewElemenReturnValue,
|
||||
CString _csNodeAdditionnalInfo);
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
tdstGetSetParam * m_fn_p_tdstGetVariableValue (long);
|
||||
void m_fn_vAddVariableValue (tdstGetSetParam *);
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
CString m_pri_fn_csComputeTotalName();
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif //_IA_DEBUGGER_EDITOR_TREE_
|
81
Rayman_X/cpa/tempgrp/TID/Inc/IADFmMn.hpp
Normal file
@@ -0,0 +1,81 @@
|
||||
// MainFrm.h : interface of the IAD_MainFrame class
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _MAINFRM_H_
|
||||
#define _MAINFRM_H_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "ACP_Base.h"
|
||||
#include "ITF.h"
|
||||
#include "IncMEC.h"
|
||||
#define D_State_Define
|
||||
#include "IncGAM.h"
|
||||
#undef D_State_Define
|
||||
#include "GLI.h"
|
||||
|
||||
#define C_ROW_INDEX_CONTROL 0
|
||||
#define C_ROW_INDEX_INFO 1
|
||||
#define C_ROW_INDEX_MINI_STRUC 2
|
||||
//-----------------IR-------------------------
|
||||
#ifdef D_ED_IR_ACTIVE
|
||||
#define C_ROW_INDEX_DES_VAR 3
|
||||
#endif //D_ED_IR_ACTIVE
|
||||
//--------------------------------------------
|
||||
|
||||
class IAD_MainFrame : public CSplitFrame
|
||||
{
|
||||
public:
|
||||
IAD_MainFrame();
|
||||
|
||||
protected: // create from serialization only
|
||||
// DECLARE_DYNCREATE(CFrameWnd)
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
// CPA_Editor_SplitterWnd m_clSplitter;
|
||||
|
||||
private:
|
||||
|
||||
// Operations
|
||||
public:
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_MainFrame)
|
||||
// public:
|
||||
// virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
||||
protected:
|
||||
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
//Attributes
|
||||
public:
|
||||
|
||||
protected: // control bar embedded members
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
//{{AFX_MSG(IAD_MainFrame)
|
||||
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
|
||||
//}}AFX_MSG
|
||||
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
virtual ~IAD_MainFrame();
|
||||
#ifdef _DEBUG
|
||||
virtual void AssertValid() const;
|
||||
virtual void Dump(CDumpContext& dc) const;
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif //_MAINFRM_H_
|
||||
|
14
Rayman_X/cpa/tempgrp/TID/Inc/IADGlob.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
// IA Debugger : Global Functions
|
||||
//
|
||||
// YB
|
||||
//
|
||||
//////////////////////////////////////////////
|
||||
#ifndef _IA_DEBUGGER_GLOBAL_FUNCTIONS_
|
||||
#define _IA_DEBUGGER_GLOBAL_FUNCTIONS_
|
||||
|
||||
CString IAD_fn_csComputeValueFromGetSetParam(struct tdstGetSetParam_ *_p_tdstGetSetParam);
|
||||
|
||||
CString IAD_fn_csSearchNameFromMotorPointer(void *_pvMotorData,
|
||||
CString _csEditorObjectType);
|
||||
|
||||
#endif //_IA_DEBUGGER_GLOBAL_FUNCTIONS_
|
30
Rayman_X/cpa/tempgrp/TID/Inc/IADLnkMt.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
// Link between trace element type and string to represent it in editor Tree
|
||||
//
|
||||
// YB
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _IA_DEBUGGER_LINK_WITH_IA_MOTOR_
|
||||
#define _IA_DEBUGGER_LINK_WITH_IA_MOTOR_
|
||||
|
||||
// For "IncAI.h" !!
|
||||
#include "ACP_Base.h"
|
||||
#include "IncAI.h"
|
||||
// End For "IncAI.h" !!
|
||||
|
||||
typedef CString (*td_p_fn_vComputeStringCallBack)(long _lID,
|
||||
tdstGetSetParam *_p_tdstGetSetParam);
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
extern td_p_fn_vComputeStringCallBack g_a_p_fnArrayOfGetTypeCallBacks[AIDebug_E_SecTyp_NbOfSectionType];
|
||||
extern td_p_fn_vComputeStringCallBack g_a_p_fnArrayOfGetNameCallBacks[AIDebug_E_SecTyp_NbOfSectionType];
|
||||
extern td_p_fn_vComputeStringCallBack g_a_p_fnArrayOfGetValueCallBacks[AIDebug_E_SecTyp_NbOfSectionType];
|
||||
extern td_p_fn_vComputeStringCallBack g_a_p_fnArrayOfGetReturnValueCallBacks[AIDebug_E_SecTyp_NbOfSectionType];
|
||||
extern COLORREF g_a_colrefTypeColor[AIDebug_E_SecTyp_NbOfSectionType];
|
||||
#endif // } CG PB DEBUGGER
|
||||
|
||||
#define AI_DEBUGGER_CONSTANT_FOR_TREE_ROOT_ID (AIDebug_E_SecTyp_NbOfSectionType + 1)
|
||||
|
||||
void IAD_g_fn_vInitGetStringCallBacks();
|
||||
|
||||
#endif //_IA_DEBUGGER_LINK_WITH_IA_MOTOR_
|
||||
|
||||
|
48
Rayman_X/cpa/tempgrp/TID/Inc/IADLstCt.hpp
Normal file
@@ -0,0 +1,48 @@
|
||||
// IADLstCt.hpp : header file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _IAD_LIST_CONTROL_
|
||||
#define _IAD_LIST_CONTROL_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_ListControl window
|
||||
|
||||
class IAD_ListControl : public CListCtrl
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
IAD_ListControl();
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
// Operations
|
||||
public:
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_ListControl)
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
virtual ~IAD_ListControl();
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
//{{AFX_MSG(IAD_ListControl)
|
||||
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // _IAD_LIST_CONTROL_
|
15
Rayman_X/cpa/tempgrp/TID/Inc/IADMacro.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
// Macros for TID
|
||||
//
|
||||
// YB
|
||||
//
|
||||
//////////////////////////////////////
|
||||
#ifndef _IAD_MACROS_DEFINITIONS_
|
||||
#define _IAD_MACROS_DEFINITIONS_
|
||||
|
||||
#define IAD_M_ForEachInList(ListPointerName, PositionName) \
|
||||
POSITION PositionName; \
|
||||
PositionName = ListPointerName->GetHeadPosition(); \
|
||||
while ( PositionName != NULL )
|
||||
|
||||
|
||||
#endif _IAD_MACROS_DEFINITIONS_
|
21
Rayman_X/cpa/tempgrp/TID/Inc/IADStrg.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
// Mechanics Editor constant Strings
|
||||
////////////////////////////////////////
|
||||
#ifndef _IAD_STRINGS_
|
||||
#define _IAD_STRINGS_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "x:\cpa\Main\inc\_EditId.h"
|
||||
|
||||
//DLL Name
|
||||
const CString g_c_csDLLIADName = "IA_Debugger";
|
||||
|
||||
//For errors
|
||||
const CString g_c_csIADebuggerModuleNameForErrors = "IA Debugger";
|
||||
|
||||
#define M_MAKECHAR(a) ((char *)LPCSTR(a))
|
||||
|
||||
#endif //_IAD_STRINGS_
|
||||
|
75
Rayman_X/cpa/tempgrp/TID/Inc/IADTrCtl.hpp
Normal file
@@ -0,0 +1,75 @@
|
||||
// IADTrCtl.hpp : header file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _TID_TREE_CONTROL_
|
||||
#define _TID_TREE_CONTROL_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
class IAD_EditorTreeNode;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_TreeControl window
|
||||
|
||||
class IAD_TreeControl : public CTreeCtrl
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
IAD_TreeControl();
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
BOOL m_bViewReflex;
|
||||
BOOL m_bViewAI;
|
||||
|
||||
IAD_EditorTreeNode *m_pclSelectedBehaviourNode;
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
private:
|
||||
void m_pri_fn_vDisplayText( IAD_EditorTreeNode *_pclNode,
|
||||
CDC *_pclDC,
|
||||
CRect crRect);
|
||||
CBrush m_pri_clBrush;
|
||||
CPen m_pri_clPen;
|
||||
CBitmap m_pri_cbBitmapPlus;
|
||||
CBitmap m_pri_cbBitmapMinus;
|
||||
|
||||
// Operations
|
||||
public:
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_TreeControl)
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
virtual ~IAD_TreeControl();
|
||||
|
||||
BOOL m_pub_fn_bCreate(CWnd *_pclParentWnd);
|
||||
void m_pub_fn_vSelectAndShowItem(HTREEITEM _hTreeItem);
|
||||
void m_pri_fn_vCollapseAllButNotThis(HTREEITEM _hTreeItemToKeepExpanded);
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
void m_fn_vSetViewAI (BOOL);
|
||||
void m_fn_vSetViewReflex (BOOL);
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
//{{AFX_MSG(IAD_TreeControl)
|
||||
afx_msg void OnPaint();
|
||||
afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
|
||||
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
|
||||
afx_msg void OnKeydown(NMHDR* pNMHDR, LRESULT* pResult);
|
||||
//}}AFX_MSG
|
||||
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif //_TID_TREE_CONTROL_
|
51
Rayman_X/cpa/tempgrp/TID/Inc/IADTrVw.hpp
Normal file
@@ -0,0 +1,51 @@
|
||||
// IADTrVw.hpp : header file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _IAD_TREE_VIEW_
|
||||
#define _IAD_TREE_VIEW_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_TreeView view
|
||||
|
||||
class IAD_TreeView : public CTreeView
|
||||
{
|
||||
protected:
|
||||
IAD_TreeView(); // protected constructor used by dynamic creation
|
||||
|
||||
DECLARE_DYNCREATE(IAD_TreeView)
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
// Operations
|
||||
public:
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_TreeView)
|
||||
protected:
|
||||
virtual void OnDraw(CDC* pDC); // overridden to draw this view
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
virtual ~IAD_TreeView();
|
||||
#ifdef _DEBUG
|
||||
virtual void AssertValid() const;
|
||||
virtual void Dump(CDumpContext& dc) const;
|
||||
#endif
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
//{{AFX_MSG(IAD_TreeView)
|
||||
// NOTE - the ClassWizard will add and remove member functions here.
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif //_IAD_TREE_VIEW_
|
112
Rayman_X/cpa/tempgrp/TID/Inc/IADVwMn.hpp
Normal file
@@ -0,0 +1,112 @@
|
||||
// Interface of the IAD_ControlView class
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _IAD_CONTROL_VIEW_HPP_
|
||||
#define _IAD_CONTROL_VIEW_HPP_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include <afxtempl.h>
|
||||
|
||||
#include "IAD_Res.h"
|
||||
|
||||
class CPA_Actor;
|
||||
|
||||
//###########################################################################
|
||||
typedef struct IAD_stInternalActorDescription
|
||||
{
|
||||
CPA_Actor *pclActor;
|
||||
|
||||
BOOL bTraceIsEnabled;
|
||||
long lNumberOfEntries;
|
||||
class IAD_EditorTreeNode *pclRoot;
|
||||
|
||||
} IAD_td_stInternalActorDescription;
|
||||
//###########################################################################
|
||||
|
||||
#include "IADLstCt.hpp"
|
||||
|
||||
class IAD_MyDocument;
|
||||
|
||||
//###########################################################################
|
||||
|
||||
class IAD_ControlView : public CFormView
|
||||
{
|
||||
public:
|
||||
IAD_ControlView();
|
||||
virtual ~IAD_ControlView();
|
||||
|
||||
protected: // create from serialization only
|
||||
DECLARE_DYNCREATE(IAD_ControlView)
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
//{{AFX_DATA(IAD_ControlView)
|
||||
enum { IDD = IDD_IAD_CONTROL };
|
||||
IAD_ListControl m_clListControl;
|
||||
//}}AFX_DATA
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
CList<IAD_td_stInternalActorDescription *,IAD_td_stInternalActorDescription *> m_pri_clListOfActors;
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-08-
|
||||
BOOL m_bViewAll;
|
||||
// END ROMTEAM Cristi Petrescu 98-08-
|
||||
|
||||
// Operations
|
||||
public:
|
||||
void m_pub_fn_vUnselectAllItems();
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_ControlView)
|
||||
public:
|
||||
virtual void OnInitialUpdate();
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
//Gets the (only existing) document
|
||||
IAD_MyDocument* m_pub_fn_pclGetDocument();
|
||||
|
||||
//Constructs the list of Actors
|
||||
void m_pub_fn_vBuildActorsList();
|
||||
|
||||
// Displays the list ofActors
|
||||
void m_fn_vDisplayActorsList ();
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
BOOL m_pri_fn_bActorIsInList(CPA_Actor *_pclSearchedActor);
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
//{{AFX_MSG(IAD_ControlView)
|
||||
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
|
||||
afx_msg void OnCheckIaDebuggerOn();
|
||||
afx_msg void OnSize(UINT nType, int cx, int cy);
|
||||
afx_msg void OnSelchangedListActors(NMHDR* pNMHDR, LRESULT* pResult);
|
||||
afx_msg void OnViewAll();
|
||||
//}}AFX_MSG
|
||||
|
||||
afx_msg BOOL OnToolTipNotify(UINT id, NMHDR * pTTTStruct, LRESULT * pResult);
|
||||
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
#ifdef _DEBUG
|
||||
virtual void AssertValid() const;
|
||||
virtual void Dump(CDumpContext& dc) const;
|
||||
#endif
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
friend class IAD_MyDocument;
|
||||
friend class IAD_ListControl;
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif //_IAD_CONTROL_VIEW_HPP_
|
||||
|
166
Rayman_X/cpa/tempgrp/TID/Inc/IADVwRst.hpp
Normal file
@@ -0,0 +1,166 @@
|
||||
// cpacvwms.hpp : header file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _CPACVWMS_HPP_
|
||||
#define _CPACVWMS_HPP_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "IAD_Res.h"
|
||||
|
||||
// For "IncAI.h" !!
|
||||
#include "ACP_Base.h"
|
||||
#include "IncAI.h"
|
||||
// End For "IncAI.h" !!
|
||||
|
||||
class IAD_MyDocument;
|
||||
class CPA_Actor;
|
||||
class IAD_EditorTreeNode;
|
||||
class IAD_TreeControl;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_ResultView form view
|
||||
|
||||
#ifndef __AFXEXT_H__
|
||||
#include <afxext.h>
|
||||
#endif
|
||||
|
||||
class IAD_ResultView : public CFormView/*CPA_Editor_BaseFormView*/
|
||||
{
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-08-
|
||||
friend class IAD_TreeControl;
|
||||
// END ROMTEAM Cristi Petrescu 98-08-
|
||||
|
||||
public:
|
||||
IAD_ResultView();
|
||||
|
||||
protected:
|
||||
DECLARE_DYNCREATE(IAD_ResultView)
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
IAD_TreeControl *m_pri_pclTreeControl;
|
||||
|
||||
unsigned long m_pri_ulCurrentNode;
|
||||
unsigned long m_pri_ulTotalNumberOfNodes;
|
||||
|
||||
//Current element in Trace
|
||||
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
//Current element in Trace
|
||||
AIDebug_tdeSectionType m_pri_tdeSectionType;
|
||||
#endif // } CG PB DEBUGGER
|
||||
|
||||
long m_pri_lID;
|
||||
tdstGetSetParam m_pri_stGetSetParam;
|
||||
tdstNodeInterpret *m_pri_p_stNode;
|
||||
|
||||
BOOL m_pri_bMustStopTreeConstruction;
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
struct IAD_stInternalActorDescription *m_p_stInternalActor;
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
// Form Data
|
||||
public:
|
||||
//{{AFX_DATA(IAD_ResultView)
|
||||
enum { IDD = IDD_IAD_RESULT_VIEW };
|
||||
long m_lLevelToExpand;
|
||||
BOOL m_bMustSynchronize;
|
||||
BOOL m_bViewAI;
|
||||
BOOL m_bViewReflex;
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-08-
|
||||
// Warning: this has reversed signifiance
|
||||
BOOL m_bShowMarks;
|
||||
// END ROMTEAM Cristi Petrescu 98-08-
|
||||
BOOL m_bShowTests;
|
||||
//}}AFX_DATA
|
||||
|
||||
public:
|
||||
void m_pub_fn_vRefreshTree();
|
||||
void m_pub_fn_vDeleteAllInTreeControl();
|
||||
|
||||
IAD_MyDocument *m_fn_pclGetDocument();
|
||||
|
||||
void m_pub_fn_vSetStatusText( CString _csNewStatus,
|
||||
char _cPercentage = -1);
|
||||
void m_pub_fn_vSetFindStatusText(CString _csNewStatus);
|
||||
void m_pub_fn_vSetEditedActorName(CString _csName);
|
||||
|
||||
void m_fn_vEnableFindNextButton(BOOL _bEnable = TRUE);
|
||||
void m_fn_vEnableFindPrevButton(BOOL _bEnable = TRUE);
|
||||
void m_pub_fn_vDisplayTraceForActor(struct IAD_stInternalActorDescription *_p_stInternalActor);
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
void m_fn_vBuildSubtree (IAD_EditorTreeNode *);//, HTREEITEM);
|
||||
|
||||
IAD_EditorTreeNode * m_fn_pclGetSelectedEditorNode (void);
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_ResultView)
|
||||
public:
|
||||
virtual void OnInitialUpdate();
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
virtual ~IAD_ResultView();
|
||||
|
||||
#ifdef _DEBUG
|
||||
virtual void AssertValid() const;
|
||||
virtual void Dump(CDumpContext& dc) const;
|
||||
#endif
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(IAD_ResultView)
|
||||
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
|
||||
afx_msg void OnSize(UINT nType, int cx, int cy);
|
||||
afx_msg void OnCheckSynchronize();
|
||||
afx_msg void OnChangeEditLevels();
|
||||
afx_msg void OnButtonFindNextInTree();
|
||||
afx_msg void OnButtonFindInTree();
|
||||
afx_msg void OnButtonFindPreviousInTree();
|
||||
afx_msg void OnCheckViewReflex();
|
||||
afx_msg void OnCheckViewAI();
|
||||
afx_msg void OnCheckShowTests();
|
||||
afx_msg void OnCheckShowMarks();
|
||||
afx_msg void OnButtonNextLine();
|
||||
//}}AFX_MSG
|
||||
|
||||
private:
|
||||
void m_pri_fn_vComputeEditorTreeFromMotorTrace(struct IAD_stInternalActorDescription *_p_stInternalActor);
|
||||
long m_pri_fn_lAddChildNodesToOneNode(IAD_EditorTreeNode *_pclParentNode,
|
||||
struct AI_tdstMind_ *_p_tdstMind,
|
||||
long _lPreviousDepth,
|
||||
struct IAD_stInternalActorDescription *_p_stInternalActor);
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
void m_fn_vPostProcessEditorTree (IAD_EditorTreeNode *_pclParentNode);
|
||||
|
||||
|
||||
long m_fn_lShowFlags (void);
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
void m_pri_fn_vFillTreeControl(struct IAD_stInternalActorDescription *_p_stInternalActor);
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
void m_pri_fn_vFillOneLevelOfTree(IAD_EditorTreeNode *_pclParentNode, HTREEITEM _hTreeParentItem, BOOL bSkipChangeComport = FALSE);
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
long m_pri_fn_lLookInChildsToExpand(HTREEITEM _hParentItem, long _lCurrentLevel);
|
||||
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif //_CPACVWMS_HPP_
|
||||
|
75
Rayman_X/cpa/tempgrp/TID/Inc/IADWCBt.hpp
Normal file
@@ -0,0 +1,75 @@
|
||||
// IAD_Color_Button window
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _IAD_COLOR_BUTTON_
|
||||
#define _IAD_COLOR_BUTTON_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
|
||||
class IAD_Color_Button : public CButton
|
||||
{
|
||||
DECLARE_DYNAMIC(IAD_Color_Button)
|
||||
|
||||
// Construction
|
||||
public:
|
||||
IAD_Color_Button( COLORREF *_pclColRef,
|
||||
CString _csText,
|
||||
long _lButtonNumber);
|
||||
|
||||
virtual ~IAD_Color_Button();
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
private:
|
||||
COLORREF *m_pri_pclColRef;
|
||||
COLORREF m_pri_clColRefForText;
|
||||
CString m_pri_csText;
|
||||
|
||||
BOOL m_pri_bIsDragging;
|
||||
|
||||
HCURSOR m_pri_hcDragCursor;
|
||||
HCURSOR m_pri_hcDragInvalidCursor;
|
||||
HCURSOR m_pri_hcPreviousCursor;
|
||||
|
||||
long m_pri_lButtonNumber;
|
||||
|
||||
CFont *m_pri_pclFont;
|
||||
|
||||
// Operations
|
||||
public:
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_Color_Button)
|
||||
public:
|
||||
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
CSize m_pub_fn_csCreate(CWnd *_pclParentWnd,
|
||||
CRect _crCreationRect);
|
||||
|
||||
void m_pub_fn_vSetColor(COLORREF _Colref);
|
||||
COLORREF m_pub_fn_colrefGetColor();
|
||||
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
//{{AFX_MSG(IAD_Color_Button)
|
||||
afx_msg void OnClicked();
|
||||
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
|
||||
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
|
||||
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
|
||||
afx_msg void OnPaint();
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif // _IAD_COLOR_BUTTON_
|
93
Rayman_X/cpa/tempgrp/TID/Inc/IAD_Res.h
Normal file
@@ -0,0 +1,93 @@
|
||||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Developer Studio generated include file.
|
||||
// Used by IAD.rc
|
||||
//
|
||||
#define IDR_MAINFRAME 128
|
||||
#define IDC_CURSOR_CLOSED_HAND 151
|
||||
#define IDC_CURSOR_DEVELOP 152
|
||||
#define IDC_CURSOR_DRAG_COLOR 153
|
||||
#define IDC_CURSOR_DRAG_INVALID_COLOR 154
|
||||
#define IDB_BITMAP_QUESTION 168
|
||||
#define IDI_ICON_FIND 175
|
||||
#define IDD_IAD_CONTROL 175
|
||||
#define IDD_IAD_FIND 176
|
||||
#define IDI_ICON_FIND_NEXT 176
|
||||
#define IDB_BITMAP_MINUS 177
|
||||
#define IDI_ICON_FIND_PREVIOUS 177
|
||||
#define IDB_BITMAP_INFO1 178
|
||||
#define IDD_IAD_SETUP 178
|
||||
#define IDB_BITMAP_INFO2 179
|
||||
#define IDD_IAD_SET_NUMBER 179
|
||||
#define IDB_BITMAP_INFO3 180
|
||||
#define IDB_BITMAP_INFO4 181
|
||||
#define IDB_BITMAP_INFO5 182
|
||||
#define IDB_BITMAP_PLUS 183
|
||||
#define IDI_ICON_NEXT_LINE 183
|
||||
#define IDD_IAD_RESULT_VIEW 311
|
||||
#define IDC_STATIC_QUESTION 1091
|
||||
#define IDD_IAD_QUESTION 1091
|
||||
#define IDD_IAD_INFO 1092
|
||||
#define IDD_IAD_VARIABLE 1093
|
||||
#define IDC_STATIC_IMAGE 1097
|
||||
#define IDC_STATIC_TEXT 1100
|
||||
#define IDC_EDIT_BIDON 1102
|
||||
#define IDC_CHECK_IA_DEBUGGER_ON 1114
|
||||
#define IDC_STATIC_ACTOR_NAME 1119
|
||||
#define IDC_STATIC_STATUS 1120
|
||||
#define IDC_EDIT_LEVELS 1121
|
||||
#define IDC_SPIN_LEVELS 1122
|
||||
#define IDC_STATIC_IA_TREE 1123
|
||||
#define IDC_CHECK_SYNCHRONIZE 1124
|
||||
#define IDC_PROGRESS_STATUS 1125
|
||||
#define IDC_BUTTON_FIND_NEXT_IN_TREE 1126
|
||||
#define IDC_BUTTON_FIND_IN_TREE 1127
|
||||
#define IDC_COMBO_FIELD_TYPE 1127
|
||||
#define IDC_EDIT_NAME 1128
|
||||
#define IDC_STATIC_FIND_STATUS 1128
|
||||
#define IDC_EDIT_VALUE 1129
|
||||
#define IDC_BUTTON_FIND_PREVIOUS_IN_TREE 1129
|
||||
#define IDC_EDIT_RETURNING_VALUE 1130
|
||||
#define IDC_CHECK_EXACT_NAME 1131
|
||||
#define IDC_CHECK_CASE_NAME 1132
|
||||
#define IDC_STATIC_COLORS_USED 1133
|
||||
#define IDC_CHECK_EXACT_SIMPLE_SEARCH 1133
|
||||
#define IDC_CHECK_EXACT_VALUE 1134
|
||||
#define IDC_CHECK_CASE_VALUE 1135
|
||||
#define IDC_EDIT_BEGINNING_LEVEL 1136
|
||||
#define IDC_CHECK_EXACT_R_VALUE 1137
|
||||
#define IDC_CHECK_CASE_R_VALUE 1138
|
||||
#define IDC_EDIT_END_LEVEL 1139
|
||||
#define IDC_RADIO_SIMPLE_SEARCH 1140
|
||||
#define IDC_RADIO_DEEP_SEARCH 1141
|
||||
#define IDC_CHECK_SEARCH_IN_LEVELS 1142
|
||||
#define IDC_EDIT_SIMPLE_SEARCH 1143
|
||||
#define IDC_CHECK_CASE_SIMPLE_SEARCH 1144
|
||||
#define IDC_STATIC_RECT_SIMPLE_SERACH 1145
|
||||
#define IDC_STATIC_SIMPLE_SEARCH_TEXT 1146
|
||||
#define IDC_STATIC_DEEP_SEARCH_TEXT 1147
|
||||
#define IDC_STATIC_DEEP_SEARCH_RECT 1148
|
||||
#define IDC_STATIC_RECT_NAME 1149
|
||||
#define IDC_STATIC_RECT_VALUE 1150
|
||||
#define IDC_STATIC_RECT_RET_VALUE 1151
|
||||
#define IDC_STATIC_AND_TEXT 1152
|
||||
#define IDC_LIST_ACTORS 1153
|
||||
#define IDC_EDIT_NUMBER 1154
|
||||
#define IDC_VIEW_ALL 1156
|
||||
#define IDC_CHECK_VIEW_REFLEX 1157
|
||||
#define IDC_CHECK_VIEW_AI 1158
|
||||
#define IDC_BUTTON_NEXT_LINE 1159
|
||||
#define IDC_CHECK_SHOW_MARKS 1163
|
||||
#define IDC_CHECK_SHOW_TESTS 1164
|
||||
#define IDC_LIST_VARIABLES 1167
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_3D_CONTROLS 1
|
||||
#define _APS_NEXT_RESOURCE_VALUE 187
|
||||
#define _APS_NEXT_COMMAND_VALUE 32786
|
||||
#define _APS_NEXT_CONTROL_VALUE 1160
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
5
Rayman_X/cpa/tempgrp/TID/Inc/IAD_Res.hm
Normal file
@@ -0,0 +1,5 @@
|
||||
// Microsoft Developer Studio generated Help ID include file.
|
||||
// Used by IAD.rc
|
||||
//
|
||||
#define HIDC_CHECK_KEEP_PREVIOUS_EDITION \
|
||||
0x80a2043b // IDD_IAD_PREF
|
18
Rayman_X/cpa/tempgrp/TID/Inc/StdAfx.h
Normal file
@@ -0,0 +1,18 @@
|
||||
// stdafx.h : include file for standard system include files,
|
||||
// or project specific include files that are used frequently, but
|
||||
// are changed infrequently
|
||||
//
|
||||
#ifndef __STDAAFX_H__
|
||||
#define __STDAAFX_H__
|
||||
|
||||
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
||||
|
||||
#include <afxwin.h> // MFC core and standard components
|
||||
#include <afxext.h> // MFC extensions
|
||||
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
||||
#include <afxcmn.h> // MFC support for Windows 95 Common Controls
|
||||
#endif // _AFX_NO_AFXCMN_SUPPORT
|
||||
|
||||
|
||||
#endif //__STDAAFX_H__
|
||||
|
293
Rayman_X/cpa/tempgrp/TID/Inc/_IADItrf.hpp
Normal file
@@ -0,0 +1,293 @@
|
||||
//**************************************
|
||||
// This is the base class of your DLL interface
|
||||
// All methods of CPA_ToolDLLBase are
|
||||
// present in that class.
|
||||
//**************************************
|
||||
#ifndef __IAD_INTERF_HPP__
|
||||
#define __IAD_INTERF_HPP__
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "ACP_Base.h"
|
||||
#include "ITF.h"
|
||||
#include "IncMEC.h"
|
||||
#define D_State_Define
|
||||
#include "IncGAM.h"
|
||||
#undef D_State_Define
|
||||
#include "GLI.h"
|
||||
|
||||
// YB //
|
||||
// Specific Includes //
|
||||
#include "IADDoc.hpp"
|
||||
#include "IADFmMn.hpp"
|
||||
// End YB //
|
||||
|
||||
// if you want only one instance of your DLL
|
||||
// activate the next line
|
||||
//#define DLL_ONLY_ONE_INSTANCE
|
||||
|
||||
class CPA_Actor;
|
||||
|
||||
//----------------------------------------------------------
|
||||
// Tool DLL interface class
|
||||
//----------------------------------------------------------
|
||||
class IAD_Interface : public CPA_ToolDLLBase
|
||||
{
|
||||
private:
|
||||
|
||||
|
||||
public:
|
||||
IAD_Interface(void);
|
||||
// ~IAD_Interface(void);
|
||||
|
||||
/*===========================================================================
|
||||
Virtual Functions
|
||||
=========================================================================*/
|
||||
public:
|
||||
|
||||
// To pre translate all messages
|
||||
// virtual BOOL fn_bPreTranslateMessage(MSG * /*p_stMsg*/) { return FALSE; };
|
||||
// Called just after editor has been inserted in list of all editors
|
||||
virtual void fn_vJustAfterRegistered(void);
|
||||
// Called just before windows main loop processing
|
||||
virtual void fn_vConstruct(void);
|
||||
// Called to refresh datas of DLL if "fn_vCanBeRefresh" returns TRUE
|
||||
// virtual void fn_vRefreshDatas(void);
|
||||
// Called when level has changed
|
||||
// virtual void fn_vLevelHasChanged (void) {};
|
||||
virtual void fn_vLevelChanges(void);
|
||||
|
||||
//virtual BOOL fn_bLoadReachableObject(CPA_BaseObject *p_oObject);
|
||||
|
||||
/*===========================================================================
|
||||
Current Editor
|
||||
=========================================================================*/
|
||||
|
||||
virtual tdePermission fn_eAcceptNewEditor (CPA_EditorBase *pNewEditor);
|
||||
|
||||
virtual BOOL fn_bCanActivateEditor(CPA_List<CPA_BaseObject> *pParams);
|
||||
virtual void fn_vOnActivateEditor(CPA_List<CPA_BaseObject> *pParams, BOOL bBackActivated=FALSE);
|
||||
|
||||
virtual BOOL fn_bCanCloseEditor(void);
|
||||
virtual void fn_vOnCloseEditor(void);
|
||||
|
||||
public:
|
||||
/*===========================================================================
|
||||
Messages from Evt_Editor
|
||||
=========================================================================*/
|
||||
|
||||
// for changes
|
||||
// virtual void fn_vOnChangeDevice (void) { }
|
||||
|
||||
// Editor Modifs
|
||||
// virtual void fn_vOnModifDelete (CPA_List<EDT_SaveParents> *pListObjects, tdeTypeModif eType, tdeStatus eStatus);
|
||||
// virtual void fn_vOnModifParent (CPA_List<EDT_SaveParents> *pListObjects, tdeTypeModif eType, tdeStatus eStatus) { }
|
||||
// virtual void fn_vOnModifCopy (CPA_List<EDT_SaveParents> *pListObjects, tdeTypeModif eType, tdeStatus eStatus) { }
|
||||
// virtual void fn_vOnModifName(CPA_SuperObject *pEdObj, CString csInitalName, CString csFinalName, tdeTypeModif eType, tdeStatus eStatus);
|
||||
// virtual void fn_vOnSelect(CPA_SuperObject *pEdObj, tdeTypeModif eType, tdeStatus eStatus);
|
||||
|
||||
// virtual void fn_vOnModifInsert(CPA_SuperObject *pEdObj, CPA_SuperObject *pParent,
|
||||
// tdstPosition *p_stPosition, tdeTypeModif eType, tdeStatus eStatus) { }
|
||||
|
||||
// Moves
|
||||
// virtual void fn_vOnModifMove(CPA_List<EDT_SavePos> *pListObjects, CPA_List<EDT_SaveGlobalPos> *pListConcerned, tdeTypeModif eType, tdeStatus eStatus) { }
|
||||
// virtual void fn_vOnBeginMove(CPA_List<CPA_SuperObject> *pListObjects, CPA_List<CPA_SuperObject> *pListConcerned, tdeStatus eStatus) { }
|
||||
// virtual void fn_vOnMoving(CPA_List<CPA_SuperObject> *pListObjects, CPA_List<CPA_SuperObject> *pListConcerned, tdeStatus eStatus) { }
|
||||
|
||||
// Models
|
||||
// virtual void fn_vOnAddModelToList(CPA_ObjectDLLBase *pOwnerDLL, CString csListName, CString csModelName, tdeTypeModif eType) { }
|
||||
|
||||
// permission
|
||||
// virtual BOOL fn_bAcceptModifDelete(CPA_List<CPA_SuperObject> *pListObjects, tdeStatus eStatus);
|
||||
// virtual BOOL fn_bAcceptModifParent(CPA_List<CPA_SuperObject> *pListObjects, tdeStatus eStatus) { return TRUE; }
|
||||
// virtual BOOL fn_bAcceptModifCopy(CPA_List<CPA_SuperObject> *pListObjects, tdeStatus eStatus);
|
||||
// virtual BOOL fn_bAcceptModifTranslate(CPA_List<CPA_SuperObject> *pListObjects, tdeStatus eStatus) { return TRUE; }
|
||||
// virtual BOOL fn_bAcceptModifRotate(CPA_List<CPA_SuperObject> *pListObjects, tdeStatus eStatus) { return TRUE; }
|
||||
// virtual BOOL fn_bAcceptModifInsert(CPA_SuperObject *pEdObj, CPA_SuperObject *pParent, tdeStatus eStatus) { return TRUE; }
|
||||
// virtual BOOL fn_bAcceptModifScale(CPA_SuperObject *pEdObj, tdeStatus eStatus) { return TRUE; }
|
||||
// virtual BOOL fn_bAcceptModifName(CPA_SuperObject *pEdObj, tdeStatus eStatus);
|
||||
// virtual BOOL fn_bAcceptMultiSelect(void) { return TRUE; }
|
||||
|
||||
// to precise selection
|
||||
// virtual tdeTypeAnswer fn_bAcceptSelect(CPA_SuperObject *pEdObj, ACP_tdxIndex xIndex, HIE_tdstPickInfo *pPicking, tdeStatus eStatus);
|
||||
|
||||
/*===========================================================================
|
||||
Dialog List
|
||||
=========================================================================*/
|
||||
|
||||
// virtual BOOL fn_bSetCustomTest (CPA_DialogList *pDialog) { return FALSE; }
|
||||
// virtual BOOL fn_bCustomTestFunction (CString csCurrentType, CString csTestName, CPA_BaseObject *pEdObj) { return TRUE; }
|
||||
|
||||
/*===========================================================================
|
||||
General Purpose
|
||||
=========================================================================*/
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
virtual long OnQueryAction (CPA_EditorBase * /*p_oSender*/, WPARAM, LPARAM);
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
// virtual long OnQueryInfos (CPA_DLLBase * /*p_oSender*/, WPARAM, LPARAM) { return 0; };
|
||||
// virtual long OnQueryOpen (CPA_DLLBase * /*p_oSender*/, WPARAM, LPARAM) { return 0; };
|
||||
// virtual long OnQueryClose (CPA_DLLBase * /*p_oSender*/, WPARAM, LPARAM) { return 0; };
|
||||
|
||||
/*===========================================================================
|
||||
Coherence
|
||||
=========================================================================*/
|
||||
|
||||
// virtual BOOL fn_bOnInvalidateLink (CPA_ObjectBase *pOwner, CPA_ObjectBase *pReferencedObject, BOOL bDestroyed) { return FALSE; }
|
||||
// virtual void fn_vOnRestoreLink (CPA_ObjectBase *pOwner, CPA_ObjectBase *pReferencedObject) { }
|
||||
|
||||
/*===========================================================================
|
||||
Messages
|
||||
=========================================================================*/
|
||||
// focus
|
||||
virtual void fn_vHasLostFocus (void);
|
||||
virtual BOOL fn_bHasGainedFocus (void);
|
||||
// engine - editor
|
||||
virtual void fn_vBeforeEngine (void);
|
||||
virtual void fn_vBeforeEditor (void);
|
||||
// engine
|
||||
// virtual BOOL fn_bAcceptToRunEngine(void) { return TRUE; };
|
||||
// virtual BOOL fn_bAcceptToRunTimerEngine (void) { return TRUE; };
|
||||
// end appli
|
||||
// virtual void fn_vJustBeforeClosing (void) { };
|
||||
// virtual BOOL fn_bAcceptToExit (void) { return TRUE; };
|
||||
// keys
|
||||
// virtual BOOL _OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) { return FALSE; };
|
||||
// virtual BOOL _OnKeyUp (UINT nChar, UINT nRepCnt, UINT nFlags) { return FALSE; };
|
||||
// mouse
|
||||
// virtual BOOL _OnMouseMove (UINT nFlags, tdstMousePos *p_stPos, MTH3D_tdstVector *p_stVect) { return FALSE; };
|
||||
// virtual BOOL _OnLButtonDblClk (UINT nFlags, tdstMousePos *p_stPos, ACP_tdxIndex xIndex, HIE_tdstPickInfo *p_stPickInfo) { return FALSE; };
|
||||
// virtual BOOL _OnRButtonDblClk (UINT nFlags, tdstMousePos *p_stPos, ACP_tdxIndex xIndex, HIE_tdstPickInfo *p_stPickInfo) { return FALSE; };
|
||||
// virtual BOOL _OnLButtonDown (UINT nFlags, tdstMousePos *p_stPos, ACP_tdxIndex xIndex, HIE_tdstPickInfo *p_stPickInfo) { return FALSE; };
|
||||
// virtual BOOL _OnRButtonDown (UINT nFlags, tdstMousePos *p_stPos, ACP_tdxIndex xIndex, HIE_tdstPickInfo *p_stPickInfo) { return FALSE; };
|
||||
// virtual BOOL _OnLButtonUp (UINT nFlags, tdstMousePos *p_stPos) { return FALSE; };
|
||||
// virtual BOOL _OnRButtonUp (UINT nFlags, tdstMousePos *p_stPos) { return FALSE; };
|
||||
// command
|
||||
// virtual BOOL _OnCommand (UINT IDCmdMsg) { return FALSE; };
|
||||
// virtual BOOL _OnUpdateCommandUI (UINT uiID, CCmdUI *pCmdUI) { return FALSE; };
|
||||
// dragdrop
|
||||
// virtual BOOL _OnDragDropEnd (WPARAM wParam, LPARAM lParam) { return FALSE; };
|
||||
// virtual BOOL _OnDragDropMove (WPARAM wParam, LPARAM lParam) { return FALSE; };
|
||||
// virtual BOOL _OnDragDropLooseFocus (WPARAM wParam, LPARAM lParam) { return FALSE; };
|
||||
// virtual BOOL _OnDragDropGainFocus (WPARAM wParam, LPARAM lParam) { return FALSE; };
|
||||
// add objects to draw
|
||||
// virtual void fn_vAddObjectsToDraw (GLD_tdstViewportAttributes *p1, GLI_tdxHandleToLight p2) { };
|
||||
// virtual void fn_vAddObjectsToDraw2 (GLD_tdstViewportAttributes *p1, GLI_tdxHandleToLight p2) { };
|
||||
|
||||
/*===========================================================================
|
||||
Reinit
|
||||
=========================================================================*/
|
||||
|
||||
// virtual void fn_vOnChangeRoot (void) { };
|
||||
// virtual void fn_vOnChangeWorld (void) { };
|
||||
|
||||
/*===========================================================================
|
||||
for Dialog List
|
||||
=========================================================================*/
|
||||
|
||||
// virtual CPA_BaseObject *GetDialogSelection(CPA_DialogList *pDialog, CString csTypeName, tdeListDrawMode eDrawMode);
|
||||
// virtual void GetListsForDialog (CPA_DialogList *pDialog);
|
||||
|
||||
// virtual BOOL fn_bOnSelChangeHierarchyTree (CPA_DialogList *pDialog, CString csTypeName, CPA_SuperObject *pSelectedObject) { return FALSE; };
|
||||
// virtual BOOL fn_bOnDblClkHierarchyTree (CPA_DialogList *pDialog, CString csTypeName, CPA_SuperObject *pSelectedObject) { return FALSE; };
|
||||
// virtual BOOL fn_bOnSelChangeListObjects(CPA_DialogList *pDialog, CString csTypeName, CPA_BaseObject *pSelectedObject, BOOL bUnselect);
|
||||
// virtual BOOL fn_bOnDblClkListObjects (CPA_DialogList *pDialog, CString csTypeName, CPA_BaseObject *pSelectedObject) { return FALSE; };
|
||||
// virtual BOOL fn_bCanDragItemInHierarchyTree (CPA_DialogList *pDialog, CString csTypeName, CPA_SuperObject *pObjectToDrag) { return FALSE; };
|
||||
// virtual BOOL fn_bCanDropItemInHierarchyTree (CPA_DialogList *pDialog, CString csTypeName, CPA_SuperObject *pObjectToDrop, CPA_SuperObject *pTarget) { return FALSE; };
|
||||
// virtual BOOL fn_bOnDragDropInHierarchyTree (CPA_DialogList *pDialog, CString csTypeName, CPA_SuperObject *pObject, CPA_SuperObject *pTarget) { return FALSE; };
|
||||
// virtual BOOL fn_bOnSelChangeComboList(CPA_DialogList *pDialog, CString csTypeName);
|
||||
// virtual BOOL fn_bOnButtonTest(CPA_DialogList *pDialog, CString csTypeName, tdeListDrawMode eDraw);
|
||||
|
||||
// virtual void fn_vInitDefaultParameters(CPA_DialogList *pDialog);
|
||||
|
||||
// virtual void fn_vSetANewTest(CPA_DialogList *pDialog, CString csCurrentList);
|
||||
// virtual BOOL fn_bTestFunction(CString csCurrentType, CString csTestName, CPA_BaseObject *pEdObj);
|
||||
|
||||
/*===========================================================================
|
||||
SubMenus and PopupMenu
|
||||
=========================================================================*/
|
||||
|
||||
virtual BOOL fn_bDefineSubMenu(EDT_SubMenu *_p_oEDTSubMenu);
|
||||
virtual void _OnSubMenuCommand(EDT_SubMenu *_p_oEDTSubMenu,UINT uiMsgID);
|
||||
|
||||
virtual BOOL fn_bDefinePopupMenu(EDT_PopUpMenu *pPopup, CPA_List<CPA_SuperObject> *pSelection, BOOL bAsCurrentEditor);
|
||||
virtual void _OnPopUpMenuCommand(UINT m_IDCmdMsg);
|
||||
|
||||
// Hierarchy
|
||||
// virtual CPA_SuperObject *GetNewEditorInstance(HIE_tdxHandleToSuperObject pEngineInstance);
|
||||
// virtual void fn_vUpdateEditorInstance(CPA_SuperObject *pEditorInstance, HIE_tdxHandleToSuperObject pEngineInstance);
|
||||
// virtual BOOL fn_bCanHandleThisType(long lEngineType);
|
||||
|
||||
// Models & Instances
|
||||
// virtual void fn_vInitListByType(CPA_World *pWorld);
|
||||
// virtual void fn_vInitListsOfModels(void);
|
||||
// virtual void fn_vSaveListModels(CString csListName, CPA_List<EDT_Model> *pListModels);
|
||||
// virtual CString fn_csLoadListModels(void);
|
||||
// virtual EDT_Model *GetNewModel(CString csListName);
|
||||
// virtual BOOL fn_bCanLoadNewModel(CString csListName);
|
||||
// virtual BOOL fn_bCanDeleteModel(CString csListName) { return FALSE; };
|
||||
// virtual BOOL fn_bCanSaveListModels(CString csListName);
|
||||
// virtual BOOL fn_bCanLoadListModels(void);
|
||||
// virtual void fn_vOnLoadNewModel(CString csListName, EDT_Model *pNewModel);
|
||||
|
||||
// virtual CPA_SuperObject *GetNewInstance(CString csTypeName, CString csModelName, CPA_SuperObject *pParent);
|
||||
// virtual tdeTypeSO GetTypeInstance(CString csTypeName, CString csModelName);
|
||||
// virtual CPA_SuperObject * GetParentForInsertion (CString csTypeName, CString csModelName, tdstPosition *p_stPosition) { return NULL; }
|
||||
// virtual BOOL fn_bChooseInsertPosition(CPA_SuperObject *pNewInstance, CPA_SuperObject *pParent, tdstPosition *p_stPosition);
|
||||
|
||||
// objects
|
||||
// virtual CPA_Object * GetNewObject (CString csObjectFile, CString csObjectName, FILE *p_fFile, CPA_MainWorld *p_oMainWorld) { return NULL; }
|
||||
// virtual CPA_Object *Duplicate(CPA_Object *pObject, CPA_SuperObject *pNewSuperObject);
|
||||
|
||||
// virtual CPA_SuperObject *GetCopyOfProtectedChild (CPA_SuperObject *pInitialChild, CPA_SuperObject *pNewOwner);
|
||||
|
||||
// permissions for EvtEditor
|
||||
// virtual BOOL fn_bAcceptAsParent(CPA_Object *pChild, CPA_Object *pParent);
|
||||
// virtual BOOL fn_bAcceptAsChild(CPA_Object *pParent, CPA_Object *pChild);
|
||||
|
||||
// when insertion is canceled
|
||||
// virtual void fn_vOnCancelInsertion(CPA_SuperObject *pInstance);
|
||||
|
||||
////////
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
//--------------------------------------------------------------------------
|
||||
//(YB) Editor's specific members
|
||||
|
||||
//Attributes
|
||||
public:
|
||||
//The (one and only) document
|
||||
IAD_MyDocument m_clDocument;
|
||||
|
||||
//The main frame
|
||||
IAD_MainFrame *m_pclIADMainFrame;
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
CString m_csEditorVersion;
|
||||
|
||||
//Fucntions
|
||||
public:
|
||||
IAD_MyDocument *m_fn_pclGetDocument();
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
void m_fn_vShowEditor();
|
||||
void m_fn_vHideEditor();
|
||||
|
||||
//(YB) End of Editor's specific members
|
||||
//--------------------------------------------------------------------------
|
||||
};
|
||||
|
||||
// YB //
|
||||
extern IAD_Interface *g_pclInterface;
|
||||
// End YB //
|
||||
|
||||
extern tdstDLLIdentity g_stIADDLLIdentity;
|
||||
|
||||
#endif // __IAD_INTERF_HPP_
|
14
Rayman_X/cpa/tempgrp/TID/Inc/debugcom.h
Normal file
@@ -0,0 +1,14 @@
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
typedef struct stDebugAICom
|
||||
{
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
CString csName;
|
||||
CString csValue;
|
||||
long lIndex;
|
||||
};
|
||||
};
|
||||
} tdstDebugAICom;
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
1
Rayman_X/cpa/tempgrp/TID/Inc/help_def.h
Normal file
@@ -0,0 +1 @@
|
||||
#define IDH_GENERAL 10000
|
49
Rayman_X/cpa/tempgrp/TID/Inc/iadlstvr.hpp
Normal file
@@ -0,0 +1,49 @@
|
||||
#if !defined(AFX_IAD_LISTVARIABLE_H__A48E729A_F400_11D1_BB03_00A0245476ED__INCLUDED_)
|
||||
#define AFX_IAD_LISTVARIABLE_H__A48E729A_F400_11D1_BB03_00A0245476ED__INCLUDED_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
// IAD_ListVariable.h : header file
|
||||
//
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_ListVariable window
|
||||
|
||||
class IAD_ListVariable : public CListCtrl
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
IAD_ListVariable();
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
// Operations
|
||||
public:
|
||||
int m_fn_iGetSelectedItem ();
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_ListVariable)
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
virtual ~IAD_ListVariable();
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
//{{AFX_MSG(IAD_ListVariable)
|
||||
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_IAD_LISTVARIABLE_H__A48E729A_F400_11D1_BB03_00A0245476ED__INCLUDED_)
|
74
Rayman_X/cpa/tempgrp/TID/Inc/iadvrvw.hpp
Normal file
@@ -0,0 +1,74 @@
|
||||
#if !defined(AFX_IADVRVW_HPP__A48E7299_F400_11D1_BB03_00A0245476ED__INCLUDED_)
|
||||
#define AFX_IADVRVW_HPP__A48E7299_F400_11D1_BB03_00A0245476ED__INCLUDED_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
// IADVrVw.hpp : header file
|
||||
//
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_VariableView form view
|
||||
|
||||
#ifndef __AFXEXT_H__
|
||||
#include <afxext.h>
|
||||
#endif
|
||||
|
||||
#include "IAD_Res.h"
|
||||
#include "IADLstVr.hpp"
|
||||
|
||||
class IAD_VariableView : public CFormView
|
||||
{
|
||||
protected:
|
||||
IAD_VariableView(); // protected constructor used by dynamic creation
|
||||
DECLARE_DYNCREATE(IAD_VariableView)
|
||||
|
||||
// Form Data
|
||||
public:
|
||||
//{{AFX_DATA(IAD_VariableView)
|
||||
enum { IDD = IDD_IAD_VARIABLE };
|
||||
IAD_ListVariable m_clListVariable;
|
||||
//}}AFX_DATA
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
// Operations
|
||||
public:
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
void m_fn_vAddVariable (CString csName, CString csValue);
|
||||
|
||||
void m_fn_vUpdateVariables (IAD_EditorTreeNode *pclEngineLoop);
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(IAD_VariableView)
|
||||
public:
|
||||
virtual void OnInitialUpdate();
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
virtual ~IAD_VariableView();
|
||||
#ifdef _DEBUG
|
||||
virtual void AssertValid() const;
|
||||
virtual void Dump(CDumpContext& dc) const;
|
||||
#endif
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(IAD_VariableView)
|
||||
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
|
||||
afx_msg void OnSize(UINT nType, int cx, int cy);
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_IADVRVW_HPP__A48E7299_F400_11D1_BB03_00A0245476ED__INCLUDED_)
|
BIN
Rayman_X/cpa/tempgrp/TID/Res/EdCarac.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Rayman_X/cpa/tempgrp/TID/Res/EdCaracDoc.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Rayman_X/cpa/tempgrp/TID/Res/cur00001.cur
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
Rayman_X/cpa/tempgrp/TID/Res/cur00002.cur
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
Rayman_X/cpa/tempgrp/TID/Res/cursor_1.cur
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
Rayman_X/cpa/tempgrp/TID/Res/cursor_d.cur
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
Rayman_X/cpa/tempgrp/TID/Res/ico00001.ico
Normal file
After Width: | Height: | Size: 766 B |
BIN
Rayman_X/cpa/tempgrp/TID/Res/ico00002.ico
Normal file
After Width: | Height: | Size: 766 B |
BIN
Rayman_X/cpa/tempgrp/TID/Res/icon_fin.ico
Normal file
After Width: | Height: | Size: 766 B |
BIN
Rayman_X/cpa/tempgrp/TID/Res/inextline.ico
Normal file
After Width: | Height: | Size: 766 B |
10
Rayman_X/cpa/tempgrp/TID/Src/IAD.def
Normal file
@@ -0,0 +1,10 @@
|
||||
LIBRARY
|
||||
|
||||
EXPORTS
|
||||
fn_p_szGetCPAVersion
|
||||
fn_p_stGetDLLIdentity
|
||||
fn_p_oGetDLL
|
||||
fn_vInitDll
|
||||
|
||||
SECTIONS
|
||||
.data READ WRITE
|
997
Rayman_X/cpa/tempgrp/TID/Src/IADClBck.cpp
Normal file
@@ -0,0 +1,997 @@
|
||||
// CallBacks (called to compute the string displayed in Editor Tree)
|
||||
//
|
||||
// YB
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#include "StdAfx.h"
|
||||
#define HieFriend
|
||||
|
||||
#include "IADClBck.hpp"
|
||||
|
||||
#include "_IADItrf.hpp"
|
||||
#include "IADGlob.hpp"
|
||||
#include "IADVwMn.hpp"
|
||||
|
||||
#include "x:/cpa/tempgrp/tia/inc/ai_intf.hpp"
|
||||
#include "x:/cpa/main/inc/_EditId.h"
|
||||
|
||||
#include "OAc.h"
|
||||
|
||||
#define TID_C_szUnknownEntryName "<< Unknown >>"
|
||||
|
||||
//#######################################################################################################
|
||||
//#######################################################################################################
|
||||
//#######################################################################################################
|
||||
// Type
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_EngineLoop(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Engine Loop";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_ReflexOrAI(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
CString csReturnedString;
|
||||
|
||||
if ( M_GetSetParam_ulValue(_p_tdstGetSetParam) == 1 )
|
||||
csReturnedString = "AI";
|
||||
else if ( M_GetSetParam_ulValue(_p_tdstGetSetParam) == 0 )
|
||||
csReturnedString = "Reflex";
|
||||
else
|
||||
csReturnedString = "<< Unknown (not Ai, nor Reflex) >>";
|
||||
|
||||
return csReturnedString;
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_CurrentComport(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Current Behaviour";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Field(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Field";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Constant(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Constant";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_DsgVarId(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Designer Var ID";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_DsgVar(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Designer Var";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Button(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Button";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_EnvRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Environment";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_SectorRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Sector";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_SurfaceRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Surface";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_PersoRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Actor";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_ActionRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "State";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Real(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Constant Real";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Vector(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Vector";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_ConstantVector(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Constant Vector";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Way(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Way";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_WayPoint(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Way Point";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Module(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Module";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_ChannelNumber(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Channel Number";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Mask(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
|
||||
return "Mask";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_String(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "String";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_LipsSynchroRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Lips Synchro";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_SoundEventRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Sound Event";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_FamilyRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Family";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_BeginMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Begin Macro";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_EndMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "End Macro";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Comport(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Change Behaviour";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_KeyWord(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "KeyWord";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Condition(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Condition";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Function(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Function";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Operator(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Operator";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_Procedure(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Procedure";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_MetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Meta Action";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_BeginMetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Begin Meta Action";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_TextRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Texture";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_FontRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Font";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetTypeCallBack_ParticleGenerator(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "Particle";
|
||||
}
|
||||
|
||||
|
||||
//#######################################################################################################
|
||||
//#######################################################################################################
|
||||
//#######################################################################################################
|
||||
// Name
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_EngineLoop(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_ReflexOrAI(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_CurrentComport(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Field(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return szFindFieldEditorNameFromId((enum tdeFieldId_)_lID);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Constant(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_DsgVarId(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_DsgVar(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
CString csReturnedString;
|
||||
|
||||
if ( g_pclInterface->m_clDocument.m_pub_fn_p_stGetSelectedActor() != NULL )
|
||||
{
|
||||
//Gets IA DLL
|
||||
CPA_DLLBase *p_clDll = g_pclInterface->GetMainWorld()->GetToolDLLWithName(C_szDLLAIEditorName);
|
||||
if ( p_clDll != NULL )
|
||||
{
|
||||
tdstActorsIACom tdstCom;
|
||||
tdstCom.pvThis = (void *)g_pclInterface->m_clDocument.m_pub_fn_p_stGetSelectedActor()->pclActor;
|
||||
tdstCom.lData = _lID;
|
||||
|
||||
p_clDll->OnQueryAction(g_pclInterface, C_uiAI_GetDsgVarName, (long)(&tdstCom));
|
||||
|
||||
csReturnedString = tdstCom.csData;
|
||||
}
|
||||
else
|
||||
csReturnedString = "Unknown";
|
||||
}
|
||||
else
|
||||
csReturnedString = "Unknown";
|
||||
|
||||
return csReturnedString;
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Button(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
CString csReturnedString;
|
||||
|
||||
csReturnedString.Format("'%s'", IPT_fn_szGetEntryActionName((IPT_tdxHandleToEntryElement)_lID));
|
||||
|
||||
return csReturnedString;
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_EnvRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_SectorRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_SurfaceRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_PersoRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_ActionRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Real(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Vector(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_ConstantVector(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Way(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_WayPoint(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Module(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_ChannelNumber(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Mask(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_String(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_LipsSynchroRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_SoundEventRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_FamilyRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_BeginMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_EndMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Comport(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_KeyWord(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return szFindKeyWordEditorNameFromId((enum tdeKeyWordId_)_lID);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Condition(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return szFindConditionEditorNameFromId((enum tdeCondId_)_lID);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Function(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return szFindFunctionEditorNameFromId((enum tdeFuncId_)_lID);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Operator(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return szFindOperatorEditorNameFromId((enum tdeOperatorId_)_lID);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_Procedure(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return szFindProcedureEditorNameFromId((enum tdeProcedureId_)_lID);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_MetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return szFindMetaActionEditorNameFromId((enum tdeMetaActionId_)_lID);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_BeginMetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return szFindMetaActionEditorNameFromId((enum tdeMetaActionId_)_lID);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_TextRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_FontRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetNameCallBack_ParticleGenerator(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
//#######################################################################################################
|
||||
//#######################################################################################################
|
||||
//#######################################################################################################
|
||||
// Value
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_EngineLoop(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_ReflexOrAI(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_CurrentComport(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Field(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Constant(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_DsgVarId(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
CString csReturnedString;
|
||||
|
||||
csReturnedString.Format("%ld", M_GetSetParam_lDsgVarIdValue(_p_tdstGetSetParam));
|
||||
|
||||
return csReturnedString;
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_DsgVar(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Button(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_EnvRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_SectorRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_SurfaceRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_PersoRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_ActionRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Real(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Vector(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_ConstantVector(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Way(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_WayPoint(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Module(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
// return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_ChannelNumber(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
// return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Mask(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_String(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_LipsSynchroRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_SoundEventRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_FamilyRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_BeginMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_EndMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Comport(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_KeyWord(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Condition(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Function(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Operator(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_Procedure(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_MetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_BeginMetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_TextRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_FontRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetValueCallBack_ParticleGenerator(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
//#######################################################################################################
|
||||
//#######################################################################################################
|
||||
//#######################################################################################################
|
||||
// Return value
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_EngineLoop(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_ReflexOrAI(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_CurrentComport(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Field(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Constant(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_DsgVarId(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_DsgVar(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Button(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_EnvRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_SectorRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_SurfaceRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_PersoRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_ActionRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Real(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Vector(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_ConstantVector(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Way(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_WayPoint(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Module(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_ChannelNumber(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Mask(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_String(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_LipsSynchroRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_SoundEventRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_FamilyRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_BeginMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_EndMacro(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Comport(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_KeyWord(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Condition(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return (M_GetSetParam_lValue(_p_tdstGetSetParam) == 0) ? "False" : "True";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Function(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Operator(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_Procedure(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_MetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return IAD_fn_csComputeValueFromGetSetParam(_p_tdstGetSetParam);
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_BeginMetaAction(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_TextRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_FontRef(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
CString IAD_fn_vGetReturnValueCallBack_ParticleGenerator(long _lID, tdstGetSetParam *_p_tdstGetSetParam)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
347
Rayman_X/cpa/tempgrp/TID/Src/IADDgFnd.cpp
Normal file
@@ -0,0 +1,347 @@
|
||||
// IADDgFnd.cpp : implementation file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#include "StdAfx.h"
|
||||
#define HieFriend
|
||||
|
||||
#include "IADDgFnd.hpp"
|
||||
|
||||
#include "IADLnkMt.hpp"
|
||||
#include "_IADItrf.hpp"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_Dialog_FindInTree dialog
|
||||
|
||||
BEGIN_MESSAGE_MAP(IAD_Dialog_FindInTree, CDialog)
|
||||
//{{AFX_MSG_MAP(IAD_Dialog_FindInTree)
|
||||
ON_CBN_SELCHANGE(IDC_COMBO_FIELD_TYPE, OnSelchangeComboFieldType)
|
||||
ON_BN_CLICKED(IDC_RADIO_DEEP_SEARCH, OnRadioDeepSearch)
|
||||
ON_BN_CLICKED(IDC_RADIO_SIMPLE_SEARCH, OnRadioSimpleSearch)
|
||||
ON_BN_CLICKED(IDC_CHECK_SEARCH_IN_LEVELS, OnCheckSearchInLevels)
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
//***************************************************************************
|
||||
IAD_Dialog_FindInTree::IAD_Dialog_FindInTree(CWnd* pParent /*=NULL*/)
|
||||
: CDialog(IAD_Dialog_FindInTree::IDD, pParent)
|
||||
{
|
||||
//{{AFX_DATA_INIT(IAD_Dialog_FindInTree)
|
||||
m_bOnlyLevels = FALSE;
|
||||
//}}AFX_DATA_INIT
|
||||
|
||||
if ( g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bSimpleSearch )
|
||||
{
|
||||
m_iSearchType = 0;
|
||||
|
||||
m_bSimpleSearchCaseSensitive = g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bSimpleSearch_CaseSensitive;
|
||||
m_bSimpleSearchExact = g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bSimpleSearch_Exact;
|
||||
m_csSimpleSearchString = g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->csSimpleSearchString;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_iSearchType = 1;
|
||||
|
||||
m_bName_CaseSensitive = g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bName_CaseSensitive;
|
||||
m_bName_Exact = g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bName_Exact;
|
||||
m_bValue_CaseSensitive = g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bValue_CaseSensitive;
|
||||
m_bValue_Exact = g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bValue_Exact;
|
||||
m_bRetValue_CaseSensitive = g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bRetValue_CaseSensitive;
|
||||
m_bRetValue_Exact = g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bRetValue_Exact;
|
||||
|
||||
m_csName = g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->csName;
|
||||
m_csValue = g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->csValue;
|
||||
m_csRetValue = g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->csRetValue;
|
||||
}
|
||||
|
||||
//Depths
|
||||
m_bOnlyLevels = !g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bAllLevels;
|
||||
if ( g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->lBeginningLevel > (-1) )
|
||||
m_csBeginningLevel.Format("%ld", g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->lBeginningLevel);
|
||||
if ( g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->lEndLevel > (-1) )
|
||||
m_csEndLevel.Format("%ld", g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->lEndLevel);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Dialog_FindInTree::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CDialog::DoDataExchange(pDX);
|
||||
//{{AFX_DATA_MAP(IAD_Dialog_FindInTree)
|
||||
DDX_Check(pDX, IDC_CHECK_CASE_NAME, m_bName_CaseSensitive);
|
||||
DDX_Check(pDX, IDC_CHECK_EXACT_NAME, m_bName_Exact);
|
||||
DDX_Check(pDX, IDC_CHECK_CASE_VALUE, m_bValue_CaseSensitive);
|
||||
DDX_Check(pDX, IDC_CHECK_CASE_R_VALUE, m_bRetValue_CaseSensitive);
|
||||
DDX_Check(pDX, IDC_CHECK_EXACT_VALUE, m_bValue_Exact);
|
||||
DDX_Check(pDX, IDC_CHECK_EXACT_R_VALUE, m_bRetValue_Exact);
|
||||
DDX_Text(pDX, IDC_EDIT_NAME, m_csName);
|
||||
DDX_Text(pDX, IDC_EDIT_RETURNING_VALUE, m_csRetValue);
|
||||
DDX_Text(pDX, IDC_EDIT_VALUE, m_csValue);
|
||||
DDX_Radio(pDX, IDC_RADIO_SIMPLE_SEARCH, m_iSearchType);
|
||||
DDX_Check(pDX, IDC_CHECK_CASE_SIMPLE_SEARCH, m_bSimpleSearchCaseSensitive);
|
||||
DDX_Check(pDX, IDC_CHECK_EXACT_SIMPLE_SEARCH, m_bSimpleSearchExact);
|
||||
DDX_Text(pDX, IDC_EDIT_SIMPLE_SEARCH, m_csSimpleSearchString);
|
||||
DDX_Text(pDX, IDC_EDIT_BEGINNING_LEVEL, m_csBeginningLevel);
|
||||
DDX_Text(pDX, IDC_EDIT_END_LEVEL, m_csEndLevel);
|
||||
DDX_Check(pDX, IDC_CHECK_SEARCH_IN_LEVELS, m_bOnlyLevels);
|
||||
//}}AFX_DATA_MAP
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_Dialog_FindInTree message handlers
|
||||
|
||||
//***************************************************************************
|
||||
BOOL IAD_Dialog_FindInTree::OnInitDialog()
|
||||
{
|
||||
CDialog::OnInitDialog();
|
||||
|
||||
//Fills Combo
|
||||
m_pri_fn_vFillCombo();
|
||||
|
||||
//To initialize default state of controls
|
||||
if ( m_iSearchType == 0 )
|
||||
OnRadioSimpleSearch();
|
||||
else
|
||||
OnRadioDeepSearch();
|
||||
|
||||
BOOL bMustCheck = ( (g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->lBeginningLevel > (-1))
|
||||
&& (g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->lEndLevel > (-1))
|
||||
);
|
||||
((CButton *)GetDlgItem(IDC_CHECK_SEARCH_IN_LEVELS))->SetCheck(bMustCheck);
|
||||
OnCheckSearchInLevels();
|
||||
|
||||
return TRUE; // return TRUE unless you set the focus to a control
|
||||
// EXCEPTION: OCX Property Pages should return FALSE
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Dialog_FindInTree::OnOK()
|
||||
{
|
||||
UpdateData(TRUE);
|
||||
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bSimpleSearch = ( m_iSearchType == 0 );
|
||||
|
||||
if ( g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bSimpleSearch )
|
||||
{
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->csSimpleSearchString = m_csSimpleSearchString;
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bSimpleSearch_CaseSensitive = m_bSimpleSearchCaseSensitive;
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bSimpleSearch_Exact = m_bSimpleSearchExact;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->eNodeType = AIDebug_E_SecTyp_NbOfSectionType; //== Invalid value
|
||||
#endif // CG PB DEBUGGER }
|
||||
|
||||
CComboBox *pclCombo = (CComboBox *)GetDlgItem(IDC_COMBO_FIELD_TYPE);
|
||||
if ( pclCombo != NULL )
|
||||
{
|
||||
short wIndex = pclCombo->GetCurSel();
|
||||
if ( wIndex != CB_ERR )
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->eNodeType = (enum AIDebug_tdeSectionType_)pclCombo->GetItemData(wIndex);
|
||||
}
|
||||
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bName_CaseSensitive = m_bName_CaseSensitive;
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bName_Exact = m_bName_Exact;
|
||||
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bValue_CaseSensitive = m_bValue_CaseSensitive;
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bValue_Exact = m_bValue_Exact;
|
||||
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bRetValue_CaseSensitive = m_bRetValue_CaseSensitive;
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bRetValue_Exact = m_bRetValue_Exact;
|
||||
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->csName = m_csName;
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->csRetValue = m_csRetValue;
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->csValue = m_csValue;
|
||||
}
|
||||
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->bAllLevels = !m_bOnlyLevels;
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->lBeginningLevel = atol(m_csBeginningLevel);
|
||||
g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->lEndLevel = atol(m_csEndLevel);
|
||||
|
||||
CDialog::OnOK();
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Dialog_FindInTree::OnSelchangeComboFieldType()
|
||||
{
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
|
||||
CComboBox *pclCombo = (CComboBox *)GetDlgItem(IDC_COMBO_FIELD_TYPE);
|
||||
if ( pclCombo != NULL )
|
||||
{
|
||||
short wIndex = pclCombo->GetCurSel();
|
||||
|
||||
if ( wIndex != CB_ERR )
|
||||
{
|
||||
//Gets enum values
|
||||
AIDebug_tdeSectionType tdeEnumValue = (AIDebug_tdeSectionType)pclCombo->GetItemData(wIndex);
|
||||
|
||||
}
|
||||
}
|
||||
#endif // CG PB DEBUGGER }
|
||||
}
|
||||
|
||||
|
||||
//***************************************************************************
|
||||
//***************************************************************************
|
||||
//***************************************************************************
|
||||
|
||||
///////////////////////
|
||||
// Private Functions //
|
||||
///////////////////////
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Dialog_FindInTree::m_pri_fn_vFillCombo()
|
||||
{
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
|
||||
CComboBox *pclCombo = (CComboBox *)GetDlgItem(IDC_COMBO_FIELD_TYPE);
|
||||
if ( pclCombo != NULL )
|
||||
{
|
||||
short wIndexToSelect = 0;
|
||||
|
||||
short wIndex = pclCombo->AddString("Engine Loop");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_EngineLoop);
|
||||
wIndex = pclCombo->AddString("Reflex Or AI");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_ReflexOrAI);
|
||||
wIndex = pclCombo->AddString("Current Comport");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_CurrentComport);
|
||||
wIndex = pclCombo->AddString("Field");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Field);
|
||||
wIndex = pclCombo->AddString("Constant");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Constant);
|
||||
wIndex = pclCombo->AddString("Designer Var Id");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_DsgVarId);
|
||||
wIndex = pclCombo->AddString("Designer Var");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_DsgVar);
|
||||
wIndex = pclCombo->AddString("Button");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Button);
|
||||
wIndex = pclCombo->AddString("Environment Ref");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_EnvRef);
|
||||
wIndex = pclCombo->AddString("Sector Ref");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_SectorRef);
|
||||
wIndex = pclCombo->AddString("Surface Ref");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_SurfaceRef);
|
||||
wIndex = pclCombo->AddString("Perso Ref");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_PersoRef);
|
||||
wIndex = pclCombo->AddString("Action Ref");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_ActionRef);
|
||||
wIndex = pclCombo->AddString("Real Constant");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Real);
|
||||
wIndex = pclCombo->AddString("Vector");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Vector);
|
||||
wIndex = pclCombo->AddString("Constant Vector");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_ConstantVector);
|
||||
wIndex = pclCombo->AddString("Way");
|
||||
// pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Way);
|
||||
// wIndex = pclCombo->AddString("WayPoint");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_WayPoint);
|
||||
wIndex = pclCombo->AddString("Module");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Module);
|
||||
// wIndex = pclCombo->AddString("Channel Number");
|
||||
// pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_ChannelNumber);
|
||||
wIndex = pclCombo->AddString("Mask");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Mask);
|
||||
wIndex = pclCombo->AddString("String");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_String);
|
||||
wIndex = pclCombo->AddString("Lips Synchro");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_LipsSynchroRef);
|
||||
wIndex = pclCombo->AddString("Sound Event Ref");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_SoundEventRef);
|
||||
wIndex = pclCombo->AddString("Family Ref");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_FamilyRef);
|
||||
wIndex = pclCombo->AddString("Begin of Macro");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_BeginMacro);
|
||||
wIndex = pclCombo->AddString("End of Macro");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_EndMacro);
|
||||
wIndex = pclCombo->AddString("Comport");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Comport);
|
||||
wIndex = pclCombo->AddString("KeyWord");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_KeyWord);
|
||||
wIndex = pclCombo->AddString("Condition");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Condition);
|
||||
wIndex = pclCombo->AddString("Function");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Function);
|
||||
wIndex = pclCombo->AddString("Operator");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Operator);
|
||||
wIndex = pclCombo->AddString("Procedure");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_Procedure);
|
||||
wIndex = pclCombo->AddString("Meta Action");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_MetaAction);
|
||||
wIndex = pclCombo->AddString("Begin Meta Action");
|
||||
pclCombo->SetItemData(wIndex, AIDebug_E_SecTyp_BeginMetaAction);
|
||||
|
||||
for (wIndex = 0; wIndex < pclCombo->GetCount(); wIndex ++)
|
||||
{
|
||||
if ( pclCombo->GetItemData(wIndex) == (DWORD)g_pclInterface->m_fn_pclGetDocument()->m_pub_p_tdstGetFindInfo()->eNodeType )
|
||||
wIndexToSelect = wIndex;
|
||||
}
|
||||
|
||||
pclCombo->SetCurSel(wIndexToSelect);
|
||||
}
|
||||
#endif // CG PB DEBUGGER }
|
||||
}
|
||||
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Dialog_FindInTree::OnRadioDeepSearch()
|
||||
{
|
||||
m_pri_fn_vEnableSimpleSearchControls(FALSE);
|
||||
m_pri_fn_vEnableDeepSearchControls(TRUE);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Dialog_FindInTree::OnRadioSimpleSearch()
|
||||
{
|
||||
m_pri_fn_vEnableSimpleSearchControls(TRUE);
|
||||
m_pri_fn_vEnableDeepSearchControls(FALSE);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Dialog_FindInTree::OnCheckSearchInLevels()
|
||||
{
|
||||
BOOL bChecked = ((CButton *)GetDlgItem(IDC_CHECK_SEARCH_IN_LEVELS))->GetCheck();
|
||||
|
||||
GetDlgItem(IDC_EDIT_BEGINNING_LEVEL)->EnableWindow(bChecked);
|
||||
GetDlgItem(IDC_EDIT_END_LEVEL)->EnableWindow(bChecked);
|
||||
GetDlgItem(IDC_STATIC_AND_TEXT)->EnableWindow(bChecked);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Dialog_FindInTree::m_pri_fn_vEnableSimpleSearchControls(BOOL _bEnable)
|
||||
{
|
||||
GetDlgItem(IDC_STATIC_RECT_SIMPLE_SERACH)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_EDIT_SIMPLE_SEARCH)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_CHECK_EXACT_SIMPLE_SEARCH)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_CHECK_CASE_SIMPLE_SEARCH)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_STATIC_SIMPLE_SEARCH_TEXT)->EnableWindow(_bEnable);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Dialog_FindInTree::m_pri_fn_vEnableDeepSearchControls(BOOL _bEnable)
|
||||
{
|
||||
GetDlgItem(IDC_STATIC_DEEP_SEARCH_RECT)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_STATIC_DEEP_SEARCH_TEXT)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_COMBO_FIELD_TYPE)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_EDIT_NAME)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_EDIT_VALUE)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_EDIT_RETURNING_VALUE)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_CHECK_EXACT_NAME)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_CHECK_CASE_NAME)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_CHECK_EXACT_VALUE)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_CHECK_CASE_VALUE)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_CHECK_EXACT_R_VALUE)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_CHECK_CASE_R_VALUE)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_STATIC_RECT_NAME)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_STATIC_RECT_VALUE)->EnableWindow(_bEnable);
|
||||
GetDlgItem(IDC_STATIC_RECT_RET_VALUE)->EnableWindow(_bEnable);
|
||||
}
|
105
Rayman_X/cpa/tempgrp/TID/Src/IADDgIf.cpp
Normal file
@@ -0,0 +1,105 @@
|
||||
// CPAMDgIf.cpp : implementation file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "IADDgIf.hpp"
|
||||
|
||||
#include "_IADItrf.hpp"
|
||||
|
||||
#define C_INFO_DIALOG_TIMER 70 //An Id for the timer
|
||||
#define C_TEMPO_TIMER 100 //(ms)
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_InformationDialog dialog
|
||||
|
||||
BEGIN_MESSAGE_MAP(IAD_InformationDialog, CDialog)
|
||||
//{{AFX_MSG_MAP(IAD_InformationDialog)
|
||||
ON_WM_TIMER()
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
IAD_InformationDialog::IAD_InformationDialog(CWnd* pParent, CString csMessage)
|
||||
: CDialog(IAD_InformationDialog::IDD, pParent)
|
||||
{
|
||||
//{{AFX_DATA_INIT(IAD_InformationDialog)
|
||||
m_csMessage = csMessage;
|
||||
//}}AFX_DATA_INIT
|
||||
|
||||
m_hOldInstance = AfxGetResourceHandle();
|
||||
AfxSetResourceHandle(g_stIADDLLIdentity.hModule);
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
IAD_InformationDialog::~IAD_InformationDialog()
|
||||
{
|
||||
AfxSetResourceHandle(m_hOldInstance);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_InformationDialog::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CDialog::DoDataExchange(pDX);
|
||||
//{{AFX_DATA_MAP(IAD_InformationDialog)
|
||||
DDX_Text(pDX, IDC_STATIC_TEXT, m_csMessage);
|
||||
//}}AFX_DATA_MAP
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_InformationDialog message handlers
|
||||
|
||||
//***************************************************************************
|
||||
BOOL IAD_InformationDialog::OnInitDialog()
|
||||
{
|
||||
CDialog::OnInitDialog();
|
||||
|
||||
//Init. timer
|
||||
SetTimer(C_INFO_DIALOG_TIMER, C_TEMPO_TIMER, NULL);
|
||||
|
||||
//Loads Bitmaps
|
||||
m_a_cbBitmaps[0].LoadBitmap(IDB_BITMAP_INFO1);
|
||||
m_a_cbBitmaps[1].LoadBitmap(IDB_BITMAP_INFO2);
|
||||
m_a_cbBitmaps[2].LoadBitmap(IDB_BITMAP_INFO3);
|
||||
m_a_cbBitmaps[3].LoadBitmap(IDB_BITMAP_INFO4);
|
||||
m_a_cbBitmaps[4].LoadBitmap(IDB_BITMAP_INFO5);
|
||||
|
||||
return TRUE; // return TRUE unless you set the focus to a control
|
||||
// EXCEPTION: OCX Property Pages should return FALSE
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_InformationDialog::OnOK()
|
||||
{
|
||||
KillTimer(C_INFO_DIALOG_TIMER);
|
||||
|
||||
EndDialog(IDOK);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_InformationDialog::OnTimer(UINT nIDEvent)
|
||||
{
|
||||
static BOOL s_bFirstPass = TRUE;
|
||||
static char s_cCurrentBitmapIndex = -1; //To begin with first bitmap
|
||||
static char s_cIndexIncrement = 1;
|
||||
|
||||
s_cCurrentBitmapIndex += s_cIndexIncrement;
|
||||
if ( ! s_bFirstPass )
|
||||
{
|
||||
if ( s_cCurrentBitmapIndex % (C_NUMBER_OF_BITMAPS-1) == 0 )
|
||||
s_cIndexIncrement = -s_cIndexIncrement;
|
||||
}
|
||||
else
|
||||
s_bFirstPass = FALSE;
|
||||
|
||||
((CStatic *)GetDlgItem(IDC_STATIC_IMAGE))->SetBitmap(HBITMAP(m_a_cbBitmaps[s_cCurrentBitmapIndex]));
|
||||
|
||||
CDialog::OnTimer(nIDEvent);
|
||||
}
|
148
Rayman_X/cpa/tempgrp/TID/Src/IADDgQu.cpp
Normal file
@@ -0,0 +1,148 @@
|
||||
// CPAMDgQu.cpp : implementation file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "IADDgQu.hpp"
|
||||
|
||||
#include "_IADItrf.hpp"
|
||||
|
||||
#define C_QUESTION_DIALOG_TIMER 69 //An Id for the timer
|
||||
#define C_TEMPO_TIMER 60 //(ms)
|
||||
#define C_NUMBER_OF_FRAMES 15
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_QuestionDialog dialog
|
||||
|
||||
BEGIN_MESSAGE_MAP(IAD_QuestionDialog, CDialog)
|
||||
//{{AFX_MSG_MAP(IAD_QuestionDialog)
|
||||
ON_BN_CLICKED(IDNO, OnNo)
|
||||
ON_BN_CLICKED(IDYES, OnYes)
|
||||
ON_WM_TIMER()
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
IAD_QuestionDialog::IAD_QuestionDialog(CWnd* pParent, CString csMessage)
|
||||
: CDialog(IAD_QuestionDialog::IDD, pParent)
|
||||
{
|
||||
//{{AFX_DATA_INIT(IAD_QuestionDialog)
|
||||
m_csMessage = csMessage;
|
||||
//}}AFX_DATA_INIT
|
||||
|
||||
m_hOldInstance = AfxGetResourceHandle();
|
||||
AfxSetResourceHandle(g_stIADDLLIdentity.hModule);
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
IAD_QuestionDialog::~IAD_QuestionDialog()
|
||||
{
|
||||
AfxSetResourceHandle(m_hOldInstance);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_QuestionDialog::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CDialog::DoDataExchange(pDX);
|
||||
//{{AFX_DATA_MAP(IAD_QuestionDialog)
|
||||
DDX_Text(pDX, IDC_STATIC_QUESTION, m_csMessage);
|
||||
//}}AFX_DATA_MAP
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_QuestionDialog message handlers
|
||||
|
||||
//***************************************************************************
|
||||
BOOL IAD_QuestionDialog::OnInitDialog()
|
||||
{
|
||||
CDialog::OnInitDialog();
|
||||
|
||||
//Init. timer
|
||||
SetTimer(C_QUESTION_DIALOG_TIMER, C_TEMPO_TIMER, NULL);
|
||||
|
||||
//Loads Bitmaps
|
||||
m_cbBitmap.LoadBitmap(IDB_BITMAP_QUESTION);
|
||||
|
||||
return TRUE; // return TRUE unless you set the focus to a control
|
||||
// EXCEPTION: OCX Property Pages should return FALSE
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_QuestionDialog::OnNo()
|
||||
{
|
||||
KillTimer(C_QUESTION_DIALOG_TIMER);
|
||||
|
||||
EndDialog(IDNO);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_QuestionDialog::OnYes()
|
||||
{
|
||||
KillTimer(C_QUESTION_DIALOG_TIMER);
|
||||
|
||||
EndDialog(IDYES);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_QuestionDialog::OnTimer(UINT nIDEvent)
|
||||
{
|
||||
/* static BOOL s_bFirstPass = TRUE;
|
||||
static char s_cCurrentBitmapIndex = -1; //To begin with first bitmap
|
||||
static char s_cIndexIncrement = 1;
|
||||
|
||||
s_cCurrentBitmapIndex += s_cIndexIncrement;
|
||||
if ( ! s_bFirstPass )
|
||||
{
|
||||
if ( s_cCurrentBitmapIndex % (C_NUMBER_OF_FRAMES-1) == 0 )
|
||||
s_cIndexIncrement = -s_cIndexIncrement;
|
||||
}
|
||||
else
|
||||
s_bFirstPass = FALSE;
|
||||
|
||||
((CStatic *)GetDlgItem(IDC_STATIC_IMAGE))->SetBitmap(HBITMAP(m_a_cbBitmaps[s_cCurrentBitmapIndex]));
|
||||
*/
|
||||
static BOOL s_bFirstPass = TRUE;
|
||||
static CRect crRect;
|
||||
static char s_cCurrentIndex = -1;
|
||||
static char s_cIndexIncrement = 1;
|
||||
|
||||
s_cCurrentIndex += s_cIndexIncrement;
|
||||
|
||||
if ( s_bFirstPass )
|
||||
{
|
||||
crRect.top = 0;
|
||||
crRect.bottom = 56;
|
||||
crRect.left = 0;
|
||||
crRect.right = 56;
|
||||
|
||||
s_bFirstPass = FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( s_cCurrentIndex % (C_NUMBER_OF_FRAMES-1) == 0 )
|
||||
s_cIndexIncrement = -s_cIndexIncrement;
|
||||
}
|
||||
|
||||
//Computes Rect
|
||||
crRect.left = (56 * s_cCurrentIndex)/ C_NUMBER_OF_FRAMES;
|
||||
crRect.right = 56 - (56 * s_cCurrentIndex)/ C_NUMBER_OF_FRAMES;
|
||||
|
||||
CClientDC dc(GetDlgItem(IDC_EDIT_BIDON));
|
||||
CDC memDC;
|
||||
memDC.CreateCompatibleDC(&dc);
|
||||
memDC.SelectObject(m_cbBitmap);
|
||||
|
||||
dc.StretchBlt( crRect.left,
|
||||
crRect.top,
|
||||
crRect.Width(),
|
||||
crRect.Height(), &memDC, 0, 0, 56, 56, SRCCOPY);
|
||||
|
||||
CDialog::OnTimer(nIDEvent);
|
||||
}
|
82
Rayman_X/cpa/tempgrp/TID/Src/IADDgSN.cpp
Normal file
@@ -0,0 +1,82 @@
|
||||
// IADDgSN.cpp : implementation file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "IADDgSN.hpp"
|
||||
#include "_IADItrf.hpp"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_Dialog_SetNumber dialog
|
||||
|
||||
BEGIN_MESSAGE_MAP(IAD_Dialog_SetNumber, CDialog)
|
||||
//{{AFX_MSG_MAP(IAD_Dialog_SetNumber)
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
//***************************************************************************
|
||||
IAD_Dialog_SetNumber::IAD_Dialog_SetNumber(CPoint _cpTopLeft,
|
||||
long _lOldValue,
|
||||
CWnd* pParent /*=NULL*/)
|
||||
: CDialog(IAD_Dialog_SetNumber::IDD, pParent)
|
||||
{
|
||||
m_hOldInstance = AfxGetResourceHandle();
|
||||
AfxSetResourceHandle(g_stIADDLLIdentity.hModule);
|
||||
|
||||
//{{AFX_DATA_INIT(IAD_Dialog_SetNumber)
|
||||
//}}AFX_DATA_INIT
|
||||
|
||||
m_lNewValue = _lOldValue;
|
||||
m_pri_cpTopLeft = _cpTopLeft;
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
IAD_Dialog_SetNumber::~IAD_Dialog_SetNumber()
|
||||
{
|
||||
AfxSetResourceHandle(m_hOldInstance);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Dialog_SetNumber::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CDialog::DoDataExchange(pDX);
|
||||
|
||||
//{{AFX_DATA_MAP(IAD_Dialog_SetNumber)
|
||||
DDX_Text(pDX, IDC_EDIT_NUMBER, m_lNewValue);
|
||||
//}}AFX_DATA_MAP
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_Dialog_SetNumber message handlers
|
||||
|
||||
//***************************************************************************
|
||||
BOOL IAD_Dialog_SetNumber::OnInitDialog()
|
||||
{
|
||||
CDialog::OnInitDialog();
|
||||
|
||||
//Moves window
|
||||
CRect crWindowRect;
|
||||
GetWindowRect(crWindowRect);
|
||||
CRect crWindowDestRect;
|
||||
crWindowDestRect.top = m_pri_cpTopLeft.y;
|
||||
crWindowDestRect.bottom = crWindowDestRect.top + crWindowRect.Height();
|
||||
crWindowDestRect.left = m_pri_cpTopLeft.x;
|
||||
crWindowDestRect.right = crWindowDestRect.left + crWindowRect.Width();
|
||||
|
||||
MoveWindow(crWindowDestRect);
|
||||
|
||||
return TRUE; // return TRUE unless you set the focus to a control
|
||||
// EXCEPTION: OCX Property Pages should return FALSE
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
long IAD_Dialog_SetNumber::m_pub_fn_lGetNumber()
|
||||
{
|
||||
return m_lNewValue;
|
||||
}
|
129
Rayman_X/cpa/tempgrp/TID/Src/IADDgSp.cpp
Normal file
@@ -0,0 +1,129 @@
|
||||
// CPAMDgSp.cpp : implementation file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "IADDgSp.hpp"
|
||||
|
||||
#include "_IADItrf.hpp"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
//Colors for the fields' static
|
||||
//extern COLORREF g_colref_FieldInstanceTextColor;
|
||||
//extern COLORREF g_colref_FieldInstanceBackgroundColor;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_EditorSetupDialog dialog
|
||||
BEGIN_MESSAGE_MAP(IAD_EditorSetupDialog, CDialog)
|
||||
//{{AFX_MSG_MAP(IAD_EditorSetupDialog)
|
||||
ON_WM_PAINT()
|
||||
ON_WM_LBUTTONUP()
|
||||
//}}AFX_MSG_MAP
|
||||
ON_MESSAGE(WM_HELP, OnMyHelp)
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
//***************************************************************************
|
||||
IAD_EditorSetupDialog::IAD_EditorSetupDialog(CWnd* pParent /*=NULL*/)
|
||||
: CDialog(IAD_EditorSetupDialog::IDD, pParent)
|
||||
{
|
||||
//{{AFX_DATA_INIT(IAD_EditorSetupDialog)
|
||||
//}}AFX_DATA_INIT
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_EditorSetupDialog::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CDialog::DoDataExchange(pDX);
|
||||
//{{AFX_DATA_MAP(IAD_EditorSetupDialog)
|
||||
//}}AFX_DATA_MAP
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_EditorSetupDialog message handlers
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_EditorSetupDialog::OnOK()
|
||||
{
|
||||
UpdateData(TRUE);
|
||||
|
||||
CDialog::OnOK();
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_EditorSetupDialog::OnLButtonUp(UINT nFlags, CPoint point)
|
||||
{
|
||||
/* CWnd *pclWnd;
|
||||
CRect crClientRect;
|
||||
|
||||
pclWnd = GetDlgItem(IDC_RECT_TEXT_FIELD_INST);
|
||||
pclWnd->GetWindowRect(crClientRect);
|
||||
ScreenToClient(crClientRect);
|
||||
if ( crClientRect.PtInRect(point) )
|
||||
if ( m_fn_bEditColor(g_colref_FieldInstanceTextColor) )
|
||||
InvalidateRect(NULL);
|
||||
|
||||
pclWnd = GetDlgItem(IDC_RECT_BG_FIELD_INST);
|
||||
pclWnd->GetWindowRect(crClientRect);
|
||||
ScreenToClient(crClientRect);
|
||||
if ( crClientRect.PtInRect(point) )
|
||||
if ( m_fn_bEditColor(g_colref_FieldInstanceBackgroundColor) )
|
||||
InvalidateRect(NULL);
|
||||
*/
|
||||
CDialog::OnLButtonUp(nFlags, point);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
BOOL IAD_EditorSetupDialog::m_fn_bEditColor(COLORREF &r_Color)
|
||||
{
|
||||
CColorDialog dial(r_Color, CC_FULLOPEN, this);
|
||||
|
||||
if ( dial.DoModal() == IDOK )
|
||||
{
|
||||
r_Color = dial.GetColor();
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_EditorSetupDialog::OnPaint()
|
||||
{
|
||||
CPaintDC dc(this); // device context for painting
|
||||
|
||||
/* CRect crClientRect;
|
||||
CWnd *pclWnd;
|
||||
|
||||
pclWnd = GetDlgItem(IDC_RECT_TEXT_FIELD_INST);
|
||||
pclWnd->GetClientRect(crClientRect);
|
||||
crClientRect.InflateRect(-2,-2);
|
||||
CClientDC dc3(pclWnd);
|
||||
dc3.FillSolidRect(crClientRect, g_colref_FieldInstanceTextColor);
|
||||
|
||||
pclWnd = GetDlgItem(IDC_RECT_BG_FIELD_INST);
|
||||
pclWnd->GetClientRect(crClientRect);
|
||||
crClientRect.InflateRect(-2,-2);
|
||||
CClientDC dc4(pclWnd);
|
||||
dc4.FillSolidRect(crClientRect, g_colref_FieldInstanceBackgroundColor);
|
||||
*/
|
||||
// Do not call CDialog::OnPaint() for painting messages
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
long IAD_EditorSetupDialog::OnMyHelp(UINT, long lParam)
|
||||
{
|
||||
LPHELPINFO lphi = (LPHELPINFO)lParam;
|
||||
|
||||
::WinHelp( m_hWnd,
|
||||
"c:\\acp\\dllbibli\\object\\actors\\help\\actors.hlp",
|
||||
HELP_CONTEXTPOPUP,
|
||||
lphi->dwContextId);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
121
Rayman_X/cpa/tempgrp/TID/Src/IADDgStp.cpp
Normal file
@@ -0,0 +1,121 @@
|
||||
// IADDgStp.hpp : implementation file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "IADDgStp.hpp"
|
||||
|
||||
#include "IADWCBt.hpp"
|
||||
#include "IADLnkMt.hpp"
|
||||
|
||||
#define IAD_C_BUTTON_SPACING 3
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// TID_Dialog_Setup dialog
|
||||
|
||||
BEGIN_MESSAGE_MAP(TID_Dialog_Setup, CDialog)
|
||||
//{{AFX_MSG_MAP(TID_Dialog_Setup)
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
//***************************************************************************
|
||||
TID_Dialog_Setup::TID_Dialog_Setup(CWnd* pParent /*=NULL*/)
|
||||
: CDialog(TID_Dialog_Setup::IDD, pParent)
|
||||
{
|
||||
//{{AFX_DATA_INIT(TID_Dialog_Setup)
|
||||
// NOTE: the ClassWizard will add member initialization here
|
||||
//}}AFX_DATA_INIT
|
||||
}
|
||||
|
||||
|
||||
//***************************************************************************
|
||||
void TID_Dialog_Setup::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CDialog::DoDataExchange(pDX);
|
||||
//{{AFX_DATA_MAP(TID_Dialog_Setup)
|
||||
// NOTE: the ClassWizard will add DDX and DDV calls here
|
||||
//}}AFX_DATA_MAP
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// TID_Dialog_Setup message handlers
|
||||
|
||||
#define IAD_M_ADD_BUTTON(Name, String) \
|
||||
pclButton = new IAD_Color_Button(&g_a_colrefTypeColor[AIDebug_E_SecTyp_##Name], String, (long)AIDebug_E_SecTyp_##Name); \
|
||||
csReturnedSize = pclButton->m_pub_fn_csCreate(this, crCurrentRect); \
|
||||
crCurrentRect.OffsetRect(0, csReturnedSize.cy + IAD_C_BUTTON_SPACING); \
|
||||
lMaxX = max(lMaxX, crCurrentRect.left + csReturnedSize.cx); \
|
||||
if ( crCurrentRect.bottom > crStaticRect.bottom - IAD_C_BUTTON_SPACING ) \
|
||||
{ \
|
||||
crCurrentRect.top = crStaticRect.top + IAD_C_BUTTON_SPACING; \
|
||||
crCurrentRect.bottom = crCurrentRect.top + csReturnedSize.cy; \
|
||||
crCurrentRect.left = lMaxX + IAD_C_BUTTON_SPACING; \
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
BOOL TID_Dialog_Setup::OnInitDialog()
|
||||
{
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
|
||||
CDialog::OnInitDialog();
|
||||
|
||||
CSize csReturnedSize;
|
||||
IAD_Color_Button *pclButton;
|
||||
long lMaxX = 0;
|
||||
CRect crStaticRect;
|
||||
GetDlgItem(IDC_STATIC_COLORS_USED)->GetWindowRect(crStaticRect);
|
||||
ScreenToClient(crStaticRect);
|
||||
crStaticRect.InflateRect(-10, -15);
|
||||
CRect crCurrentRect(crStaticRect.left + IAD_C_BUTTON_SPACING,
|
||||
crStaticRect.top + IAD_C_BUTTON_SPACING,
|
||||
10,10); //Bidon
|
||||
|
||||
//Constructs buttons
|
||||
IAD_M_ADD_BUTTON(EngineLoop, "Engine Loop")
|
||||
IAD_M_ADD_BUTTON(ReflexOrAI, "Reflex Or AI")
|
||||
IAD_M_ADD_BUTTON(CurrentComport, "Current Comport")
|
||||
IAD_M_ADD_BUTTON(Field, "Field")
|
||||
IAD_M_ADD_BUTTON(Constant, "Constant")
|
||||
IAD_M_ADD_BUTTON(DsgVarId, "Dsg Var Id")
|
||||
IAD_M_ADD_BUTTON(DsgVar, "Dsg Var")
|
||||
IAD_M_ADD_BUTTON(Button, "Button")
|
||||
IAD_M_ADD_BUTTON(EnvRef, "Environement ")
|
||||
IAD_M_ADD_BUTTON(SectorRef, "Sector")
|
||||
IAD_M_ADD_BUTTON(SurfaceRef, "Surface")
|
||||
IAD_M_ADD_BUTTON(PersoRef, "Actor")
|
||||
IAD_M_ADD_BUTTON(ActionRef, "State")
|
||||
IAD_M_ADD_BUTTON(Real, "Real")
|
||||
IAD_M_ADD_BUTTON(Vector, "Vector")
|
||||
IAD_M_ADD_BUTTON(ConstantVector, "Constant Vector")
|
||||
// IAD_M_ADD_BUTTON(Way, "Way")
|
||||
IAD_M_ADD_BUTTON(WayPoint, "WayPoint")
|
||||
IAD_M_ADD_BUTTON(Module, "Module")
|
||||
// IAD_M_ADD_BUTTON(ChannelNumber, "Channel Number")
|
||||
IAD_M_ADD_BUTTON(Mask, "Mask")
|
||||
IAD_M_ADD_BUTTON(String, "String")
|
||||
IAD_M_ADD_BUTTON(LipsSynchroRef, "Lips Synchro")
|
||||
IAD_M_ADD_BUTTON(SoundEventRef, "Sound Event")
|
||||
IAD_M_ADD_BUTTON(FamilyRef, "Family")
|
||||
IAD_M_ADD_BUTTON(BeginMacro, "Begin Macro")
|
||||
IAD_M_ADD_BUTTON(EndMacro, "End Macro")
|
||||
IAD_M_ADD_BUTTON(Comport, "Comport")
|
||||
IAD_M_ADD_BUTTON(KeyWord, "KeyWord")
|
||||
IAD_M_ADD_BUTTON(Condition, "Condition")
|
||||
IAD_M_ADD_BUTTON(Function, "Function")
|
||||
IAD_M_ADD_BUTTON(Operator, "Operator")
|
||||
IAD_M_ADD_BUTTON(Procedure, "Procedure")
|
||||
IAD_M_ADD_BUTTON(MetaAction, "MetaAction")
|
||||
IAD_M_ADD_BUTTON(BeginMetaAction, "Begin MetaAction")
|
||||
#endif // CG PB DEBUGGER }
|
||||
|
||||
|
||||
return TRUE; // return TRUE unless you set the focus to a control
|
||||
// EXCEPTION: OCX Property Pages should return FALSE
|
||||
}
|
402
Rayman_X/cpa/tempgrp/TID/Src/IADDoc.cpp
Normal file
@@ -0,0 +1,402 @@
|
||||
// Implementation for the class CMyDocument
|
||||
/////////////////////////////////////////////
|
||||
#include "StdAfx.h"
|
||||
#define HieFriend
|
||||
|
||||
#include "SCR.h"
|
||||
|
||||
#include "IADDoc.hpp"
|
||||
|
||||
#include "IADVwMn.hpp"
|
||||
#include "IADVwRst.hpp"
|
||||
#include "_IADItrf.hpp"
|
||||
#include "IADDgStp.hpp"
|
||||
#include "IADLnkMt.hpp"
|
||||
|
||||
#include "x:\cpa\main\inc\_EditID.h"
|
||||
|
||||
//External Modules
|
||||
#include "OAC.h"
|
||||
#include "ErO.h"
|
||||
//End of External Modules
|
||||
|
||||
long g_lCurrentId = 2000;
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
//****************************************************************************
|
||||
IAD_MyDocument::IAD_MyDocument()
|
||||
{
|
||||
// AfxEnableMemoryTracking(TRUE);
|
||||
|
||||
//Initializes editor's state
|
||||
|
||||
m_pclControlView = NULL;
|
||||
m_pclResultView = NULL;
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
m_pclVariableView = NULL;
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
m_pri_lCurrentIndexInFoundItemsList = -1;
|
||||
|
||||
m_pri_p_stSelectedActor = NULL;
|
||||
|
||||
m_pri_tdstFindInfo.bAllLevels = TRUE;
|
||||
m_pri_tdstFindInfo.lBeginningLevel = 0;
|
||||
m_pri_tdstFindInfo.lEndLevel = 10;
|
||||
|
||||
m_pri_bDebuggerIsOn = TRUE;
|
||||
|
||||
m_pub_bIsDeletingTree = FALSE;
|
||||
|
||||
//Editor's Setup var. Init.
|
||||
//...
|
||||
|
||||
IAD_g_fn_vInitGetStringCallBacks();
|
||||
|
||||
//Init. the INI file name
|
||||
m_csIniFileName = M_GetMainApp()->m_csEditorDataPath + "Tools\\IA_Debug\\IA_Debug.ini";
|
||||
|
||||
//Reads INI file
|
||||
m_fn_bReadIniFile();
|
||||
|
||||
//PROVISOIRE...
|
||||
m_csHelpFileNameAndPath = M_GetMainApp()->m_csEditorDataPath + "Tools\\IA_Debug\\IADebug.hlp >Normale";
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
IAD_MyDocument::~IAD_MyDocument()
|
||||
{
|
||||
// m_fn_bWriteIniFile();
|
||||
}
|
||||
|
||||
|
||||
//****************************************************************************
|
||||
HTREEITEM IAD_MyDocument::m_pub_fn_hFindInTree(IAD_EditorTreeNode *_pclRoot,
|
||||
TID_tdstFindInfo *_p_tdstFindInfo)
|
||||
{
|
||||
//Inits recursive search
|
||||
m_pri_lCurrentIndexInFoundItemsList = 0;
|
||||
m_pri_clListOfFoundNodes.RemoveAll();
|
||||
m_pri_fn_vFindInOneLevelOfTree(_pclRoot, _p_tdstFindInfo);
|
||||
|
||||
if ( m_pri_clListOfFoundNodes.GetCount() > 0 )
|
||||
{
|
||||
HTREEITEM hFirstItem = m_pri_clListOfFoundNodes.GetHead()->m_pub_fn_hGetTreeItem();
|
||||
|
||||
m_pclResultView->m_fn_vEnableFindPrevButton(FALSE);
|
||||
m_pclResultView->m_fn_vEnableFindNextButton( m_pri_clListOfFoundNodes.GetCount() > 1 );
|
||||
|
||||
CString csStatusText;
|
||||
csStatusText.Format("Finder has selected occurence %ld on %ld", m_pri_lCurrentIndexInFoundItemsList + 1,
|
||||
m_pri_clListOfFoundNodes.GetCount());
|
||||
m_pclResultView->m_pub_fn_vSetFindStatusText(csStatusText);
|
||||
|
||||
return hFirstItem;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_pclResultView->m_pub_fn_vSetFindStatusText("No occurence found in Tree");
|
||||
|
||||
m_pclResultView->m_fn_vEnableFindNextButton(FALSE);
|
||||
m_pclResultView->m_fn_vEnableFindPrevButton(FALSE);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
HTREEITEM IAD_MyDocument::m_pub_fn_hFindNextInTree()
|
||||
{
|
||||
m_pri_lCurrentIndexInFoundItemsList ++;
|
||||
|
||||
POSITION pos = m_pri_clListOfFoundNodes.FindIndex(m_pri_lCurrentIndexInFoundItemsList);
|
||||
HTREEITEM hNextItem = m_pri_clListOfFoundNodes.GetAt(pos)->m_pub_fn_hGetTreeItem();
|
||||
|
||||
m_pclResultView->m_fn_vEnableFindNextButton( m_pri_lCurrentIndexInFoundItemsList < (m_pri_clListOfFoundNodes.GetCount() - 1) );
|
||||
m_pclResultView->m_fn_vEnableFindPrevButton(TRUE);
|
||||
|
||||
CString csStatusText;
|
||||
csStatusText.Format("Finder has selected occurence %ld on %ld", m_pri_lCurrentIndexInFoundItemsList + 1,
|
||||
m_pri_clListOfFoundNodes.GetCount());
|
||||
m_pclResultView->m_pub_fn_vSetFindStatusText(csStatusText);
|
||||
|
||||
return hNextItem;
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
HTREEITEM IAD_MyDocument::m_pub_fn_hFindPreviousInTree()
|
||||
{
|
||||
m_pri_lCurrentIndexInFoundItemsList --;
|
||||
|
||||
POSITION pos = m_pri_clListOfFoundNodes.FindIndex(m_pri_lCurrentIndexInFoundItemsList);
|
||||
|
||||
HTREEITEM hNextItem = m_pri_clListOfFoundNodes.GetPrev(pos)->m_pub_fn_hGetTreeItem();
|
||||
|
||||
m_pclResultView->m_fn_vEnableFindNextButton(TRUE);
|
||||
m_pclResultView->m_fn_vEnableFindPrevButton( m_pri_lCurrentIndexInFoundItemsList > 0 );
|
||||
|
||||
CString csStatusText;
|
||||
csStatusText.Format("Finder has selected occurence %ld on %ld", m_pri_lCurrentIndexInFoundItemsList + 1,
|
||||
m_pri_clListOfFoundNodes.GetCount());
|
||||
m_pclResultView->m_pub_fn_vSetFindStatusText(csStatusText);
|
||||
|
||||
return hNextItem;
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
TID_tdstFindInfo *IAD_MyDocument::m_pub_p_tdstGetFindInfo()
|
||||
{
|
||||
return &m_pri_tdstFindInfo;
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
struct IAD_stInternalActorDescription *IAD_MyDocument::m_pub_fn_p_stGetSelectedActor()
|
||||
{
|
||||
return m_pri_p_stSelectedActor;
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
void IAD_MyDocument::m_pub_fn_vSetSelectedActor(struct IAD_stInternalActorDescription *_p_stNewSelectedActor)
|
||||
{
|
||||
m_pri_p_stSelectedActor = _p_stNewSelectedActor;
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
void IAD_MyDocument::m_pub_fn_vFreeEditorTraceForActor(struct IAD_stInternalActorDescription *_p_stActorToFree)
|
||||
{
|
||||
if ( _p_stActorToFree != NULL )
|
||||
{
|
||||
if ( _p_stActorToFree->pclRoot != NULL )
|
||||
{
|
||||
//Frees all nodes
|
||||
m_pri_fn_vFreeNodes(_p_stActorToFree->pclRoot);
|
||||
|
||||
_p_stActorToFree->pclRoot = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
void IAD_MyDocument::m_pub_fn_vFreeEditorTraceForEditedActor()
|
||||
{
|
||||
m_pub_fn_vFreeEditorTraceForActor(m_pri_p_stSelectedActor);
|
||||
|
||||
m_pri_p_stSelectedActor = NULL;
|
||||
|
||||
//Resets 'Find' list
|
||||
m_pri_clListOfFoundNodes.RemoveAll();
|
||||
m_pclResultView->m_pub_fn_vSetFindStatusText("Nothing has been searched");
|
||||
|
||||
//Resets Tree Control
|
||||
m_pclResultView->m_pub_fn_vDeleteAllInTreeControl();
|
||||
m_pclResultView->m_pub_fn_vSetStatusText("Ready !");
|
||||
m_pclResultView->m_pub_fn_vSetEditedActorName("<< Nothing edited >>");
|
||||
|
||||
m_pclControlView->m_pub_fn_vUnselectAllItems();
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
void IAD_MyDocument::m_pub_fn_vReInitEditorTraceForActors()
|
||||
{
|
||||
IAD_td_stInternalActorDescription *p_stCurrentActorDesc;
|
||||
POSITION pos = m_pclControlView->m_pri_clListOfActors.GetHeadPosition();
|
||||
while ( pos != NULL )
|
||||
{
|
||||
p_stCurrentActorDesc = m_pclControlView->m_pri_clListOfActors.GetNext(pos);
|
||||
|
||||
if ( p_stCurrentActorDesc->bTraceIsEnabled )
|
||||
{
|
||||
m_pub_fn_vFreeEditorTraceForActor(p_stCurrentActorDesc);
|
||||
|
||||
if ( M_GetMainApp()->m_bAutoReinitTheMap )
|
||||
{
|
||||
//Calls motor re-init
|
||||
AI_tdstMind *p_stMind = M_pstGetMindOfBrain( ((tdstEngineObject *)p_stCurrentActorDesc->pclActor->GetStruct())->h_Brain );
|
||||
ERROR_ASSERT( p_stMind != NULL );
|
||||
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
AIDebug_fn_vReinitTrace(p_stMind);
|
||||
#endif // CG PB DEBUGGER }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Resets display in Editor
|
||||
m_pri_p_stSelectedActor = NULL;
|
||||
|
||||
//Resets 'Find' list
|
||||
m_pri_clListOfFoundNodes.RemoveAll();
|
||||
m_pclResultView->m_pub_fn_vSetFindStatusText("Nothing has been searched");
|
||||
|
||||
//Resets Tree Control
|
||||
m_pclResultView->m_pub_fn_vDeleteAllInTreeControl();
|
||||
m_pclResultView->m_pub_fn_vSetStatusText("Ready !");
|
||||
m_pclResultView->m_pub_fn_vSetEditedActorName("<< Nothing edited >>");
|
||||
|
||||
m_pclControlView->m_pub_fn_vUnselectAllItems();
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
BOOL IAD_MyDocument::m_pub_fn_bIsDebuggerOn()
|
||||
{
|
||||
return m_pri_bDebuggerIsOn;
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
void IAD_MyDocument::m_pub_fn_vSetDebuggerOn(BOOL _bDebuggerOn /*= TRUE*/)
|
||||
{
|
||||
m_pri_bDebuggerIsOn = _bDebuggerOn;
|
||||
}
|
||||
|
||||
///////////////////////
|
||||
// Private functions //
|
||||
///////////////////////
|
||||
|
||||
//****************************************************************************
|
||||
void IAD_MyDocument::m_pri_fn_vFindInOneLevelOfTree(IAD_EditorTreeNode *_pclParentNode,
|
||||
TID_tdstFindInfo *_p_tdstFindInfo)
|
||||
{
|
||||
IAD_EditorTreeNode *pclCurrentChildNode;
|
||||
BOOL bMustGoOn = TRUE;
|
||||
BOOL bMustAdd = TRUE;
|
||||
POSITION pos = _pclParentNode->m_pub_fn_ptdGetListOfChildNodes()->GetHeadPosition();
|
||||
while ( (pos != NULL) && (bMustGoOn) )
|
||||
{
|
||||
pclCurrentChildNode = _pclParentNode->m_pub_fn_ptdGetListOfChildNodes()->GetNext(pos);
|
||||
|
||||
if ( !_p_tdstFindInfo->bAllLevels )
|
||||
{
|
||||
bMustGoOn = ( pclCurrentChildNode->m_pub_fn_wGetDepth() <= _p_tdstFindInfo->lEndLevel );
|
||||
bMustAdd = ( pclCurrentChildNode->m_pub_fn_wGetDepth() >= _p_tdstFindInfo->lBeginningLevel );
|
||||
}
|
||||
|
||||
if ( bMustGoOn )
|
||||
{
|
||||
//Analyses current Node
|
||||
if ( bMustAdd )
|
||||
{
|
||||
if ( m_pri_fn_bNodeRespectsFindCriteria(pclCurrentChildNode, _p_tdstFindInfo) )
|
||||
m_pri_clListOfFoundNodes.AddTail(pclCurrentChildNode);
|
||||
}
|
||||
|
||||
//Looks in childs
|
||||
m_pri_fn_vFindInOneLevelOfTree(pclCurrentChildNode, _p_tdstFindInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
BOOL IAD_MyDocument::m_pri_fn_bNodeRespectsFindCriteria(IAD_EditorTreeNode *_pclNode,
|
||||
TID_tdstFindInfo *_p_tdstFindInfo)
|
||||
{
|
||||
BOOL bCriteriaRespected;
|
||||
|
||||
if ( _p_tdstFindInfo->bSimpleSearch )
|
||||
{
|
||||
bCriteriaRespected = m_pri_fn_bCompareStringsWithCriteria(_pclNode->m_pub_fn_csGetCompleteString(),
|
||||
_p_tdstFindInfo->csSimpleSearchString,
|
||||
_p_tdstFindInfo->bSimpleSearch_CaseSensitive,
|
||||
_p_tdstFindInfo->bSimpleSearch_Exact);
|
||||
}
|
||||
else
|
||||
{
|
||||
//Analyses type
|
||||
bCriteriaRespected = ( _pclNode->m_pub_fn_tdeGetNodeType() == _p_tdstFindInfo->eNodeType );
|
||||
|
||||
if ( bCriteriaRespected )
|
||||
{
|
||||
if ( !_p_tdstFindInfo->csName.IsEmpty() )
|
||||
bCriteriaRespected = m_pri_fn_bCompareStringsWithCriteria(_pclNode->m_pub_fn_csGetNodeName(),
|
||||
_p_tdstFindInfo->csName,
|
||||
_p_tdstFindInfo->bName_CaseSensitive,
|
||||
_p_tdstFindInfo->bName_Exact);
|
||||
}
|
||||
|
||||
if ( bCriteriaRespected )
|
||||
{
|
||||
if ( !_p_tdstFindInfo->csValue.IsEmpty() )
|
||||
bCriteriaRespected = m_pri_fn_bCompareStringsWithCriteria(_pclNode->m_pub_fn_csGetNodeValue(),
|
||||
_p_tdstFindInfo->csValue,
|
||||
_p_tdstFindInfo->bValue_CaseSensitive,
|
||||
_p_tdstFindInfo->bValue_Exact);
|
||||
}
|
||||
|
||||
if ( bCriteriaRespected )
|
||||
{
|
||||
if ( !_p_tdstFindInfo->csRetValue.IsEmpty() )
|
||||
bCriteriaRespected = m_pri_fn_bCompareStringsWithCriteria(_pclNode->m_pub_fn_csGetNodeReturnValue(),
|
||||
_p_tdstFindInfo->csRetValue,
|
||||
_p_tdstFindInfo->bRetValue_CaseSensitive,
|
||||
_p_tdstFindInfo->bRetValue_Exact);
|
||||
}
|
||||
}
|
||||
|
||||
return bCriteriaRespected;
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
BOOL IAD_MyDocument::m_pri_fn_bCompareStringsWithCriteria(CString _csString1,
|
||||
CString _csString2,
|
||||
BOOL _bMatchCase,
|
||||
BOOL _bExact)
|
||||
{
|
||||
BOOL bStringsRespectCriteria = FALSE;
|
||||
|
||||
CString csTempStr1 = _csString1;
|
||||
CString csTempStr2 = _csString2;
|
||||
|
||||
if ( !_bMatchCase )
|
||||
{
|
||||
csTempStr1.MakeLower();
|
||||
csTempStr2.MakeLower();
|
||||
}
|
||||
|
||||
if ( _bExact )
|
||||
bStringsRespectCriteria = ( csTempStr1.Compare(csTempStr2) == 0 );
|
||||
else
|
||||
bStringsRespectCriteria = ( csTempStr1.Find(csTempStr2) != -1 );
|
||||
|
||||
return bStringsRespectCriteria;
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
void IAD_MyDocument::m_pub_fn_vDisplaySetup()
|
||||
{
|
||||
TID_Dialog_Setup SetupDial(AfxGetMainWnd());
|
||||
|
||||
SetupDial.DoModal();
|
||||
|
||||
//Saves INI file
|
||||
m_fn_bWriteIniFile();
|
||||
|
||||
//Refreshes Tree
|
||||
m_pclResultView->m_pub_fn_vRefreshTree();
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
void IAD_MyDocument::m_pri_fn_vFreeNodes(IAD_EditorTreeNode *_pclParentNode)
|
||||
{
|
||||
IAD_EditorTreeNode *pclCurrentChildNode;
|
||||
POSITION pos = _pclParentNode->m_pub_fn_ptdGetListOfChildNodes()->GetHeadPosition();
|
||||
while ( pos != NULL )
|
||||
{
|
||||
pclCurrentChildNode = _pclParentNode->m_pub_fn_ptdGetListOfChildNodes()->GetNext(pos);
|
||||
|
||||
//Deletes childs of current child
|
||||
m_pri_fn_vFreeNodes(pclCurrentChildNode);
|
||||
|
||||
//Deletes current childs
|
||||
delete pclCurrentChildNode;
|
||||
}
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
struct AI_tdstMind_ *IAD_MyDocument::m_pub_fn_p_stGetMindOfActor(IAD_td_stInternalActorDescription *_p_stInternalActor)
|
||||
{
|
||||
return M_pstGetMindOfBrain( ((tdstEngineObject *)_p_stInternalActor->pclActor->GetStruct())->h_Brain );
|
||||
}
|
362
Rayman_X/cpa/tempgrp/TID/Src/IADEdtTr.cpp
Normal file
@@ -0,0 +1,362 @@
|
||||
// Classes for the Editor tree
|
||||
//
|
||||
// YB
|
||||
//////////////////////////////////////////////
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
#include "StdAfx.h"
|
||||
#define HieFriend
|
||||
|
||||
#include "IADEdttr.hpp"
|
||||
|
||||
#include "IADEdtTr.hpp"
|
||||
#include "IADLnkMt.hpp"
|
||||
#include "_IADItrf.hpp"
|
||||
#include "IADVwRst.hpp"
|
||||
#include "IAD_Res.h"
|
||||
#include "x:/cpa/tempgrp/tia/inc/ai_intf.hpp"
|
||||
#include "x:/cpa/main/inc/_EditId.h"
|
||||
|
||||
//External Modules
|
||||
#include "OAc.h"
|
||||
//End of External Modules
|
||||
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
//*********************************************************************
|
||||
//Constructor
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
IAD_EditorTreeNode::IAD_EditorTreeNode(enum AIDebug_tdeSectionType_ _tdeNodeType,
|
||||
tdstNodeInterpret *_p_stNode,
|
||||
CPA_Actor *_pclParentActor,
|
||||
IAD_EditorTreeNode *_pclParentNode,
|
||||
short _wDepth,
|
||||
CString _csNodeType,
|
||||
CString _csNodeName /*= ""*/,
|
||||
CString _csValue /*= ""*/,
|
||||
CString _csReturnValue /*= ""*/,
|
||||
CString _csNodeAdditionnalInfo /*= ""*/,
|
||||
BOOL bSubtreeBuilded /*= TRUE*/,
|
||||
unsigned short uwSubtreeTraceIndex /*= -1*/)
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
{
|
||||
m_pro_tdeNodeType = _tdeNodeType;
|
||||
m_p_stMotorNode = _p_stNode;
|
||||
m_pri_pclParentActor = _pclParentActor;
|
||||
|
||||
m_pro_pclParentNode = _pclParentNode;
|
||||
m_pro_wDepth = _wDepth;
|
||||
m_pro_csNodeType = _csNodeType;
|
||||
m_pro_csNodeName = _csNodeName;
|
||||
m_pro_csReturnValue = _csReturnValue;
|
||||
m_pro_csValue = _csValue;
|
||||
|
||||
m_pro_csNodeAdditionnalInfo = _csNodeAdditionnalInfo;
|
||||
|
||||
m_pro_csCompleteString = m_pri_fn_csComputeTotalName();
|
||||
|
||||
m_pro_hTreeItem = NULL;
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
m_bSubtreeBuilded = bSubtreeBuilded;
|
||||
m_uwSubtreeTraceIndex = uwSubtreeTraceIndex;
|
||||
|
||||
m_lNumberOfVariableValues = 0;
|
||||
m_a_tdstArrayOfVariableValues = NULL;
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
//Empty Constructor for Root
|
||||
IAD_EditorTreeNode::IAD_EditorTreeNode()
|
||||
{
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
m_pro_tdeNodeType = (enum AIDebug_tdeSectionType_)AI_DEBUGGER_CONSTANT_FOR_TREE_ROOT_ID;
|
||||
#endif // CG PB DEBUGGER }
|
||||
|
||||
m_pro_pclParentNode = NULL;
|
||||
m_pro_wDepth = IAD_NODE_DEPTH_UNKNOWN;
|
||||
m_pro_csNodeType = "** Root **";
|
||||
m_pro_csNodeAdditionnalInfo = "";
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
m_bSubtreeBuilded = TRUE;
|
||||
m_uwSubtreeTraceIndex = -1;
|
||||
|
||||
m_lNumberOfVariableValues = 0;
|
||||
m_a_tdstArrayOfVariableValues = NULL;
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
//Destructor
|
||||
IAD_EditorTreeNode::~IAD_EditorTreeNode()
|
||||
{
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
if (m_a_tdstArrayOfVariableValues != NULL)
|
||||
free (m_a_tdstArrayOfVariableValues);
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
}
|
||||
|
||||
//////////////////////
|
||||
// Public Functions //
|
||||
//////////////////////
|
||||
|
||||
//Get/Set functions
|
||||
////////////////////
|
||||
|
||||
//*********************************************************************
|
||||
IAD_tdListOfNodes *IAD_EditorTreeNode::m_pub_fn_ptdGetListOfChildNodes()
|
||||
{
|
||||
return &m_pro_clListOfChildNodes;
|
||||
}
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
//*********************************************************************
|
||||
void IAD_EditorTreeNode::m_fn_vSetListOfChildNodes (IAD_tdListOfNodes *pclListOfChildNodes)
|
||||
{
|
||||
// cleaning
|
||||
IAD_EditorTreeNode *pclWasteNode;
|
||||
POSITION pos = m_pro_clListOfChildNodes . GetHeadPosition ();
|
||||
while (pos != NULL)
|
||||
{
|
||||
pclWasteNode = m_pro_clListOfChildNodes . GetNext (pos);
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
if (! pclListOfChildNodes -> Find (pclWasteNode))
|
||||
delete pclWasteNode;
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
}
|
||||
m_pro_clListOfChildNodes . RemoveAll ();
|
||||
|
||||
// add the new ones
|
||||
pos = pclListOfChildNodes -> GetHeadPosition ();
|
||||
while (pos != NULL)
|
||||
{
|
||||
m_pro_clListOfChildNodes . AddTail (pclListOfChildNodes -> GetNext (pos));
|
||||
}
|
||||
}
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
//*********************************************************************
|
||||
IAD_EditorTreeNode *IAD_EditorTreeNode::m_pub_fn_pclGetParentNode()
|
||||
{
|
||||
return m_pro_pclParentNode;
|
||||
}
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
//*********************************************************************
|
||||
IAD_EditorTreeNode *IAD_EditorTreeNode::m_fn_pclGetBehaviourParentNode()
|
||||
{
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
|
||||
IAD_EditorTreeNode *pclBehaviourNode = this;
|
||||
|
||||
while (pclBehaviourNode && pclBehaviourNode -> m_pub_fn_tdeGetNodeType () != AIDebug_E_SecTyp_ReflexOrAI)
|
||||
{
|
||||
pclBehaviourNode = pclBehaviourNode -> m_pub_fn_pclGetParentNode ();
|
||||
}
|
||||
|
||||
return pclBehaviourNode;
|
||||
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
// CG PB DEBUGGER
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
void IAD_EditorTreeNode::m_fn_vAddExecutedNodes (void)
|
||||
{
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
// for me
|
||||
if (m_pro_tdeNodeType != AIDebug_E_SecTyp_ReflexOrAI)
|
||||
{
|
||||
m_pri_pclParentActor -> m_fn_vSetOneExecutedNode (m_p_stMotorNode);
|
||||
}
|
||||
#endif
|
||||
// CG PB DEBUGGER
|
||||
|
||||
// and for all the childs
|
||||
IAD_EditorTreeNode *pclChildNode;
|
||||
|
||||
POSITION pos = m_pro_clListOfChildNodes . GetHeadPosition ();
|
||||
while (pos != NULL)
|
||||
{
|
||||
pclChildNode = m_pro_clListOfChildNodes . GetNext (pos);
|
||||
pclChildNode -> m_fn_vAddExecutedNodes ();
|
||||
}
|
||||
}
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
//*********************************************************************
|
||||
IAD_EditorTreeNode *IAD_EditorTreeNode::m_fn_pclGetEngineLoopParentNode()
|
||||
{
|
||||
IAD_EditorTreeNode *pclBehaviourNode = this;
|
||||
|
||||
while (pclBehaviourNode && pclBehaviourNode -> m_pub_fn_tdeGetNodeType () != AIDebug_E_SecTyp_EngineLoop)
|
||||
{
|
||||
pclBehaviourNode = pclBehaviourNode -> m_pub_fn_pclGetParentNode ();
|
||||
}
|
||||
|
||||
ASSERT (pclBehaviourNode);
|
||||
return pclBehaviourNode;
|
||||
}
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
//*********************************************************************
|
||||
tdstNodeInterpret *IAD_EditorTreeNode::m_pub_fn_p_stGetMotorNode()
|
||||
{
|
||||
return m_p_stMotorNode;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
CPA_Actor *IAD_EditorTreeNode::m_pub_fn_pclGetParentActor()
|
||||
{
|
||||
return m_pri_pclParentActor;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
short IAD_EditorTreeNode::m_pub_fn_wGetDepth()
|
||||
{
|
||||
return m_pro_wDepth;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
HTREEITEM IAD_EditorTreeNode::m_pub_fn_hGetTreeItem()
|
||||
{
|
||||
return m_pro_hTreeItem;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
void IAD_EditorTreeNode::m_pub_fn_vSetTreeItem(HTREEITEM _hTreeItem)
|
||||
{
|
||||
m_pro_hTreeItem = _hTreeItem;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
enum AIDebug_tdeSectionType_ IAD_EditorTreeNode::m_pub_fn_tdeGetNodeType()
|
||||
{
|
||||
return m_pro_tdeNodeType;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
CString IAD_EditorTreeNode::m_pub_fn_csGetNodeType()
|
||||
{
|
||||
return m_pro_csNodeType;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
CString IAD_EditorTreeNode::m_pub_fn_csGetNodeName()
|
||||
{
|
||||
return m_pro_csNodeName;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
CString IAD_EditorTreeNode::m_pub_fn_csGetNodeValue()
|
||||
{
|
||||
return m_pro_csValue;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
CString IAD_EditorTreeNode::m_pub_fn_csGetNodeReturnValue()
|
||||
{
|
||||
return m_pro_csReturnValue;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
CString IAD_EditorTreeNode::m_pub_fn_csGetNodeAdditionnalInfo()
|
||||
{
|
||||
return m_pro_csNodeAdditionnalInfo;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
void IAD_EditorTreeNode::m_pub_fn_vSetNodeAdditionnalInfo(CString _csNewNodeInfo)
|
||||
{
|
||||
m_pro_csNodeAdditionnalInfo = _csNewNodeInfo;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
CString IAD_EditorTreeNode::m_pub_fn_csGetCompleteString()
|
||||
{
|
||||
return m_pro_csCompleteString;
|
||||
}
|
||||
|
||||
|
||||
//Tree construction
|
||||
////////////////////
|
||||
|
||||
//*********************************************************************
|
||||
IAD_EditorTreeNode *IAD_EditorTreeNode::m_pub_fn_pclAddChildNode(enum AIDebug_tdeSectionType_ _tdeNodeType,
|
||||
tdstNodeInterpret *_p_stNode,
|
||||
CPA_Actor *_pclParentActor,
|
||||
CString _csNewElementType,
|
||||
CString _csNewElementName,
|
||||
CString _csNewElementValue,
|
||||
CString _csNewElemenReturnValue,
|
||||
CString _csNodeAdditionnalInfo)
|
||||
{
|
||||
IAD_EditorTreeNode *pclNewNode = new IAD_EditorTreeNode(_tdeNodeType,
|
||||
_p_stNode,
|
||||
_pclParentActor,
|
||||
this,
|
||||
m_pub_fn_wGetDepth() + 1,
|
||||
_csNewElementType,
|
||||
_csNewElementName,
|
||||
_csNewElementValue,
|
||||
_csNewElemenReturnValue,
|
||||
_csNodeAdditionnalInfo);
|
||||
//Adds to internal list
|
||||
m_pro_clListOfChildNodes.AddTail(pclNewNode);
|
||||
|
||||
return pclNewNode;
|
||||
}
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
// Description: this function add a new variable value to a given node
|
||||
// Note: it uses dinamic reallocation of the array of values
|
||||
//*********************************************************************
|
||||
#define BLOCK_INCREMENT 20
|
||||
void IAD_EditorTreeNode :: m_fn_vAddVariableValue (tdstGetSetParam *p_tdstValue)
|
||||
{
|
||||
// realloc
|
||||
if (m_lNumberOfVariableValues % BLOCK_INCREMENT == 0)
|
||||
m_a_tdstArrayOfVariableValues = (tdstGetSetParam *) realloc (m_a_tdstArrayOfVariableValues, (m_lNumberOfVariableValues + BLOCK_INCREMENT) * sizeof (tdstGetSetParam));
|
||||
|
||||
if (m_a_tdstArrayOfVariableValues)
|
||||
m_a_tdstArrayOfVariableValues [m_lNumberOfVariableValues ++] = * p_tdstValue;
|
||||
}
|
||||
#undef BLOCK_INCREMENT
|
||||
|
||||
//*********************************************************************
|
||||
tdstGetSetParam * IAD_EditorTreeNode :: m_fn_p_tdstGetVariableValue (long lIndex)
|
||||
{
|
||||
if (lIndex >= 0 && lIndex < m_lNumberOfVariableValues)
|
||||
return & m_a_tdstArrayOfVariableValues [lIndex];
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
////////////////////////
|
||||
// Private Functions //
|
||||
////////////////////////
|
||||
|
||||
//*********************************************************************
|
||||
CString IAD_EditorTreeNode::m_pri_fn_csComputeTotalName()
|
||||
{
|
||||
CString csTotalName = m_pro_csNodeType;
|
||||
|
||||
if ( !m_pro_csNodeName.IsEmpty() )
|
||||
csTotalName += CString(" ") + m_pro_csNodeName;
|
||||
if ( !m_pro_csValue.IsEmpty() )
|
||||
csTotalName += CString(" = ") + m_pro_csValue;
|
||||
if ( !m_pro_csReturnValue.IsEmpty() )
|
||||
csTotalName += CString(" [ returns ") + m_pro_csReturnValue + " ]";
|
||||
|
||||
return csTotalName;
|
||||
}
|
||||
|
135
Rayman_X/cpa/tempgrp/TID/Src/IADFmMn.cpp
Normal file
@@ -0,0 +1,135 @@
|
||||
// MainFrm.cpp : implementation of the IAD_MainFrame class
|
||||
////////////////////////////////////////////////////////
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "IADFmMn.hpp"
|
||||
|
||||
#include "IADVwMn.hpp"
|
||||
#include "IADVwRst.hpp"
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
#include "IADVrVw.hpp"
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
#include "IADCnst.hpp"
|
||||
#include "_IADItrf.hpp"
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
//HCURSOR g_hcursor_CloseHand;
|
||||
//HCURSOR g_hcursor_UpDownHand;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_MainFrame
|
||||
BEGIN_MESSAGE_MAP(IAD_MainFrame, CSplitFrame)
|
||||
//{{AFX_MSG_MAP(IAD_MainFrame)
|
||||
ON_WM_HELPINFO()
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_MainFrame construction/destruction
|
||||
|
||||
//*******************************************************************************
|
||||
IAD_MainFrame::IAD_MainFrame()
|
||||
{
|
||||
//Loads a special curosr
|
||||
// g_hcursor_UpDownHand = AfxGetApp()->LoadCursor(IDC_CURSOR_UPDOWN_HAND);
|
||||
// g_hcursor_CloseHand = AfxGetApp()->LoadCursor(IDC_CURSOR_CLOSED_HAND);
|
||||
}
|
||||
|
||||
//*******************************************************************************
|
||||
IAD_MainFrame::~IAD_MainFrame()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//*******************************************************************************
|
||||
BOOL IAD_MainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
|
||||
{
|
||||
if ( !(CreateSplitter(C_cVerticalSplitter, 3)) )
|
||||
return FALSE;
|
||||
|
||||
HINSTANCE hOldInstance = AfxGetResourceHandle();
|
||||
AfxSetResourceHandle(g_stIADDLLIdentity.hModule);
|
||||
|
||||
//Creates MS view
|
||||
if ( !CreateView(1,
|
||||
RUNTIME_CLASS(IAD_ResultView),
|
||||
"Results",
|
||||
350)
|
||||
)
|
||||
return FALSE;
|
||||
|
||||
//Creates Control view
|
||||
if ( !CreateView(0,
|
||||
RUNTIME_CLASS(IAD_ControlView),
|
||||
"Actors Selection",
|
||||
190)
|
||||
)
|
||||
return FALSE;
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
//Creates Variable view
|
||||
if ( !CreateView(2,
|
||||
RUNTIME_CLASS(IAD_VariableView),
|
||||
"View Variables",
|
||||
50)
|
||||
)
|
||||
return FALSE;
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
//Manually calls OnInitialUpdate for all views !!!!!
|
||||
IAD_ResultView *pclMSView = (IAD_ResultView *)m_fn_p_oGetPane(1);
|
||||
pclMSView->OnInitialUpdate();
|
||||
|
||||
IAD_ControlView *pclControlView = (IAD_ControlView *)m_fn_p_oGetPane(0);
|
||||
pclControlView->OnInitialUpdate();
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
IAD_VariableView *pclVariableView = (IAD_VariableView *)m_fn_p_oGetPane(2);
|
||||
pclVariableView->OnInitialUpdate();
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
AfxSetResourceHandle(hOldInstance);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
//*******************************************************************************
|
||||
BOOL IAD_MainFrame::OnHelpInfo(HELPINFO* pHelpInfo)
|
||||
{
|
||||
::WinHelp(m_hWnd,
|
||||
LPCTSTR(g_pclInterface->m_clDocument.m_csHelpFileNameAndPath),
|
||||
HELP_FINDER,
|
||||
0);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
//*******************************************************************************
|
||||
//*******************************************************************************
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_MainFrame diagnostics
|
||||
|
||||
#ifdef _DEBUG
|
||||
void IAD_MainFrame::AssertValid() const
|
||||
{
|
||||
CFrameWnd::AssertValid();
|
||||
}
|
||||
|
||||
void IAD_MainFrame::Dump(CDumpContext& dc) const
|
||||
{
|
||||
CFrameWnd::Dump(dc);
|
||||
}
|
||||
|
||||
#endif //_DEBUG
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_MainFrame message handlers
|
||||
|
||||
|
125
Rayman_X/cpa/tempgrp/TID/Src/IADGlob.cpp
Normal file
@@ -0,0 +1,125 @@
|
||||
// IA Debugger : Global Functions
|
||||
//
|
||||
// YB
|
||||
//
|
||||
//////////////////////////////////////////////
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "IADGlob.hpp"
|
||||
#include "_IADItrf.hpp"
|
||||
|
||||
// For "IncAI.h" !!
|
||||
#include "ACP_Base.h"
|
||||
#include "IncAI.h"
|
||||
// End For "IncAI.h" !!
|
||||
|
||||
#include "x:\cpa\main\inc\_EditID.h"
|
||||
|
||||
#define TID_C_szUnknownEntryName "<< Unknown >>"
|
||||
|
||||
//*****************************************************************************************
|
||||
CString IAD_fn_csComputeValueFromGetSetParam(struct tdstGetSetParam_ *_p_tdstGetSetParam)
|
||||
{
|
||||
CString csReturnedString;
|
||||
|
||||
switch ( M_GetSetParam_Type(_p_tdstGetSetParam) )
|
||||
{
|
||||
case E_vt_Boolean:
|
||||
csReturnedString.Format("%s", (M_GetSetParam_cValue(_p_tdstGetSetParam) == 0) ? "False" : "True");
|
||||
break;
|
||||
case E_vt__128To127:
|
||||
csReturnedString.Format("%i", M_GetSetParam_cValue(_p_tdstGetSetParam));
|
||||
break;
|
||||
case E_vt_0To255:
|
||||
csReturnedString.Format("%i", M_GetSetParam_ucValue(_p_tdstGetSetParam));
|
||||
break;
|
||||
case E_vt__32768To32767:
|
||||
csReturnedString.Format("%i", M_GetSetParam_wValue(_p_tdstGetSetParam));
|
||||
break;
|
||||
case E_vt_0To65535:
|
||||
csReturnedString.Format("%i", M_GetSetParam_uwValue(_p_tdstGetSetParam));
|
||||
break;
|
||||
case E_vt_Integer:
|
||||
csReturnedString.Format("%ld", M_GetSetParam_lValue(_p_tdstGetSetParam));
|
||||
break;
|
||||
case E_vt_PositiveInteger:
|
||||
csReturnedString.Format("%u", M_GetSetParam_ulValue(_p_tdstGetSetParam));
|
||||
break;
|
||||
case E_vt_Float:
|
||||
csReturnedString.Format("%f", M_GetSetParam_xValue(_p_tdstGetSetParam));
|
||||
break;
|
||||
case E_vt_String:
|
||||
csReturnedString.Format("%s", M_GetSetParam_szString(_p_tdstGetSetParam));
|
||||
break;
|
||||
case E_vt_Vector:
|
||||
csReturnedString.Format("%f ; %f ; %f", M_GetSetParam_stVertexValue(_p_tdstGetSetParam).xX,
|
||||
M_GetSetParam_stVertexValue(_p_tdstGetSetParam).xY,
|
||||
M_GetSetParam_stVertexValue(_p_tdstGetSetParam).xZ);
|
||||
break;
|
||||
case E_vt_Family:
|
||||
csReturnedString = IAD_fn_csSearchNameFromMotorPointer((void *)NULL, C_szFamilyTypeName);
|
||||
break;
|
||||
case E_vt_Comport:
|
||||
csReturnedString = M_GetNameComport(M_GetSetParam_pComport(_p_tdstGetSetParam));
|
||||
break;
|
||||
case E_vt_Perso:
|
||||
csReturnedString = IAD_fn_csSearchNameFromMotorPointer((void *)M_GetSetParam_p_stEngineObjValue(_p_tdstGetSetParam), C_szActorInstanceTypeName);
|
||||
break;
|
||||
case E_vt_WayPoint:
|
||||
csReturnedString = IAD_fn_csSearchNameFromMotorPointer((void *)M_GetSetParam_WayPointValue(_p_tdstGetSetParam), C_szWayPointTypeName);
|
||||
break;
|
||||
//case E_vt_Way:
|
||||
// csReturnedString = IAD_fn_csSearchNameFromMotorPointer((void *)M_GetSetParam_WayValue(_p_tdstGetSetParam), C_szWayTypeName);
|
||||
// break;
|
||||
case E_vt_Action:
|
||||
csReturnedString = IAD_fn_csSearchNameFromMotorPointer((void *)M_GetSetParam_ActionValue(_p_tdstGetSetParam), C_szStateTypeName);
|
||||
break;
|
||||
// Shaitan Clean Env {
|
||||
/*
|
||||
case E_vt_Surface:
|
||||
csReturnedString = IAD_fn_csSearchNameFromMotorPointer((void *)M_GetSetParam_SurfaceValue(_p_tdstGetSetParam), C_szSurfaceTypeName);
|
||||
break;
|
||||
*/
|
||||
//End Shaitan Clean Env }
|
||||
case E_vt_LipsSynchro:
|
||||
csReturnedString = IAD_fn_csSearchNameFromMotorPointer((void *)M_GetSetParam_hLipsSynchro(_p_tdstGetSetParam), C_szLipSynchroTypeName);
|
||||
break;
|
||||
case E_vt_ObjectTable:
|
||||
csReturnedString = IAD_fn_csSearchNameFromMotorPointer((void *)M_GetSetParam_hObjectTable(_p_tdstGetSetParam), C_szObjectTableTypeNAme);
|
||||
break;
|
||||
case E_vt_SuperObject:
|
||||
csReturnedString = IAD_fn_csSearchNameFromMotorPointer((void *)M_GetSetParam_SectorValue(_p_tdstGetSetParam), /*C_szObjectTableTypeNAme*/"");
|
||||
break;
|
||||
// Shaitan Clean Env {
|
||||
/*
|
||||
case E_vt_Environment:
|
||||
csReturnedString = IAD_fn_csSearchNameFromMotorPointer((void *)M_GetSetParam_EnvironmentValue(_p_tdstGetSetParam), C_szEnvironmentTypeName);
|
||||
break;
|
||||
*/
|
||||
//End Shaitan Clean Env }
|
||||
case E_vt_SoundEvent:
|
||||
csReturnedString = IAD_fn_csSearchNameFromMotorPointer((void *)M_GetSetParam_SoundEvent(_p_tdstGetSetParam), C_szSoundEventTypeName);
|
||||
break;
|
||||
|
||||
default:
|
||||
csReturnedString = "Unknown";
|
||||
break;
|
||||
};
|
||||
|
||||
return csReturnedString;
|
||||
}
|
||||
|
||||
//*****************************************************************************************
|
||||
CString IAD_fn_csSearchNameFromMotorPointer(void *_pvMotorData,
|
||||
CString _csEditorObjectType)
|
||||
{
|
||||
CString csReturnedString;
|
||||
|
||||
CPA_BaseObject *p_clBO = g_pclInterface->GetMainWorld()->fn_p_oFindObjectWithEngine(_pvMotorData, _csEditorObjectType);
|
||||
|
||||
csReturnedString = TID_C_szUnknownEntryName;
|
||||
if ( p_clBO != NULL )
|
||||
csReturnedString = p_clBO->GetName();
|
||||
|
||||
return csReturnedString;
|
||||
}
|
76
Rayman_X/cpa/tempgrp/TID/Src/IADIni.cpp
Normal file
@@ -0,0 +1,76 @@
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "IADDoc.hpp"
|
||||
#include "IADDgIf.hpp"
|
||||
#include "IADLnkMt.hpp"
|
||||
|
||||
|
||||
/////////////////////////////////////
|
||||
// Ini file implementation //
|
||||
/////////////////////////////////////
|
||||
|
||||
#define IAD_C_szInitSection_General "General"
|
||||
#define IAD_C_szInitEntry_Colors "Colors"
|
||||
|
||||
|
||||
//***************************************************************************
|
||||
BOOL IAD_MyDocument::m_fn_bReadIniFile()
|
||||
{
|
||||
CFile file;
|
||||
if ( !file.Open(m_csIniFileName, CFile::modeRead) )
|
||||
{
|
||||
CString csMessage = "The Ini file ""IA_Debug.ini"" is not present in ";
|
||||
csMessage += m_csIniFileName.Left(m_csIniFileName.ReverseFind('\\'));
|
||||
csMessage += "\nParameters are default ones, but they will be saved when you exit this application.";
|
||||
IAD_InformationDialog dial(NULL, csMessage);
|
||||
dial.DoModal();
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
file.Close();
|
||||
|
||||
BOOL bReturn = TRUE;
|
||||
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
//Reads colors
|
||||
if ( bReturn )
|
||||
bReturn = GetPrivateProfileStruct(IAD_C_szInitSection_General,
|
||||
IAD_C_szInitEntry_Colors,
|
||||
(void *)(&g_a_colrefTypeColor),
|
||||
sizeof(g_a_colrefTypeColor),
|
||||
LPCTSTR(m_csIniFileName));
|
||||
|
||||
#else
|
||||
bReturn = FALSE;
|
||||
#endif
|
||||
// CG PB DEBUGGER
|
||||
return bReturn;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
BOOL IAD_MyDocument::m_fn_bWriteIniFile()
|
||||
{
|
||||
BOOL bReturn = TRUE;
|
||||
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
//Writes colors Array
|
||||
if ( bReturn )
|
||||
bReturn = WritePrivateProfileStruct(IAD_C_szInitSection_General,
|
||||
IAD_C_szInitEntry_Colors,
|
||||
(void *)(&g_a_colrefTypeColor),
|
||||
sizeof(g_a_colrefTypeColor),
|
||||
LPCTSTR(m_csIniFileName));
|
||||
|
||||
#else
|
||||
bReturn = FALSE;
|
||||
#endif
|
||||
// CG PB DEBUGGER
|
||||
return bReturn;
|
||||
}
|
||||
|
124
Rayman_X/cpa/tempgrp/TID/Src/IADLnkMt.cpp
Normal file
@@ -0,0 +1,124 @@
|
||||
// Link between trace element type and string to represent it in editor Tree
|
||||
//
|
||||
// YB
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "IADLnkMt.hpp"
|
||||
|
||||
#include "IADClBck.hpp"
|
||||
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
//Global arrays
|
||||
td_p_fn_vComputeStringCallBack g_a_p_fnArrayOfGetTypeCallBacks[AIDebug_E_SecTyp_NbOfSectionType];
|
||||
td_p_fn_vComputeStringCallBack g_a_p_fnArrayOfGetNameCallBacks[AIDebug_E_SecTyp_NbOfSectionType];
|
||||
td_p_fn_vComputeStringCallBack g_a_p_fnArrayOfGetValueCallBacks[AIDebug_E_SecTyp_NbOfSectionType];
|
||||
td_p_fn_vComputeStringCallBack g_a_p_fnArrayOfGetReturnValueCallBacks[AIDebug_E_SecTyp_NbOfSectionType];
|
||||
COLORREF g_a_colrefTypeColor[AIDebug_E_SecTyp_NbOfSectionType];
|
||||
|
||||
#define TID_M_SetCallBackForEntryType(EntryName) \
|
||||
g_a_p_fnArrayOfGetTypeCallBacks[AIDebug_E_SecTyp_##EntryName] = IAD_fn_vGetTypeCallBack_##EntryName; \
|
||||
g_a_p_fnArrayOfGetNameCallBacks[AIDebug_E_SecTyp_##EntryName] = IAD_fn_vGetNameCallBack_##EntryName; \
|
||||
g_a_p_fnArrayOfGetValueCallBacks[AIDebug_E_SecTyp_##EntryName] = IAD_fn_vGetValueCallBack_##EntryName; \
|
||||
g_a_p_fnArrayOfGetReturnValueCallBacks[AIDebug_E_SecTyp_##EntryName] = IAD_fn_vGetReturnValueCallBack_##EntryName;
|
||||
#endif // CG PB DEBUGGER }
|
||||
|
||||
//******************************************************************************
|
||||
void IAD_g_fn_vInitGetStringCallBacks()
|
||||
{
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
|
||||
//First Init for Arrays
|
||||
for (long lI = 0; lI < AIDebug_E_SecTyp_NbOfSectionType; lI ++ )
|
||||
{
|
||||
g_a_p_fnArrayOfGetTypeCallBacks[lI] = NULL;
|
||||
g_a_p_fnArrayOfGetValueCallBacks[lI] = NULL;
|
||||
g_a_p_fnArrayOfGetReturnValueCallBacks[lI] = NULL;
|
||||
}
|
||||
|
||||
//True inits
|
||||
TID_M_SetCallBackForEntryType(EngineLoop)
|
||||
TID_M_SetCallBackForEntryType(ReflexOrAI)
|
||||
TID_M_SetCallBackForEntryType(CurrentComport)
|
||||
TID_M_SetCallBackForEntryType(Field)
|
||||
TID_M_SetCallBackForEntryType(Constant)
|
||||
TID_M_SetCallBackForEntryType(DsgVarId)
|
||||
TID_M_SetCallBackForEntryType(DsgVar)
|
||||
TID_M_SetCallBackForEntryType(Button)
|
||||
TID_M_SetCallBackForEntryType(EnvRef)
|
||||
TID_M_SetCallBackForEntryType(SectorRef)
|
||||
TID_M_SetCallBackForEntryType(SurfaceRef)
|
||||
TID_M_SetCallBackForEntryType(PersoRef)
|
||||
TID_M_SetCallBackForEntryType(ActionRef)
|
||||
TID_M_SetCallBackForEntryType(Real)
|
||||
TID_M_SetCallBackForEntryType(Vector)
|
||||
TID_M_SetCallBackForEntryType(ConstantVector)
|
||||
// TID_M_SetCallBackForEntryType(Way)
|
||||
TID_M_SetCallBackForEntryType(WayPoint)
|
||||
TID_M_SetCallBackForEntryType(Module)
|
||||
// TID_M_SetCallBackForEntryType(ChannelNumber)
|
||||
TID_M_SetCallBackForEntryType(Mask)
|
||||
TID_M_SetCallBackForEntryType(String)
|
||||
TID_M_SetCallBackForEntryType(LipsSynchroRef)
|
||||
TID_M_SetCallBackForEntryType(SoundEventRef)
|
||||
TID_M_SetCallBackForEntryType(FamilyRef)
|
||||
TID_M_SetCallBackForEntryType(BeginMacro)
|
||||
TID_M_SetCallBackForEntryType(EndMacro)
|
||||
TID_M_SetCallBackForEntryType(Comport)
|
||||
TID_M_SetCallBackForEntryType(KeyWord)
|
||||
TID_M_SetCallBackForEntryType(Condition)
|
||||
TID_M_SetCallBackForEntryType(Function)
|
||||
TID_M_SetCallBackForEntryType(Operator)
|
||||
TID_M_SetCallBackForEntryType(Procedure)
|
||||
TID_M_SetCallBackForEntryType(MetaAction)
|
||||
TID_M_SetCallBackForEntryType(BeginMetaAction)
|
||||
// TID_M_SetCallBackForEntryType(TextRef)
|
||||
// TID_M_SetCallBackForEntryType(FontRef)
|
||||
// TID_M_SetCallBackForEntryType(ParticleGenerator)
|
||||
|
||||
//Colors
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_EngineLoop] = RGB(150,150,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_ReflexOrAI] = RGB(175,150,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_CurrentComport] = RGB(200,150,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_Field] = RGB(225,150,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_Constant] = RGB(250,150,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_DsgVarId] = RGB(150,175,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_DsgVar] = RGB(150,200,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_Button] = RGB(150,225,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_EnvRef] = RGB(150,250,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_SectorRef] = RGB(150,150,175);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_SurfaceRef] = RGB(150,150,200);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_PersoRef] = RGB(150,150,225);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_ActionRef] = RGB(150,150,250);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_Real] = RGB(175,150,175);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_Vector] = RGB(175,150,200);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_ConstantVector] = RGB(175,150,225);
|
||||
// g_a_colrefTypeColor[AIDebug_E_SecTyp_Way] = RGB(175,150,225);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_WayPoint] = RGB(175,175,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_Module] = RGB(175,200,150);
|
||||
// g_a_colrefTypeColor[AIDebug_E_SecTyp_ChannelNumber] = RGB(175,225,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_Mask] = RGB(175,250,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_String] = RGB(200,150,175);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_LipsSynchroRef] = RGB(200,175,175);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_SoundEventRef] = RGB(200,200,175);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_FamilyRef] = RGB(200,225,175);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_BeginMacro] = RGB(200,250,175);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_EndMacro] = RGB(200,200,150);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_Comport] = RGB(200,200,175);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_KeyWord] = RGB(200,200,200);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_Condition] = RGB(200,200,225);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_Function] = RGB(200,200,250);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_Operator] = RGB(150,200,200);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_Procedure] = RGB(175,200,200);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_MetaAction] = RGB(100,175,200);
|
||||
g_a_colrefTypeColor[AIDebug_E_SecTyp_BeginMetaAction] = RGB(100,200,200);
|
||||
// g_a_colrefTypeColor[AIDebug_E_SecTyp_TextRef] = RGB(100,150,150);
|
||||
// g_a_colrefTypeColor[AIDebug_E_SecTyp_FontRef] = RGB(150,100,150);
|
||||
// g_a_colrefTypeColor[AIDebug_E_SecTyp_ParticleGenerator] = RGB(150,150,100);
|
||||
// g_a_colrefTypeColor[] = RGB();
|
||||
|
||||
#endif // CG PB DEBUGGER
|
||||
}
|
156
Rayman_X/cpa/tempgrp/TID/Src/IADLstCt.cpp
Normal file
@@ -0,0 +1,156 @@
|
||||
// IADLstCt.cpp : implementation file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "IADLstCt.hpp"
|
||||
|
||||
#include "IADVwMn.hpp"
|
||||
#include "IADDgSN.hpp"
|
||||
#include "_IADItrf.hpp"
|
||||
|
||||
//External modules
|
||||
#include "AI.h"
|
||||
#include "OAc.h"
|
||||
//End External modules
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_ListControl
|
||||
|
||||
BEGIN_MESSAGE_MAP(IAD_ListControl, CListCtrl)
|
||||
//{{AFX_MSG_MAP(IAD_ListControl)
|
||||
ON_WM_LBUTTONUP()
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
//***************************************************************************
|
||||
IAD_ListControl::IAD_ListControl()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
IAD_ListControl::~IAD_ListControl()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_ListControl message handlers
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_ListControl::OnLButtonUp(UINT nFlags, CPoint point)
|
||||
{
|
||||
//Looks where user clicked
|
||||
CRect crWindowRect;
|
||||
GetWindowRect(crWindowRect);
|
||||
ScreenToClient(&crWindowRect);
|
||||
|
||||
CPoint cpLocalPoint = point;
|
||||
|
||||
short wFirstCol = GetColumnWidth(0);
|
||||
short wSecondCol = GetColumnWidth(1);
|
||||
short wLastCol = GetColumnWidth(4);
|
||||
|
||||
//If 'Size' column was clicked
|
||||
if ( (cpLocalPoint.x > (crWindowRect.right - wLastCol))
|
||||
&& (cpLocalPoint.x < crWindowRect.right)
|
||||
)
|
||||
{
|
||||
//Gets the corresponding Actor
|
||||
IAD_td_stInternalActorDescription *p_stSelectedInternalActor = NULL;
|
||||
BOOL bMustStop = FALSE;
|
||||
long lI;
|
||||
CRect crItemRect;
|
||||
for (lI = 0; (lI < GetItemCount()) && (!bMustStop); lI ++)
|
||||
{
|
||||
GetItemRect(lI, &crItemRect, LVIR_BOUNDS);
|
||||
|
||||
if ( (cpLocalPoint.y > crItemRect.top)
|
||||
&& (cpLocalPoint.y < crItemRect.bottom)
|
||||
)
|
||||
{
|
||||
p_stSelectedInternalActor = (IAD_td_stInternalActorDescription *)GetItemData(lI);
|
||||
bMustStop = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
if ( p_stSelectedInternalActor != NULL )
|
||||
{
|
||||
//Displays an Edit to get new value
|
||||
CPoint cpTopLeft;
|
||||
cpTopLeft.x = crItemRect.right;
|
||||
cpTopLeft.y = crItemRect.top;
|
||||
ClientToScreen(&cpTopLeft);
|
||||
cpTopLeft.x -= wLastCol;
|
||||
IAD_Dialog_SetNumber SNDial(cpTopLeft,
|
||||
p_stSelectedInternalActor->lNumberOfEntries,
|
||||
this);
|
||||
|
||||
if ( SNDial.DoModal() == IDOK )
|
||||
{
|
||||
p_stSelectedInternalActor->lNumberOfEntries = SNDial.m_pub_fn_lGetNumber();
|
||||
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
//Sets motor part
|
||||
AIDebug_fn_vResizeTrace(g_pclInterface->m_clDocument.m_pub_fn_p_stGetMindOfActor(p_stSelectedInternalActor), (short)p_stSelectedInternalActor->lNumberOfEntries);
|
||||
#endif // { CG PB DEBUGGER
|
||||
|
||||
CString csText;
|
||||
csText.Format("%ld", p_stSelectedInternalActor->lNumberOfEntries);
|
||||
SetItemText(--lI, 4, csText);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//If 'On' column was clicked
|
||||
if ( (cpLocalPoint.x > (crWindowRect.left + wFirstCol))
|
||||
&& (cpLocalPoint.x < (crWindowRect.left + wFirstCol + wSecondCol))
|
||||
)
|
||||
{
|
||||
//Gets the corresponding Actor
|
||||
IAD_td_stInternalActorDescription *p_stSelectedInternalActor = NULL;
|
||||
BOOL bMustStop = FALSE;
|
||||
long lI;
|
||||
CRect crItemRect;
|
||||
for (lI = 0; (lI < GetItemCount()) && (!bMustStop); lI ++)
|
||||
{
|
||||
GetItemRect(lI, &crItemRect, LVIR_LABEL);
|
||||
|
||||
if ( (cpLocalPoint.y > crItemRect.top)
|
||||
&& (cpLocalPoint.y < crItemRect.bottom)
|
||||
)
|
||||
{
|
||||
p_stSelectedInternalActor = (IAD_td_stInternalActorDescription *)GetItemData(lI);
|
||||
bMustStop = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
if ( p_stSelectedInternalActor != NULL )
|
||||
{
|
||||
p_stSelectedInternalActor->bTraceIsEnabled = !p_stSelectedInternalActor->bTraceIsEnabled;
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
//for the debug info
|
||||
p_stSelectedInternalActor -> pclActor -> m_fn_vMustBuildDebugInfo (p_stSelectedInternalActor->bTraceIsEnabled);
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
//Sets motor part
|
||||
AIDebug_fn_vSetEnable(g_pclInterface->m_clDocument.m_pub_fn_p_stGetMindOfActor(p_stSelectedInternalActor), p_stSelectedInternalActor->bTraceIsEnabled);
|
||||
#endif // CG PB DEBUGGER
|
||||
|
||||
SetItemText(--lI, 1, p_stSelectedInternalActor->bTraceIsEnabled ? "X" : "");
|
||||
}
|
||||
}
|
||||
|
||||
CListCtrl::OnLButtonUp(nFlags, point);
|
||||
}
|
487
Rayman_X/cpa/tempgrp/TID/Src/IADTrCtl.cpp
Normal file
@@ -0,0 +1,487 @@
|
||||
// IADTrCtl.cpp : implementation file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#include "StdAfx.h"
|
||||
#define HieFriend
|
||||
|
||||
#include "IADTrCtl.hpp"
|
||||
|
||||
#include "IADEdtTr.hpp"
|
||||
#include "IADLnkMt.hpp"
|
||||
#include "_IADItrf.hpp"
|
||||
#include "IADVwRst.hpp"
|
||||
#include "IAD_Res.h"
|
||||
#include "x:/cpa/tempgrp/tia/inc/ai_intf.hpp"
|
||||
#include "x:/cpa/main/inc/_EditId.h"
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
#include "iadvrvw.hpp"
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
//External Modules
|
||||
#include "OAc.h"
|
||||
//End of External Modules
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
#define IAD_C_PLUS_MINUS_BITMAP_SIZE 9
|
||||
|
||||
#define IAD_C_STATIC_TEXT_COLOR RGB(255,255,255)
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_TreeControl
|
||||
|
||||
BEGIN_MESSAGE_MAP(IAD_TreeControl, CTreeCtrl)
|
||||
//{{AFX_MSG_MAP(IAD_TreeControl)
|
||||
ON_WM_PAINT()
|
||||
ON_NOTIFY_REFLECT(TVN_SELCHANGED, OnSelchanged)
|
||||
ON_WM_CTLCOLOR_REFLECT()
|
||||
ON_NOTIFY_REFLECT(TVN_KEYDOWN, OnKeydown)
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
//***************************************************************************
|
||||
IAD_TreeControl::IAD_TreeControl()
|
||||
{
|
||||
m_pri_clBrush.CreateSolidBrush(RGB(50,50,50));
|
||||
m_pri_clPen.CreatePen(PS_SOLID, 1, RGB(230,230,230));
|
||||
//m_pri_clPen.CreatePen(PS_DOT, 1, RGB(230,230,230));
|
||||
m_pri_cbBitmapPlus.LoadBitmap(IDB_BITMAP_PLUS);
|
||||
m_pri_cbBitmapMinus.LoadBitmap(IDB_BITMAP_MINUS);
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
m_bViewReflex = TRUE;
|
||||
m_bViewAI = TRUE;
|
||||
|
||||
m_pclSelectedBehaviourNode = NULL;
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
IAD_TreeControl::~IAD_TreeControl()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_TreeControl message handlers
|
||||
|
||||
//***************************************************************************
|
||||
BOOL IAD_TreeControl::m_pub_fn_bCreate(CWnd *_pclParentWnd)
|
||||
{
|
||||
BOOL bReturn = CTreeCtrl::Create( WS_VISIBLE | WS_CHILD | WS_BORDER | TVS_HASLINES | TVS_LINESATROOT | TVS_HASBUTTONS | TVS_SHOWSELALWAYS | TVS_DISABLEDRAGDROP,
|
||||
CRect(0,0,0,0),
|
||||
_pclParentWnd,
|
||||
10069);
|
||||
|
||||
return bReturn;
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_TreeControl::m_pub_fn_vSelectAndShowItem(HTREEITEM _hTreeItem)
|
||||
{
|
||||
if ( _hTreeItem != NULL )
|
||||
{
|
||||
//Closes all
|
||||
m_pri_fn_vCollapseAllButNotThis(_hTreeItem);
|
||||
|
||||
//Shows
|
||||
EnsureVisible(_hTreeItem);
|
||||
|
||||
//Selects
|
||||
SelectItem(_hTreeItem);
|
||||
}
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_TreeControl::m_pri_fn_vCollapseAllButNotThis(HTREEITEM _hTreeItemToKeepExpanded)
|
||||
{
|
||||
//Gets first parent of given Item
|
||||
HTREEITEM hFirsParent = GetParentItem(_hTreeItemToKeepExpanded);
|
||||
HTREEITEM hParentOfParent = GetParentItem(hFirsParent);
|
||||
while ( hParentOfParent != NULL )
|
||||
{
|
||||
hFirsParent = hParentOfParent;
|
||||
hParentOfParent = GetParentItem(hFirsParent);
|
||||
}
|
||||
|
||||
HTREEITEM hCurrenItem = GetNextItem(NULL, TVGN_ROOT);
|
||||
|
||||
while ( hCurrenItem != NULL )
|
||||
{
|
||||
if ( hCurrenItem != hFirsParent )
|
||||
Expand(hCurrenItem, TVE_COLLAPSE);
|
||||
|
||||
hCurrenItem = GetNextItem(hCurrenItem, TVGN_NEXT);
|
||||
}
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_TreeControl::OnPaint()
|
||||
{
|
||||
CPaintDC dc(this); // device context for painting
|
||||
|
||||
dc.SetTextColor(RGB(255,0,0));
|
||||
dc.SetBkMode(TRANSPARENT);
|
||||
dc.SelectObject(GetFont());
|
||||
|
||||
CDC memDC;
|
||||
memDC.CreateCompatibleDC(&dc);
|
||||
|
||||
//Gets current visible Rectangle for the View
|
||||
CRect crVisibleRect;
|
||||
GetClientRect(crVisibleRect);
|
||||
|
||||
//Re-draws visible Items lines
|
||||
HTREEITEM hCurrentTreeItem = GetFirstVisibleItem();
|
||||
CRect crCurrentRect;
|
||||
IAD_EditorTreeNode *pclCurrentNode;
|
||||
BOOL bItemIsSelected;
|
||||
BOOL bItemIsDevelopped;
|
||||
short wX, wY;
|
||||
BOOL bMustGoOn = TRUE;
|
||||
|
||||
while ( (hCurrentTreeItem != NULL) && (bMustGoOn) )
|
||||
{
|
||||
bItemIsSelected = ( (GetItemState(hCurrentTreeItem, TVIF_STATE) & TVIS_SELECTED) != 0 );
|
||||
|
||||
//Gets Data
|
||||
pclCurrentNode = (IAD_EditorTreeNode *)GetItemData(hCurrentTreeItem);
|
||||
|
||||
//Gets rectangle
|
||||
GetItemRect(hCurrentTreeItem, &crCurrentRect, TRUE);
|
||||
|
||||
//If item is really visible
|
||||
if ( (crCurrentRect.top >= crVisibleRect.top) && (crCurrentRect.top <= crVisibleRect.bottom) )
|
||||
{
|
||||
HTREEITEM hParentItem = GetParentItem(hCurrentTreeItem);
|
||||
if ( hParentItem != NULL )
|
||||
{
|
||||
//Displays horizontal lines
|
||||
CRect crParentItemRect;
|
||||
GetItemRect(hParentItem, &crParentItemRect, TRUE);
|
||||
|
||||
dc.SelectObject(&m_pri_clPen);
|
||||
|
||||
wY = crCurrentRect.top + crCurrentRect.Height() / 2;
|
||||
dc.MoveTo(crCurrentRect.left - 1,
|
||||
wY);
|
||||
dc.LineTo(crParentItemRect.left + 3,
|
||||
wY);
|
||||
|
||||
//Displays vertical line
|
||||
wX = crParentItemRect.left + 3;
|
||||
dc.MoveTo(wX,
|
||||
crCurrentRect.top + crCurrentRect.Height() / 2);
|
||||
dc.LineTo(wX,
|
||||
(short)crParentItemRect.bottom - 2);
|
||||
}
|
||||
|
||||
// if ( bMustGoOn )
|
||||
// {
|
||||
//If Item is selected
|
||||
if ( bItemIsSelected )
|
||||
dc.FillSolidRect(&crCurrentRect, RGB(0,0,255));
|
||||
|
||||
//Sets item's text
|
||||
m_pri_fn_vDisplayText(pclCurrentNode, &dc, crCurrentRect);
|
||||
// }
|
||||
}
|
||||
else
|
||||
bMustGoOn = FALSE;
|
||||
|
||||
hCurrentTreeItem = GetNextVisibleItem(hCurrentTreeItem);
|
||||
}
|
||||
|
||||
//Re-draws visible Items
|
||||
hCurrentTreeItem = GetFirstVisibleItem();
|
||||
bMustGoOn = TRUE;
|
||||
|
||||
while ( (hCurrentTreeItem != NULL) && (bMustGoOn) )
|
||||
{
|
||||
bItemIsDevelopped = ( (GetItemState(hCurrentTreeItem, TVIF_STATE) & TVIS_EXPANDED) != 0 );
|
||||
|
||||
//Gets Data
|
||||
pclCurrentNode = (IAD_EditorTreeNode *)GetItemData(hCurrentTreeItem);
|
||||
|
||||
//Gets rectangle
|
||||
GetItemRect(hCurrentTreeItem, &crCurrentRect, TRUE);
|
||||
|
||||
//If item is really visible
|
||||
if ( (crCurrentRect.top >= crVisibleRect.top) && (crCurrentRect.top <= crVisibleRect.bottom) )
|
||||
{
|
||||
//Set's item's button
|
||||
//If Item has at least one child
|
||||
if ( GetChildItem(hCurrentTreeItem) != NULL )
|
||||
{
|
||||
//Draws a bitmap to represent '+' or '-' buttons
|
||||
if ( bItemIsDevelopped )
|
||||
memDC.SelectObject(&m_pri_cbBitmapMinus);
|
||||
else
|
||||
memDC.SelectObject(&m_pri_cbBitmapPlus);
|
||||
|
||||
wX = crCurrentRect.left - GetIndent() + 3 - IAD_C_PLUS_MINUS_BITMAP_SIZE/2;
|
||||
wY = crCurrentRect.top + (crCurrentRect.Height() - IAD_C_PLUS_MINUS_BITMAP_SIZE) / 2;
|
||||
|
||||
dc.BitBlt(wX,
|
||||
wY,
|
||||
IAD_C_PLUS_MINUS_BITMAP_SIZE, //Width
|
||||
IAD_C_PLUS_MINUS_BITMAP_SIZE, //Height
|
||||
&memDC,
|
||||
0,
|
||||
0,
|
||||
SRCCOPY);
|
||||
}
|
||||
}
|
||||
else
|
||||
bMustGoOn = FALSE;
|
||||
|
||||
hCurrentTreeItem = GetNextVisibleItem(hCurrentTreeItem);
|
||||
}
|
||||
|
||||
// Do not call CTreeCtrl::OnPaint() for painting messages
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_TreeControl::m_pri_fn_vDisplayText(IAD_EditorTreeNode *_pclNode,
|
||||
CDC *_pclDC,
|
||||
CRect crRect)
|
||||
{
|
||||
//Name
|
||||
// _pclDC->SetTextColor(RGB(255,0,0));
|
||||
long lCurrentXPos = crRect.left + 1;
|
||||
|
||||
CString csName = _pclNode->m_pub_fn_csGetNodeType();
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
// do not dispaly type if shouldn't be both displayed
|
||||
if (!((csName == "R:" && m_bViewReflex == TRUE && m_bViewAI == FALSE) ||
|
||||
(csName == "I:" && m_bViewAI == TRUE && m_bViewReflex == FALSE)))
|
||||
{
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
_pclDC->SetTextColor( g_a_colrefTypeColor[_pclNode->m_pub_fn_tdeGetNodeType()] );
|
||||
#endif // CG PB DEBUGGER }
|
||||
|
||||
_pclDC->TextOut(lCurrentXPos, crRect.top + 1, csName);
|
||||
csName += " ";
|
||||
lCurrentXPos += _pclDC->GetTextExtent(csName).cx;
|
||||
}
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
if ( !_pclNode->m_pub_fn_csGetNodeName().IsEmpty() )
|
||||
{
|
||||
_pclDC->SetTextColor(RGB(230,255,30));
|
||||
csName = _pclNode->m_pub_fn_csGetNodeName();
|
||||
|
||||
_pclDC->TextOut(lCurrentXPos, crRect.top + 1, csName);
|
||||
csName += " ";
|
||||
lCurrentXPos += _pclDC->GetTextExtent(csName).cx;
|
||||
}
|
||||
|
||||
if ( !_pclNode->m_pub_fn_csGetNodeValue().IsEmpty() )
|
||||
{
|
||||
_pclDC->SetTextColor(IAD_C_STATIC_TEXT_COLOR);
|
||||
_pclDC->TextOut(lCurrentXPos, crRect.top + 1, "= ");
|
||||
lCurrentXPos += _pclDC->GetTextExtent("= ").cx;
|
||||
|
||||
|
||||
_pclDC->SetTextColor(RGB(80,250,155));
|
||||
csName = _pclNode->m_pub_fn_csGetNodeValue();
|
||||
|
||||
_pclDC->TextOut(lCurrentXPos, crRect.top + 1, csName);
|
||||
csName += " ";
|
||||
lCurrentXPos += _pclDC->GetTextExtent(csName).cx;
|
||||
}
|
||||
|
||||
if ( !_pclNode->m_pub_fn_csGetNodeReturnValue().IsEmpty() )
|
||||
{
|
||||
_pclDC->SetTextColor(IAD_C_STATIC_TEXT_COLOR);
|
||||
_pclDC->TextOut(lCurrentXPos, crRect.top + 1, "[ returns ");
|
||||
lCurrentXPos += _pclDC->GetTextExtent("[ returns ").cx;
|
||||
|
||||
_pclDC->SetTextColor(RGB(0,250,215));
|
||||
csName = _pclNode->m_pub_fn_csGetNodeReturnValue();
|
||||
|
||||
_pclDC->TextOut(lCurrentXPos, crRect.top + 1, csName);
|
||||
csName += " ";
|
||||
lCurrentXPos += _pclDC->GetTextExtent(csName).cx;
|
||||
|
||||
_pclDC->SetTextColor(IAD_C_STATIC_TEXT_COLOR);
|
||||
_pclDC->TextOut(lCurrentXPos, crRect.top + 1, "]");
|
||||
}
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_TreeControl::OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult)
|
||||
{
|
||||
if ( !g_pclInterface->m_clDocument.m_pub_bIsDeletingTree )
|
||||
{
|
||||
NM_TREEVIEW* pNMTreeView = (NM_TREEVIEW*)pNMHDR;
|
||||
|
||||
//Re-draws unselected and newly selected Items
|
||||
CRect crRectToInvalidate;
|
||||
GetItemRect(pNMTreeView->itemOld.hItem, &crRectToInvalidate, TRUE);
|
||||
InvalidateRect(crRectToInvalidate);
|
||||
GetItemRect(pNMTreeView->itemNew.hItem, &crRectToInvalidate, TRUE);
|
||||
InvalidateRect(crRectToInvalidate);
|
||||
|
||||
if ( ( GetItemState(pNMTreeView->itemNew.hItem, TVIF_STATE) & LVIS_SELECTED) != 0 )
|
||||
{
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
//Gets corresponding Editor Node
|
||||
IAD_EditorTreeNode *pclSelectedNode = (IAD_EditorTreeNode *)GetItemData(pNMTreeView->itemNew.hItem);
|
||||
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
if (pclSelectedNode -> m_pub_fn_tdeGetNodeType () == AIDebug_E_SecTyp_EngineLoop &&
|
||||
! pclSelectedNode -> m_bSubtreeBuilded)
|
||||
{
|
||||
// build subtree
|
||||
// get the brain
|
||||
AI_tdstMind *p_stMind = M_pstGetMindOfBrain (((tdstEngineObject *) pclSelectedNode -> m_pub_fn_pclGetParentActor () -> GetStruct ()) -> h_Brain);
|
||||
// get the trace
|
||||
AIDebug_tdstTrace *p_stTrace = AI_M_p_stGetTrace (p_stMind);
|
||||
|
||||
if (pclSelectedNode -> m_uwSubtreeTraceIndex >=0)
|
||||
{
|
||||
// use the the Engine Trace from the proper place
|
||||
AIDebug_M_uwGetExplIndex (p_stTrace) = pclSelectedNode -> m_uwSubtreeTraceIndex;
|
||||
|
||||
// preparations done, so go for the subtree
|
||||
((IAD_ResultView *) GetParent ()) -> m_fn_vBuildSubtree (pclSelectedNode);//, pNMTreeView->itemNew.hItem);
|
||||
|
||||
pclSelectedNode -> m_bSubtreeBuilded = TRUE;
|
||||
pclSelectedNode -> m_uwSubtreeTraceIndex = -1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
// CG PB DEBUGGER
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
if ( g_pclInterface->m_clDocument.m_pclResultView->m_bMustSynchronize )
|
||||
{
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
// send info to the IA editor
|
||||
|
||||
if (pclSelectedNode)
|
||||
{
|
||||
IAD_EditorTreeNode *pclBehaviourSelectedNode = pclSelectedNode -> m_fn_pclGetBehaviourParentNode ();
|
||||
|
||||
if (pclBehaviourSelectedNode)
|
||||
{
|
||||
if (!(pclBehaviourSelectedNode == m_pclSelectedBehaviourNode &&
|
||||
pclBehaviourSelectedNode -> m_pub_fn_pclGetParentActor () == m_pclSelectedBehaviourNode -> m_pub_fn_pclGetParentActor ()))
|
||||
{
|
||||
CString csBehaviourName;
|
||||
|
||||
// clear the old executed nodes
|
||||
if (m_pclSelectedBehaviourNode)
|
||||
{
|
||||
csBehaviourName = m_pclSelectedBehaviourNode -> m_pub_fn_csGetNodeName ();
|
||||
m_pclSelectedBehaviourNode -> m_pub_fn_pclGetParentActor() -> m_fn_vClearExecutedNodes (csBehaviourName);
|
||||
}
|
||||
|
||||
// add the new ones
|
||||
pclBehaviourSelectedNode -> m_fn_vAddExecutedNodes ();
|
||||
|
||||
// remind the current selected behaviour
|
||||
m_pclSelectedBehaviourNode = pclBehaviourSelectedNode;
|
||||
}
|
||||
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
|
||||
// show the proper IA behaviour
|
||||
if (pclSelectedNode -> m_pub_fn_tdeGetNodeType () == AIDebug_E_SecTyp_ReflexOrAI)
|
||||
{
|
||||
// behaviour node
|
||||
pclSelectedNode -> m_pub_fn_pclGetParentActor() -> m_fn_vShowBehaviour (pclSelectedNode -> m_pub_fn_csGetNodeName ());
|
||||
}
|
||||
else
|
||||
{
|
||||
// regular node
|
||||
pclSelectedNode -> m_pub_fn_pclGetParentActor() -> m_fn_vShowBehaviour (pclSelectedNode -> m_pub_fn_p_stGetMotorNode());
|
||||
}
|
||||
#endif // CG PB DEBUGGER }
|
||||
|
||||
}
|
||||
}
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
/*
|
||||
//Gets IA DLL
|
||||
CPA_DLLBase *p_clDll = g_pclInterface->GetMainWorld()->GetToolDLLWithName(C_szDLLAIEditorName);
|
||||
if ( p_clDll != NULL )
|
||||
{
|
||||
tdstActorsIACom tdstCom;
|
||||
tdstCom.pvThis = (void *)pclSelectedNode->m_pub_fn_pclGetParentActor();
|
||||
tdstCom.pvData = (void *)pclSelectedNode->m_pub_fn_p_stGetMotorNode();
|
||||
|
||||
p_clDll->OnQueryAction(g_pclInterface, C_uiAI_ShowBehaviour, (long)(&tdstCom));
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
// Update the variable view
|
||||
IAD_EditorTreeNode *pclEngineLoop = pclSelectedNode -> m_fn_pclGetEngineLoopParentNode ();
|
||||
|
||||
g_pclInterface -> m_clDocument . m_pclVariableView -> m_fn_vUpdateVariables (pclEngineLoop);
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
}
|
||||
}
|
||||
|
||||
*pResult = 0;
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
HBRUSH IAD_TreeControl::CtlColor(CDC* pDC, UINT nCtlColor)
|
||||
{
|
||||
// TODO: Change any attributes of the DC here
|
||||
|
||||
// TODO: Return a non-NULL brush if the parent's handler should not be called
|
||||
return HBRUSH(m_pri_clBrush);
|
||||
//return NULL;
|
||||
}
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
//***************************************************************************
|
||||
void IAD_TreeControl::m_fn_vSetViewAI (BOOL bViewAI)
|
||||
{
|
||||
m_bViewAI = bViewAI;
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_TreeControl::m_fn_vSetViewReflex (BOOL bViewReflex)
|
||||
{
|
||||
m_bViewReflex = bViewReflex;
|
||||
}
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-08-
|
||||
void IAD_TreeControl::OnKeydown(NMHDR* pNMHDR, LRESULT* pResult)
|
||||
{
|
||||
TV_KEYDOWN* pTVKeyDown = (TV_KEYDOWN*)pNMHDR;
|
||||
|
||||
switch (pTVKeyDown -> wVKey)
|
||||
{
|
||||
case VK_F10:
|
||||
((IAD_ResultView *) GetParent ()) -> OnButtonNextLine ();
|
||||
|
||||
// and regain the focus, yet is lost afterwards...
|
||||
//m_pri_pclTreeControl -> SetFocus ();
|
||||
|
||||
*pResult = 0;
|
||||
break;
|
||||
|
||||
default:
|
||||
*pResult = 0;
|
||||
}
|
||||
}
|
||||
// END ROMTEAM Cristi Petrescu 98-08-
|
61
Rayman_X/cpa/tempgrp/TID/Src/IADTrVw.cpp
Normal file
@@ -0,0 +1,61 @@
|
||||
// IADTrVw.cpp : implementation file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "IADTrVw.hpp"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_TreeView
|
||||
|
||||
IMPLEMENT_DYNCREATE(IAD_TreeView, CTreeView)
|
||||
|
||||
BEGIN_MESSAGE_MAP(IAD_TreeView, CTreeView)
|
||||
//{{AFX_MSG_MAP(IAD_TreeView)
|
||||
// NOTE - the ClassWizard will add and remove mapping macros here.
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
//***************************************************************************
|
||||
IAD_TreeView::IAD_TreeView()
|
||||
{
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
IAD_TreeView::~IAD_TreeView()
|
||||
{
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_TreeView drawing
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_TreeView::OnDraw(CDC* pDC)
|
||||
{
|
||||
CDocument* pDoc = GetDocument();
|
||||
// TODO: add draw code here
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_TreeView diagnostics
|
||||
|
||||
#ifdef _DEBUG
|
||||
void IAD_TreeView::AssertValid() const
|
||||
{
|
||||
CTreeView::AssertValid();
|
||||
}
|
||||
|
||||
void IAD_TreeView::Dump(CDumpContext& dc) const
|
||||
{
|
||||
CTreeView::Dump(dc);
|
||||
}
|
||||
#endif //_DEBUG
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_TreeView message handlers
|
455
Rayman_X/cpa/tempgrp/TID/Src/IADVwMn.cpp
Normal file
@@ -0,0 +1,455 @@
|
||||
// Implementation of the IAD_ControlView class
|
||||
///////////////////////////////////////////////////////////////////
|
||||
#include "StdAfx.h"
|
||||
#define HieFriend
|
||||
#define D_ZdxStuff_StructureDefine
|
||||
|
||||
#include "IADVwMn.hpp"
|
||||
|
||||
#include "IADFmMn.hpp"
|
||||
#include "IADVwRst.hpp"
|
||||
#include "IADDoc.hpp"
|
||||
#include "IADCnst.hpp"
|
||||
#include "IADDgStp.hpp"
|
||||
#include "IADDgQu.hpp"
|
||||
#include "_IADItrf.hpp"
|
||||
#include "IADLstCt.hpp"
|
||||
#include "IADMacro.hpp"
|
||||
|
||||
#include "help_def.h" //For Context help
|
||||
|
||||
//External modules
|
||||
#include "x:\cpa\main\inc\_EditID.h"
|
||||
#include "TFA.h"
|
||||
#include "OAc.h"
|
||||
//End External modules
|
||||
|
||||
#define IAD_C_NUMBER_OF_COLUMNS_IN_LIST_OF_ACTORS 5
|
||||
|
||||
#define IAD_C_WIDTH_PERCENT_COLUMNS_0 25
|
||||
#define IAD_C_WIDTH_PERCENT_COLUMNS_1 10
|
||||
#define IAD_C_WIDTH_PERCENT_COLUMNS_2 25
|
||||
#define IAD_C_WIDTH_PERCENT_COLUMNS_3 25
|
||||
#define IAD_C_WIDTH_PERCENT_COLUMNS_4 15
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_ControlView
|
||||
|
||||
IMPLEMENT_DYNCREATE(IAD_ControlView, CFormView)
|
||||
|
||||
BEGIN_MESSAGE_MAP(IAD_ControlView, CFormView)
|
||||
//{{AFX_MSG_MAP(IAD_ControlView)
|
||||
ON_WM_HELPINFO()
|
||||
ON_BN_CLICKED(IDC_CHECK_IA_DEBUGGER_ON, OnCheckIaDebuggerOn)
|
||||
ON_WM_SIZE()
|
||||
ON_NOTIFY(LVN_ITEMCHANGED, IDC_LIST_ACTORS, OnSelchangedListActors)
|
||||
ON_BN_CLICKED(IDC_VIEW_ALL, OnViewAll)
|
||||
//}}AFX_MSG_MAP
|
||||
|
||||
ON_NOTIFY_EX( TTN_NEEDTEXT, 0, OnToolTipNotify )
|
||||
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_ControlView construction/destruction
|
||||
|
||||
//***************************************************************************
|
||||
IAD_ControlView::IAD_ControlView()
|
||||
: CFormView( IAD_ControlView::IDD )
|
||||
{
|
||||
//{{AFX_DATA_INIT(IAD_ControlView)
|
||||
//}}AFX_DATA_INIT
|
||||
|
||||
// m_pri_pclListControl = NULL;
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
IAD_ControlView::~IAD_ControlView()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_ControlView::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CFormView::DoDataExchange(pDX);
|
||||
|
||||
//{{AFX_DATA_MAP(IAD_ControlView)
|
||||
DDX_Control(pDX, IDC_LIST_ACTORS, m_clListControl);
|
||||
//}}AFX_DATA_MAP
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_ControlView message handlers
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_ControlView::OnInitialUpdate()
|
||||
{
|
||||
CFormView::OnInitialUpdate();
|
||||
|
||||
EnableToolTips(TRUE);
|
||||
|
||||
m_pub_fn_pclGetDocument()->m_pclControlView = this;
|
||||
|
||||
//Prepares List Control
|
||||
CListCtrl *pclListCtrl = (CListCtrl *)GetDlgItem(IDC_LIST_ACTORS);
|
||||
if ( pclListCtrl != NULL )
|
||||
{
|
||||
pclListCtrl->InsertColumn(0, "Actor");
|
||||
pclListCtrl->InsertColumn(1, "On");
|
||||
pclListCtrl->InsertColumn(2, "Model");
|
||||
pclListCtrl->InsertColumn(3, "Family");
|
||||
pclListCtrl->InsertColumn(4, "Max Size");
|
||||
}
|
||||
|
||||
((CButton *)GetDlgItem(IDC_CHECK_IA_DEBUGGER_ON))->SetCheck(TRUE);
|
||||
OnCheckIaDebuggerOn();
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-08-
|
||||
m_bViewAll = TRUE;
|
||||
((CButton *)GetDlgItem(IDC_VIEW_ALL))->SetCheck(TRUE);
|
||||
// END ROMTEAM Cristi Petrescu 98-08-
|
||||
}
|
||||
|
||||
//*******************************************************************************
|
||||
//Gets the (only existing) document
|
||||
IAD_MyDocument* IAD_ControlView::m_pub_fn_pclGetDocument()
|
||||
{
|
||||
return g_pclInterface->m_fn_pclGetDocument();
|
||||
}
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-08-
|
||||
//*******************************************************************************
|
||||
//Displays the list of Actors
|
||||
void IAD_ControlView::m_fn_vDisplayActorsList()
|
||||
{
|
||||
//Fills list control
|
||||
// m_clListControl.SetTextColor(RGB(175, 150, 255));
|
||||
// m_clListControl.SetTextBkColor(RGB(64, 64, 64));
|
||||
|
||||
IAD_td_stInternalActorDescription *p_stCurrentInternalActor;
|
||||
m_clListControl.DeleteAllItems();
|
||||
|
||||
POSITION pos = m_pri_clListOfActors.GetHeadPosition();
|
||||
while ( pos != NULL )
|
||||
{
|
||||
p_stCurrentInternalActor = m_pri_clListOfActors.GetNext(pos);
|
||||
|
||||
if (! m_bViewAll && ! p_stCurrentInternalActor -> bTraceIsEnabled)
|
||||
continue;
|
||||
|
||||
short wIndex = m_clListControl.GetItemCount() ;
|
||||
LV_ITEM lvItem;
|
||||
|
||||
lvItem.mask = LVIF_TEXT | LVIF_STATE;
|
||||
lvItem.stateMask = LVIS_SELECTED | LVIS_FOCUSED;
|
||||
lvItem.state = 0;
|
||||
lvItem.iItem = wIndex;
|
||||
|
||||
lvItem. iSubItem = 0;
|
||||
lvItem. pszText = (char *)LPCTSTR(p_stCurrentInternalActor->pclActor->GetName());
|
||||
m_clListControl.InsertItem(&lvItem);
|
||||
|
||||
lvItem. iSubItem = 1;
|
||||
lvItem. pszText = p_stCurrentInternalActor->bTraceIsEnabled ? "X" : "";
|
||||
m_clListControl.SetItem(&lvItem);
|
||||
|
||||
lvItem. iSubItem = 2;
|
||||
lvItem. pszText = (char *)LPCTSTR(p_stCurrentInternalActor->pclActor->m_fn_pclGetModel()->GetName());
|
||||
m_clListControl.SetItem(&lvItem);
|
||||
|
||||
lvItem. iSubItem = 3;
|
||||
lvItem. pszText = (char *)LPCTSTR(p_stCurrentInternalActor->pclActor->m_pub_fn_pclGetFamily()->GetName());
|
||||
m_clListControl.SetItem(&lvItem);
|
||||
|
||||
lvItem. iSubItem = 4;
|
||||
CString csText;
|
||||
csText.Format("%ld", p_stCurrentInternalActor->lNumberOfEntries);
|
||||
lvItem. pszText = (char *)LPCTSTR(csText);
|
||||
m_clListControl.SetItem(&lvItem);
|
||||
|
||||
m_clListControl.SetItemData(wIndex, (DWORD)p_stCurrentInternalActor);
|
||||
}
|
||||
}
|
||||
// END ROMTEAM Cristi Petrescu 98-08-
|
||||
|
||||
//*******************************************************************************
|
||||
//Constructs the list of Actors
|
||||
void IAD_ControlView::m_pub_fn_vBuildActorsList()
|
||||
{
|
||||
//Gets the global Actors List
|
||||
CPA_BaseObjectList *pclActorsList = g_pclInterface->GetMainWorld()->fn_p_oGetOriginalObjectList(C_szActorInstanceTypeName);
|
||||
|
||||
//Fills internal list
|
||||
Position ActorPos = pclActorsList->GetHeadPosition();
|
||||
while ( ActorPos != 0 )
|
||||
{
|
||||
CPA_Actor *pclCurrentActor = (CPA_Actor *)pclActorsList->GetNext(ActorPos);
|
||||
|
||||
//If actor is not an Always Model
|
||||
if ( !pclCurrentActor->m_fn_bIsAnAlways() )
|
||||
{
|
||||
//If Actor has an IA
|
||||
if ( ((tdstEngineObject *)pclCurrentActor->GetStruct())->h_Brain != NULL )
|
||||
{
|
||||
if ( !m_pri_fn_bActorIsInList(pclCurrentActor) )
|
||||
{
|
||||
IAD_td_stInternalActorDescription *p_stNewInternalActor;
|
||||
p_stNewInternalActor = new IAD_td_stInternalActorDescription;
|
||||
|
||||
p_stNewInternalActor->pclActor = pclCurrentActor;
|
||||
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
p_stNewInternalActor->bTraceIsEnabled = AIDebug_fn_bGetEnable(M_pstGetMindOfBrain( ((tdstEngineObject *)pclCurrentActor->GetStruct())->h_Brain ));
|
||||
p_stNewInternalActor->lNumberOfEntries = AIDebug_fn_uwGetSizeOfTrace(M_pstGetMindOfBrain( ((tdstEngineObject *)pclCurrentActor->GetStruct())->h_Brain ));
|
||||
#else
|
||||
p_stNewInternalActor->bTraceIsEnabled = FALSE;
|
||||
p_stNewInternalActor->lNumberOfEntries = 0;
|
||||
#endif
|
||||
// CG PB DEBUGGER
|
||||
p_stNewInternalActor->pclRoot = NULL;
|
||||
|
||||
m_pri_clListOfActors.AddTail(p_stNewInternalActor);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
m_fn_vDisplayActorsList ();
|
||||
}
|
||||
|
||||
//*******************************************************************************
|
||||
void IAD_ControlView::m_pub_fn_vUnselectAllItems()
|
||||
{
|
||||
//
|
||||
long c_lI;
|
||||
for (c_lI = 0; c_lI < m_clListControl.GetItemCount(); c_lI ++)
|
||||
{
|
||||
UINT nState = m_clListControl.GetItemState(c_lI, LVIF_STATE);
|
||||
if ( (nState & LVIS_SELECTED) != 0 )
|
||||
nState = nState - LVIS_SELECTED;
|
||||
m_clListControl.SetItemState(c_lI, nState, LVIF_STATE);
|
||||
}
|
||||
}
|
||||
|
||||
//*******************************************************************************
|
||||
BOOL IAD_ControlView::OnHelpInfo(HELPINFO* pHelpInfo)
|
||||
{
|
||||
::WinHelp(m_hWnd,
|
||||
LPCTSTR(m_pub_fn_pclGetDocument()->m_csHelpFileNameAndPath),
|
||||
HELP_CONTEXT,
|
||||
IDH_GENERAL);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
//D<>finition des textes pour les Tool Tips
|
||||
BOOL IAD_ControlView::OnToolTipNotify(UINT id, NMHDR * pNMHDR, LRESULT * pResult )
|
||||
{
|
||||
TOOLTIPTEXT *pTTT = (TOOLTIPTEXT *)pNMHDR;
|
||||
UINT nID = pNMHDR->idFrom;
|
||||
nID = ::GetDlgCtrlID((HWND)nID);
|
||||
|
||||
BOOL bReturn = FALSE;
|
||||
|
||||
/* switch ( nID )
|
||||
{
|
||||
default:
|
||||
strcpy(pTTT->szText,"");
|
||||
break;
|
||||
};
|
||||
*/
|
||||
return (TRUE);
|
||||
}
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-08-
|
||||
void IAD_ControlView::OnViewAll()
|
||||
{
|
||||
m_bViewAll = ! m_bViewAll;
|
||||
((CButton *) GetDlgItem (IDC_VIEW_ALL))->SetCheck(m_bViewAll);
|
||||
|
||||
m_fn_vDisplayActorsList();
|
||||
}
|
||||
// END ROMTEAM Cristi Petrescu 98-08-
|
||||
|
||||
//*******************************************************************************
|
||||
void IAD_ControlView::OnCheckIaDebuggerOn()
|
||||
{
|
||||
m_pub_fn_pclGetDocument()->m_pub_fn_vSetDebuggerOn( ((CButton *)GetDlgItem(IDC_CHECK_IA_DEBUGGER_ON))->GetCheck() );
|
||||
|
||||
if ( m_pub_fn_pclGetDocument()->m_pub_fn_bIsDebuggerOn() )
|
||||
GetDlgItem(IDC_CHECK_IA_DEBUGGER_ON)->SetWindowText("Debugger On");
|
||||
else
|
||||
GetDlgItem(IDC_CHECK_IA_DEBUGGER_ON)->SetWindowText("Debugger Off");
|
||||
|
||||
//Enables/Disables all Actors
|
||||
if ( m_pub_fn_pclGetDocument()->m_pub_fn_bIsDebuggerOn() )
|
||||
{
|
||||
IAD_td_stInternalActorDescription *p_tdstInternalActor;
|
||||
IAD_M_ForEachInList((&m_pri_clListOfActors), pos)
|
||||
{
|
||||
p_tdstInternalActor = m_pri_clListOfActors.GetNext(pos);
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
AIDebug_fn_vSetEnable(m_pub_fn_pclGetDocument()->m_pub_fn_p_stGetMindOfActor(p_tdstInternalActor), p_tdstInternalActor->bTraceIsEnabled);
|
||||
#endif
|
||||
// CG PB DEBUGGER
|
||||
}
|
||||
}
|
||||
// CG PB DEBUGGER 23/06/98 {
|
||||
#ifdef ACTIVE_AIDEBUG
|
||||
else
|
||||
{
|
||||
IAD_M_ForEachInList((&m_pri_clListOfActors), pos)
|
||||
AIDebug_fn_vSetEnable(m_pub_fn_pclGetDocument()->m_pub_fn_p_stGetMindOfActor(m_pri_clListOfActors.GetNext(pos)), FALSE);
|
||||
}
|
||||
#endif
|
||||
// CG PB DEBUGGER
|
||||
}
|
||||
|
||||
//*******************************************************************************
|
||||
void IAD_ControlView::OnSelchangedListActors(NMHDR* pNMHDR, LRESULT* pResult)
|
||||
{
|
||||
NM_LISTVIEW *pNMListView = (NM_LISTVIEW *)pNMHDR;
|
||||
|
||||
if ( (pNMListView->uNewState & LVIS_SELECTED) != 0 )
|
||||
{
|
||||
switch ( pNMListView->iSubItem )
|
||||
{
|
||||
//Column "Name" has been clicked
|
||||
case 0:
|
||||
{
|
||||
CListCtrl *pclListCtrl = (CListCtrl *)GetDlgItem(IDC_LIST_ACTORS);
|
||||
IAD_td_stInternalActorDescription *p_stSelectedInternalActor;
|
||||
p_stSelectedInternalActor = (IAD_td_stInternalActorDescription *)pclListCtrl->GetItemData(pNMListView->iItem);
|
||||
|
||||
if ( p_stSelectedInternalActor->bTraceIsEnabled )
|
||||
m_pub_fn_pclGetDocument()->m_pclResultView->m_pub_fn_vDisplayTraceForActor(p_stSelectedInternalActor);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
//Column "On" has been clicked --> DONE ELSEWHERE
|
||||
case 1:
|
||||
break;
|
||||
|
||||
//Column "Size" has been clicked --> DONE ELSEWHERE
|
||||
case 4:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
*pResult = 0;
|
||||
}
|
||||
|
||||
//*******************************************************************************
|
||||
void IAD_ControlView::OnSize(UINT nType, int cx, int cy)
|
||||
{
|
||||
//Moves Button
|
||||
CButton *pclButton = (CButton *)GetDlgItem(IDC_CHECK_IA_DEBUGGER_ON);
|
||||
CRect crButtonDestRect;
|
||||
|
||||
if ( pclButton != NULL )
|
||||
{
|
||||
CRect crButtonRect;
|
||||
GetDlgItem(IDC_CHECK_IA_DEBUGGER_ON)->GetWindowRect(crButtonRect);
|
||||
|
||||
crButtonDestRect.top = 2;
|
||||
crButtonDestRect.bottom = crButtonDestRect.top + crButtonRect.Height();
|
||||
crButtonDestRect.right = cx - 2;
|
||||
crButtonDestRect.left = crButtonDestRect.right - crButtonRect.Width();
|
||||
|
||||
GetDlgItem(IDC_CHECK_IA_DEBUGGER_ON)->MoveWindow(crButtonDestRect);
|
||||
}
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-08-
|
||||
// Moves View All button
|
||||
pclButton = (CButton *)GetDlgItem(IDC_VIEW_ALL);
|
||||
|
||||
if ( pclButton != NULL )
|
||||
{
|
||||
CRect crButtonRect;
|
||||
GetDlgItem(IDC_VIEW_ALL)->GetWindowRect(crButtonRect);
|
||||
|
||||
crButtonDestRect.top = 2;
|
||||
crButtonDestRect.bottom = crButtonDestRect.top + crButtonRect.Height();
|
||||
crButtonDestRect.right = crButtonDestRect.left - 2;
|
||||
crButtonDestRect.left = crButtonDestRect.right - crButtonRect.Width();
|
||||
|
||||
GetDlgItem(IDC_CHECK_IA_DEBUGGER_ON)->MoveWindow(crButtonDestRect);
|
||||
}
|
||||
// END ROMTEAM Cristi Petrescu 98-08-
|
||||
|
||||
|
||||
//Re-sizes ListCtrl
|
||||
CListCtrl *pclListCtrl = (CListCtrl *)GetDlgItem(IDC_LIST_ACTORS);
|
||||
|
||||
if ( pclListCtrl != NULL )
|
||||
{
|
||||
CRect crCtrlRect;
|
||||
pclListCtrl->GetWindowRect(crCtrlRect);
|
||||
|
||||
crCtrlRect.top = crButtonDestRect.bottom + 2;
|
||||
crCtrlRect.bottom = cy - 2;
|
||||
crCtrlRect.left = 2;
|
||||
crCtrlRect.right = cx - 2;
|
||||
|
||||
pclListCtrl->MoveWindow(crCtrlRect);
|
||||
|
||||
//Re_sizes Columns
|
||||
short wColumnWidth = (crCtrlRect.Width() * IAD_C_WIDTH_PERCENT_COLUMNS_0) / 100 - 2;
|
||||
pclListCtrl->SetColumnWidth(0, wColumnWidth);
|
||||
wColumnWidth = (crCtrlRect.Width() * IAD_C_WIDTH_PERCENT_COLUMNS_1) / 100 - 2;
|
||||
pclListCtrl->SetColumnWidth(1, wColumnWidth);
|
||||
wColumnWidth = (crCtrlRect.Width() * IAD_C_WIDTH_PERCENT_COLUMNS_2) / 100 - 2;
|
||||
pclListCtrl->SetColumnWidth(2, wColumnWidth);
|
||||
wColumnWidth = (crCtrlRect.Width() * IAD_C_WIDTH_PERCENT_COLUMNS_3) / 100 - 2;
|
||||
pclListCtrl->SetColumnWidth(3, wColumnWidth);
|
||||
wColumnWidth = (crCtrlRect.Width() * IAD_C_WIDTH_PERCENT_COLUMNS_4) / 100 - 2;
|
||||
pclListCtrl->SetColumnWidth(4, wColumnWidth);
|
||||
}
|
||||
|
||||
CFormView::OnSize(nType, cx, cy);
|
||||
}
|
||||
|
||||
///////////////////////
|
||||
// Private functions //
|
||||
///////////////////////
|
||||
|
||||
//*******************************************************************************
|
||||
BOOL IAD_ControlView::m_pri_fn_bActorIsInList(CPA_Actor *_pclSearchedActor)
|
||||
{
|
||||
BOOL bActorFound = FALSE;
|
||||
POSITION pos = m_pri_clListOfActors.GetHeadPosition();
|
||||
while ( (pos != NULL) && (!bActorFound) )
|
||||
bActorFound = ( m_pri_clListOfActors.GetNext(pos)->pclActor == _pclSearchedActor );
|
||||
|
||||
return bActorFound;
|
||||
}
|
||||
|
||||
|
||||
//*******************************************************************************
|
||||
//*******************************************************************************
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_ControlView diagnostics
|
||||
|
||||
#ifdef _DEBUG
|
||||
void IAD_ControlView::AssertValid() const
|
||||
{
|
||||
CFormView::AssertValid();
|
||||
}
|
||||
|
||||
void IAD_ControlView::Dump(CDumpContext& dc) const
|
||||
{
|
||||
CFormView::Dump(dc);
|
||||
}
|
||||
#endif //_DEBUG
|
1366
Rayman_X/cpa/tempgrp/TID/Src/IADVwRst.cpp
Normal file
214
Rayman_X/cpa/tempgrp/TID/Src/IADWCBt.cpp
Normal file
@@ -0,0 +1,214 @@
|
||||
// IADWCBt.cpp : implementation file
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "IADWCBt.hpp"
|
||||
|
||||
#include "IAD_Res.h"
|
||||
|
||||
#define IAD_C_BUTTON_FIRST_ID 13000
|
||||
#define IAD_C_BUTTON_SPACE_AROUND_TEXT 10
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_Color_Button
|
||||
IMPLEMENT_DYNAMIC(IAD_Color_Button, CButton)
|
||||
|
||||
BEGIN_MESSAGE_MAP(IAD_Color_Button, CButton)
|
||||
//{{AFX_MSG_MAP(IAD_Color_Button)
|
||||
ON_CONTROL_REFLECT(BN_CLICKED, OnClicked)
|
||||
ON_WM_LBUTTONDOWN()
|
||||
ON_WM_LBUTTONUP()
|
||||
ON_WM_MOUSEMOVE()
|
||||
ON_WM_PAINT()
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
//***************************************************************************
|
||||
IAD_Color_Button::IAD_Color_Button(COLORREF *_pclColRef,
|
||||
CString _csText,
|
||||
long _lButtonNumber)
|
||||
{
|
||||
m_pri_pclColRef = _pclColRef;
|
||||
m_pri_csText = _csText;
|
||||
m_pri_lButtonNumber = _lButtonNumber;
|
||||
|
||||
m_pri_bIsDragging = FALSE;
|
||||
|
||||
m_pri_hcDragCursor = AfxGetApp()->LoadCursor(IDC_CURSOR_DRAG_COLOR);
|
||||
m_pri_hcDragInvalidCursor = AfxGetApp()->LoadCursor(IDC_CURSOR_DRAG_INVALID_COLOR);
|
||||
|
||||
//Computes color for Text
|
||||
BYTE ucRed = GetRValue(*m_pri_pclColRef);
|
||||
BYTE ucGreen = GetGValue(*m_pri_pclColRef);
|
||||
BYTE ucBlue = GetBValue(*m_pri_pclColRef);
|
||||
ucRed = (ucRed + 128) % 255;
|
||||
ucGreen = (ucGreen + 128) % 255;
|
||||
ucBlue = (ucBlue + 128) % 255;
|
||||
m_pri_clColRefForText = RGB(ucRed, ucGreen, ucBlue);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
IAD_Color_Button::~IAD_Color_Button()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_Color_Button message handlers
|
||||
|
||||
//***************************************************************************
|
||||
CSize IAD_Color_Button::m_pub_fn_csCreate(CWnd *_pclParentWnd,
|
||||
CRect _crCreationRect)
|
||||
{
|
||||
BOOL bReturn = CButton::Create( "",
|
||||
WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON /*| BS_OWNERDRAW*/,
|
||||
_crCreationRect,
|
||||
_pclParentWnd,
|
||||
IAD_C_BUTTON_FIRST_ID + m_pri_lButtonNumber);
|
||||
|
||||
if ( bReturn )
|
||||
{
|
||||
CRect crDestRect = _crCreationRect;
|
||||
CClientDC dc(this);
|
||||
m_pri_pclFont = _pclParentWnd->GetFont();
|
||||
dc.SelectObject(m_pri_pclFont);
|
||||
CSize csTextSize = dc.GetTextExtent(m_pri_csText);
|
||||
crDestRect.right = crDestRect.left + csTextSize.cx + IAD_C_BUTTON_SPACE_AROUND_TEXT;
|
||||
crDestRect.bottom = crDestRect.top + csTextSize.cy + IAD_C_BUTTON_SPACE_AROUND_TEXT;
|
||||
|
||||
MoveWindow(crDestRect);
|
||||
|
||||
return CSize(crDestRect.Width(), crDestRect.Height());
|
||||
}
|
||||
|
||||
return CSize(0,0);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Color_Button::OnPaint()
|
||||
{
|
||||
CButton::OnPaint();
|
||||
|
||||
CClientDC dc(this); // device context for painting
|
||||
//CPaintDC dc(this); // device context for painting
|
||||
|
||||
CClientDC cdc(this);
|
||||
CRect crClientRect;
|
||||
GetClientRect(crClientRect);
|
||||
crClientRect.InflateRect(-4, -4);
|
||||
cdc.FillSolidRect(crClientRect, *m_pri_pclColRef);
|
||||
|
||||
cdc.SetTextColor(m_pri_clColRefForText);
|
||||
cdc.SetBkMode(TRANSPARENT);
|
||||
cdc.SelectObject(m_pri_pclFont);
|
||||
|
||||
cdc.DrawText(m_pri_csText, crClientRect, DT_CENTER);
|
||||
|
||||
// Do not call CButton::OnPaint() for painting messages
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Color_Button::OnClicked()
|
||||
{
|
||||
CColorDialog ColorDial(*m_pri_pclColRef, CC_ANYCOLOR | CC_FULLOPEN | CC_RGBINIT /*| CC_SHOWHELP*/, this);
|
||||
|
||||
if ( ColorDial.DoModal() == IDOK )
|
||||
*m_pri_pclColRef = ColorDial.GetColor();
|
||||
|
||||
InvalidateRect(NULL);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Color_Button::OnLButtonDown(UINT nFlags, CPoint point)
|
||||
{
|
||||
|
||||
m_pri_bIsDragging = TRUE;
|
||||
SetCapture();
|
||||
m_pri_hcPreviousCursor = ::SetCursor(m_pri_hcDragCursor);
|
||||
|
||||
CButton::OnLButtonDown(nFlags, point);
|
||||
InvalidateRect(NULL);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Color_Button::OnMouseMove(UINT nFlags, CPoint point)
|
||||
{
|
||||
|
||||
if ( m_pri_bIsDragging )
|
||||
{
|
||||
CPoint cpRightPoint = point ;
|
||||
ClientToScreen(&cpRightPoint);
|
||||
CWnd *pclTargettedWindow = WindowFromPoint(cpRightPoint);
|
||||
|
||||
if ( pclTargettedWindow != NULL )
|
||||
{
|
||||
if ( pclTargettedWindow->IsKindOf( RUNTIME_CLASS(IAD_Color_Button)) )
|
||||
::SetCursor(m_pri_hcDragCursor);
|
||||
else
|
||||
::SetCursor(m_pri_hcDragInvalidCursor);
|
||||
}
|
||||
else
|
||||
::SetCursor(m_pri_hcDragInvalidCursor);
|
||||
}
|
||||
|
||||
CButton::OnMouseMove(nFlags, point);
|
||||
if ( m_pri_bIsDragging )
|
||||
InvalidateRect(NULL);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Color_Button::OnLButtonUp(UINT nFlags, CPoint point)
|
||||
{
|
||||
if ( m_pri_bIsDragging )
|
||||
{
|
||||
//Gets window under cursor
|
||||
CPoint cpRightPoint = point ;
|
||||
ClientToScreen(&cpRightPoint);
|
||||
CWnd *pclTargettedWindow = WindowFromPoint(cpRightPoint);
|
||||
|
||||
if ( pclTargettedWindow != NULL )
|
||||
if ( pclTargettedWindow->IsKindOf( RUNTIME_CLASS(IAD_Color_Button)) )
|
||||
{
|
||||
IAD_Color_Button *pclTargettedButton = (IAD_Color_Button *)pclTargettedWindow;
|
||||
|
||||
pclTargettedButton->m_pub_fn_vSetColor(m_pub_fn_colrefGetColor());
|
||||
pclTargettedButton->InvalidateRect(NULL);
|
||||
}
|
||||
|
||||
::SetCursor(m_pri_hcPreviousCursor);
|
||||
m_pri_hcPreviousCursor = NULL;
|
||||
m_pri_bIsDragging = FALSE;
|
||||
|
||||
ReleaseCapture();
|
||||
}
|
||||
|
||||
CButton::OnLButtonUp(nFlags, point);
|
||||
InvalidateRect(NULL);
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Color_Button::m_pub_fn_vSetColor(COLORREF _Colref)
|
||||
{
|
||||
*m_pri_pclColRef = _Colref;
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
COLORREF IAD_Color_Button::m_pub_fn_colrefGetColor()
|
||||
{
|
||||
return *m_pri_pclColRef;
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
void IAD_Color_Button::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
|
||||
{
|
||||
// TODO: Add your code to draw the specified item
|
||||
|
||||
}
|
||||
|
6
Rayman_X/cpa/tempgrp/TID/Src/StdAfx.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
// stdafx.cpp : source file that includes just the standard includes
|
||||
// EdCarac.pch will be the pre-compiled header
|
||||
// stdafx.obj will contain the pre-compiled type information
|
||||
|
||||
#include "stdafx.h"
|
||||
|
125
Rayman_X/cpa/tempgrp/TID/Src/_DLLcom.cpp
Normal file
@@ -0,0 +1,125 @@
|
||||
//
|
||||
// Common functions for Object DLL capabilities
|
||||
// C. Beaudet
|
||||
//
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "afxdllx.h"
|
||||
#include "ACP_Base.h"
|
||||
#include "ITF.h"
|
||||
#include "IncMEC.h"
|
||||
#define D_State_Define
|
||||
#include "IncGAM.h"
|
||||
#undef D_State_Define
|
||||
#include "GLI.h"
|
||||
|
||||
#include "_IADItrf.hpp"
|
||||
#include "IADStrg.hpp"
|
||||
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
// Global vars
|
||||
static CList<CPA_DLLBase*,CPA_DLLBase*> g_oListOfInstances; //private internal
|
||||
|
||||
static char *gs_p_szCPAVersion = C_szCPAVersion;
|
||||
static AFX_EXTENSION_MODULE NEAR extensionDLL = { NULL, NULL };
|
||||
|
||||
#ifdef DLL_ONLY_ONE_INSTANCE
|
||||
static IAD_Interface *gs_p_oIADInterface = NULL;
|
||||
#endif
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
// functions that are present in all DLL :
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
//========================================================================
|
||||
// Get current CPA version
|
||||
//========================================================================
|
||||
extern "C" char __declspec(dllexport) *fn_p_szGetCPAVersion(void)
|
||||
{
|
||||
return gs_p_szCPAVersion;
|
||||
}
|
||||
|
||||
//========================================================================
|
||||
// Get type of this DLL
|
||||
//========================================================================
|
||||
extern "C" tdstDLLIdentity __declspec(dllexport) *fn_p_stGetDLLIdentity(void)
|
||||
{
|
||||
g_stIADDLLIdentity.eType = TOOL_DLL;
|
||||
g_stIADDLLIdentity.csName = "IA_Debugger";
|
||||
g_stIADDLLIdentity.hModule = NULL;
|
||||
g_stIADDLLIdentity.p_oListOfInstances = &g_oListOfInstances;
|
||||
|
||||
return &g_stIADDLLIdentity;
|
||||
}
|
||||
|
||||
//========================================================================
|
||||
// DLL int function
|
||||
//========================================================================
|
||||
extern "C" void __declspec(dllexport) fn_vInitDll(void)
|
||||
{
|
||||
new CDynLinkLibrary(extensionDLL);
|
||||
}
|
||||
|
||||
//========================================================================
|
||||
// DLL entry point
|
||||
//========================================================================
|
||||
extern "C" int __stdcall DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
|
||||
{
|
||||
if (dwReason == DLL_PROCESS_ATTACH)
|
||||
{
|
||||
if (!AfxInitExtensionModule(extensionDLL, hInstance))
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
//========================================================================
|
||||
// Get the DLL
|
||||
//========================================================================
|
||||
extern "C" CPA_DLLBase __declspec(dllexport) *fn_p_oGetDLL(long lKey)
|
||||
{
|
||||
#ifdef DLL_ONLY_ONE_INSTANCE
|
||||
|
||||
switch(lKey)
|
||||
{
|
||||
case 0: // the game world
|
||||
if (gs_p_oMYTOOLInterface == NULL)
|
||||
{
|
||||
gs_p_oIADInterface = new IAD_Interface();
|
||||
ASSERT(gs_p_oIADInterface != NULL);
|
||||
// YB //
|
||||
g_pclInterface = gs_p_oIADInterface;
|
||||
// End YB //
|
||||
}
|
||||
return gs_p_oIADInterface;
|
||||
break;
|
||||
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#else //DLL_ONLY_ONE_INSTANCE
|
||||
|
||||
switch(lKey)
|
||||
{
|
||||
case 0: // the game world
|
||||
// YB //
|
||||
g_pclInterface = new IAD_Interface();
|
||||
return g_pclInterface;
|
||||
// End YB //
|
||||
break;
|
||||
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif //DLL_ONLY_ONE_INSTANCE
|
||||
}
|
||||
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
// functions that are present in this type of DLL only :
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
#undef DLL_ONLY_ONE_INSTANCE
|
380
Rayman_X/cpa/tempgrp/TID/Src/_IADItrf.cpp
Normal file
@@ -0,0 +1,380 @@
|
||||
//#################################################################################
|
||||
//
|
||||
// BASE CLASS OF YOUR DLL interface
|
||||
//
|
||||
//#################################################################################
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "ACP_Base.h"
|
||||
#include "ITF.h"
|
||||
#include "IncMEC.h"
|
||||
#define D_State_Define
|
||||
#include "IncGAM.h"
|
||||
#undef D_State_Define
|
||||
#include "GLI.h"
|
||||
#include "SCR.h"
|
||||
|
||||
#include "_IADItrf.hpp"
|
||||
|
||||
#include "IADVwMn.hpp"
|
||||
#include "IADStrg.hpp"
|
||||
#include "IAD_Res.h"
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
#include "IADvwrst.hpp"
|
||||
#include "IADVrVw.hpp"
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
#include "IADglob.hpp"
|
||||
|
||||
#include "debugcom.h"
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
//External Modules
|
||||
#include "ErO.h"
|
||||
//End of External Modules
|
||||
|
||||
// infos
|
||||
static CString g_csTIDName = "IA_Debugger";
|
||||
static CString g_csTIDAuthor = "Y. Babitch";
|
||||
static CString g_csTIDVersion = "V 2.0.1 18/03/98";
|
||||
static CString g_csTIDFrenchHelpFile = "";
|
||||
static CString g_csTIDEnglishHelpFile = "";
|
||||
|
||||
BOOL g_bTipFirstTime = TRUE;
|
||||
|
||||
IAD_Interface *g_pclInterface;
|
||||
|
||||
#define C_IAD_uiOpenID 51
|
||||
#define C_IAD_uiCloseID 52
|
||||
|
||||
#define C_IAD_PopupID_Exit_Editor 61
|
||||
|
||||
#define C_IAD_PopupID_Setup 71
|
||||
|
||||
// the DLL global definition
|
||||
tdstDLLIdentity g_stIADDLLIdentity;
|
||||
|
||||
//--------------------------------------------------------------------------------
|
||||
// CONSTRUCTOR.
|
||||
// You must put here all your DLL interface definitions.
|
||||
//--------------------------------------------------------------------------------
|
||||
IAD_Interface::IAD_Interface(void)
|
||||
{
|
||||
// ************************** private internal
|
||||
m_p_stDLLIdentity = &g_stIADDLLIdentity;
|
||||
|
||||
// Does your DLL can output in main game view ?
|
||||
m_stBaseDLLDefinition.bCanOutputIn3DView = FALSE;
|
||||
|
||||
// Does your DLL can be refresh by engine ?
|
||||
m_stBaseDLLDefinition.bCanBeRefreshedByEngine = FALSE;
|
||||
|
||||
// Specific Init.
|
||||
m_pclIADMainFrame = NULL;
|
||||
|
||||
m_csEditorVersion = "1.1.0 [" + CString(__DATE__) + "]";
|
||||
|
||||
SetEditorInfo(g_csTIDName, g_csTIDAuthor, g_csTIDVersion, g_csTIDFrenchHelpFile, g_csTIDEnglishHelpFile);
|
||||
|
||||
//For errors
|
||||
ERROR_g_fn_vAddAModuleDescriptor( g_c_csIADebuggerModuleNameForErrors,
|
||||
m_csEditorVersion,
|
||||
"Yves BABITCH",
|
||||
"01 48 18 53 74 (Montreuil)",
|
||||
"ybabitch@ubisoft.fr",
|
||||
"Daniel PALIX",
|
||||
"04 50 51 26 63 (Annecy)",
|
||||
"dpalix@ubisoft.fr",
|
||||
"David REIZER",
|
||||
"01 48 18 53 74 (Montreuil)",
|
||||
"dreizer@ubisoft.fr"
|
||||
);
|
||||
|
||||
SetCurrent(FALSE);
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
void IAD_Interface::fn_vJustAfterRegistered(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
void IAD_Interface::fn_vConstruct()
|
||||
{
|
||||
//Windows constructions
|
||||
|
||||
//Creates the main frame
|
||||
if ( m_pclIADMainFrame == NULL )
|
||||
{
|
||||
m_pclIADMainFrame = new IAD_MainFrame;
|
||||
|
||||
m_pclIADMainFrame->CreateBase("",
|
||||
1,
|
||||
2,
|
||||
GetInterface()->GetMainWorld() );
|
||||
|
||||
m_pclIADMainFrame->mfn_vEnableCaption(FALSE);
|
||||
|
||||
m_pclIADMainFrame->m_iInitWidth = 400;
|
||||
m_pclIADMainFrame->m_bKeepPos = TRUE;
|
||||
|
||||
m_pclIADMainFrame->m_stWinRight.cLinkSame = FRM_C_MoveLeft;
|
||||
}
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
void IAD_Interface::fn_vLevelChanges()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
tdePermission IAD_Interface::fn_eAcceptNewEditor(CPA_EditorBase *pNewEditor)
|
||||
{
|
||||
return C_Allow;
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
BOOL IAD_Interface::fn_bCanActivateEditor(CPA_List<CPA_BaseObject> *pParams)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
void IAD_Interface::fn_vOnActivateEditor(CPA_List<CPA_BaseObject> *pParams,
|
||||
BOOL bBackActivated)
|
||||
{
|
||||
m_fn_vShowEditor();
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
BOOL IAD_Interface::fn_bCanCloseEditor(void)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
void IAD_Interface::fn_vOnCloseEditor(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
void IAD_Interface::fn_vBeforeEngine(void)
|
||||
{
|
||||
//Re-inits the Trace of Actors
|
||||
m_clDocument.m_pub_fn_vReInitEditorTraceForActors();
|
||||
|
||||
m_fn_vHideEditor();
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
void IAD_Interface::fn_vBeforeEditor(void)
|
||||
{
|
||||
if ( fn_bIsCurrentEditor() )
|
||||
{
|
||||
m_fn_vShowEditor();
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-08-
|
||||
// hack for bug-fixing
|
||||
m_clDocument.m_pclControlView -> m_fn_vDisplayActorsList();
|
||||
// END ROMTEAM Cristi Petrescu 98-08-
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-08-
|
||||
// do we really need this here?
|
||||
// do it before the engine if you like...
|
||||
// as you do.
|
||||
//m_clDocument.m_pub_fn_vFreeEditorTraceForEditedActor();
|
||||
// END ROMTEAM Cristi Petrescu 98-08-
|
||||
}
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
void IAD_Interface::fn_vHasLostFocus(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
BOOL IAD_Interface::fn_bHasGainedFocus(void)
|
||||
{
|
||||
m_clDocument.m_pclControlView->m_pub_fn_vBuildActorsList();
|
||||
m_clDocument.m_pub_fn_vFreeEditorTraceForEditedActor();
|
||||
|
||||
// display Tip of the Day
|
||||
GetInterface()->fn_vDisplayTipOfDay("AI Debugger", "TID", g_bTipFirstTime);
|
||||
g_bTipFirstTime = FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
BOOL IAD_Interface::fn_bDefineSubMenu(EDT_SubMenu *_p_oEDTSubMenu)
|
||||
{
|
||||
if ( _p_oEDTSubMenu->GetSubMenuType() == C_SubMenuTool )
|
||||
{
|
||||
if ( fn_bIsCurrentEditor() )
|
||||
_p_oEDTSubMenu->AddAnEntry(this, "IA Debugger", C_IAD_uiCloseID, TRUE);
|
||||
else
|
||||
_p_oEDTSubMenu->AddAnEntry(this, "IA Debugger", C_IAD_uiOpenID, FALSE);
|
||||
}
|
||||
else if ( _p_oEDTSubMenu->GetSubMenuType() == C_SubMenuPreference )
|
||||
{
|
||||
if ( fn_bIsCurrentEditor() )
|
||||
_p_oEDTSubMenu->AddAnEntry(this, "Internal Setup (IA Debugger)", C_IAD_PopupID_Setup, FALSE);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
//**************************************************************************************
|
||||
void IAD_Interface::_OnSubMenuCommand(EDT_SubMenu *_p_oEDTSubMenu,
|
||||
UINT uiMsgID)
|
||||
{
|
||||
switch (uiMsgID)
|
||||
{
|
||||
case C_IAD_uiOpenID:
|
||||
if ( !fn_bIsCurrentEditor() )
|
||||
GetMainWorld()->fn_bActivateEditor(this, NULL);
|
||||
break;
|
||||
|
||||
case C_IAD_uiCloseID:
|
||||
if ( fn_bIsCurrentEditor() )
|
||||
GetMainWorld()->fn_bCloseEditor(this);
|
||||
break;
|
||||
|
||||
case C_IAD_PopupID_Setup:
|
||||
m_clDocument.m_pub_fn_vDisplaySetup();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
//**************************************************************************************
|
||||
// Popup
|
||||
//**************************************************************************************
|
||||
BOOL IAD_Interface::fn_bDefinePopupMenu(EDT_PopUpMenu *pPopup,
|
||||
CPA_List<CPA_SuperObject> *pSelection,
|
||||
BOOL bIsAlone)
|
||||
{
|
||||
BOOL bReturn = FALSE;
|
||||
|
||||
if ( !bIsAlone )
|
||||
{
|
||||
if ( fn_bIsCurrentEditor() )
|
||||
{
|
||||
pPopup->AddAnEntry(this, "Exit IA Debugger", C_IAD_PopupID_Exit_Editor);
|
||||
|
||||
bReturn = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
return bReturn;
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
void IAD_Interface::_OnPopUpMenuCommand(UINT m_IDCmdMsg)
|
||||
{
|
||||
switch (m_IDCmdMsg)
|
||||
{
|
||||
case C_IAD_PopupID_Exit_Editor:
|
||||
if ( fn_bIsCurrentEditor() )
|
||||
GetMainWorld()->fn_bCloseEditor(this);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
//**************************************************************************************
|
||||
//**************************************************************************************
|
||||
// Specific members
|
||||
|
||||
//***********************************************************************
|
||||
void IAD_Interface::m_fn_vShowEditor()
|
||||
{
|
||||
g_oFrameGest.mfn_vSetRefresh(FALSE);
|
||||
|
||||
if ( m_pclIADMainFrame != NULL )
|
||||
g_oFrameGest.mfn_vActivateWindow(m_pclIADMainFrame);
|
||||
|
||||
g_oFrameGest.mfn_vSetRefresh(TRUE);
|
||||
}
|
||||
|
||||
//***********************************************************************
|
||||
void IAD_Interface::m_fn_vHideEditor()
|
||||
{
|
||||
g_oFrameGest.mfn_vSetRefresh(FALSE);
|
||||
|
||||
if ( m_pclIADMainFrame != NULL )
|
||||
g_oFrameGest.mfn_vDisactivateWindow(m_pclIADMainFrame);
|
||||
|
||||
g_oFrameGest.mfn_vSetRefresh(TRUE);
|
||||
}
|
||||
|
||||
//**************************************************************************************
|
||||
IAD_MyDocument *IAD_Interface::m_fn_pclGetDocument()
|
||||
{
|
||||
ASSERT ( AfxIsValidAddress(&m_clDocument, sizeof(IAD_MyDocument)) );
|
||||
|
||||
return &m_clDocument;
|
||||
}
|
||||
|
||||
//BEGIN ROMTEAM Cristi Petrescu 98-05-
|
||||
//**************************************************************************************
|
||||
//**************************************************************************************
|
||||
//**************************************************************************************
|
||||
// Comunication
|
||||
|
||||
//**************************************************************************************
|
||||
long IAD_Interface::OnQueryAction(CPA_EditorBase *p_oSender,WPARAM wParam,LPARAM lParam)
|
||||
{
|
||||
long lResult=0;
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
static CString csResult;
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
switch(wParam)
|
||||
{
|
||||
case C_uiAI_ViewVariable:
|
||||
{
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
tdstDebugAICom *p_tdstDebugAICom = (tdstDebugAICom *) lParam;
|
||||
|
||||
m_clDocument . m_pclVariableView -> m_fn_vAddVariable (p_tdstDebugAICom -> csName, p_tdstDebugAICom -> csValue);
|
||||
|
||||
lResult = 1;
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
}
|
||||
break;
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
case C_uiAI_GetVariableValue:
|
||||
{
|
||||
// get the current node
|
||||
IAD_MyDocument *pclDocument = m_fn_pclGetDocument ();
|
||||
ASSERT (pclDocument);
|
||||
IAD_ResultView *pclResultView = pclDocument -> m_pclResultView;
|
||||
ASSERT (pclResultView);
|
||||
IAD_EditorTreeNode *pclCurrentNode = pclResultView -> m_fn_pclGetSelectedEditorNode ();
|
||||
if (pclCurrentNode)
|
||||
{
|
||||
IAD_EditorTreeNode *pclEngineLoopNode = pclCurrentNode -> m_fn_pclGetEngineLoopParentNode ();
|
||||
tdstGetSetParam *p_stVariableValue = pclEngineLoopNode -> m_fn_p_tdstGetVariableValue (lParam);
|
||||
|
||||
if (p_stVariableValue)
|
||||
{
|
||||
csResult = IAD_fn_csComputeValueFromGetSetParam (p_stVariableValue);
|
||||
lResult = (long) & csResult;
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
}
|
||||
|
||||
return lResult;
|
||||
}
|
||||
//END ROMTEAM Cristi Petrescu 98-05-
|
68
Rayman_X/cpa/tempgrp/TID/Src/iadlstvr.cpp
Normal file
@@ -0,0 +1,68 @@
|
||||
// iadlstvr.cpp : implementation file
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "IADLstVr.hpp"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_ListVariable
|
||||
|
||||
IAD_ListVariable::IAD_ListVariable()
|
||||
{
|
||||
}
|
||||
|
||||
IAD_ListVariable::~IAD_ListVariable()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
BEGIN_MESSAGE_MAP(IAD_ListVariable, CListCtrl)
|
||||
//{{AFX_MSG_MAP(IAD_ListVariable)
|
||||
ON_WM_KEYDOWN()
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_ListVariable message handlers
|
||||
|
||||
void IAD_ListVariable::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
|
||||
{
|
||||
if (nChar == VK_DELETE)
|
||||
{
|
||||
// should delete the current line
|
||||
int iItem = m_fn_iGetSelectedItem ();
|
||||
|
||||
if (iItem != -1)
|
||||
DeleteItem (iItem);
|
||||
}
|
||||
|
||||
CListCtrl::OnKeyDown(nChar, nRepCnt, nFlags);
|
||||
}
|
||||
|
||||
int IAD_ListVariable::m_fn_iGetSelectedItem (void)
|
||||
{
|
||||
int iCount = GetItemCount ();
|
||||
int iItem;
|
||||
|
||||
for (iItem = 0; iItem < iCount; iItem ++)
|
||||
{
|
||||
LVITEM lvItem;
|
||||
lvItem . mask = LVIF_STATE;
|
||||
lvItem . stateMask = LVIS_SELECTED | LVIS_FOCUSED;
|
||||
lvItem . iItem = iItem;
|
||||
lvItem . iSubItem = 0;
|
||||
if (GetItem (& lvItem))
|
||||
{
|
||||
if (lvItem . state & LVIS_FOCUSED)
|
||||
return iItem;
|
||||
}
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
199
Rayman_X/cpa/tempgrp/TID/Src/iadvrvw.cpp
Normal file
@@ -0,0 +1,199 @@
|
||||
// iadvrvw.cpp : implementation file
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#define HieFriend
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
#include "iadedttr.hpp"
|
||||
#include "IADglob.hpp"
|
||||
|
||||
#include "x:/cpa/tempgrp/tia/inc/ai_intf.hpp"
|
||||
#include "x:/cpa/main/inc/_EditId.h"
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
|
||||
#include "IADVrVw.hpp"
|
||||
|
||||
#include "_IADItrf.hpp"
|
||||
|
||||
#include "help_def.h" //for Context Help
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_VariableView
|
||||
|
||||
IMPLEMENT_DYNCREATE(IAD_VariableView, CFormView)
|
||||
|
||||
IAD_VariableView::IAD_VariableView()
|
||||
: CFormView(IAD_VariableView::IDD)
|
||||
{
|
||||
//{{AFX_DATA_INIT(IAD_VariableView)
|
||||
// NOTE: the ClassWizard will add member initialization here
|
||||
//}}AFX_DATA_INIT
|
||||
}
|
||||
|
||||
IAD_VariableView::~IAD_VariableView()
|
||||
{
|
||||
}
|
||||
|
||||
void IAD_VariableView::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CFormView::DoDataExchange(pDX);
|
||||
//{{AFX_DATA_MAP(IAD_VariableView)
|
||||
DDX_Control(pDX, IDC_LIST_VARIABLES, m_clListVariable);
|
||||
//}}AFX_DATA_MAP
|
||||
}
|
||||
|
||||
|
||||
BEGIN_MESSAGE_MAP(IAD_VariableView, CFormView)
|
||||
//{{AFX_MSG_MAP(IAD_VariableView)
|
||||
ON_WM_HELPINFO()
|
||||
ON_WM_SIZE()
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_VariableView diagnostics
|
||||
|
||||
#ifdef _DEBUG
|
||||
void IAD_VariableView::AssertValid() const
|
||||
{
|
||||
CFormView::AssertValid();
|
||||
}
|
||||
|
||||
void IAD_VariableView::Dump(CDumpContext& dc) const
|
||||
{
|
||||
CFormView::Dump(dc);
|
||||
}
|
||||
#endif //_DEBUG
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// IAD_VariableView message handlers
|
||||
|
||||
void IAD_VariableView::OnInitialUpdate ()
|
||||
{
|
||||
CFormView::OnInitialUpdate ();
|
||||
|
||||
g_pclInterface -> m_fn_pclGetDocument () -> m_pclVariableView = this;
|
||||
|
||||
//Prepares List Control
|
||||
CListCtrl *pclListCtrl = (CListCtrl *)GetDlgItem(IDC_LIST_VARIABLES);
|
||||
if ( pclListCtrl != NULL )
|
||||
{
|
||||
pclListCtrl->InsertColumn(0, "Name");
|
||||
pclListCtrl->InsertColumn(1, "Value");
|
||||
}
|
||||
}
|
||||
|
||||
BOOL IAD_VariableView::OnHelpInfo(HELPINFO* pHelpInfo)
|
||||
{
|
||||
::WinHelp(m_hWnd,
|
||||
LPCTSTR(g_pclInterface -> m_fn_pclGetDocument () -> m_csHelpFileNameAndPath),
|
||||
HELP_CONTEXT,
|
||||
IDH_GENERAL);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void IAD_VariableView::OnSize(UINT nType, int cx, int cy)
|
||||
{
|
||||
CFormView::OnSize(nType, cx, cy);
|
||||
|
||||
//Re-sizes ListCtrl
|
||||
CListCtrl *pclListCtrl = (CListCtrl *)GetDlgItem(IDC_LIST_VARIABLES);
|
||||
|
||||
if ( pclListCtrl != NULL )
|
||||
{
|
||||
CRect crCtrlRect;
|
||||
pclListCtrl->GetWindowRect(crCtrlRect);
|
||||
|
||||
crCtrlRect.top = 2;
|
||||
crCtrlRect.bottom = cy - 2;
|
||||
crCtrlRect.left = 2;
|
||||
crCtrlRect.right = cx - 2;
|
||||
|
||||
pclListCtrl->MoveWindow(crCtrlRect);
|
||||
|
||||
//Re_sizes Columns
|
||||
short wColumnWidth = crCtrlRect.Width() / 2 - 2;
|
||||
pclListCtrl->SetColumnWidth(0, wColumnWidth);
|
||||
wColumnWidth = crCtrlRect.Width() / 2 - 2;
|
||||
pclListCtrl->SetColumnWidth(1, wColumnWidth);
|
||||
}
|
||||
}
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
void IAD_VariableView::m_fn_vAddVariable (CString csName, CString csValue)
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
{
|
||||
CListCtrl *pclListCtrl = (CListCtrl *)GetDlgItem(IDC_LIST_VARIABLES);
|
||||
|
||||
//csName . MakeLower ();
|
||||
LV_ITEM lvItem;
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
lvItem.mask = LVIF_TEXT | LVIF_STATE;
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
||||
lvItem.stateMask = LVIS_SELECTED | LVIS_FOCUSED;
|
||||
lvItem.state = 0;
|
||||
|
||||
// check if there is already inserted
|
||||
LV_FINDINFO lvFindInfo;
|
||||
int lItem;
|
||||
lvFindInfo . flags = LVFI_STRING;
|
||||
lvFindInfo . psz = (char *) LPCTSTR (csName);
|
||||
lItem = pclListCtrl -> FindItem (& lvFindInfo);
|
||||
if (lItem == -1)
|
||||
{
|
||||
// add it to the list
|
||||
lvItem.iItem = pclListCtrl -> GetItemCount ();
|
||||
lvItem. iSubItem = 0;
|
||||
lvItem. pszText = (char *) LPCTSTR (csName);
|
||||
pclListCtrl -> InsertItem (& lvItem);
|
||||
}
|
||||
else
|
||||
{
|
||||
// we will update the value
|
||||
lvItem . iItem = lItem;
|
||||
}
|
||||
|
||||
pclListCtrl ->SetItemText (lvItem . iItem, 1, (char *) LPCTSTR (csValue));
|
||||
}
|
||||
|
||||
// BEGIN ROMTEAM Cristi Petrescu 98-06-
|
||||
void IAD_VariableView::m_fn_vUpdateVariables (IAD_EditorTreeNode *pclEngineLoop)
|
||||
{
|
||||
if (! pclEngineLoop)
|
||||
return;
|
||||
|
||||
CListCtrl *pclListCtrl = (CListCtrl *) GetDlgItem (IDC_LIST_VARIABLES);
|
||||
long i;
|
||||
long n = pclListCtrl -> GetItemCount ();
|
||||
CString csVariableName;
|
||||
long lVariableIndex;
|
||||
CString csValue;
|
||||
tdstGetSetParam *p_stValue;
|
||||
for (i = 0; i < n; i ++)
|
||||
{
|
||||
csVariableName = pclListCtrl -> GetItemText (i, 0);
|
||||
|
||||
CPA_DLLBase *p_clDll = g_pclInterface->GetMainWorld()->GetToolDLLWithName(C_szDLLAIEditorName);
|
||||
if ( p_clDll == NULL )
|
||||
continue;
|
||||
lVariableIndex = p_clDll -> OnQueryAction (g_pclInterface, C_uiAI_GetVariableIndex, (long) & csVariableName);
|
||||
if (lVariableIndex < 0)
|
||||
continue;
|
||||
p_stValue = pclEngineLoop -> m_fn_p_tdstGetVariableValue (lVariableIndex);
|
||||
if (! p_stValue)
|
||||
continue;
|
||||
|
||||
csValue = IAD_fn_csComputeValueFromGetSetParam (p_stValue);
|
||||
|
||||
pclListCtrl -> SetItemText (i, 1, (char *) LPCTSTR (csValue));
|
||||
}
|
||||
}
|
||||
// END ROMTEAM Cristi Petrescu 98-06-
|
BIN
Rayman_X/cpa/tempgrp/TID/Tmp/TIDDFEvd/IAD.res
Normal file
437
Rayman_X/cpa/tempgrp/TID/make/TID.DSP
Normal file
@@ -0,0 +1,437 @@
|
||||
# Microsoft Developer Studio Project File - Name="TID" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 5.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
|
||||
|
||||
CFG=TID - Win32 Debug with Editors
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "Tid.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "Tid.mak" CFG="TID - Win32 Debug with Editors"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "TID - Win32 Debug Glide with Editors" (based on\
|
||||
"Win32 (x86) Dynamic-Link Library")
|
||||
!MESSAGE "TID - Win32 Debug with Editors" (based on\
|
||||
"Win32 (x86) Dynamic-Link Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP Scc_ProjName ""$/cpa/tempgrp/TID/make", CXEAAAAA"
|
||||
# PROP Scc_LocalPath "."
|
||||
CPP=cl.exe
|
||||
MTL=midl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "TID - Win32 Debug Glide with Editors"
|
||||
|
||||
# PROP BASE Use_MFC 2
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "TID___W1"
|
||||
# PROP BASE Intermediate_Dir "TID___W1"
|
||||
# PROP BASE Ignore_Export_Lib 0
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 2
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "x:\CPA\EXE\Main\Edt_Data\Tools"
|
||||
# PROP Intermediate_Dir "..\Tmp\TIDDFEvd"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
|
||||
# ADD BASE CPP /nologo /MDd /W3 /Gm /Gi /GX /Zi /Od /I "X:\CPA\Public" /I "..\inc" /D "CPA_WANTS_IMPORT" /D "ACTIVE_EDITOR" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "CPA_VISUAL" /D "CPA_DEBUG" /D "_WINDLL" /D "_AFXDLL" /FR /Yu"stdafx.h" /FD /c
|
||||
# ADD CPP /nologo /MD /W3 /GX /Z7 /Od /I "X:\CPA\Public" /I "..\inc" /I "t:\dxsdk\sdk\inc" /D "CPA_WANTS_IMPORT" /D "ACTIVE_EDITOR" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "CPA_VISUAL" /D "CPA_DEBUG" /D "_WINDLL" /D "_AFXDLL" /FR /Yu"stdafx.h" /FD /c
|
||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
||||
# ADD BASE RSC /l 0x40c /d "_DEBUG" /d "_AFXDLL"
|
||||
# ADD RSC /l 0x40c /d "_DEBUG" /d "_AFXDLL"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo /o"Tmp\TIDP5Evd\TID.bsc"
|
||||
# ADD BSC32 /nologo /o"..\Tmp\TIDDFEvd\TID.bsc"
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 X:\CPA\Exe\GAM\GAMP5Evd.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"X:\CPA\EXE\GAM\EDT_Data\Tools\TIDDFEvd.dll" /pdbtype:sept
|
||||
# SUBTRACT BASE LINK32 /pdb:none
|
||||
# ADD LINK32 /nologo /subsystem:windows /dll /debug /machine:I386 /nodefaultlib:"msvcrtd.lib" /out:"X:\CPA\EXE\Main\EDT_Data\Tools\TIDDFEvd.dll" /pdbtype:sept
|
||||
# SUBTRACT LINK32 /pdb:none
|
||||
|
||||
!ELSEIF "$(CFG)" == "TID - Win32 Debug with Editors"
|
||||
|
||||
# PROP BASE Use_MFC 2
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "TID___W2"
|
||||
# PROP BASE Intermediate_Dir "TID___W2"
|
||||
# PROP BASE Ignore_Export_Lib 0
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 2
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "x:\CPA\EXE\Main\Edt_Data\Tools"
|
||||
# PROP Intermediate_Dir "..\Tmp\TIDP5Evd"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
|
||||
# ADD BASE CPP /nologo /MDd /W3 /Gm /Gi /GX /Zi /Od /I "X:\CPA\Public" /I "..\inc" /D "CPA_WANTS_IMPORT" /D "ACTIVE_EDITOR" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "CPA_VISUAL" /D "CPA_DEBUG" /D "_WINDLL" /D "_AFXDLL" /FR /Yu"stdafx.h" /FD /c
|
||||
# ADD CPP /nologo /MDd /W3 /Gm /Gi /GX /Zi /Od /I "X:\CPA\Public" /I "..\inc" /I "t:\dxsdk\sdk\inc" /D "CPA_WANTS_IMPORT" /D "ACTIVE_EDITOR" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "CPA_VISUAL" /D "CPA_DEBUG" /D "_WINDLL" /D "_AFXDLL" /FR /Yu"stdafx.h" /FD /c
|
||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
||||
# ADD BASE RSC /l 0x40c /d "_DEBUG" /d "_AFXDLL"
|
||||
# ADD RSC /l 0x40c /i "..\inc" /d "_DEBUG" /d "_AFXDLL"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo /o"Tmp\TIDP5Evd\TID.bsc"
|
||||
# ADD BSC32 /nologo /o"..\Tmp\TIDP5Evd\TID.bsc"
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 X:\CPA\Exe\GAM\GAMP5Evd.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"X:\CPA\EXE\GAM\EDT_Data\Tools\TIDP5Evd.dll" /pdbtype:sept
|
||||
# SUBTRACT BASE LINK32 /verbose /pdb:none
|
||||
# ADD LINK32 /nologo /subsystem:windows /dll /debug /machine:I386 /out:"X:\CPA\EXE\Main\EDT_Data\Tools\TIDP5Evd.dll" /pdbtype:sept
|
||||
# SUBTRACT LINK32 /verbose /pdb:none
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "TID - Win32 Debug Glide with Editors"
|
||||
# Name "TID - Win32 Debug with Editors"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "*.c *.cpp"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\_DLLcom.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\_IADItrf.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IAD.def
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADClBck.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADDgFnd.cpp
|
||||
# ADD CPP /I "X:\Cpa\TempGrp\TID\Inc"
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADDgIf.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADDgQu.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADDgSN.cpp
|
||||
# ADD CPP /I "X:\Cpa\TempGrp\TID\Inc"
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADDgStp.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADDoc.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADEdtTr.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADFmMn.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADGlob.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADIni.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADLnkMt.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADLstCt.cpp
|
||||
# ADD CPP /I "X:\Cpa\TempGrp\TID\Inc"
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\iadlstvr.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADTrCtl.cpp
|
||||
# ADD CPP /I "X:\Cpa\TempGrp\TID\Inc"
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\iadvrvw.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADVwMn.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADVwRst.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\IADWCBt.cpp
|
||||
# ADD CPP /I "X:\Cpa\TempGrp\TID\Inc"
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Src\StdAfx.cpp
|
||||
|
||||
!IF "$(CFG)" == "TID - Win32 Debug Glide with Editors"
|
||||
|
||||
# ADD CPP /Gi- /Yc"stdafx.h"
|
||||
|
||||
!ELSEIF "$(CFG)" == "TID - Win32 Debug with Editors"
|
||||
|
||||
# ADD CPP /Yc"stdafx.h"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "*.h *.hpp"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\_IADItrf.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\debugcom.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\help_def.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IAD_Res.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IAD_Res.hm
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADClBck.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADCnst.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADDgFnd.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADDgIf.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADDgQu.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADDgSN.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADDgStp.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADDoc.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADEdtTr.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADFmMn.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADGlob.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADLnkMt.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADLstCt.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\iadlstvr.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADStrg.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADTrCtl.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\iadvrvw.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADVwMn.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IADVwRst.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\inc\IADWCBt.hpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\StdAfx.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Resources"
|
||||
|
||||
# PROP Default_Filter "*.res *.ico *.rc *.bmp"
|
||||
# Begin Group "Dependencies"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\bitmap1.bmp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\bitmap_i.bmp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\bitmap_m.bmp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\bitmap_q.bmp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\bmp00010.bmp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\bmp00011.bmp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\bmp00012.bmp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\bmp00013.bmp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\Busy_l.cur
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\cur00001.cur
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\cur00002.cur
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\cursor_1.cur
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\cursor_d.cur
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\cursor_u.cur
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\EdCarac.ico
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\res\ico00001.ico
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\ico00002.ico
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\icon_fin.ico
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Res\inextline.ico
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Inc\IAD.rc
|
||||
|
||||
!IF "$(CFG)" == "TID - Win32 Debug Glide with Editors"
|
||||
|
||||
!ELSEIF "$(CFG)" == "TID - Win32 Debug with Editors"
|
||||
|
||||
# PROP Exclude_From_Build 1
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Others"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# End Group
|
||||
# Begin Group "Libs Debug"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\Exe\Main\EDT_DATA\ErO___vd.lib
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\Exe\Main\MaiDFEvd.lib
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\Exe\Main\EDT_DATA\objects\OAcDFEvd.lib
|
||||
# End Source File
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
800
Rayman_X/cpa/tempgrp/TID/make/TID.vcproj
Normal file
@@ -0,0 +1,800 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="TID"
|
||||
ProjectGUID="{9894DE31-B6AA-47DB-80BF-E4D4C815BB52}"
|
||||
SccProjectName=""$/cpa/tempgrp/TID/make", CXEAAAAA"
|
||||
SccAuxPath=""
|
||||
SccLocalPath="."
|
||||
SccProvider="MSSCCI:NXN alienbrain"
|
||||
Keyword="MFCProj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug Glide with Editors|Win32"
|
||||
OutputDirectory="x:\CPA\EXE\Main\Edt_Data\Tools"
|
||||
IntermediateDirectory=".\..\Tmp\TIDDFEvd"
|
||||
ConfigurationType="2"
|
||||
UseOfMFC="2"
|
||||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="X:\CPA\Public,..\inc,t:\dxsdk\sdk\inc"
|
||||
PreprocessorDefinitions="CPA_WANTS_IMPORT;ACTIVE_EDITOR;WIN32;_DEBUG;_WINDOWS;CPA_VISUAL;CPA_DEBUG"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="3"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\..\Tmp\TIDDFEvd/TID.pch"
|
||||
AssemblerListingLocation=".\..\Tmp\TIDDFEvd/"
|
||||
ObjectFile=".\..\Tmp\TIDDFEvd/"
|
||||
ProgramDataBaseFileName=".\..\Tmp\TIDDFEvd/"
|
||||
BrowseInformation="1"
|
||||
WarningLevel="3"
|
||||
SuppressStartupBanner="TRUE"
|
||||
DebugInformationFormat="1"
|
||||
CompileAs="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="ero___vd.lib maidfevd.lib oacdfevd.lib"
|
||||
OutputFile="X:\CPA\EXE\Main\EDT_Data\Tools\TIDDFEvd.dll"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
AdditionalLibraryDirectories="X:\cpa\exe\main\edt_data\objects;X:\cpa\exe\main\edt_data;X:\cpa\exe\main;X:\cpa\libd"
|
||||
IgnoreDefaultLibraryNames=""
|
||||
ModuleDefinitionFile="..\Src\IAD.def"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="x:\CPA\EXE\Main\Edt_Data\Tools/TIDDFEvd.pdb"
|
||||
SubSystem="2"
|
||||
ImportLibrary="x:\CPA\EXE\Main\Edt_Data\Tools/TIDDFEvd.lib"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
MkTypLibCompatible="TRUE"
|
||||
SuppressStartupBanner="TRUE"
|
||||
TargetEnvironment="1"
|
||||
TypeLibraryName="x:\CPA\EXE\Main\Edt_Data\Tools/TID.tlb"
|
||||
HeaderFileName=""/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
Culture="1036"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug with Editors|Win32"
|
||||
OutputDirectory="x:\CPA\EXE\Main\Edt_Data\Tools"
|
||||
IntermediateDirectory=".\..\Tmp\TIDP5Evd"
|
||||
ConfigurationType="2"
|
||||
UseOfMFC="2"
|
||||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="X:\CPA\Public,..\inc,t:\dxsdk\sdk\inc"
|
||||
PreprocessorDefinitions="CPA_WANTS_IMPORT;ACTIVE_EDITOR;WIN32;_DEBUG;_WINDOWS;CPA_VISUAL;CPA_DEBUG"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="3"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\..\Tmp\TIDP5Evd/TID.pch"
|
||||
AssemblerListingLocation=".\..\Tmp\TIDP5Evd/"
|
||||
ObjectFile=".\..\Tmp\TIDP5Evd/"
|
||||
ProgramDataBaseFileName=".\..\Tmp\TIDP5Evd/"
|
||||
BrowseInformation="1"
|
||||
WarningLevel="3"
|
||||
SuppressStartupBanner="TRUE"
|
||||
DebugInformationFormat="4"
|
||||
CompileAs="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="X:\CPA\EXE\Main\EDT_Data\Tools\TIDP5Evd.dll"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
ModuleDefinitionFile="..\Src\IAD.def"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="x:\CPA\EXE\Main\Edt_Data\Tools/TIDP5Evd.pdb"
|
||||
SubSystem="2"
|
||||
ImportLibrary="x:\CPA\EXE\Main\Edt_Data\Tools/TIDP5Evd.lib"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
MkTypLibCompatible="TRUE"
|
||||
SuppressStartupBanner="TRUE"
|
||||
TargetEnvironment="1"
|
||||
TypeLibraryName="x:\CPA\EXE\Main\Edt_Data\Tools/TID.tlb"
|
||||
HeaderFileName=""/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
Culture="1036"
|
||||
AdditionalIncludeDirectories="..\inc"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="*.c *.cpp">
|
||||
<File
|
||||
RelativePath="..\Src\_DLLcom.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\_IADItrf.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IAD.def">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADClBck.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADDgFnd.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="X:\Cpa\TempGrp\TID\Inc"
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="X:\Cpa\TempGrp\TID\Inc"
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADDgIf.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADDgQu.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADDgSN.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="X:\Cpa\TempGrp\TID\Inc"
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="X:\Cpa\TempGrp\TID\Inc"
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADDgStp.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADDoc.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADEdtTr.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADFmMn.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADGlob.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADIni.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADLnkMt.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADLstCt.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="X:\Cpa\TempGrp\TID\Inc"
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="X:\Cpa\TempGrp\TID\Inc"
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\iadlstvr.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADTrCtl.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="X:\Cpa\TempGrp\TID\Inc"
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="X:\Cpa\TempGrp\TID\Inc"
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\iadvrvw.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADVwMn.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADVwRst.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\IADWCBt.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="X:\Cpa\TempGrp\TID\Inc"
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="X:\Cpa\TempGrp\TID\Inc"
|
||||
PreprocessorDefinitions=""
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Src\StdAfx.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
UsePrecompiledHeader="1"
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
UsePrecompiledHeader="1"
|
||||
BrowseInformation="1"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="*.h *.hpp">
|
||||
<File
|
||||
RelativePath="..\Inc\_IADItrf.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\debugcom.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\help_def.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IAD_Res.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IAD_Res.hm">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADClBck.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADCnst.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADDgFnd.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADDgIf.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADDgQu.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADDgSN.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADDgStp.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADDoc.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADEdtTr.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADFmMn.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADGlob.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADLnkMt.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADLstCt.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\iadlstvr.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADStrg.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADTrCtl.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\iadvrvw.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADVwMn.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\IADVwRst.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\inc\IADWCBt.hpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Inc\StdAfx.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resources"
|
||||
Filter="*.res *.ico *.rc *.bmp">
|
||||
<File
|
||||
RelativePath="..\Inc\IAD.rc">
|
||||
<FileConfiguration
|
||||
Name="Debug Glide with Editors|Win32">
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions=""
|
||||
AdditionalIncludeDirectories="\cpa\tempgrp\TID\Inc"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug with Editors|Win32"
|
||||
ExcludedFromBuild="TRUE">
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions=""
|
||||
AdditionalIncludeDirectories="\cpa\tempgrp\TID\Inc"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<Filter
|
||||
Name="Dependencies"
|
||||
Filter="">
|
||||
<File
|
||||
RelativePath="..\Res\bitmap1.bmp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\bitmap_i.bmp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\bitmap_m.bmp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\bitmap_q.bmp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\bmp00010.bmp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\bmp00011.bmp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\bmp00012.bmp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\bmp00013.bmp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\Busy_l.cur">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\cur00001.cur">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\cur00002.cur">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\cursor_1.cur">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\cursor_d.cur">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\cursor_u.cur">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\EdCarac.ico">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\res\ico00001.ico">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\ico00002.ico">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\icon_fin.ico">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Res\inextline.ico">
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Others"
|
||||
Filter="">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
5
Rayman_X/cpa/tempgrp/TID/make/mssccprj.scc
Normal file
@@ -0,0 +1,5 @@
|
||||
SCC = This is a source code control file
|
||||
|
||||
[TID.vcproj]
|
||||
SCC_Aux_Path = "P4SCC#srvperforce-ma:1666##raymandata##Editor"
|
||||
SCC_Project_Name = Perforce Project
|