Open source remastering of the Freespace 2 engine
briefing_editor_dlg Class Reference

#include <briefingeditordlg.h>

Inheritance diagram for briefing_editor_dlg:

Public Types


Public Member Functions

void focus_sexp (int select_sexp_node)
int calc_num_lines_for_icons (int num)
void batch_render ()
void save_editor_state ()
void restore_editor_state ()
void reset_icon_loop (int stage)
int get_next_icon (int id)
void OnOK ()
void OnCancel ()
int find_icon (int id, int stage)
void propagate_icon (int num)
void reset_editor ()
int check_mouse_hit (int x, int y)
void delete_icon (int num)
void update_positions ()
void icon_select (int num)
void draw_icon (object *objp)
void create ()
void update_data (int update=1)
 briefing_editor_dlg (CWnd *pParent=NULL)
virtual BOOL DestroyWindow ()

Public Attributes

sexp_tree m_tree
CButton m_lines
BOOL m_hilight
int m_icon_image
CString m_icon_label
CString m_stage_title
CString m_text
CString m_time
CString m_voice
CString m_icon_text
int m_icon_team
int m_ship_type
BOOL m_change_local
int m_id
int m_briefing_music
CString m_substitute_briefing_music
BOOL m_cut_next
BOOL m_cut_prev
int m_current_briefing
BOOL m_flipicon
BOOL m_use_wing
BOOL m_use_cargo
CBitmap m_play_bm
int m_copy_view_set
vec3d m_copy_view_pos
matrix m_copy_view_orient

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnCommand (WPARAM wParam, LPARAM lParam)
void copy_stage (int from, int to)
afx_msg void OnClose ()
afx_msg void OnNext ()
afx_msg void OnPrev ()
afx_msg void OnBrowse ()
afx_msg void OnAddStage ()
afx_msg void OnDeleteStage ()
afx_msg void OnInsertStage ()
afx_msg void OnMakeIcon ()
afx_msg void OnDeleteIcon ()
afx_msg void OnGotoView ()
afx_msg void OnSaveView ()
afx_msg void OnSelchangeIconImage ()
afx_msg void OnSelchangeTeam ()
afx_msg void OnSelchangeShipType ()
afx_msg void OnPropagateIcons ()
afx_msg void OnInitMenu (CMenu *pMenu)
afx_msg void OnLines ()
afx_msg void OnRclickTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnBeginlabeleditTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnEndlabeleditTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnPlay ()
afx_msg void OnCopyView ()
afx_msg void OnPasteView ()
afx_msg void OnFlipIcon ()
afx_msg void OnWingIcon ()
afx_msg void OnCargoIcon ()

Protected Attributes

int icon_loop
int stage_loop
int m_cur_stage
int m_last_stage
int m_cur_icon
int m_last_icon
int m_voice_id
int stage_saved
int icon_saved
int modified
int icon_obj [MAX_STAGE_ICONS]
int icon_marked [MAX_STAGE_ICONS]
int line_marked [MAX_BRIEF_STAGE_LINES]

Detailed Description

Definition at line 21 of file briefingeditordlg.h.

Member Enumeration Documentation

anonymous enum

Definition at line 48 of file briefingeditordlg.h.

Constructor & Destructor Documentation

briefing_editor_dlg::briefing_editor_dlg ( CWnd *  pParent = NULL)

Definition at line 44 of file briefingeditordlg.cpp.

Member Function Documentation

void briefing_editor_dlg::batch_render ( )

Definition at line 838 of file briefingeditordlg.cpp.

int briefing_editor_dlg::calc_num_lines_for_icons ( int  num)

Definition at line 728 of file briefingeditordlg.cpp.

