Blender V2.61 - r43446
Functions | Variables

logic_ops.c File Reference

#include <stddef.h>
#include "DNA_object_types.h"
#include "DNA_sensor_types.h"
#include "DNA_controller_types.h"
#include "DNA_actuator_types.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_main.h"
#include "BKE_sca.h"
#include "BKE_material.h"
#include "ED_logic.h"
#include "ED_object.h"
#include "ED_screen.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "WM_api.h"
#include "WM_types.h"
#include "logic_intern.h"
#include "DNA_mesh_types.h"
#include "DNA_material_types.h"
#include "DNA_meshdata_types.h"

Go to the source code of this file.

Functions

static int edit_sensor_poll (bContext *C)
static int edit_controller_poll (bContext *C)
static int edit_actuator_poll (bContext *C)
static void edit_sensor_properties (wmOperatorType *ot)
static int edit_sensor_invoke_properties (bContext *C, wmOperator *op)
static Objectedit_object_property_get (bContext *C, wmOperator *op)
static bSensoredit_sensor_property_get (bContext *C, wmOperator *op, Object **ob)
static void edit_controller_properties (wmOperatorType *ot)
static int edit_controller_invoke_properties (bContext *C, wmOperator *op)
static bControlleredit_controller_property_get (bContext *C, wmOperator *op, Object **ob)
static void edit_actuator_properties (wmOperatorType *ot)
static int edit_actuator_invoke_properties (bContext *C, wmOperator *op)
static bActuatoredit_actuator_property_get (bContext *C, wmOperator *op, Object **ob)
static int logicbricks_move_property_get (wmOperator *op)
static int sensor_remove_exec (bContext *C, wmOperator *op)
static int sensor_remove_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static void LOGIC_OT_sensor_remove (wmOperatorType *ot)
static int sensor_add_exec (bContext *C, wmOperator *op)
static void LOGIC_OT_sensor_add (wmOperatorType *ot)
static int controller_remove_exec (bContext *C, wmOperator *op)
static int controller_remove_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static void LOGIC_OT_controller_remove (wmOperatorType *ot)
static int controller_add_exec (bContext *C, wmOperator *op)
static void LOGIC_OT_controller_add (wmOperatorType *ot)
static int actuator_remove_exec (bContext *C, wmOperator *op)
static int actuator_remove_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static void LOGIC_OT_actuator_remove (wmOperatorType *ot)
static int actuator_add_exec (bContext *C, wmOperator *op)
static void LOGIC_OT_actuator_add (wmOperatorType *ot)
static int sensor_move_exec (bContext *C, wmOperator *op)
static int sensor_move_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static void LOGIC_OT_sensor_move (wmOperatorType *ot)
static int controller_move_exec (bContext *C, wmOperator *op)
static int controller_move_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static void LOGIC_OT_controller_move (wmOperatorType *ot)
static int actuator_move_exec (bContext *C, wmOperator *op)
static int actuator_move_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static void LOGIC_OT_actuator_move (wmOperatorType *ot)
static int texface_convert_exec (bContext *C, wmOperator *UNUSED(op))
static int texface_convert_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static void LOGIC_OT_texface_convert (wmOperatorType *ot)
void ED_operatortypes_logic (void)

Variables

static EnumPropertyItem logicbricks_move_direction []

Detailed Description

Definition in file logic_ops.c.


Function Documentation

static int actuator_add_exec ( bContext C,
wmOperator op 
) [static]
static int actuator_move_exec ( bContext C,
wmOperator op 
) [static]
static int actuator_move_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]
static int actuator_remove_exec ( bContext C,
wmOperator op 
) [static]
static int actuator_remove_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]
static int controller_add_exec ( bContext C,
wmOperator op 
) [static]
static int controller_move_exec ( bContext C,
wmOperator op 
) [static]
static int controller_move_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]
static int controller_remove_exec ( bContext C,
wmOperator op 
) [static]
static int controller_remove_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]
void ED_operatortypes_logic ( void  )
static int edit_actuator_invoke_properties ( bContext C,
wmOperator op 
) [static]
static int edit_actuator_poll ( bContext C) [static]
static void edit_actuator_properties ( wmOperatorType ot) [static]

Definition at line 184 of file logic_ops.c.

References MAX_NAME, RNA_def_string(), and wmOperatorType::srna.

Referenced by LOGIC_OT_actuator_move(), and LOGIC_OT_actuator_remove().

static bActuator* edit_actuator_property_get ( bContext C,
wmOperator op,
Object **  ob 
) [static]
static int edit_controller_invoke_properties ( bContext C,
wmOperator op 
) [static]
static int edit_controller_poll ( bContext C) [static]
static void edit_controller_properties ( wmOperatorType ot) [static]
static bController* edit_controller_property_get ( bContext C,
wmOperator op,
Object **  ob 
) [static]
static Object* edit_object_property_get ( bContext C,
wmOperator op 
) [static]
static int edit_sensor_invoke_properties ( bContext C,
wmOperator op 
) [static]
static int edit_sensor_poll ( bContext C) [static]
static void edit_sensor_properties ( wmOperatorType ot) [static]

Definition at line 89 of file logic_ops.c.

References MAX_NAME, RNA_def_string(), and wmOperatorType::srna.

Referenced by LOGIC_OT_sensor_move(), and LOGIC_OT_sensor_remove().

static bSensor* edit_sensor_property_get ( bContext C,
wmOperator op,
Object **  ob 
) [static]
static void LOGIC_OT_actuator_add ( wmOperatorType ot) [static]
static void LOGIC_OT_actuator_move ( wmOperatorType ot) [static]
static void LOGIC_OT_actuator_remove ( wmOperatorType ot) [static]
static void LOGIC_OT_controller_add ( wmOperatorType ot) [static]
static void LOGIC_OT_controller_move ( wmOperatorType ot) [static]
static void LOGIC_OT_controller_remove ( wmOperatorType ot) [static]
static void LOGIC_OT_sensor_add ( wmOperatorType ot) [static]
static void LOGIC_OT_sensor_move ( wmOperatorType ot) [static]
static void LOGIC_OT_sensor_remove ( wmOperatorType ot) [static]
static void LOGIC_OT_texface_convert ( wmOperatorType ot) [static]
static int logicbricks_move_property_get ( wmOperator op) [static]
static int sensor_add_exec ( bContext C,
wmOperator op 
) [static]
static int sensor_move_exec ( bContext C,
wmOperator op 
) [static]
static int sensor_move_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]
static int sensor_remove_exec ( bContext C,
wmOperator op 
) [static]
static int sensor_remove_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]
static int texface_convert_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int texface_convert_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]

Definition at line 703 of file logic_ops.c.

References texface_convert_exec().

Referenced by LOGIC_OT_texface_convert().


Variable Documentation

Initial value:
{
        {1, "UP", 0, "Move Up", ""},
        {2, "DOWN", 0, "Move Down", ""},
        {0, NULL, 0, NULL, NULL}}

Definition at line 553 of file logic_ops.c.