#include <ScriptDialog.h>
Inherits CDialog.
|
| enum | { IDD = IDD_ScriptDialog
} |
| |
|
| virtual void | DoDataExchange (CDataExchange *pDX) |
| |
| HTREEITEM | addPlayer (Int playerIndx) |
| |
| void | addScriptList (HTREEITEM hPlayer, Int playerIndex, ScriptList *pSL) |
| |
| void | doDropOn (HTREEITEM hDrop, HTREEITEM hTarget) |
| |
| Script * | getCurScript (void) |
| |
| ScriptGroup * | getCurGroup (void) |
| |
| void | reloadPlayer (Int playerIndex, ScriptList *pSL) |
| |
| HTREEITEM | findItem (ListType sel, Bool failSafe=FALSE) |
| |
| void | insertScript (Script *pNewScript) |
| |
| void | scanForWaypointsAndTeams (Script *pScript, Bool doUnits, Bool doWaypoints, Bool doTriggers) |
| |
| void | scanParmForWaypointsAndTeams (Parameter *pParm, Bool doUnits, Bool doWaypoints, Bool doTriggers) |
| |
| void | updateSelection (ListType sel) |
| |
| void | setIconScript (HTREEITEM item) |
| |
| void | setIconGroup (HTREEITEM item) |
| |
| Bool | updateIcons (HTREEITEM hItem) |
| |
| void | markWaypoint (MapObject *pObj) |
| |
| afx_msg void | OnSelchangedScriptTree (NMHDR *pNMHDR, LRESULT *pResult) |
| |
| virtual BOOL | OnInitDialog () |
| |
| afx_msg void | OnNewFolder () |
| |
| afx_msg void | OnNewScript () |
| |
| afx_msg void | OnEditScript () |
| |
| afx_msg void | OnCopyScript () |
| |
| afx_msg void | OnDelete () |
| |
| afx_msg void | OnVerify () |
| |
| afx_msg void | OnPatchGC () |
| |
| afx_msg void | OnAutoVerify () |
| |
| afx_msg void | OnSave () |
| |
| afx_msg void | OnLoad () |
| |
| afx_msg void | OnDblclkScriptTree (NMHDR *pNMHDR, LRESULT *pResult) |
| |
| virtual void | OnOK () |
| |
| virtual void | OnCancel () |
| |
| afx_msg void | OnBegindragScriptTree (NMHDR *pNMHDR, LRESULT *pResult) |
| |
| afx_msg void | OnScriptActivate () |
| |
| afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
| |
| afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
| |
| afx_msg void | OnMove (int x, int y) |
| |
|
| static Bool | ParseObjectsDataChunk (DataChunkInput &file, DataChunkInfo *info, void *userData) |
| |
| static Bool | ParseObjectDataChunk (DataChunkInput &file, DataChunkInfo *info, void *userData) |
| |
| static Bool | ParsePolygonTriggersDataChunk (DataChunkInput &file, DataChunkInfo *info, void *userData) |
| |
| static Bool | ParseWaypointDataChunk (DataChunkInput &file, DataChunkInfo *info, void *userData) |
| |
| static Bool | ParseTeamsDataChunk (DataChunkInput &file, DataChunkInfo *info, void *userData) |
| |
| static Bool | ParsePlayersDataChunk (DataChunkInput &file, DataChunkInfo *info, void *userData) |
| |
Definition at line 64 of file ScriptDialog.h.
◆ anonymous enum
◆ ScriptDialog()
| ScriptDialog::ScriptDialog |
( |
CWnd * | pParent = NULL | ) |
|
◆ ~ScriptDialog()
| ScriptDialog::~ScriptDialog |
( |
| ) |
|
◆ addPlayer()
| HTREEITEM ScriptDialog::addPlayer |
( |
Int | playerIndx | ) |
|
|
protected |
◆ addScriptList()
| void ScriptDialog::addScriptList |
( |
HTREEITEM | hPlayer, |
|
|
Int | playerIndex, |
|
|
ScriptList * | pSL ) |
|
protected |
◆ checkParametersForGC()
| void ScriptDialog::checkParametersForGC |
( |
void | | ) |
|
|
static |
◆ DoDataExchange()
| void ScriptDialog::DoDataExchange |
( |
CDataExchange * | pDX | ) |
|
|
protectedvirtual |
◆ doDropOn()
| void ScriptDialog::doDropOn |
( |
HTREEITEM | hDrop, |
|
|
HTREEITEM | hTarget ) |
|
protected |
◆ findItem()
◆ friend_getCurGroup()
| ScriptGroup * ScriptDialog::friend_getCurGroup |
( |
void | | ) |
|
◆ friend_getCurScript()
| Script * ScriptDialog::friend_getCurScript |
( |
void | | ) |
|
◆ getCurGroup()
◆ getCurScript()
| Script * ScriptDialog::getCurScript |
( |
void | | ) |
|
|
protected |
◆ insertScript()
| void ScriptDialog::insertScript |
( |
Script * | pNewScript | ) |
|
|
protected |
◆ markWaypoint()
| void ScriptDialog::markWaypoint |
( |
MapObject * | pObj | ) |
|
|
protected |
◆ OnAutoVerify()
| void ScriptDialog::OnAutoVerify |
( |
| ) |
|
|
protected |
◆ OnBegindragScriptTree()
| void ScriptDialog::OnBegindragScriptTree |
( |
NMHDR * | pNMHDR, |
|
|
LRESULT * | pResult ) |
|
protected |
◆ OnCancel()
| void ScriptDialog::OnCancel |
( |
| ) |
|
|
protectedvirtual |
◆ OnCopyScript()
| void ScriptDialog::OnCopyScript |
( |
| ) |
|
|
protected |
◆ OnDblclkScriptTree()
| void ScriptDialog::OnDblclkScriptTree |
( |
NMHDR * | pNMHDR, |
|
|
LRESULT * | pResult ) |
|
protected |
◆ OnDelete()
| void ScriptDialog::OnDelete |
( |
| ) |
|
|
protected |
◆ OnEditScript()
| void ScriptDialog::OnEditScript |
( |
| ) |
|
|
protected |
◆ OnInitDialog()
| BOOL ScriptDialog::OnInitDialog |
( |
| ) |
|
|
protectedvirtual |
◆ OnLButtonUp()
| void ScriptDialog::OnLButtonUp |
( |
UINT | nFlags, |
|
|
CPoint | point ) |
|
protected |
◆ OnLoad()
| void ScriptDialog::OnLoad |
( |
| ) |
|
|
protected |
◆ OnMouseMove()
| void ScriptDialog::OnMouseMove |
( |
UINT | nFlags, |
|
|
CPoint | point ) |
|
protected |
◆ OnMove()
| void ScriptDialog::OnMove |
( |
int | x, |
|
|
int | y ) |
|
protected |
◆ OnNewFolder()
| void ScriptDialog::OnNewFolder |
( |
| ) |
|
|
protected |
◆ OnNewScript()
| void ScriptDialog::OnNewScript |
( |
| ) |
|
|
protected |
◆ OnOK()
| void ScriptDialog::OnOK |
( |
| ) |
|
|
protectedvirtual |
◆ OnPatchGC()
| void ScriptDialog::OnPatchGC |
( |
| ) |
|
|
protected |
◆ OnSave()
| void ScriptDialog::OnSave |
( |
| ) |
|
|
protected |
Write out selected scripts, and possibly waypoints, trigger areas & teams.
Definition at line 1267 of file ScriptDialog.cpp.
◆ OnScriptActivate()
| void ScriptDialog::OnScriptActivate |
( |
| ) |
|
|
protected |
This function reacts to the selection of "active" from the right click drop down menu
Updates attributes
Updates screen to reflect change
Updates attributes
Updates screen to reflect change
Definition at line 2115 of file ScriptDialog.cpp.
◆ OnSelchangedScriptTree()
| void ScriptDialog::OnSelchangedScriptTree |
( |
NMHDR * | pNMHDR, |
|
|
LRESULT * | pResult ) |
|
protected |
◆ OnVerify()
| void ScriptDialog::OnVerify |
( |
| ) |
|
|
protected |
Force a pass over all the scripts to make sure no warnings. I moved this to user control because this function is VERY slow. 7-15-03 -MW
Definition at line 364 of file ScriptDialog.cpp.
◆ ParseObjectDataChunk()
◆ ParseObjectsDataChunk()
◆ ParsePlayersDataChunk()
◆ ParsePolygonTriggersDataChunk()
◆ ParseTeamsDataChunk()
◆ ParseWaypointDataChunk()
◆ patchScriptParametersForGC()
| void ScriptDialog::patchScriptParametersForGC |
( |
Script * | pScript | ) |
|
|
static |
◆ reloadPlayer()
| void ScriptDialog::reloadPlayer |
( |
Int | playerIndex, |
|
|
ScriptList * | pSL ) |
|
protected |
◆ scanForWaypointsAndTeams()
| void ScriptDialog::scanForWaypointsAndTeams |
( |
Script * | pScript, |
|
|
Bool | doUnits, |
|
|
Bool | doWaypoints, |
|
|
Bool | doTriggers ) |
|
protected |
◆ scanParmForWaypointsAndTeams()
| void ScriptDialog::scanParmForWaypointsAndTeams |
( |
Parameter * | pParm, |
|
|
Bool | doUnits, |
|
|
Bool | doWaypoints, |
|
|
Bool | doTriggers ) |
|
protected |
◆ setIconGroup()
| void ScriptDialog::setIconGroup |
( |
HTREEITEM | item | ) |
|
|
protected |
◆ setIconScript()
| void ScriptDialog::setIconScript |
( |
HTREEITEM | item | ) |
|
|
protected |
◆ updateIcons()
| Bool ScriptDialog::updateIcons |
( |
HTREEITEM | hItem | ) |
|
|
protected |
◆ updateScriptWarning()
| void ScriptDialog::updateScriptWarning |
( |
Script * | pScript | ) |
|
|
static |
Updates the warning flags in a script, & script conditions & actions.
Definition at line 316 of file ScriptDialog.cpp.
◆ updateSelection()
| void ScriptDialog::updateSelection |
( |
ListType | sel | ) |
|
|
protected |
◆ updateWarnings()
| void ScriptDialog::updateWarnings |
( |
Bool | forceUpdate = false | ) |
|
|
static |
Updates the warning flags in the scripts, script groups & script conditions & actions.
Definition at line 381 of file ScriptDialog.cpp.
◆ m_autoUpdateWarnings
| Bool ScriptDialog::m_autoUpdateWarnings |
|
protected |
flag whether we should updateWarnings on script editor actions.
Definition at line 105 of file ScriptDialog.h.
◆ m_curSelection
◆ m_draggingTreeView
| Bool ScriptDialog::m_draggingTreeView |
|
protected |
◆ m_dragItem
| HTREEITEM ScriptDialog::m_dragItem |
|
protected |
◆ m_firstReadObject
◆ m_firstTrigger
◆ m_imageList
| CImageList ScriptDialog::m_imageList |
|
protected |
◆ m_maxWaypoint
| Int ScriptDialog::m_maxWaypoint |
|
protected |
◆ m_readPlayerNames
◆ m_sides
◆ m_staticThis
◆ m_waypointBase
| Int ScriptDialog::m_waypointBase |
|
protected |
◆ mTree
The documentation for this class was generated from the following files: