From 3df84b755f3b49f8d31355135a48444413af2914 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 21 Dec 2003 23:38:41 +0000 Subject: - fixes for the stubs, to make sure blenderplayer compiles. error was caused by moving render calls to render module... but some are still called in blender kernel... --- source/blender/blenkernel/bad_level_call_stubs/stubs.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'source') diff --git a/source/blender/blenkernel/bad_level_call_stubs/stubs.c b/source/blender/blenkernel/bad_level_call_stubs/stubs.c index 81d77dac227..532c4243844 100644 --- a/source/blender/blenkernel/bad_level_call_stubs/stubs.c +++ b/source/blender/blenkernel/bad_level_call_stubs/stubs.c @@ -90,6 +90,14 @@ ListBase editNurb; #include "render_types.h" struct RE_Render R; +float Phong_Spec(float *n, float *l, float *v, int hard){return 0;} +float Blinn_Spec(float *n, float *l, float *v, float a, float b){return 0;} +float CookTorr_Spec(float *n, float *l, float *v, int hard){return 0;} +float Toon_Spec(float *n, float *l, float *v, float a, float b){return 0;} +float Toon_Diff(float *n, float *l, float *v, float a, float b){return 0;} +float OrenNayar_Diff(float *n, float *l, float *v, float a, float b){return 0;} + + void waitcursor(int val){} void allqueue(unsigned short event, short val){} #define REDRAWVIEW3D 0x4010 @@ -180,6 +188,13 @@ int BPY_call_importloader(char *name) #define INT 96 /* struct EnvMap; */ /* struct Tex; */ +float Ta, Tb, Tg, Tin, Tr; + +void do_material_tex(ShadeInput *shi){} +void externtex(struct MTex *mtex, float *vec){} +void init_render_textures(void){} +void end_render_textures(void){} + void RE_free_envmap(struct EnvMap *env){} struct EnvMap *RE_copy_envmap(struct EnvMap *env){ return env;} void RE_free_envmapdata(struct EnvMap *env){} -- cgit v1.2.3