FS2_Open
Open source remastering of the Freespace 2 engine
campaign_editor Class Reference

#include <campaigneditordlg.h>

Inheritance diagram for campaign_editor:

Public Types

enum  { IDD = IDD_CAMPAIGN }
 

Public Member Functions

void mission_selected (int num)
 
void insert_handler (int old, int node)
 
void swap_handler (int node1, int node2)
 
void update ()
 
void load_tree (int save=1)
 
void save_tree (int clear=1)
 
int handler (int code, int node, char *str=NULL)
 
void initialize (int init_files=1)
 
void load_campaign ()
 
void update_loop_desc_window ()
 
void save_loop_desc_window ()
 
virtual BOOL Create (LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, CCreateContext *pContext=NULL)
 

Public Attributes

campaign_sexp_tree m_tree
 
campaign_filelist_box m_filelist
 
CString m_name
 
int m_type
 
CString m_num_players
 
CString m_desc
 
CString m_branch_desc
 
CString m_branch_brief_anim
 
CString m_branch_brief_sound
 
BOOL m_custom_tech_db
 

Protected Member Functions

 campaign_editor ()
 
virtual void DoDataExchange (CDataExchange *pDX)
 
virtual void OnUpdate (CView *pSender, LPARAM lHint, CObject *pHint)
 
virtual ~campaign_editor ()
 
afx_msg void OnLoad ()
 
afx_msg void OnAlign ()
 
afx_msg void OnCpgnClose ()
 
