Open source remastering of the Freespace 2 engine
event_editor Class Reference

#include <eventeditor.h>

Inheritance diagram for event_editor:

Public Types


Public Member Functions

void update_persona ()
void save ()
char * current_message_name (int index)
char * get_message_list_item (int i)
int save_message (int num)
void update_cur_message ()
HTREEITEM get_event_handle (int num)
void reset_event (int num, HTREEITEM after)
void save_event (int e)
void swap_handler (int node1, int node2)
void insert_handler (int old, int node)
int query_modified ()
void OnOK ()
void OnCancel ()
int handler (int code, int node, char *str=NULL)
void create_tree ()
void load_tree ()
 event_editor (CWnd *pParent=NULL)
virtual BOOL DestroyWindow ()

Public Attributes

int modified
int select_sexp_node
event_sexp_tree m_event_tree
UINT m_repeat_count
UINT m_trigger_count
UINT m_interval
int m_event_score
int m_chain_delay
BOOL m_chained
CString m_obj_text
CString m_obj_key_text
CString m_avi_filename
CString m_message_name
CString m_message_text
int m_persona
CString m_wave_filename
int m_cur_msg
int m_team
int m_message_team
int m_last_message_node
int m_log_true
int m_log_false
int m_log_always_false
int m_log_1st_repeat
int m_log_last_repeat
int m_log_1st_trigger
int m_log_last_trigger
int m_log_state_change
CBitmap m_play_bm

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnRclickEventTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnBeginlabeleditEventTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnEndlabeleditEventTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnButtonNewEvent ()
afx_msg void OnDelete ()
afx_msg void OnOk ()
afx_msg void OnClose ()
afx_msg void OnSelchangedEventTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnUpdateRepeatCount ()
afx_msg void OnUpdateTriggerCount ()
afx_msg void OnChained ()
afx_msg void OnInsert ()
afx_msg void OnSelchangeMessageList ()
afx_msg void OnNewMsg ()
afx_msg void OnDeleteMsg ()
afx_msg void OnBrowseAvi ()
afx_msg void OnBrowseWave ()
afx_msg void OnSelchangeWaveFilename ()
afx_msg void OnPlay ()
afx_msg void OnUpdate ()
afx_msg void On_Cancel ()
afx_msg void OnSelchangeTeam ()
afx_msg void OnSelchangeMessageTeam ()
afx_msg void OnDblclkMessageList ()

Detailed Description

Definition at line 28 of file eventeditor.h.

Member Enumeration Documentation

anonymous enum

Definition at line 55 of file eventeditor.h.

Constructor & Destructor Documentation

event_editor::event_editor ( CWnd *  pParent = NULL)

Definition at line 35 of file eventeditor.cpp.

Member Function Documentation

void event_editor::create_tree ( )

Definition at line 334 of file eventeditor.cpp.

char * event_editor::current_message_name ( int  index)

Definition at line 1395 of file eventeditor.cpp.

BOOL event_editor::DestroyWindow ( )

Definition at line 1468 of file eventeditor.cpp.

void event_editor::DoDataExchange ( CDataExchange *  pDX)

Definition at line 73 of file eventeditor.cpp.

HTREEITEM event_editor::get_event_handle ( int  num)

Definition at line 719 of file eventeditor.cpp.

char * event_editor::get_message_list_item ( int  i)

Definition at line 1404 of file eventeditor.cpp.

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

Definition at line 624 of file eventeditor.cpp.

