2009-09-03 02:55:23 +00:00
/**
* $ Id $
*
* * * * * * BEGIN GPL LICENSE BLOCK * * * * *
2010-04-07 05:48:52 +00:00
*
2009-09-03 02:55:23 +00:00
* This program is free software ; you can redistribute it and / or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation ; either version 2
* of the License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU General Public License for more details .
*
* You should have received a copy of the GNU General Public License
* along with this program ; if not , write to the Free Software Foundation ,
2010-02-12 13:34:04 +00:00
* Inc . , 51 Franklin Street , Fifth Floor , Boston , MA 02110 - 1301 , USA .
2009-09-03 02:55:23 +00:00
*
* The Original Code is Copyright ( C ) 2001 - 2002 by NaN Holding BV .
* All rights reserved .
*
* The Original Code is : all of this file .
*
* Contributor ( s ) : none yet .
*
* * * * * * END GPL LICENSE BLOCK * * * * *
* BKE_bad_level_calls function stubs
*/
2010-10-31 03:20:33 +00:00
# ifdef WITH_GAMEENGINE
2009-09-03 02:55:23 +00:00
# include <stdlib.h>
2009-09-03 06:34:03 +00:00
# include "DNA_listBase.h"
2009-09-03 02:55:23 +00:00
# include "RNA_types.h"
2010-03-03 13:59:57 +00:00
struct ARegion ;
struct ARegionType ;
struct Base ;
2010-07-14 14:11:03 +00:00
struct Brush ;
2010-03-27 18:08:57 +00:00
struct bNodeTree ;
2010-03-03 13:59:57 +00:00
struct CSG_FaceIteratorDescriptor ;
struct CSG_VertexIteratorDescriptor ;
struct ColorBand ;
struct CurveMapping ;
2010-10-17 06:38:56 +00:00
struct Curve ;
2010-03-03 13:59:57 +00:00
struct EditBone ;
2010-07-14 14:11:03 +00:00
struct EditFace ;
2010-03-03 13:59:57 +00:00
struct EditMesh ;
struct ID ;
2010-04-07 02:14:46 +00:00
struct FCurve ;
2010-03-03 13:59:57 +00:00
struct ImBuf ;
struct Image ;
struct ImageUser ;
2010-03-24 03:48:25 +00:00
struct KeyingSetInfo ;
struct KeyingSet ;
2010-03-03 13:59:57 +00:00
struct LOD_Decimation_Info ;
struct MTex ;
struct Main ;
struct Material ;
2010-07-14 14:11:03 +00:00
struct MCol ;
2010-03-03 13:59:57 +00:00
struct MenuType ;
struct Mesh ;
struct ModifierData ;
2010-07-14 14:11:03 +00:00
struct MultiresModifierData ;
2010-03-03 13:59:57 +00:00
struct NodeBlurData ;
struct Object ;
2010-07-14 14:11:03 +00:00
struct PBVHNode ;
2010-03-03 13:59:57 +00:00
struct Render ;
struct RenderEngine ;
struct RenderLayer ;
struct RenderResult ;
struct ScrArea ;
2010-07-14 14:11:03 +00:00
struct SculptSession ;
2010-03-03 13:59:57 +00:00
struct ShadeInput ;
struct ShadeResult ;
struct SpaceImage ;
struct Tex ;
struct TexResult ;
struct Text ;
struct bAction ;
struct bArmature ;
struct bConstraint ;
struct bNode ;
struct bPoseChannel ;
struct uiLayout ;
struct wmEvent ;
struct wmKeyConfig ;
struct wmKeyMap ;
struct wmOperator ;
struct wmWindowManager ;
2010-03-27 18:08:57 +00:00
struct View3D ;
2010-10-23 04:18:53 +00:00
struct ToolSettings ;
2010-03-24 03:48:25 +00:00
2009-09-03 02:55:23 +00:00
/*new render funcs */
2010-03-24 03:48:25 +00:00
float * RE_RenderLayerGetPass ( struct RenderLayer * rl , int passtype ) { return ( float * ) NULL ; }
2009-09-03 02:55:23 +00:00
float RE_filter_value ( int type , float x ) { return 0.0f ; }
struct RenderLayer * RE_GetRenderLayer ( struct RenderResult * rr , const char * name ) { return ( struct RenderLayer * ) NULL ; }
/* zbuf.c stub */
void antialias_tagbuf ( int xsize , int ysize , char * rectmove ) { }
void RE_zbuf_accumulate_vecblur ( struct NodeBlurData * nbd , int xsize , int ysize , float * newrect , float * imgrect , float * vecbufrect , float * zbufrect ) { }
/* imagetexture.c stub */
void ibuf_sample ( struct ImBuf * ibuf , float fx , float fy , float dx , float dy , float * result ) { }
/* texture.c */
int multitex_thread ( struct Tex * tex , float * texvec , float * dxt , float * dyt , int osatex , struct TexResult * texres , short thread , short which_output ) { return 0 ; }
int multitex_ext ( struct Tex * tex , float * texvec , float * dxt , float * dyt , int osatex , struct TexResult * texres ) { return 0 ; }
2010-02-18 08:34:12 +00:00
int multitex_nodes ( struct Tex * tex , float * texvec , float * dxt , float * dyt , int osatex , struct TexResult * texres , short thread , short which_output , struct ShadeInput * shi , struct MTex * mtex ) { return 0 ; }
2009-09-03 02:55:23 +00:00
/* nodes */
struct RenderResult * RE_GetResult ( struct Render * re ) { return ( struct RenderResult * ) NULL ; }
struct Render * RE_GetRender ( const char * name ) { return ( struct Render * ) NULL ; }
/* blenkernel */
2010-09-07 02:39:32 +00:00
char btempdir [ ] = " " ;
2009-09-03 02:55:23 +00:00
void RE_FreeRenderResult ( struct RenderResult * res ) { }
struct RenderResult * RE_MultilayerConvert ( void * exrhandle , int rectx , int recty ) { return ( struct RenderResult * ) NULL ; }
void RE_GetResultImage ( struct Render * re , struct RenderResult * rr ) { }
int RE_RenderInProgress ( struct Render * re ) { return 0 ; }
struct Scene * RE_GetScene ( struct Render * re ) { return ( struct Scene * ) NULL ; }
void RE_Database_Free ( struct Render * re ) { }
void RE_FreeRender ( struct Render * re ) { }
void RE_shade_external ( struct Render * re , struct ShadeInput * shi , struct ShadeResult * shr ) { }
void RE_DataBase_GetView ( struct Render * re , float mat [ ] [ 4 ] ) { }
int externtex ( struct MTex * mtex , float * vec , float * tin , float * tr , float * tg , float * tb , float * ta ) { return 0 ; }
float texture_value_blend ( float tex , float out , float fact , float facg , int blendtype , int flip ) { return 0.0f ; }
void texture_rgb_blend ( float * in , float * tex , float * out , float fact , float facg , int blendtype ) { }
char stipple_quarttone [ 1 ] ; //GLubyte stipple_quarttone[128]
double elbeemEstimateMemreq ( int res , float sx , float sy , float sz , int refine , char * retstr ) { return 0.0f ; }
2009-11-28 01:26:14 +00:00
struct Render * RE_NewRender ( const char * name ) { return ( struct Render * ) NULL ; }
2010-03-27 18:08:57 +00:00
void RE_SwapResult ( struct Render * re , struct RenderResult * * rr ) { }
2009-11-28 01:26:14 +00:00
void RE_BlenderFrame ( struct Render * re , struct Scene * scene , int frame ) { }
2009-09-03 02:55:23 +00:00
/* rna */
2010-03-24 03:48:25 +00:00
float * give_cursor ( struct Scene * scene , struct View3D * v3d ) { return ( float * ) NULL ; }
2009-11-15 23:48:21 +00:00
void WM_menutype_free ( void ) { }
void WM_menutype_freelink ( struct MenuType * mt ) { }
int WM_menutype_add ( struct MenuType * mt ) { return 0 ; }
2010-03-24 03:48:25 +00:00
int WM_operator_props_dialog_popup ( struct bContext * C , struct wmOperator * op , int width , int height ) { return 0 ; }
2009-11-15 23:48:21 +00:00
struct MenuType * WM_menutype_find ( const char * idname , int quiet ) { return ( struct MenuType * ) NULL ; }
2010-04-07 02:14:46 +00:00
void WM_operator_stack_clear ( struct bContext * C ) { }
2009-11-15 23:48:21 +00:00
void WM_autosave_init ( struct bContext * C ) { }
void WM_jobs_stop_all ( struct wmWindowManager * wm ) { }
2010-08-26 00:37:40 +00:00
char * WM_clipboard_text_get ( int selection ) { return ( char * ) 0 ; }
void WM_clipboard_text_set ( char * buf , int selection ) { }
2010-02-01 09:33:32 +00:00
struct wmKeyMapItem * WM_keymap_item_find_id ( struct wmKeyMap * keymap , int id ) { return ( struct wmKeyMapItem * ) NULL ; }
int WM_enum_search_invoke ( struct bContext * C , struct wmOperator * op , struct wmEvent * event ) { return 0 ; }
2009-09-03 02:55:23 +00:00
void WM_event_add_notifier ( const struct bContext * C , unsigned int type , void * reference ) { }
2009-12-31 04:56:23 +00:00
void WM_main_add_notifier ( unsigned int type , void * reference ) { }
2009-09-03 02:55:23 +00:00
void ED_armature_bone_rename ( struct bArmature * arm , char * oldnamep , char * newnamep ) { }
2010-02-22 09:01:49 +00:00
struct wmEventHandler * WM_event_add_modal_handler ( struct bContext * C , struct wmOperator * op ) { return ( struct wmEventHandler * ) NULL ; } ;
2009-11-28 01:26:14 +00:00
void ED_armature_edit_bone_remove ( struct bArmature * arm , struct EditBone * exBone ) { }
2009-09-03 02:55:23 +00:00
void object_test_constraints ( struct Object * owner ) { }
void ED_object_parent ( struct Object * ob , struct Object * par , int type , const char * substr ) { }
2009-11-15 23:48:21 +00:00
void ED_object_constraint_set_active ( struct Object * ob , struct bConstraint * con ) { }
2009-09-03 02:55:23 +00:00
void ED_node_composit_default ( struct Scene * sce ) { }
2010-07-20 10:41:08 +00:00
void * ED_region_draw_cb_activate ( struct ARegionType * art , void ( * draw ) ( const struct bContext * , struct ARegion * , void * ) , void * custumdata , int type ) { return 0 ; } /* XXX this one looks weird */
2010-03-24 03:48:25 +00:00
void * ED_region_draw_cb_customdata ( void * handle ) { return 0 ; } /* XXX This one looks wrong also */
2010-03-02 09:45:12 +00:00
void ED_region_draw_cb_exit ( struct ARegionType * art , void * handle ) { }
2010-10-04 23:52:53 +00:00
void ED_area_headerprint ( struct ScrArea * sa , char * str ) { }
2009-09-03 02:55:23 +00:00
struct EditBone * ED_armature_bone_get_mirrored ( struct ListBase * edbo , struct EditBone * ebo ) { return ( struct EditBone * ) NULL ; }
2009-11-28 01:26:14 +00:00
struct EditBone * ED_armature_edit_bone_add ( struct bArmature * arm , char * name ) { return ( struct EditBone * ) NULL ; }
2009-09-03 02:55:23 +00:00
struct ListBase * get_active_constraints ( struct Object * ob ) { return ( struct ListBase * ) NULL ; }
2009-11-28 01:26:14 +00:00
struct ListBase * get_constraint_lb ( struct Object * ob , struct bConstraint * con , struct bPoseChannel * * pchan_r ) { return ( struct ListBase * ) NULL ; }
2009-09-03 02:55:23 +00:00
int ED_pose_channel_in_IK_chain ( struct Object * ob , struct bPoseChannel * pchan ) { return 0 ; }
int ED_space_image_show_uvedit ( struct SpaceImage * sima , struct Object * obedit ) { return 0 ; }
int ED_space_image_show_render ( struct SpaceImage * sima ) { return 0 ; }
int ED_space_image_show_paint ( struct SpaceImage * sima ) { return 0 ; }
2010-10-20 02:47:53 +00:00
void ED_space_image_paint_update ( struct wmWindowManager * wm , struct ToolSettings * settings ) { }
2009-09-03 02:55:23 +00:00
void ED_space_image_set ( struct bContext * C , struct SpaceImage * sima , struct Scene * scene , struct Object * obedit , struct Image * ima ) { }
struct ImBuf * ED_space_image_buffer ( struct SpaceImage * sima ) { return ( struct ImBuf * ) NULL ; }
2010-01-11 10:48:41 +00:00
void ED_screen_set_scene ( struct bContext * C , struct Scene * scene ) { }
2009-09-03 02:55:23 +00:00
struct PTCacheEdit * PE_get_current ( struct Scene * scene , struct Object * ob ) { return ( struct PTCacheEdit * ) NULL ; }
2009-11-15 23:48:21 +00:00
void PE_current_changed ( struct Scene * scene , struct Object * ob ) { }
/* rna keymap */
struct wmKeyMap * WM_keymap_active ( struct wmWindowManager * wm , struct wmKeyMap * keymap ) { return ( struct wmKeyMap * ) NULL ; }
struct wmKeyMap * WM_keymap_find ( struct wmKeyConfig * keyconf , char * idname , int spaceid , int regionid ) { return ( struct wmKeyMap * ) NULL ; }
struct wmKeyMap * WM_keymap_add_item ( struct wmKeyMap * keymap , char * idname , int type , int val , int modifier , int keymodifier ) { return ( struct wmKeyMap * ) NULL ; }
struct wmKeyMap * WM_keymap_copy_to_user ( struct wmKeyMap * kemap ) { return ( struct wmKeyMap * ) NULL ; }
2009-12-31 04:56:23 +00:00
struct wmKeyMap * WM_keymap_list_find ( struct ListBase * lb , char * idname , int spaceid , int regionid ) { return ( struct wmKeyMap * ) NULL ; }
2010-08-30 20:35:24 +00:00
struct wmKeyConfig * WM_keyconfig_new ( struct wmWindowManager * wm , char * idname ) { return ( struct wmKeyConfig * ) NULL ; }
struct wmKeyConfig * WM_keyconfig_new_user ( struct wmWindowManager * wm , char * idname ) { return ( struct wmKeyConfig * ) NULL ; }
2010-01-28 19:54:06 +00:00
void WM_keyconfig_remove ( struct wmWindowManager * wm , char * idname ) { }
2009-11-15 23:48:21 +00:00
void WM_keymap_remove_item ( struct wmKeyMap * keymap , struct wmKeyMapItem * kmi ) { }
void WM_keymap_restore_to_default ( struct wmKeyMap * keymap ) { }
2009-12-31 04:56:23 +00:00
void WM_keymap_restore_item_to_default ( struct bContext * C , struct wmKeyMap * keymap , struct wmKeyMapItem * kmi ) { }
void WM_keymap_properties_reset ( struct wmKeyMapItem * kmi ) { }
2009-11-16 02:52:02 +00:00
int WM_keymap_user_init ( struct wmWindowManager * wm , struct wmKeyMap * keymap ) { return 0 ; }
2009-12-31 04:56:23 +00:00
int WM_keymap_item_compare ( struct wmKeyMapItem * k1 , struct wmKeyMapItem * k2 ) { return 0 ; }
2009-11-15 23:48:21 +00:00
2009-09-03 02:55:23 +00:00
/* rna editors */
2010-05-07 01:30:12 +00:00
struct FCurve * verify_fcurve ( struct bAction * act , const char group [ ] , const char rna_path [ ] , const int array_index , short add ) { return ( struct FCurve * ) NULL ; }
2010-03-31 22:49:59 +00:00
int insert_vert_fcurve ( struct FCurve * fcu , float x , float y , short flag ) { return 0 ; }
void delete_fcurve_key ( struct FCurve * fcu , int index , short do_recalc ) { }
2010-03-24 03:48:25 +00:00
struct KeyingSetInfo * ANIM_keyingset_info_find_named ( const char name [ ] ) { return ( struct KeyingSetInfo * ) NULL ; }
struct KeyingSet * ANIM_scene_get_active_keyingset ( struct Scene * scene ) { return ( struct KeyingSet * ) NULL ; }
int ANIM_scene_get_keyingset_index ( struct Scene * scene , struct KeyingSet * ks ) { return 0 ; }
struct ListBase builtin_keyingsets ;
2010-10-16 14:32:17 +00:00
void ANIM_keyingset_info_register ( struct KeyingSetInfo * ksi ) { }
2010-03-18 00:36:20 +00:00
void ANIM_keyingset_info_unregister ( const struct bContext * C , struct KeyingSetInfo * ksi ) { }
2009-11-15 23:48:21 +00:00
short ANIM_add_driver ( struct ID * id , const char rna_path [ ] , int array_index , short flag , int type ) { return 0 ; }
2010-04-12 23:02:14 +00:00
short ANIM_remove_driver ( struct ID * id , const char rna_path [ ] , int array_index , short flag ) { return 0 ; }
2009-11-15 23:48:21 +00:00
void ED_space_image_release_buffer ( struct SpaceImage * sima , void * lock ) { }
struct ImBuf * ED_space_image_acquire_buffer ( struct SpaceImage * sima , void * * lock_r ) { return ( struct ImBuf * ) NULL ; }
2010-03-24 03:48:25 +00:00
char * ED_info_stats_string ( struct Scene * scene ) { return ( char * ) NULL ; }
2009-09-03 02:55:23 +00:00
void ED_area_tag_redraw ( struct ScrArea * sa ) { }
2010-02-04 23:03:08 +00:00
void ED_area_tag_refresh ( struct ScrArea * sa ) { }
2009-11-15 23:48:21 +00:00
void ED_area_newspace ( struct bContext * C , struct ScrArea * sa , int type ) { }
2009-09-03 02:55:23 +00:00
void WM_event_add_fileselect ( struct bContext * C , struct wmOperator * op ) { }
2010-02-07 17:15:20 +00:00
void WM_cursor_wait ( int val ) { }
2009-09-03 02:55:23 +00:00
void ED_node_texture_default ( struct Tex * tx ) { }
2009-09-29 05:22:44 +00:00
void ED_node_changed_update ( struct bContext * C , struct bNode * node ) { }
2010-10-15 04:27:09 +00:00
void ED_node_generic_update ( struct Main * bmain , struct bNodeTree * ntree , struct bNode * node ) { }
2009-11-15 23:48:21 +00:00
void ED_view3d_scene_layers_update ( struct Main * bmain , struct Scene * scene ) { }
2009-12-31 04:56:23 +00:00
int ED_view3d_scene_layer_set ( int lay , const int * values ) { return 0 ; }
2010-02-01 09:33:32 +00:00
void ED_view3d_quadview_update ( struct ScrArea * sa , struct ARegion * ar ) { }
2009-09-03 02:55:23 +00:00
int text_file_modified ( struct Text * text ) { return 0 ; }
void ED_node_shader_default ( struct Material * ma ) { }
void ED_screen_animation_timer_update ( struct bContext * C , int redraws ) { }
2009-11-15 23:48:21 +00:00
void ED_base_object_select ( struct Base * base , short mode ) { }
2009-09-03 02:55:23 +00:00
int ED_object_modifier_remove ( struct ReportList * reports , struct Scene * scene , struct Object * ob , struct ModifierData * md ) { return 0 ; }
2009-11-28 13:33:56 +00:00
int ED_object_modifier_add ( struct ReportList * reports , struct Scene * scene , struct Object * ob , char * name , int type ) { return 0 ; }
2009-11-15 23:48:21 +00:00
void ED_object_enter_editmode ( struct bContext * C , int flag ) { }
void ED_object_exit_editmode ( struct bContext * C , int flag ) { }
2009-09-03 02:55:23 +00:00
int uiLayoutGetActive ( struct uiLayout * layout ) { return 0 ; }
int uiLayoutGetOperatorContext ( struct uiLayout * layout ) { return 0 ; }
int uiLayoutGetAlignment ( struct uiLayout * layout ) { return 0 ; }
int uiLayoutGetEnabled ( struct uiLayout * layout ) { return 0 ; }
float uiLayoutGetScaleX ( struct uiLayout * layout ) { return 0.0f ; }
float uiLayoutGetScaleY ( struct uiLayout * layout ) { return 0.0f ; }
void uiLayoutSetActive ( struct uiLayout * layout , int active ) { }
void uiLayoutSetOperatorContext ( struct uiLayout * layout , int opcontext ) { }
void uiLayoutSetEnabled ( struct uiLayout * layout , int enabled ) { }
void uiLayoutSetAlignment ( struct uiLayout * layout , int alignment ) { }
void uiLayoutSetScaleX ( struct uiLayout * layout , float scale ) { }
void uiLayoutSetScaleY ( struct uiLayout * layout , float scale ) { }
2009-09-29 05:22:44 +00:00
void ED_base_object_free_and_unlink ( struct Scene * scene , struct Base * base ) { }
void ED_mesh_calc_normals ( struct Mesh * me ) { }
void ED_mesh_geometry_add ( struct Mesh * mesh , struct ReportList * reports , int verts , int edges , int faces ) { }
void ED_mesh_material_add ( struct Mesh * me , struct Material * ma ) { }
void ED_mesh_transform ( struct Mesh * me , float * mat ) { }
void ED_mesh_update ( struct Mesh * mesh , struct bContext * C ) { }
2010-08-30 02:04:22 +00:00
void ED_mesh_vertices_add ( struct Mesh * mesh , struct ReportList * reports , int count ) { }
void ED_mesh_edges_add ( struct Mesh * mesh , struct ReportList * reports , int count ) { }
void ED_mesh_faces_add ( struct Mesh * mesh , struct ReportList * reports , int count ) { }
void ED_mesh_material_link ( struct Mesh * mesh , struct Material * ma ) { }
2010-01-07 05:23:54 +00:00
int ED_mesh_color_add ( struct bContext * C , struct Scene * scene , struct Object * ob , struct Mesh * me ) { return 0 ; }
2010-10-16 14:32:17 +00:00
int ED_mesh_uv_texture_add ( struct bContext * C , struct Mesh * me ) { return 0 ; }
2009-09-29 05:22:44 +00:00
void ED_object_constraint_dependency_update ( struct Scene * scene , struct Object * ob ) { }
void ED_object_constraint_update ( struct Object * ob ) { }
struct bDeformGroup * ED_vgroup_add_name ( struct Object * ob , char * name ) { return ( struct bDeformGroup * ) NULL ; }
void ED_vgroup_vert_add ( struct Object * ob , struct bDeformGroup * dg , int vertnum , float weight , int assignmode ) { }
2009-12-31 04:56:23 +00:00
void ED_sequencer_update_view ( struct bContext * C , int view ) { }
float ED_rollBoneToVector ( struct EditBone * bone , float new_up_axis [ 3 ] ) { return 0.0f ; }
2010-03-30 21:39:05 +00:00
void ED_space_image_size ( struct SpaceImage * sima , int * width , int * height ) { }
2009-12-31 04:56:23 +00:00
2010-07-25 11:57:36 +00:00
struct ListBase * ED_curve_editnurbs ( struct Curve * cu ) { return NULL ; }
void free_curve_editNurb ( struct Curve * cu ) { } ;
2009-12-31 04:56:23 +00:00
void EM_selectmode_set ( struct EditMesh * em ) { }
2010-04-12 03:06:49 +00:00
int EM_texFaceCheck ( struct EditMesh * em ) { return 0 ; }
struct MTFace * EM_get_active_mtface ( struct EditMesh * em , struct EditFace * * act_efa , struct MCol * * mcol , int sloopy ) { return ( struct MTFace * ) NULL ; }
2009-12-31 04:56:23 +00:00
void make_editMesh ( struct Scene * scene , struct Object * ob ) { }
void load_editMesh ( struct Scene * scene , struct Object * ob ) { }
2009-09-03 02:55:23 +00:00
2010-08-11 20:33:02 +00:00
void make_editLatt ( struct Object * obedit ) { }
void load_editLatt ( struct Object * obedit ) { }
void load_editNurb ( struct Object * obedit ) { }
void make_editNurb ( struct Object * obedit ) { }
2010-03-23 15:31:12 +00:00
void uiItemR ( struct uiLayout * layout , struct PointerRNA * ptr , char * propname , int flag , char * name , int icon ) { }
2009-09-03 02:55:23 +00:00
2010-03-24 03:48:25 +00:00
struct PointerRNA uiItemFullO ( struct uiLayout * layout , char * idname , char * name , int icon , struct IDProperty * properties , int context , int flag ) { struct PointerRNA a ; return a ; }
2009-09-03 02:55:23 +00:00
struct uiLayout * uiLayoutRow ( struct uiLayout * layout , int align ) { return ( struct uiLayout * ) NULL ; }
struct uiLayout * uiLayoutColumn ( struct uiLayout * layout , int align ) { return ( struct uiLayout * ) NULL ; }
struct uiLayout * uiLayoutColumnFlow ( struct uiLayout * layout , int number , int align ) { return ( struct uiLayout * ) NULL ; }
struct uiLayout * uiLayoutBox ( struct uiLayout * layout ) { return ( struct uiLayout * ) NULL ; }
2009-12-10 14:47:07 +00:00
struct uiLayout * uiLayoutSplit ( struct uiLayout * layout , float percentage , int align ) { return ( struct uiLayout * ) NULL ; }
2009-09-03 02:55:23 +00:00
void uiItemsEnumR ( struct uiLayout * layout , struct PointerRNA * ptr , char * propname ) { }
2010-03-23 15:25:33 +00:00
void uiItemMenuEnumR ( struct uiLayout * layout , struct PointerRNA * ptr , char * propname , char * name , int icon ) { }
void uiItemEnumR_string ( struct uiLayout * layout , struct PointerRNA * ptr , char * propname , char * value , char * name , int icon ) { }
void uiItemPointerR ( struct uiLayout * layout , struct PointerRNA * ptr , char * propname , struct PointerRNA * searchptr , char * searchpropname , char * name , int icon ) { }
2010-08-24 00:43:32 +00:00
void uiItemPointerSubR ( struct uiLayout * layout , struct PointerRNA * ptr , char * propname , char * searchpropname , char * name , int icon ) { }
2009-09-03 02:55:23 +00:00
void uiItemsEnumO ( struct uiLayout * layout , char * opname , char * propname ) { }
void uiItemEnumO_string ( struct uiLayout * layout , char * name , int icon , char * opname , char * propname , char * value_str ) { }
2010-03-23 15:25:33 +00:00
void uiItemMenuEnumO ( struct uiLayout * layout , char * opname , char * propname , char * name , int icon ) { }
2009-09-03 02:55:23 +00:00
void uiItemBooleanO ( struct uiLayout * layout , char * name , int icon , char * opname , char * propname , int value ) { }
void uiItemIntO ( struct uiLayout * layout , char * name , int icon , char * opname , char * propname , int value ) { }
void uiItemFloatO ( struct uiLayout * layout , char * name , int icon , char * opname , char * propname , float value ) { }
void uiItemStringO ( struct uiLayout * layout , char * name , int icon , char * opname , char * propname , char * value ) { }
void uiItemL ( struct uiLayout * layout , char * name , int icon ) { }
2010-03-23 15:25:33 +00:00
void uiItemM ( struct uiLayout * layout , struct bContext * C , char * menuname , char * name , int icon ) { }
2009-09-03 02:55:23 +00:00
void uiItemS ( struct uiLayout * layout ) { }
2010-03-23 15:31:12 +00:00
void uiItemFullR ( struct uiLayout * layout , struct PointerRNA * ptr , struct PropertyRNA * prop , int index , int value , int flag , char * name , int icon ) { }
2009-09-03 02:55:23 +00:00
void uiLayoutSetContextPointer ( struct uiLayout * layout , char * name , struct PointerRNA * ptr ) { }
2009-12-31 04:56:23 +00:00
char * uiLayoutIntrospect ( struct uiLayout * layout ) { return ( char * ) NULL ; }
2009-09-03 02:55:23 +00:00
/* rna template */
2009-11-15 23:48:21 +00:00
void uiTemplateAnyID ( struct uiLayout * layout , struct bContext * C , struct PointerRNA * ptr , char * propname , char * text ) { }
void uiTemplatePathBuilder ( struct uiLayout * layout , struct bContext * C , struct PointerRNA * ptr , char * propname , struct PointerRNA * root_ptr , char * text ) { }
2009-09-03 02:55:23 +00:00
void uiTemplateHeader ( struct uiLayout * layout , struct bContext * C , int menus ) { }
void uiTemplateID ( struct uiLayout * layout , struct bContext * C , struct PointerRNA * ptr , char * propname , char * newop , char * unlinkop ) { }
struct uiLayout * uiTemplateModifier ( struct uiLayout * layout , struct PointerRNA * ptr ) { return ( struct uiLayout * ) NULL ; }
struct uiLayout * uiTemplateConstraint ( struct uiLayout * layout , struct PointerRNA * ptr ) { return ( struct uiLayout * ) NULL ; }
2010-11-19 07:46:23 +00:00
void uiTemplatePreview ( struct uiLayout * layout , struct ID * id , int show_buttons , struct ID * parent , struct MTex * slot ) { }
2010-01-07 05:23:54 +00:00
void uiTemplateIDPreview ( struct uiLayout * layout , struct bContext * C , struct PointerRNA * ptr , char * propname , char * newop , char * openop , char * unlinkop , int rows , int cols ) { }
2009-09-03 02:55:23 +00:00
void uiTemplateCurveMapping ( struct uiLayout * layout , struct CurveMapping * cumap , int type , int compact ) { }
void uiTemplateColorRamp ( struct uiLayout * layout , struct ColorBand * coba , int expand ) { }
void uiTemplateLayers ( struct uiLayout * layout , struct PointerRNA * ptr , char * propname ) { }
void uiTemplateImageLayers ( struct uiLayout * layout , struct bContext * C , struct Image * ima , struct ImageUser * iuser ) { }
ListBase uiTemplateList ( struct uiLayout * layout , struct bContext * C , struct PointerRNA * ptr , char * propname , struct PointerRNA * activeptr , char * activepropname , int rows , int listtype ) { struct ListBase b = { 0 , 0 } ; return b ; }
void uiTemplateRunningJobs ( struct uiLayout * layout , struct bContext * C ) { }
void uiTemplateOperatorSearch ( struct uiLayout * layout ) { }
void uiTemplateHeader3D ( struct uiLayout * layout , struct bContext * C ) { }
void uiTemplateTextureImage ( struct uiLayout * layout , struct bContext * C , struct Tex * tex ) { }
2009-09-29 05:22:44 +00:00
void uiTemplateImage ( struct uiLayout * layout , struct bContext * C , struct PointerRNA * ptr , char * propname , struct PointerRNA * userptr , int compact ) { }
2009-12-31 04:56:23 +00:00
void uiTemplateDopeSheetFilter ( struct uiLayout * layout , struct bContext * C , struct PointerRNA * ptr ) { }
2010-01-10 21:33:41 +00:00
void uiTemplateColorWheel ( struct uiLayout * layout , struct PointerRNA * ptr , char * propname , int value_slider ) { }
2010-02-01 09:33:32 +00:00
void uiTemplateHistogram ( struct uiLayout * layout , struct PointerRNA * ptr , char * propname , int expand ) { }
2010-03-03 13:59:57 +00:00
void uiTemplateReportsBanner ( struct uiLayout * layout , struct bContext * C , struct wmOperator * op ) { }
2010-04-07 02:14:46 +00:00
void uiTemplateWaveform ( struct uiLayout * layout , struct PointerRNA * ptr , char * propname , int expand ) { }
void uiTemplateVectorscope ( struct uiLayout * _self , struct PointerRNA * data , char * property , int expand ) { }
2010-01-17 19:20:05 +00:00
2009-09-03 02:55:23 +00:00
/* rna render */
struct RenderResult * RE_engine_begin_result ( struct RenderEngine * engine , int x , int y , int w , int h ) { return ( struct RenderResult * ) NULL ; }
2009-11-15 23:48:21 +00:00
struct RenderResult * RE_AcquireResultRead ( struct Render * re ) { return ( struct RenderResult * ) NULL ; }
struct RenderResult * RE_AcquireResultWrite ( struct Render * re ) { return ( struct RenderResult * ) NULL ; }
struct RenderStats * RE_GetStats ( struct Render * re ) { return ( struct RenderStats * ) NULL ; }
2009-09-03 02:55:23 +00:00
void RE_engine_update_result ( struct RenderEngine * engine , struct RenderResult * result ) { }
void RE_engine_end_result ( struct RenderEngine * engine , struct RenderResult * result ) { }
void RE_engine_update_stats ( struct RenderEngine * engine , char * stats , char * info ) { }
void RE_layer_load_from_file ( struct RenderLayer * layer , struct ReportList * reports , char * filename ) { }
void RE_result_load_from_file ( struct RenderResult * result , struct ReportList * reports , char * filename ) { }
2009-11-15 23:48:21 +00:00
void RE_AcquireResultImage ( struct Render * re , struct RenderResult * rr ) { }
void RE_ReleaseResult ( struct Render * re ) { }
void RE_ReleaseResultImage ( struct Render * re ) { }
2009-09-03 02:55:23 +00:00
int RE_engine_test_break ( struct RenderEngine * engine ) { return 0 ; }
/* python */
struct wmOperatorType * WM_operatortype_find ( const char * idname , int quiet ) { return ( struct wmOperatorType * ) NULL ; }
struct wmOperatorType * WM_operatortype_first ( ) { return ( struct wmOperatorType * ) NULL ; }
struct wmOperatorType * WM_operatortype_exists ( const char * idname ) { return ( struct wmOperatorType * ) NULL ; }
2009-12-31 04:56:23 +00:00
struct wmOperatorTypeMacro * WM_operatortype_macro_define ( struct wmOperatorType * ot , const char * idname ) { return ( struct wmOperatorTypeMacro * ) NULL ; }
2009-09-03 22:37:09 +00:00
int WM_operator_call_py ( struct bContext * C , struct wmOperatorType * ot , int context , struct PointerRNA * properties , struct ReportList * reports ) { return 0 ; }
2009-09-03 02:55:23 +00:00
int WM_operatortype_remove ( const char * idname ) { return 0 ; }
2009-09-29 05:22:44 +00:00
int WM_operator_poll ( struct bContext * C , struct wmOperatorType * ot ) { return 0 ; }
2010-11-05 01:47:55 +00:00
int WM_operator_poll_context ( struct bContext * C , struct wmOperatorType * ot , int context ) { return 0 ; }
2009-11-15 23:48:21 +00:00
int WM_operator_props_popup ( struct bContext * C , struct wmOperator * op , struct wmEvent * event ) { return 0 ; }
2009-09-03 02:55:23 +00:00
void WM_operator_properties_free ( struct PointerRNA * ptr ) { }
void WM_operator_properties_create ( struct PointerRNA * ptr , const char * opstring ) { }
2009-11-28 01:26:14 +00:00
void WM_operator_properties_create_ptr ( struct PointerRNA * ptr , struct wmOperatorType * ot ) { }
2009-09-03 02:55:23 +00:00
void WM_operatortype_append_ptr ( void ( * opfunc ) ( struct wmOperatorType * , void * ) , void * userdata ) { }
2009-12-05 19:27:26 +00:00
void WM_operatortype_append_macro_ptr ( void ( * opfunc ) ( struct wmOperatorType * , void * ) , void * userdata ) { }
2009-09-03 02:55:23 +00:00
void WM_operator_bl_idname ( char * to , const char * from ) { }
2009-11-15 23:48:21 +00:00
void WM_operator_py_idname ( char * to , const char * from ) { }
2009-12-31 04:56:23 +00:00
void WM_operator_ui_popup ( struct bContext * C , struct wmOperator * op , int width , int height ) { }
2009-09-03 02:55:23 +00:00
short insert_keyframe ( struct ID * id , struct bAction * act , const char group [ ] , const char rna_path [ ] , int array_index , float cfra , short flag ) { return 0 ; }
2010-02-22 12:25:58 +00:00
short delete_keyframe ( struct ID * id , struct bAction * act , const char group [ ] , const char rna_path [ ] , int array_index , float cfra , short flag ) { return 0 ; } ;
2010-03-24 03:48:25 +00:00
char * WM_operator_pystring ( struct bContext * C , struct wmOperatorType * ot , struct PointerRNA * opptr , int all_args ) { return ( char * ) NULL ; }
struct wmKeyMapItem * WM_modalkeymap_add_item ( struct wmKeyMap * km , int type , int val , int modifier , int keymodifier , int value ) { return ( struct wmKeyMapItem * ) NULL ; }
struct wmKeyMap * WM_modalkeymap_add ( struct wmKeyConfig * keyconf , char * idname , EnumPropertyItem * items ) { return ( struct wmKeyMap * ) NULL ; }
2009-09-03 02:55:23 +00:00
2010-11-14 20:40:55 +00:00
/* RNA Collada dependency */
int collada_export ( struct Scene * sce , const char * filepath ) { return 0 ; }
2009-11-15 23:48:21 +00:00
/* intern/decimation */
int LOD_FreeDecimationData ( struct LOD_Decimation_Info * info ) { return 0 ; }
int LOD_CollapseEdge ( struct LOD_Decimation_Info * info ) { return 0 ; }
int LOD_PreprocessMesh ( struct LOD_Decimation_Info * info ) { return 0 ; }
int LOD_LoadMesh ( struct LOD_Decimation_Info * info ) { return 0 ; }
2009-09-03 06:34:03 +00:00
/* smoke */
2009-09-05 02:13:13 +00:00
void LzmaCompress ( void ) { return ; }
void LzmaUncompress ( void ) { return ; }
2009-11-22 21:55:59 +00:00
/* smoke is included anyway
void smoke_export ( void ) { return ; }
2009-09-05 02:13:13 +00:00
void smoke_init ( void ) { return ; }
void smoke_turbulence_init ( void ) { return ; }
void smoke_turbulence_initBlenderRNA ( void ) { return ; }
void smoke_initBlenderRNA ( void ) { return ; }
void smoke_free ( void ) { return ; }
void smoke_turbulence_free ( void ) { return ; }
void smoke_turbulence_step ( void ) { return ; }
void smoke_dissolve ( void ) { return ; }
void smoke_get_density ( void ) { return ; }
void smoke_get_heat ( void ) { return ; }
void smoke_get_velocity_x ( void ) { return ; }
void smoke_get_velocity_y ( void ) { return ; }
void smoke_get_velocity_z ( void ) { return ; }
void smoke_get_obstacle ( void ) { return ; }
void smoke_get_index ( void ) { return ; }
void smoke_step ( void ) { return ; }
2009-11-22 21:55:59 +00:00
*/
2009-09-29 05:22:44 +00:00
2010-07-14 14:11:03 +00:00
/* sculpt */
/*
void ED_sculpt_force_update ( struct bContext * C ) { }
struct SculptUndoNode * sculpt_undo_push_node ( struct SculptSession * ss , struct PBVHNode * node ) { return ( struct SculptUndoNode * ) NULL ; }
void sculpt_undo_push_end ( void ) { }
void sculpt_undo_push_begin ( char * name ) { }
struct SculptUndoNode * sculpt_undo_get_node ( struct PBVHNode * node ) { return ( struct SculptUndoNode * ) NULL ; }
struct MultiresModifierData * sculpt_multires_active ( struct Scene * scene , struct Object * ob ) { return ( struct MultiresModifierData * ) NULL ; }
int sculpt_modifiers_active ( struct Scene * scene , struct Object * ob ) { return 0 ; }
*/
int sculpt_get_brush_size ( struct Brush * brush ) { return 0 ; }
void sculpt_set_brush_size ( struct Brush * brush , int size ) { }
int sculpt_get_lock_brush_size ( struct Brush * brush ) { return 0 ; }
float sculpt_get_brush_unprojected_radius ( struct Brush * brush ) { return 0.0f ; }
void sculpt_set_brush_unprojected_radius ( struct Brush * brush , float unprojected_radius ) { }
float sculpt_get_brush_alpha ( struct Brush * brush ) { return 0.0f ; }
void sculpt_set_brush_alpha ( struct Brush * brush , float alpha ) { }
2010-02-22 12:25:58 +00:00
char blender_path [ ] = " " ;
2009-11-15 23:48:21 +00:00
/* CSG */
struct CSG_BooleanOperation * CSG_NewBooleanFunction ( void ) { return ( struct CSG_BooleanOperation * ) NULL ; }
void CSG_FreeBooleanOperation ( struct CSG_BooleanOperation * operation ) { return ; }
void CSG_FreeFaceDescriptor ( struct CSG_FaceIteratorDescriptor * f_descriptor ) { return ; }
void CSG_FreeVertexDescriptor ( struct CSG_VertexIteratorDescriptor * v_descriptor ) { return ; }
int CSG_OutputFaceDescriptor ( struct CSG_BooleanOperation * operation , struct CSG_FaceIteratorDescriptor * output ) { return 0 ; }
int CSG_OutputVertexDescriptor ( struct CSG_BooleanOperation * operation , struct CSG_VertexIteratorDescriptor * output ) { return 0 ; }
2009-11-16 02:52:02 +00:00
typedef struct CSG_VertexIteratorDescriptor { int a ; } CSG_VertexIteratorDescriptor ; //workaround to build CSG_PerformanceBoolean Operation
typedef struct CSG_FaceIteratorDescriptor { int a ; } CSG_FaceIteratorDescriptor ; //workaround to build CSG_PerformanceBoolean Operation
typedef struct CSG_OperationType { int a ; } CSG_OperationType ; //workaround to build CSG_PerformanceBoolean Operation
2010-10-26 21:16:11 +00:00
2009-11-15 23:48:21 +00:00
int CSG_PerformBooleanOperation (
struct CSG_BooleanOperation * operation ,
CSG_OperationType op_type ,
CSG_FaceIteratorDescriptor obAFaces ,
CSG_VertexIteratorDescriptor obAVertices ,
CSG_FaceIteratorDescriptor obBFaces ,
CSG_VertexIteratorDescriptor obBVertices )
2009-11-22 10:02:32 +00:00
{ return 0 ; }
2010-03-10 08:17:18 +00:00
2010-10-31 03:20:33 +00:00
# endif // WITH_GAMEENGINE