Public Methods |
| int | sexp_tree::find_text (char *text, int *find) |
| int | query_restricted_opf_range (int opf) |
| void | verify_and_fix_arguments (int node) |
| void | post_load () |
| void | update_help (HTREEITEM h) |
| char * | help (int code) |
| HTREEITEM | insert (LPCTSTR lpszItem, int image=BITMAP_ROOT, int sel_image=BITMAP_ROOT, HTREEITEM hParent=TVI_ROOT, HTREEITEM hInsertAfter=TVI_LAST) |
| HTREEITEM | handle (int node) |
| int | get_type (HTREEITEM h) |
| void | setup (CEdit *ptr=NULL) |
| int | query_false (int node=-1) |
| int | add_default_operator (int op, int argnum) |
| int | get_default_value (sexp_list_item *item, int op, int i) |
| int | query_default_argument_available (int op) |
| int | query_default_argument_available (int op, int i) |
| void | swap_roots (HTREEITEM one, HTREEITEM two) |
| void | move_branch (int source, int parent=-1) |
| HTREEITEM | move_branch (HTREEITEM source, HTREEITEM parent=TVI_ROOT, HTREEITEM after=TVI_LAST) |
| void | copy_branch (HTREEITEM source, HTREEITEM parent=TVI_ROOT, HTREEITEM after=TVI_LAST) |
| void | setup_selected (HTREEITEM h=NULL) |
| void | add_or_replace_operator (int op, int replace_flag=0) |
| void | replace_one_arg_operator (char *op, char *data, int type) |
| void | replace_operator (char *op) |
| void | replace_data (char *data, int type) |
| void | replace_variable_data (int var_idx, int type) |
| void | link_modified (int *ptr) |
| | sexp_tree () |
| void | ensure_visible (int node) |
| int | node_error (int node, char *msg, int *bypass) |
| void | expand_branch (HTREEITEM h) |
| void | expand_operator (int node) |
| void | merge_operator (int node) |
| int | end_label_edit (HTREEITEM h, char *str) |
| int | edit_label (HTREEITEM h) |
| int | identify_arg_type (int node) |
| int | count_args (int node) |
| void | right_clicked (int mode=0) |
| virtual void | build_tree () |
| void | set_node (int index, int type, char *text) |
| void | free_node (int node, int cascade=0) |
| int | allocate_node (int parent, int after=-1) |
| int | allocate_node () |
| void | clear_tree (char *op=NULL) |
| void | reset_handles () |
| int | save_tree (int node=-1) |
| void | load_tree (int index, char *deflt="true") |
| void | add_one_arg_operator (char *op, char *data, int type) |
| void | add_operator (char *op, HTREEITEM h=TVI_ROOT) |
| int | add_data (char *data, int type) |
| int | add_variable_data (char *data, int type) |
| void | add_sub_tree (int node, HTREEITEM root) |
| void | hilite_item (int node) |
| int | check_operator_validity (int op, int type) |
| char * | match_closest_operator (char *str, int node) |
| void | delete_sexp_tree_variable (const char *var_name) |
| void | modify_sexp_tree_variable (const char *old_name, int sexp_var_index) |
| int | get_item_index_to_var_index () |
| int | get_tree_name_to_sexp_variable_index (const char *tree_name) |
| int | get_modify_variable_first_arg_index () |
| int | get_ambiguous_type (int parent) |
| int | get_modify_variable_type () |
| int | get_variable_count (const char *var_name) |
| sexp_list_item * | get_listing_opf (int opf, int parent_node, int arg_index) |
| sexp_list_item * | get_listing_opf_null () |
| sexp_list_item * | get_listing_opf_bool (int parent_node=-1) |
| sexp_list_item * | get_listing_opf_positive () |
| sexp_list_item * | get_listing_opf_number () |
| sexp_list_item * | get_listing_opf_ship (int parent_node=-1) |
| sexp_list_item * | get_listing_opf_wing () |
| sexp_list_item * | get_listing_opf_subsystem (int parent_node, int arg_index) |
| sexp_list_item * | get_listing_opf_point () |
| sexp_list_item * | get_listing_opf_iff () |
| sexp_list_item * | get_listing_opf_ai_goal (int parent_node) |
| sexp_list_item * | get_listing_opf_docker_point (int parent_node) |
| sexp_list_item * | get_listing_opf_dockee_point (int parent_node) |
| sexp_list_item * | get_listing_opf_message () |
| sexp_list_item * | get_listing_opf_who_from () |
| sexp_list_item * | get_listing_opf_priority () |
| sexp_list_item * | get_listing_opf_waypoint_path () |
| sexp_list_item * | get_listing_opf_ship_point () |
| sexp_list_item * | get_listing_opf_ship_wing_point () |
| sexp_list_item * | get_listing_opf_mission_name () |
| sexp_list_item * | get_listing_opf_goal_name (int parent_node) |
| sexp_list_item * | get_listing_opf_ship_wing () |
| sexp_list_item * | get_listing_opf_ship_type () |
| sexp_list_item * | get_listing_opf_keypress () |
| sexp_list_item * | get_listing_opf_event_name (int parent_node) |
| sexp_list_item * | get_listing_opf_ai_order () |
| sexp_list_item * | get_listing_opf_skill_level () |
| sexp_list_item * | get_listing_opf_medal_name () |
| sexp_list_item * | get_listing_opf_weapon_name () |
| sexp_list_item * | get_listing_opf_ship_class_name () |
| sexp_list_item * | get_listing_opf_hud_gauge_name () |
| sexp_list_item * | get_listing_opf_huge_weapon () |
| sexp_list_item * | get_listing_opf_ship_not_player () |
| sexp_list_item * | get_listing_opf_jump_nodes () |
| sexp_list_item * | get_listing_opf_variable_names () |
| sexp_list_item * | get_listing_opf_variable_type () |
| virtual BOOL | OnCommand (WPARAM wParam, LPARAM lParam) |
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 |
| CPoint | m_pt |
Protected Methods |
| 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) |
| void | 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 |
| sexp_tree_item | nodes [MAX_SEXP_TREE_SIZE] |
| int | total |
| HTREEITEM | item_handle |
| int | root_item |
| int | add_instance |
| int | replace_instance |