Blender V2.61 - r43446
Functions

BKE_sca.h File Reference

Go to the source code of this file.

Functions

void link_logicbricks (void **poin, void ***ppoin, short *tot, short size)
void unlink_logicbricks (void **poin, void ***ppoin, short *tot)
void unlink_controller (struct bController *cont)
void unlink_controllers (struct ListBase *lb)
void free_controller (struct bController *cont)
void free_controllers (struct ListBase *lb)
void unlink_actuator (struct bActuator *act)
void unlink_actuators (struct ListBase *lb)
void free_actuator (struct bActuator *act)
void free_actuators (struct ListBase *lb)
void free_sensor (struct bSensor *sens)
void free_sensors (struct ListBase *lb)
struct bSensorcopy_sensor (struct bSensor *sens)
void copy_sensors (struct ListBase *lbn, struct ListBase *lbo)
void init_sensor (struct bSensor *sens)
struct bSensornew_sensor (int type)
struct bControllercopy_controller (struct bController *cont)
void copy_controllers (struct ListBase *lbn, struct ListBase *lbo)
void init_controller (struct bController *cont)
struct bControllernew_controller (int type)
struct bActuatorcopy_actuator (struct bActuator *act)
void copy_actuators (struct ListBase *lbn, struct ListBase *lbo)
void init_actuator (struct bActuator *act)
struct bActuatornew_actuator (int type)
void clear_sca_new_poins_ob (struct Object *ob)
void clear_sca_new_poins (void)
void set_sca_new_poins_ob (struct Object *ob)
void set_sca_new_poins (void)
void sca_remove_ob_poin (struct Object *obt, struct Object *ob)
void sca_move_sensor (struct bSensor *sens_to_move, struct Object *ob, int move_up)
void sca_move_controller (struct bController *cont_to_move, struct Object *ob, int move_up)
void sca_move_actuator (struct bActuator *act_to_move, struct Object *ob, int move_up)

Detailed Description

Definition in file BKE_sca.h.


Function Documentation

void clear_sca_new_poins ( void  )
void clear_sca_new_poins_ob ( struct Object ob)
struct bActuator* copy_actuator ( struct bActuator act) [read]
void copy_actuators ( struct ListBase lbn,
struct ListBase lbo 
)
struct bController* copy_controller ( struct bController cont) [read]
void copy_controllers ( struct ListBase lbn,
struct ListBase lbo 
)
struct bSensor* copy_sensor ( struct bSensor sens) [read]

Definition at line 73 of file sca.c.

References bSensor::data, bSensor::flag, bSensor::links, MEM_dupallocN(), and SENS_NEW.

Referenced by copy_sensors().

void copy_sensors ( struct ListBase lbn,
struct ListBase lbo 
)
void free_actuator ( struct bActuator act)
void free_actuators ( struct ListBase lb)

Definition at line 346 of file sca.c.

References BLI_remlink(), ListBase::first, and free_actuator().

Referenced by copymenu_logicbricks(), free_object(), and logicbricks_copy_exec().

void free_controller ( struct bController cont)

Definition at line 217 of file sca.c.

References bController::data, bController::links, and MEM_freeN().

Referenced by controller_remove_exec(), do_logic_buts(), and free_controllers().

void free_controllers ( struct ListBase lb)
void free_sensor ( struct bSensor sens)

Definition at line 55 of file sca.c.

References bSensor::data, bSensor::links, and MEM_freeN().

Referenced by do_logic_buts(), free_sensors(), and sensor_remove_exec().

void free_sensors ( struct ListBase lb)

Definition at line 63 of file sca.c.

References BLI_remlink(), ListBase::first, and free_sensor().

Referenced by copymenu_logicbricks(), free_object(), and logicbricks_copy_exec().

void init_actuator ( struct bActuator act)
void init_controller ( struct bController cont)
void init_sensor ( struct bSensor sens)
void link_logicbricks ( void **  poin,
void ***  ppoin,
short *  tot,
short  size 
)

Definition at line 824 of file sca.c.

References MEM_callocN(), MEM_freeN(), and NULL.

struct bActuator* new_actuator ( int  type) [read]
struct bController* new_controller ( int  type) [read]
struct bSensor* new_sensor ( int  type) [read]

Definition at line 174 of file sca.c.

References bSensor::flag, init_sensor(), MEM_callocN(), bSensor::name, SENS_SHOW, and bSensor::type.

Referenced by do_logic_buts(), and sensor_add_exec().

void sca_move_actuator ( struct bActuator act_to_move,
struct Object ob,
int  move_up 
)
void sca_move_controller ( struct bController cont_to_move,
struct Object ob,
int  move_up 
)
void sca_move_sensor ( struct bSensor sens_to_move,
struct Object ob,
int  move_up 
)
void sca_remove_ob_poin ( struct Object obt,
struct Object ob 
)
void set_sca_new_poins ( void  )

Definition at line 618 of file sca.c.

References G, Object::id, ID::next, and set_sca_new_poins_ob().

Referenced by copy_object_set_idnew(), and single_object_users().

void set_sca_new_poins_ob ( struct Object ob)
void unlink_actuator ( struct bActuator act)
void unlink_actuators ( struct ListBase lb)
void unlink_controller ( struct bController cont)
void unlink_controllers ( struct ListBase lb)
void unlink_logicbricks ( void **  poin,
void ***  ppoin,
short *  tot 
)

Definition at line 856 of file sca.c.

References MEM_freeN(), and NULL.

Referenced by unlink_actuator(), and unlink_controller().