diff options
author | Ton Roosendaal <ton@blender.org> | 2003-12-22 02:38:41 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-12-22 02:38:41 +0300 |
commit | 3df84b755f3b49f8d31355135a48444413af2914 (patch) | |
tree | 419f2a9563e94e5ecda5b354426f7080c2eeea0e /source/blender/blenkernel/bad_level_call_stubs | |
parent | 6d6dee7ba8877e468326b21c735c05c2032c3e00 (diff) |
- 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...
Diffstat (limited to 'source/blender/blenkernel/bad_level_call_stubs')
-rw-r--r-- | source/blender/blenkernel/bad_level_call_stubs/stubs.c | 15 |
1 files changed, 15 insertions, 0 deletions
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){} |