|
UFO: Alien Invasion
|
#include "../../common/common.h"

Go to the source code of this file.
Functions | |
| struct uiAction_s * | UI_AllocStaticStringCondition (const char *description) __attribute__((warn_unused_result)) |
| Allocate and initialize an expression according to a string. | |
| struct uiAction_s * | UI_ParseExpression (const char **text) __attribute__((warn_unused_result)) |
| bool | UI_GetBooleanFromExpression (struct uiAction_s *expression, const struct uiCallContext_s *context) __attribute__((warn_unused_result)) |
| float | UI_GetFloatFromExpression (struct uiAction_s *expression, const struct uiCallContext_s *context) __attribute__((warn_unused_result)) |
| const char * | UI_GetStringFromExpression (struct uiAction_s *expression, const struct uiCallContext_s *context) __attribute__((warn_unused_result)) |
| uiNode_t * | UI_GetNodeFromExpression (struct uiAction_s *expression, const struct uiCallContext_s *context, const struct value_s **property) |
| struct uiAction_s * UI_AllocStaticStringCondition | ( | const char * | description | ) |
Allocate and initialize an expression according to a string.
| [in] | description | String describing a condition |
Definition at line 540 of file ui_expression.cpp.
References Com_Printf(), UI_ParseExpression(), and va().
Referenced by UI_ParseProperty().
| bool UI_GetBooleanFromExpression | ( | struct uiAction_s * | expression, |
| const struct uiCallContext_s * | context ) |
| float UI_GetFloatFromExpression | ( | struct uiAction_s * | expression, |
| const struct uiCallContext_s * | context ) |
| uiNode_t * UI_GetNodeFromExpression | ( | struct uiAction_s * | expression, |
| const struct uiCallContext_s * | context, | ||
| const struct value_s ** | property ) |
| const char * UI_GetStringFromExpression | ( | struct uiAction_s * | expression, |
| const struct uiCallContext_s * | context ) |
| struct uiAction_s * UI_ParseExpression | ( | const char ** | text | ) |
Definition at line 670 of file ui_expression.cpp.
References Com_Parse(), Com_Printf(), Com_UnParseLastToken(), uiAction_t::d, EA_BINARYOPERATOR, EA_NULL, EA_OPERATOR_EXISTS, EA_UNARYOPERATOR, EA_VALUE_CVARNAME, EA_VALUE_CVARNAME_WITHINJECTION, EA_VALUE_PATHNODE, EA_VALUE_PATHNODE_WITHINJECTION, uiAction_t::left, uiAction_t::nonTerminal, Q_streq, uiAction_t::right, type, uiAction_t::type, UI_AllocStaticAction(), UI_GetActionTokenType(), UI_ParseExpression(), and UI_ParseValueExpression().
Referenced by UI_AllocStaticStringCondition(), UI_ParseActionList(), UI_ParseCallAction(), UI_ParseExpression(), and UI_ParseSetAction().