void event_editor::insert_handler ( int  old,
int  node 

Definition at line 830 of file eventeditor.cpp.

void event_editor::load_tree ( )

Definition at line 293 of file eventeditor.cpp.

void event_editor::On_Cancel ( )

Definition at line 796 of file eventeditor.cpp.

void event_editor::OnBeginlabeleditEventTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 372 of file eventeditor.cpp.

void event_editor::OnBrowseAvi ( )

Definition at line 1342 of file eventeditor.cpp.

void event_editor::OnBrowseWave ( )

Definition at line 1365 of file eventeditor.cpp.

void event_editor::OnButtonNewEvent ( )

Definition at line 667 of file eventeditor.cpp.

void event_editor::OnCancel ( )

Definition at line 791 of file eventeditor.cpp.

void event_editor::OnChained ( )

Definition at line 1164 of file eventeditor.cpp.

void event_editor::OnClose ( )

Definition at line 806 of file eventeditor.cpp.

void event_editor::OnDblclkMessageList ( )

Definition at line 1537 of file eventeditor.cpp.

void event_editor::OnDelete ( )

Definition at line 771 of file eventeditor.cpp.

void event_editor::OnDeleteMsg ( )

Definition at line 1308 of file eventeditor.cpp.

void event_editor::OnEndlabeleditEventTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 388 of file eventeditor.cpp.

BOOL event_editor::OnInitDialog ( )

Definition at line 163 of file eventeditor.cpp.

void event_editor::OnInsert ( )

Definition at line 682 of file eventeditor.cpp.

void event_editor::OnNewMsg ( )

Definition at line 1288 of file eventeditor.cpp.

void event_editor::OnOK ( )

Definition at line 397 of file eventeditor.cpp.

void event_editor::OnOk ( )

Definition at line 485 of file eventeditor.cpp.

void event_editor::OnPlay ( )

Definition at line 1477 of file eventeditor.cpp.

void event_editor::OnRclickEventTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 365 of file eventeditor.cpp.

void event_editor::OnSelchangedEventTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 947 of file eventeditor.cpp.

void event_editor::OnSelchangeMessageList ( )

Definition at line 1197 of file eventeditor.cpp.

void event_editor::OnSelchangeMessageTeam ( )

Definition at line 1520 of file eventeditor.cpp.

void event_editor::OnSelchangeTeam ( )

Definition at line 1503 of file eventeditor.cpp.

void event_editor::OnSelchangeWaveFilename ( )

Definition at line 1450 of file eventeditor.cpp.

void event_editor::OnUpdate ( )

Definition at line 1495 of file eventeditor.cpp.

void event_editor::OnUpdateRepeatCount ( )

Definition at line 1097 of file eventeditor.cpp.

void event_editor::OnUpdateTriggerCount ( )

Definition at line 1111 of file eventeditor.cpp.

int event_editor::query_modified ( )

Definition at line 412 of file eventeditor.cpp.

void event_editor::reset_event ( int  num,

Definition at line 735 of file eventeditor.cpp.

void event_editor::save ( )

Definition at line 845 of file eventeditor.cpp.

void event_editor::save_event ( int  e)

Definition at line 853 of file eventeditor.cpp.

int event_editor::save_message ( int  num)

Definition at line 1216 of file eventeditor.cpp.

void event_editor::swap_handler ( int  node1,
int  node2 

Definition at line 1125 of file eventeditor.cpp.

void event_editor::update_cur_message ( )

Definition at line 559 of file eventeditor.cpp.

void event_editor::update_persona ( )

Definition at line 1409 of file eventeditor.cpp.

Member Data Documentation

CString event_editor::m_avi_filename

Definition at line 65 of file eventeditor.h.

int event_editor::m_chain_delay

Definition at line 61 of file eventeditor.h.

BOOL event_editor::m_chained

Definition at line 62 of file eventeditor.h.

int event_editor::m_cur_msg

Definition at line 70 of file eventeditor.h.

int event_editor::m_event_score

Definition at line 60 of file eventeditor.h.

event_sexp_tree event_editor::m_event_tree

Definition at line 56 of file eventeditor.h.

UINT event_editor::m_interval

Definition at line 59 of file eventeditor.h.

int event_editor::m_last_message_node

Definition at line 73 of file eventeditor.h.

int event_editor::m_log_1st_repeat

Definition at line 77 of file eventeditor.h.

int event_editor::m_log_1st_trigger

Definition at line 79 of file eventeditor.h.

int event_editor::m_log_always_false

Definition at line 76 of file eventeditor.h.

int event_editor::m_log_false

Definition at line 75 of file eventeditor.h.

int event_editor::m_log_last_repeat

Definition at line 78 of file eventeditor.h.

int event_editor::m_log_last_trigger

Definition at line 80 of file eventeditor.h.

int event_editor::m_log_state_change

Definition at line 81 of file eventeditor.h.

int event_editor::m_log_true

Definition at line 74 of file eventeditor.h.

CString event_editor::m_message_name

Definition at line 66 of file eventeditor.h.

int event_editor::m_message_team

Definition at line 72 of file eventeditor.h.

CString event_editor::m_message_text

Definition at line 67 of file eventeditor.h.

CString event_editor::m_obj_key_text

Definition at line 64 of file eventeditor.h.

CString event_editor::m_obj_text

Definition at line 63 of file eventeditor.h.

int event_editor::m_persona

Definition at line 68 of file eventeditor.h.

CBitmap event_editor::m_play_bm

Definition at line 84 of file eventeditor.h.

UINT event_editor::m_repeat_count

Definition at line 57 of file eventeditor.h.

int event_editor::m_team

Definition at line 71 of file eventeditor.h.

UINT event_editor::m_trigger_count

Definition at line 58 of file eventeditor.h.

CString event_editor::m_wave_filename

Definition at line 69 of file eventeditor.h.

int event_editor::modified

Definition at line 49 of file eventeditor.h.

int event_editor::select_sexp_node

Definition at line 50 of file eventeditor.h.

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