FS2_Open
Open source remastering of the Freespace 2 engine
sexp_tree.cpp File Reference
#include "stdafx.h"
#include "Sexp_tree.h"
#include "FRED.h"
#include "FREDDoc.h"
#include "Management.h"
#include "parse/sexp.h"
#include "OperatorArgTypeSelect.h"
#include "globalincs/linklist.h"
#include "EventEditor.h"
#include "MissionGoalsDlg.h"
#include "ai/aigoals.h"
#include "mission/missionmessage.h"
#include "mission/missioncampaign.h"
#include "CampaignEditorDlg.h"
#include "hud/hudsquadmsg.h"
#include "IgnoreOrdersDlg.h"
#include "stats/medals.h"
#include "controlconfig/controlsconfig.h"
#include "hud/hudgauges.h"
#include "starfield/starfield.h"
#include "nebula/neb.h"
#include "nebula/neblightning.h"
#include "jumpnode/jumpnode.h"
#include "AddVariableDlg.h"
#include "ModifyVariableDlg.h"
#include "gamesnd/eventmusic.h"
#include "menuui/techmenu.h"
#include "weapon/emp.h"
#include "gamesnd/gamesnd.h"
#include "weapon/weapon.h"
#include "hud/hudartillery.h"
#include "iff_defs/iff_defs.h"
#include "graphics/gropenglshader.h"
#include "graphics/gropenglpostprocessing.h"
#include "sound/ds.h"
#include "globalincs/alphacolors.h"
#include "localization/localize.h"

Go to the source code of this file.

Macros

#define TREE_NODE_INCREMENT   100
 
#define MAX_OP_MENUS   30
 
#define MAX_SUBMENUS   (MAX_OP_MENUS * MAX_OP_MENUS)
 
#define ID_VARIABLE_MENU   0xda00
 
#define ID_ADD_MENU   0xdc00
 
#define ID_REPLACE_MENU   0xde00
 
#define NO_PREVIOUS_NODE   -9
 
#define OPS_CAP_CARGO   1
 
#define OPS_STRENGTH   2
 
#define OPS_BEAM_TURRET   3
 
#define OPS_AWACS   4
 
#define OPS_ROTATE   5
 
#define OPS_ARMOR   6
 

Functions

void get_combined_variable_name (char *combined_name, const char *sexp_var_name)
 
void var_name_from_sexp_tree_text (char *var_name, const char *text)
 
void get_variable_default_text_from_variable_text (char *text, char *default_text)
 
void get_variable_name_from_sexp_tree_node_text (const char *text, char *var_name)
 

Variables

sexp_help_struct Sexp_help []
 
op_menu_struct op_menu []
 
op_menu_struct op_submenu []
 

Macro Definition Documentation

#define ID_ADD_MENU   0xdc00

Definition at line 57 of file sexp_tree.cpp.

#define ID_REPLACE_MENU   0xde00

Definition at line 58 of file sexp_tree.cpp.

#define ID_VARIABLE_MENU   0xda00

Definition at line 56 of file sexp_tree.cpp.

#define MAX_OP_MENUS   30

Definition at line 53 of file sexp_tree.cpp.

#define MAX_SUBMENUS   (MAX_OP_MENUS * MAX_OP_MENUS)

Definition at line 54 of file sexp_tree.cpp.

#define NO_PREVIOUS_NODE   -9

Definition at line 258 of file sexp_tree.cpp.

#define OPS_ARMOR   6

Definition at line 4776 of file sexp_tree.cpp.

#define OPS_AWACS   4

Definition at line 4774 of file sexp_tree.cpp.

#define OPS_BEAM_TURRET   3

Definition at line 4773 of file sexp_tree.cpp.

#define OPS_CAP_CARGO   1

Definition at line 4771 of file sexp_tree.cpp.

#define OPS_ROTATE   5

Definition at line 4775 of file sexp_tree.cpp.

#define OPS_STRENGTH   2

Definition at line 4772 of file sexp_tree.cpp.

#define TREE_NODE_INCREMENT   100

Definition at line 51 of file sexp_tree.cpp.

Function Documentation

void get_combined_variable_name ( char *  combined_name,
const char *  sexp_var_name 
)

Definition at line 156 of file sexp_tree.cpp.

void get_variable_default_text_from_variable_text ( char *  text,
char *  default_text 
)

Definition at line 3161 of file sexp_tree.cpp.

void get_variable_name_from_sexp_tree_node_text ( const char *  text,
char *  var_name 
)

Definition at line 3179 of file sexp_tree.cpp.

void var_name_from_sexp_tree_text ( char *  var_name,
const char *  text 
)

Definition at line 249 of file sexp_tree.cpp.

Variable Documentation

op_menu_struct op_menu[]

Definition at line 33799 of file sexp.cpp.

op_menu_struct op_submenu[]

Definition at line 33815 of file sexp.cpp.

sexp_help_struct Sexp_help[]

Definition at line 30083 of file sexp.cpp.