Blender V2.61 - r43446
Classes | Defines | Typedefs | Variables

BKE_global.h File Reference

#include "DNA_listBase.h"

Go to the source code of this file.

Classes

struct  Global

Defines

#define G_RENDER_OGL   (1 << 0)
#define G_SWAP_EXCHANGE   (1 << 1)
#define G_BACKBUFSEL   (1 << 4)
#define G_PICKSEL   (1 << 5)
#define G_DEBUG   (1 << 12)
#define G_SCRIPT_AUTOEXEC   (1 << 13)
#define G_SCRIPT_OVERRIDE_PREF   (1 << 14)
#define G_AUTOPACK   (1 << 0)
#define G_FILE_COMPRESS   (1 << 1)
#define G_FILE_AUTOPLAY   (1 << 2)
#define G_FILE_ENABLE_ALL_FRAMES   (1 << 3)
#define G_FILE_SHOW_DEBUG_PROPS   (1 << 4)
#define G_FILE_SHOW_FRAMERATE   (1 << 5)
#define G_FILE_LOCK   (1 << 7)
#define G_FILE_SIGN   (1 << 8)
#define G_FILE_NO_UI   (1 << 10)
#define G_FILE_GAME_MAT   (1 << 12)
#define G_FILE_SHOW_PHYSICS   (1 << 14)
#define G_FILE_GAME_MAT_GLSL   (1 << 15)
#define G_FILE_GLSL_NO_SHADERS   (1 << 17)
#define G_FILE_GLSL_NO_SHADOWS   (1 << 18)
#define G_FILE_GLSL_NO_RAMPS   (1 << 19)
#define G_FILE_GLSL_NO_NODES   (1 << 20)
#define G_FILE_GLSL_NO_EXTRA_TEX   (1 << 21)
#define G_FILE_IGNORE_DEPRECATION_WARNINGS   (1 << 22)
#define G_FILE_RECOVER   (1 << 23)
#define G_FILE_RELATIVE_REMAP   (1 << 24)
#define G_FILE_HISTORY   (1 << 25)
#define G_FILE_MESH_COMPAT   (1 << 26)
#define G_WINDOWSTATE_USERDEF   0
#define G_WINDOWSTATE_BORDER   1
#define G_WINDOWSTATE_FULLSCREEN   2
#define L_ENDIAN   1
#define B_ENDIAN   0
#define ENDIAN_ORDER   L_ENDIAN
#define G_TRANSFORM_OBJ   1
#define G_TRANSFORM_EDIT   2
#define G_TRANSFORM_MANIP   4
#define G_TRANSFORM_PARTICLE   8

Typedefs

typedef struct Global Global

Variables

Global G

Detailed Description

Since:
March 2001
Author:
nzc

Global settings

Global settings, handles, pointers. This is the root for finding any data in Blender. This block is not serialized, but built anew for every fresh Blender run.

Definition in file BKE_global.h.


Define Documentation

#define B_ENDIAN   0
#define ENDIAN_ORDER   L_ENDIAN
#define G_AUTOPACK   (1 << 0)
#define G_BACKBUFSEL   (1 << 4)
#define G_DEBUG   (1 << 12)

Definition at line 107 of file BKE_global.h.

Referenced by actcon_get_tarmat(), action_idcode_patch_check(), action_move_fcurves_by_basepath(), action_to_animdata(), adduplicateflagNurb(), animchannels_rearrange_exec(), animdata_filter_dopesheet(), animdata_filter_ds_textures(), animsys_write_rna_setting(), bfree(), BKE_animdata_separate_by_basepath(), BKE_animsys_evaluate_all_animation(), BKE_keyingset_add_path(), BKE_nla_tweakmode_enter(), BKE_ptcache_toggle_disk_cache(), BKE_undo_step(), blo_find_main(), bones_merge(), bpy_app_debug_get(), bpy_app_debug_set(), bpy_class_free(), BPY_context_member_get(), calc_fcurve_bounds(), connect_hair(), DAG_scene_sort(), debug_mode(), delete_key_button_exec(), delete_key_exec(), delete_keyframe(), distribute_threads_init_data(), do_versions(), do_versions_ipos_to_animato(), draw_em_fancy(), dtar_get_prop_val(), ED_armature_from_edit(), ED_node_composit_default(), ED_node_texture_default(), ED_screen_full_toggle(), ED_screen_refresh(), ED_undo_operator_repeat(), ED_undo_push(), EM_select_face_fgon(), free_ipo(), ghost_event_proc(), gp_draw_stroke_buffer(), gp_drawui_layer(), gp_paint_initstroke(), gp_session_initdata(), gp_stroke_newfrombuffer(), gpencil_draw_apply(), gpencil_draw_invoke(), GPU_print_error(), icon_create_rect(), icon_draw_size(), icon_set_image(), icu_to_fcurves(), imb_inittiff(), imb_load_dpx_cineon(), imb_save_dpx_cineon(), insert_key_button_exec(), insert_key_exec(), ipo_to_animato(), ipo_to_animdata(), main(), make_renderinfo_string(), mouse_anim_channels(), mouse_nla_channels(), nlaevalchan_verify(), no_joystick(), nupdate_abk_bezt(), object_handle_update(), operator_search_cb(), PE_undo_step(), ptcache_disk_frame_to_mem(), ptcache_mem_frame_to_disk(), ptcache_read_stream(), ptcache_write_stream(), pyrna_py_from_array_index(), pyrna_srna_ExternalType(), pyrna_unregister_class(), RE_Database_Free(), readBitmapFontVersion0(), region_rect_recursive(), rename_anim_channels(), reports_to_text_exec(), scene_delete_exec(), setup_app_data(), shader_print_errors(), single_obdata_users(), softbody_step(), VBVH_optimalPackSIMD< Node, TestCost >::transform(), ui_but_anim_expression_create(), UI_icon_get_height(), UI_icon_get_width(), UI_view2d_totRect_set_resize(), uiStyleInit(), undo_editmode_step(), undo_stack_step(), versions_gpencil_add_main(), WM_cursor_grab(), WM_cursor_ungrab(), wm_event_do_handlers(), wm_event_do_notifiers(), WM_exit_ext(), wm_handler_fileselect_call(), wm_operator_finished(), wm_operator_invoke(), wm_operator_reports(), wm_subwindow_open(), and wm_window_make_drawable().

