FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <sexp_tree.h>
Public Attributes | |
int | ctree_size |
int | m_mode |
int | item_index |
int | select_sexp_node |
BOOL | m_dragging |
HTREEITEM | m_h_drag |
HTREEITEM | m_h_drop |
CImageList * | m_p_image_list |
CEdit * | help_box |
CEdit * | mini_help_box |
CPoint | m_pt |
Protected Member Functions | |
afx_msg void | OnBegindrag (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnDestroy () |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnKeydown (NMHDR *pNMHDR, LRESULT *pResult) |
int | load_branch (int index, int parent) |
int | save_branch (int cur, int at_root=0) |
void | free_node2 (int node) |
Protected Attributes | |
int | flag |
int * | modified |
SCP_vector< sexp_tree_item > | tree_nodes |
int | total_nodes |
HTREEITEM | item_handle |
int | root_item |
int | add_instance |
int | replace_instance |
Definition at line 119 of file sexp_tree.h.
sexp_tree::sexp_tree | ( | ) |
Definition at line 87 of file sexp_tree.cpp.
Definition at line 2874 of file sexp_tree.cpp.
Definition at line 2188 of file sexp_tree.cpp.
void sexp_tree::add_operator | ( | const char * | op, |
HTREEITEM | h = TVI_ROOT |
||
) |
Definition at line 2906 of file sexp_tree.cpp.
Definition at line 2036 of file sexp_tree.cpp.
Definition at line 476 of file sexp_tree.cpp.
Definition at line 2889 of file sexp_tree.cpp.
Definition at line 367 of file sexp_tree.cpp.
int sexp_tree::allocate_node | ( | ) |
Definition at line 325 of file sexp_tree.cpp.
|
virtual |
Definition at line 465 of file sexp_tree.cpp.
void sexp_tree::clear_tree | ( | const char * | op = NULL | ) |
Definition at line 99 of file sexp_tree.cpp.
void sexp_tree::copy_branch | ( | HTREEITEM | source, |
HTREEITEM | parent = TVI_ROOT , |
||
HTREEITEM | after = TVI_LAST |
||
) |
Definition at line 3590 of file sexp_tree.cpp.
Definition at line 1307 of file sexp_tree.cpp.
void sexp_tree::delete_sexp_tree_variable | ( | const char * | var_name | ) |
Definition at line 6038 of file sexp_tree.cpp.
int sexp_tree::edit_label | ( | HTREEITEM | h | ) |
Definition at line 1349 of file sexp_tree.cpp.
int sexp_tree::end_label_edit | ( | TVITEMA & | item | ) |
Definition at line 1412 of file sexp_tree.cpp.
Definition at line 3146 of file sexp_tree.cpp.
void sexp_tree::expand_branch | ( | HTREEITEM | h | ) |
Definition at line 2841 of file sexp_tree.cpp.
Definition at line 2815 of file sexp_tree.cpp.
Definition at line 4533 of file sexp_tree.cpp.
Definition at line 4508 of file sexp_tree.cpp.
int sexp_tree::find_free_node | ( | ) |
Definition at line 311 of file sexp_tree.cpp.
Definition at line 4052 of file sexp_tree.cpp.
Definition at line 394 of file sexp_tree.cpp.
Definition at line 427 of file sexp_tree.cpp.
Gets the proper data image for the tree item's place in its parent hierarchy.
Definition at line 4563 of file sexp_tree.cpp.
int sexp_tree::get_default_value | ( | sexp_list_item * | item, |
char * | text_buf, | ||
int | op, | ||
int | i | ||
) |
Definition at line 2265 of file sexp_tree.cpp.
int sexp_tree::get_item_index_to_var_index | ( | ) |
Definition at line 6117 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf | ( | int | opf, |
int | parent_node, | ||
int | arg_index | ||
) |
Definition at line 4124 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_adjust_audio_volume | ( | ) |
Definition at line 5372 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ai_class | ( | ) |
Definition at line 5030 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ai_goal | ( | int | parent_node | ) |
Definition at line 5157 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ai_order | ( | ) |
Definition at line 5614 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_animation_type | ( | ) |
Definition at line 5938 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_armor_type | ( | ) |
Definition at line 5917 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_arrival_anchor_all | ( | ) |
Definition at line 5129 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_arrival_location | ( | ) |
Definition at line 5107 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_background_bitmap | ( | ) |
Definition at line 5825 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_bool | ( | int | parent_node = -1 | ) |
Definition at line 4639 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_cargo | ( | ) |
Definition at line 5636 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_damage_type | ( | ) |
Definition at line 5927 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_departure_location | ( | ) |
Definition at line 5118 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_dockee_point | ( | int | parent_node | ) |
Definition at line 5235 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_docker_point | ( | int | parent_node | ) |
Definition at line 5198 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_event_name | ( | int | parent_node | ) |
Definition at line 5581 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_explosion_option | ( | ) |
Definition at line 5403 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_flexible_argument | ( | ) |
Definition at line 4627 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_font | ( | ) |
Definition at line 5306 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_game_snds | ( | ) |
Definition at line 6021 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_goal_name | ( | int | parent_node | ) |
Definition at line 5502 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_hud_elements | ( | ) |
Definition at line 5949 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_hud_gauge | ( | ) |
Definition at line 5382 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_hud_gauge_name | ( | ) |
Definition at line 5707 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_huge_weapon | ( | ) |
Definition at line 5718 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_iff | ( | ) |
Definition at line 5019 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_intel_name | ( | ) |
Definition at line 5686 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_jump_nodes | ( | ) |
Definition at line 5778 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_keypress | ( | ) |
Definition at line 5567 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_medal_name | ( | ) |
Definition at line 5659 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_message | ( | ) |
Definition at line 5271 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_mission_moods | ( | ) |
Definition at line 5965 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_mission_name | ( | ) |
Definition at line 5486 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_nebula_patterns | ( | ) |
Definition at line 6006 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_nebula_poof | ( | ) |
Definition at line 5865 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_nebula_storm_type | ( | ) |
Definition at line 5851 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_null | ( | ) |
Definition at line 4615 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_number | ( | ) |
Definition at line 4682 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_order_recipient | ( | ) |
Definition at line 5544 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_persona | ( | ) |
Definition at line 5292 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_point | ( | ) |
Definition at line 5000 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_positive | ( | ) |
Definition at line 4667 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_post_effect | ( | ) |
Definition at line 5889 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_priority | ( | ) |
Definition at line 5340 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship | ( | int | parent_node = -1 | ) |
Definition at line 4696 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_class_name | ( | ) |
Definition at line 5697 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_effect | ( | ) |
Definition at line 5392 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_flags | ( | ) |
Definition at line 5975 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_not_player | ( | ) |
Definition at line 5731 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_or_none | ( | ) |
Definition at line 5747 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_point | ( | ) |
Definition at line 5424 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_type | ( | ) |
Definition at line 5555 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_wing | ( | ) |
Definition at line 5534 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_wing_point | ( | ) |
Definition at line 5465 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_wing_point_or_none | ( | ) |
Definition at line 5476 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_wing_shiponteam_point | ( | ) |
Definition at line 5447 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_wing_wholeteam | ( | ) |
Definition at line 5434 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ship_with_bay | ( | ) |
Definition at line 5070 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_skill_level | ( | ) |
Definition at line 5625 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_skybox_flags | ( | ) |
Definition at line 5814 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_skybox_model | ( | ) |
Definition at line 5806 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_sound_environment | ( | ) |
Definition at line 5350 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_sound_environment_option | ( | ) |
Definition at line 5362 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_soundtrack_name | ( | ) |
Definition at line 5092 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_ssm_class | ( | ) |
Definition at line 5058 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_string | ( | ) |
Definition at line 5650 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_subsys_or_generic | ( | int | parent_node, |
int | arg_index | ||
) |
Definition at line 5767 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_subsystem | ( | int | parent_node, |
int | arg_index | ||
) |
Definition at line 4777 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_subsystem_or_none | ( | int | parent_node, |
int | arg_index | ||
) |
Definition at line 5757 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_subsystem_type | ( | int | parent_node | ) |
Definition at line 4954 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_sun_bitmap | ( | ) |
Definition at line 5838 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_support_ship_class | ( | ) |
Definition at line 5041 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_team_colors | ( | ) |
Definition at line 5995 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_turret_target_order | ( | ) |
Definition at line 5878 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_turret_target_priorities | ( | ) |
Definition at line 5905 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_variable_names | ( | ) |
Definition at line 5791 of file sexp_tree.cpp.
sexp_list_item* sexp_tree::get_listing_opf_variable_type | ( | ) |
sexp_list_item * sexp_tree::get_listing_opf_waypoint_path | ( | ) |
Definition at line 5413 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_weapon_banks | ( | ) |
Definition at line 5957 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_weapon_name | ( | ) |
Definition at line 5675 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_who_from | ( | ) |
Definition at line 5318 of file sexp_tree.cpp.
sexp_list_item * sexp_tree::get_listing_opf_wing | ( | ) |
Definition at line 4756 of file sexp_tree.cpp.
Definition at line 6166 of file sexp_tree.cpp.
Definition at line 3188 of file sexp_tree.cpp.
Definition at line 4586 of file sexp_tree.cpp.
int sexp_tree::get_tree_name_to_sexp_variable_index | ( | const char * | tree_name | ) |
Definition at line 6128 of file sexp_tree.cpp.
int sexp_tree::get_type | ( | HTREEITEM | h | ) |
Definition at line 3873 of file sexp_tree.cpp.
int sexp_tree::get_variable_count | ( | const char * | var_name | ) |
Definition at line 6143 of file sexp_tree.cpp.
HTREEITEM sexp_tree::handle | ( | int | node | ) |
Definition at line 3851 of file sexp_tree.cpp.
const char * sexp_tree::help | ( | int | code | ) |
Definition at line 3856 of file sexp_tree.cpp.
Definition at line 3139 of file sexp_tree.cpp.
Definition at line 1322 of file sexp_tree.cpp.
HTREEITEM sexp_tree::insert | ( | LPCTSTR | lpszItem, |
int | image = BITMAP_ROOT , |
||
int | sel_image = BITMAP_ROOT , |
||
HTREEITEM | hParent = TVI_ROOT , |
||
HTREEITEM | hInsertAfter = TVI_LAST |
||
) |
Definition at line 3832 of file sexp_tree.cpp.
Definition at line 3156 of file sexp_tree.cpp.
Definition at line 166 of file sexp_tree.cpp.
Definition at line 535 of file sexp_tree.cpp.
Definition at line 124 of file sexp_tree.cpp.
const char * sexp_tree::match_closest_operator | ( | const char * | str, |
int | node | ||
) |
Definition at line 1501 of file sexp_tree.cpp.
Definition at line 2851 of file sexp_tree.cpp.
Definition at line 6078 of file sexp_tree.cpp.
Definition at line 3511 of file sexp_tree.cpp.
HTREEITEM sexp_tree::move_branch | ( | HTREEITEM | source, |
HTREEITEM | parent = TVI_ROOT , |
||
HTREEITEM | after = TVI_LAST |
||
) |
Definition at line 3552 of file sexp_tree.cpp.
Definition at line 3118 of file sexp_tree.cpp.
Definition at line 3638 of file sexp_tree.cpp.
Definition at line 1557 of file sexp_tree.cpp.
|
protected |
Definition at line 3838 of file sexp_tree.cpp.
Definition at line 4083 of file sexp_tree.cpp.
Definition at line 3664 of file sexp_tree.cpp.
Definition at line 3690 of file sexp_tree.cpp.
Definition at line 3670 of file sexp_tree.cpp.
void sexp_tree::post_load | ( | ) |
Definition at line 458 of file sexp_tree.cpp.
Definition at line 2609 of file sexp_tree.cpp.
Definition at line 2621 of file sexp_tree.cpp.
Definition at line 221 of file sexp_tree.cpp.
Definition at line 1402 of file sexp_tree.cpp.
Definition at line 4099 of file sexp_tree.cpp.
Definition at line 3395 of file sexp_tree.cpp.
void sexp_tree::replace_operator | ( | const char * | op | ) |
Definition at line 3459 of file sexp_tree.cpp.
Definition at line 3424 of file sexp_tree.cpp.
void sexp_tree::reset_handles | ( | ) |
Definition at line 115 of file sexp_tree.cpp.
Definition at line 570 of file sexp_tree.cpp.
Definition at line 260 of file sexp_tree.cpp.
Definition at line 237 of file sexp_tree.cpp.
Definition at line 443 of file sexp_tree.cpp.
void sexp_tree::setup | ( | CEdit * | ptr = NULL | ) |
Definition at line 3754 of file sexp_tree.cpp.
void sexp_tree::setup_selected | ( | HTREEITEM | h = NULL | ) |
Definition at line 553 of file sexp_tree.cpp.
void sexp_tree::swap_roots | ( | HTREEITEM | one, |
HTREEITEM | two | ||
) |
Definition at line 3623 of file sexp_tree.cpp.
void sexp_tree::update_help | ( | HTREEITEM | h | ) |
Definition at line 3891 of file sexp_tree.cpp.
Definition at line 3229 of file sexp_tree.cpp.
|
protected |
Definition at line 326 of file sexp_tree.h.
int sexp_tree::ctree_size |
Definition at line 160 of file sexp_tree.h.
|
protected |
Definition at line 313 of file sexp_tree.h.
CEdit* sexp_tree::help_box |
Definition at line 288 of file sexp_tree.h.
|
protected |
Definition at line 319 of file sexp_tree.h.
int sexp_tree::item_index |
Definition at line 282 of file sexp_tree.h.
BOOL sexp_tree::m_dragging |
Definition at line 284 of file sexp_tree.h.
HTREEITEM sexp_tree::m_h_drag |
Definition at line 285 of file sexp_tree.h.
HTREEITEM sexp_tree::m_h_drop |
Definition at line 286 of file sexp_tree.h.
int sexp_tree::m_mode |
Definition at line 281 of file sexp_tree.h.
CImageList* sexp_tree::m_p_image_list |
Definition at line 287 of file sexp_tree.h.
CPoint sexp_tree::m_pt |
Definition at line 290 of file sexp_tree.h.
CEdit* sexp_tree::mini_help_box |
Definition at line 289 of file sexp_tree.h.
|
protected |
Definition at line 314 of file sexp_tree.h.
|
protected |
Definition at line 327 of file sexp_tree.h.
|
protected |
Definition at line 320 of file sexp_tree.h.
int sexp_tree::select_sexp_node |
Definition at line 283 of file sexp_tree.h.
|
protected |
Definition at line 317 of file sexp_tree.h.
|
protected |
Definition at line 316 of file sexp_tree.h.