int briefing_editor_dlg::check_mouse_hit ( int  x,
int  y 

Definition at line 1242 of file briefingeditordlg.cpp.

void briefing_editor_dlg::copy_stage ( int  from,
int  to 

Definition at line 885 of file briefingeditordlg.cpp.

void briefing_editor_dlg::create ( )

Definition at line 183 of file briefingeditordlg.cpp.

void briefing_editor_dlg::delete_icon ( int  num)

Definition at line 1174 of file briefingeditordlg.cpp.

BOOL briefing_editor_dlg::DestroyWindow ( )

Definition at line 1387 of file briefingeditordlg.cpp.

void briefing_editor_dlg::DoDataExchange ( CDataExchange *  pDX)

Definition at line 91 of file briefingeditordlg.cpp.

void briefing_editor_dlg::draw_icon ( object objp)

Definition at line 829 of file briefingeditordlg.cpp.

int briefing_editor_dlg::find_icon ( int  id,
int  stage 

Definition at line 1291 of file briefingeditordlg.cpp.

void briefing_editor_dlg::focus_sexp ( int  select_sexp_node)

Definition at line 226 of file briefingeditordlg.cpp.

int briefing_editor_dlg::get_next_icon ( int  id)

Definition at line 1309 of file briefingeditordlg.cpp.

void briefing_editor_dlg::icon_select ( int  num)

Definition at line 851 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnAddStage ( )

Definition at line 789 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnBeginlabeleditTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 1368 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnBrowse ( )

Definition at line 762 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnCancel ( )

Definition at line 249 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnCargoIcon ( )

Definition at line 1448 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnClose ( )

Definition at line 254 of file briefingeditordlg.cpp.

BOOL briefing_editor_dlg::OnCommand ( WPARAM  wParam,
LPARAM  lParam 

Definition at line 1328 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnCopyView ( )

Definition at line 1412 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnDeleteIcon ( )

Definition at line 1169 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnDeleteStage ( )

Definition at line 803 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnEndlabeleditTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 1380 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnFlipIcon ( )

Definition at line 1438 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnGotoView ( )

Definition at line 1208 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnInitMenu ( CMenu *  pMenu)

Definition at line 157 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnInsertStage ( )

Definition at line 857 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnLines ( )

Definition at line 1352 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnMakeIcon ( )

Definition at line 936 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnNext ( )

Definition at line 742 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnOK ( )

Definition at line 245 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnPasteView ( )

Definition at line 1421 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnPlay ( )

Definition at line 1394 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnPrev ( )

Definition at line 752 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnPropagateIcons ( )

Definition at line 1260 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnRclickTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 1362 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnSaveView ( )

Definition at line 1218 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnSelchangeIconImage ( )

Definition at line 1227 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnSelchangeShipType ( )

Definition at line 1237 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnSelchangeTeam ( )

Definition at line 1232 of file briefingeditordlg.cpp.

void briefing_editor_dlg::OnWingIcon ( )

Definition at line 1443 of file briefingeditordlg.cpp.

void briefing_editor_dlg::propagate_icon ( int  num)

Definition at line 1274 of file briefingeditordlg.cpp.

void briefing_editor_dlg::reset_editor ( )

Definition at line 286 of file briefingeditordlg.cpp.

void briefing_editor_dlg::reset_icon_loop ( int  stage)

Definition at line 1303 of file briefingeditordlg.cpp.

void briefing_editor_dlg::restore_editor_state ( )

Definition at line 303 of file briefingeditordlg.cpp.

void briefing_editor_dlg::save_editor_state ( )

Definition at line 297 of file briefingeditordlg.cpp.

void briefing_editor_dlg::update_data ( int  update = 1)

Definition at line 309 of file briefingeditordlg.cpp.

void briefing_editor_dlg::update_positions ( )

Definition at line 913 of file briefingeditordlg.cpp.

Member Data Documentation

int briefing_editor_dlg::icon_loop

Definition at line 94 of file briefingeditordlg.h.

int briefing_editor_dlg::icon_marked[MAX_STAGE_ICONS]

Definition at line 105 of file briefingeditordlg.h.

int briefing_editor_dlg::icon_obj[MAX_STAGE_ICONS]

Definition at line 104 of file briefingeditordlg.h.

int briefing_editor_dlg::icon_saved

Definition at line 101 of file briefingeditordlg.h.

brief_icon* briefing_editor_dlg::iconp

Definition at line 92 of file briefingeditordlg.h.

int briefing_editor_dlg::line_marked[MAX_BRIEF_STAGE_LINES]

Definition at line 106 of file briefingeditordlg.h.

int briefing_editor_dlg::m_briefing_music

Definition at line 63 of file briefingeditordlg.h.

BOOL briefing_editor_dlg::m_change_local

Definition at line 61 of file briefingeditordlg.h.

matrix briefing_editor_dlg::m_copy_view_orient

Definition at line 78 of file briefingeditordlg.h.

vec3d briefing_editor_dlg::m_copy_view_pos

Definition at line 77 of file briefingeditordlg.h.

int briefing_editor_dlg::m_copy_view_set

Definition at line 76 of file briefingeditordlg.h.

int briefing_editor_dlg::m_cur_icon

Definition at line 97 of file briefingeditordlg.h.

int briefing_editor_dlg::m_cur_stage

Definition at line 95 of file briefingeditordlg.h.

int briefing_editor_dlg::m_current_briefing

Definition at line 67 of file briefingeditordlg.h.

BOOL briefing_editor_dlg::m_cut_next

Definition at line 65 of file briefingeditordlg.h.

BOOL briefing_editor_dlg::m_cut_prev

Definition at line 66 of file briefingeditordlg.h.

BOOL briefing_editor_dlg::m_flipicon

Definition at line 68 of file briefingeditordlg.h.

BOOL briefing_editor_dlg::m_hilight

Definition at line 51 of file briefingeditordlg.h.

int briefing_editor_dlg::m_icon_image

Definition at line 52 of file briefingeditordlg.h.

CString briefing_editor_dlg::m_icon_label

Definition at line 53 of file briefingeditordlg.h.

int briefing_editor_dlg::m_icon_team

Definition at line 59 of file briefingeditordlg.h.

CString briefing_editor_dlg::m_icon_text

Definition at line 58 of file briefingeditordlg.h.

int briefing_editor_dlg::m_id

Definition at line 62 of file briefingeditordlg.h.

int briefing_editor_dlg::m_last_icon

Definition at line 98 of file briefingeditordlg.h.

int briefing_editor_dlg::m_last_stage

Definition at line 96 of file briefingeditordlg.h.

CButton briefing_editor_dlg::m_lines

Definition at line 50 of file briefingeditordlg.h.

CBitmap briefing_editor_dlg::m_play_bm

Definition at line 73 of file briefingeditordlg.h.

int briefing_editor_dlg::m_ship_type

Definition at line 60 of file briefingeditordlg.h.

CString briefing_editor_dlg::m_stage_title

Definition at line 54 of file briefingeditordlg.h.

CString briefing_editor_dlg::m_substitute_briefing_music

Definition at line 64 of file briefingeditordlg.h.

CString briefing_editor_dlg::m_text

Definition at line 55 of file briefingeditordlg.h.

CString briefing_editor_dlg::m_time

Definition at line 56 of file briefingeditordlg.h.

sexp_tree briefing_editor_dlg::m_tree

Definition at line 49 of file briefingeditordlg.h.

BOOL briefing_editor_dlg::m_use_cargo

Definition at line 70 of file briefingeditordlg.h.

BOOL briefing_editor_dlg::m_use_wing

Definition at line 69 of file briefingeditordlg.h.

CString briefing_editor_dlg::m_voice

Definition at line 57 of file briefingeditordlg.h.

int briefing_editor_dlg::m_voice_id

Definition at line 99 of file briefingeditordlg.h.

int briefing_editor_dlg::modified

Definition at line 102 of file briefingeditordlg.h.

briefing* briefing_editor_dlg::save_briefing

Definition at line 93 of file briefingeditordlg.h.

int briefing_editor_dlg::stage_loop

Definition at line 94 of file briefingeditordlg.h.

int briefing_editor_dlg::stage_saved

Definition at line 100 of file briefingeditordlg.h.

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