#define G_FILE_AUTOPLAY   (1 << 2)
#define G_FILE_COMPRESS   (1 << 1)
#define G_FILE_ENABLE_ALL_FRAMES   (1 << 3)

Definition at line 121 of file BKE_global.h.

Referenced by do_versions().

#define G_FILE_GAME_MAT   (1 << 12)

Definition at line 130 of file BKE_global.h.

Referenced by do_versions().

#define G_FILE_GAME_MAT_GLSL   (1 << 15)

Definition at line 133 of file BKE_global.h.

Referenced by do_versions().

#define G_FILE_GLSL_NO_EXTRA_TEX   (1 << 21)

Definition at line 139 of file BKE_global.h.

Referenced by do_versions().

#define G_FILE_GLSL_NO_NODES   (1 << 20)

Definition at line 138 of file BKE_global.h.

Referenced by do_versions().

#define G_FILE_GLSL_NO_RAMPS   (1 << 19)

Definition at line 137 of file BKE_global.h.

Referenced by do_versions().

#define G_FILE_GLSL_NO_SHADERS   (1 << 17)

Definition at line 135 of file BKE_global.h.

Referenced by do_versions().

#define G_FILE_GLSL_NO_SHADOWS   (1 << 18)

Definition at line 136 of file BKE_global.h.

Referenced by do_versions().

#define G_FILE_HISTORY   (1 << 25)
#define G_FILE_IGNORE_DEPRECATION_WARNINGS   (1 << 22)

Definition at line 140 of file BKE_global.h.

Referenced by do_versions().

#define G_FILE_LOCK   (1 << 7)

Definition at line 125 of file BKE_global.h.

Referenced by wm_autosave_timer(), and WM_write_homefile().

#define G_FILE_MESH_COMPAT   (1 << 26)

Definition at line 144 of file BKE_global.h.

Referenced by wm_save_as_mainfile_exec(), write_file_handle(), and write_global().

#define G_FILE_NO_UI   (1 << 10)
#define G_FILE_RECOVER   (1 << 23)
#define G_FILE_RELATIVE_REMAP   (1 << 24)
#define G_FILE_SHOW_DEBUG_PROPS   (1 << 4)

Definition at line 122 of file BKE_global.h.

Referenced by do_versions().

#define G_FILE_SHOW_FRAMERATE   (1 << 5)

Definition at line 123 of file BKE_global.h.

Referenced by do_versions().

#define G_FILE_SHOW_PHYSICS   (1 << 14)

Definition at line 132 of file BKE_global.h.

Referenced by do_versions().

#define G_FILE_SIGN   (1 << 8)

Definition at line 126 of file BKE_global.h.

Referenced by wm_autosave_timer(), and WM_write_homefile().

#define G_PICKSEL   (1 << 5)
#define G_RENDER_OGL   (1 << 0)

Definition at line 98 of file BKE_global.h.

Referenced by draw_gpencil_view3d(), draw_object(), and ED_view3d_draw_offscreen().

#define G_SCRIPT_AUTOEXEC   (1 << 13)
#define G_SCRIPT_OVERRIDE_PREF   (1 << 14)
#define G_SWAP_EXCHANGE   (1 << 1)

Definition at line 99 of file BKE_global.h.

Referenced by setup_app_data().

#define G_TRANSFORM_EDIT   2

Definition at line 168 of file BKE_global.h.

Referenced by draw_object_backbufsel().

#define G_TRANSFORM_MANIP   4

Definition at line 169 of file BKE_global.h.

#define G_TRANSFORM_OBJ   1

Definition at line 167 of file BKE_global.h.

Referenced by draw_object().

#define G_TRANSFORM_PARTICLE   8

Definition at line 170 of file BKE_global.h.

#define G_WINDOWSTATE_BORDER   1

Definition at line 148 of file BKE_global.h.

#define G_WINDOWSTATE_FULLSCREEN   2

Definition at line 149 of file BKE_global.h.

#define G_WINDOWSTATE_USERDEF   0

Definition at line 147 of file BKE_global.h.

Referenced by initglobals().

#define L_ENDIAN   1

Definition at line 157 of file BKE_global.h.

Referenced by cdf_endian(), decode_blender_header(), and loadblend_thumb().


Typedef Documentation

typedef struct Global Global

Variable Documentation

Definition at line 93 of file blender.c.