afx_msg void OnRclickTree (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBeginlabeleditSexpTree (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEndlabeleditSexpTree (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnSelchangedSexpTree (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnMoveUp ()
 
afx_msg void OnMoveDown ()
 
afx_msg void OnEndEdit ()
 
afx_msg void OnChangeBriefingCutscene ()
 
afx_msg void OnSelchangeType ()
 
afx_msg void OnToggleLoop ()
 
afx_msg void OnBrowseLoopAni ()
 
afx_msg void OnBrowseLoopSound ()
 
afx_msg void OnChangeMainHall ()
 
afx_msg void OnChangeDebriefingPersona ()
 
afx_msg void OnCustomTechDB ()
 

Detailed Description

Definition at line 28 of file campaigneditordlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 52 of file campaigneditordlg.h.

Constructor & Destructor Documentation

campaign_editor::campaign_editor ( )
protected

Definition at line 40 of file campaigneditordlg.cpp.

campaign_editor::~campaign_editor ( )
protectedvirtual

Definition at line 60 of file campaigneditordlg.cpp.

Member Function Documentation

BOOL campaign_editor::Create ( LPCTSTR  lpszClassName,
LPCTSTR  lpszWindowName,
DWORD  dwStyle,
const RECT &  rect,
CWnd *  pParentWnd,
UINT  nID,
CCreateContext *  pContext = NULL 
)
virtual

Definition at line 159 of file campaigneditordlg.cpp.

void campaign_editor::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 64 of file campaigneditordlg.cpp.

int campaign_editor::handler ( int  code,
int  node,
char *  str = NULL 
)

Definition at line 405 of file campaigneditordlg.cpp.

void campaign_editor::initialize ( int  init_files = 1)

Definition at line 203 of file campaigneditordlg.cpp.

void campaign_editor::insert_handler ( int  old,
int  node 
)

Definition at line 595 of file campaigneditordlg.cpp.

void campaign_editor::load_campaign ( )

Definition at line 177 of file campaigneditordlg.cpp.

void campaign_editor::load_tree ( int  save = 1)

Definition at line 316 of file campaigneditordlg.cpp.

void campaign_editor::mission_selected ( int  num)

Definition at line 246 of file campaigneditordlg.cpp.

void campaign_editor::OnAlign ( )
protected

Definition at line 196 of file campaigneditordlg.cpp.

void campaign_editor::OnBeginlabeleditSexpTree ( NMHDR *  pNMHDR,
LRESULT pResult 
)
protected

Definition at line 386 of file campaigneditordlg.cpp.

void campaign_editor::OnBrowseLoopAni ( )
protected

Definition at line 812 of file campaigneditordlg.cpp.

void campaign_editor::OnBrowseLoopSound ( )
protected

Definition at line 833 of file campaigneditordlg.cpp.

void campaign_editor::OnChangeBriefingCutscene ( )
protected

Definition at line 623 of file campaigneditordlg.cpp.

void campaign_editor::OnChangeDebriefingPersona ( )
protected

Definition at line 867 of file campaigneditordlg.cpp.

void campaign_editor::OnChangeMainHall ( )
protected

Definition at line 855 of file campaigneditordlg.cpp.

void campaign_editor::OnCpgnClose ( )
protected

Definition at line 311 of file campaigneditordlg.cpp.

void campaign_editor::OnCustomTechDB ( )
protected

Definition at line 886 of file campaigneditordlg.cpp.

void campaign_editor::OnEndEdit ( )
protected

Definition at line 610 of file campaigneditordlg.cpp.

void campaign_editor::OnEndlabeleditSexpTree ( NMHDR *  pNMHDR,
LRESULT pResult 
)
protected

Definition at line 398 of file campaigneditordlg.cpp.

void campaign_editor::OnLoad ( )
protected

Definition at line 130 of file campaigneditordlg.cpp.

void campaign_editor::OnMoveDown ( )
protected

Definition at line 525 of file campaigneditordlg.cpp.

void campaign_editor::OnMoveUp ( )
protected

Definition at line 491 of file campaigneditordlg.cpp.

void campaign_editor::OnRclickTree ( NMHDR *  pNMHDR,
LRESULT pResult 
)
protected

Definition at line 380 of file campaigneditordlg.cpp.

void campaign_editor::OnSelchangedSexpTree ( NMHDR *  pNMHDR,
LRESULT pResult 
)
protected

Definition at line 450 of file campaigneditordlg.cpp.

void campaign_editor::OnSelchangeType ( )
protected

Definition at line 643 of file campaigneditordlg.cpp.

void campaign_editor::OnToggleLoop ( )
protected

Definition at line 733 of file campaigneditordlg.cpp.

void campaign_editor::OnUpdate ( CView *  pSender,
LPARAM  lHint,
CObject *  pHint 
)
protectedvirtual

Definition at line 125 of file campaigneditordlg.cpp.

void campaign_editor::save_loop_desc_window ( )

Definition at line 653 of file campaigneditordlg.cpp.

void campaign_editor::save_tree ( int  clear = 1)

Definition at line 428 of file campaigneditordlg.cpp.

void campaign_editor::swap_handler ( int  node1,
int  node2 
)

Definition at line 558 of file campaigneditordlg.cpp.

void campaign_editor::update ( )

Definition at line 268 of file campaigneditordlg.cpp.

void campaign_editor::update_loop_desc_window ( )

Definition at line 692 of file campaigneditordlg.cpp.

Member Data Documentation

CString campaign_editor::m_branch_brief_anim

Definition at line 60 of file campaigneditordlg.h.

CString campaign_editor::m_branch_brief_sound

Definition at line 61 of file campaigneditordlg.h.

CString campaign_editor::m_branch_desc

Definition at line 59 of file campaigneditordlg.h.

BOOL campaign_editor::m_custom_tech_db

Definition at line 62 of file campaigneditordlg.h.

CString campaign_editor::m_desc

Definition at line 58 of file campaigneditordlg.h.

campaign_filelist_box campaign_editor::m_filelist

Definition at line 54 of file campaigneditordlg.h.

CString campaign_editor::m_name

Definition at line 55 of file campaigneditordlg.h.

CString campaign_editor::m_num_players

Definition at line 57 of file campaigneditordlg.h.

campaign_sexp_tree campaign_editor::m_tree

Definition at line 53 of file campaigneditordlg.h.

int campaign_editor::m_type

Definition at line 56 of file campaigneditordlg.h.


The documentation for this class was generated from the following files: