Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2003-07-20 21:59:57 +0400
committerTon Roosendaal <ton@blender.org>2003-07-20 21:59:57 +0400
commit5a7db88f59a910cd9c1dc48bbc083bfd3f36bdf5 (patch)
tree9a9ede7fd2e67aa6d4b43d95ce91940cf272f702
parentd5c829e413e3755750a46e2dee26905b16b1ff57 (diff)
- added patches for shaders in the stub... displist.c calls it. Bad Bad!
-rw-r--r--source/blender/blenkernel/bad_level_call_stubs/stubs.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/blenkernel/bad_level_call_stubs/stubs.c b/source/blender/blenkernel/bad_level_call_stubs/stubs.c
index 8c75e0b025a..ca18b4e2846 100644
--- a/source/blender/blenkernel/bad_level_call_stubs/stubs.c
+++ b/source/blender/blenkernel/bad_level_call_stubs/stubs.c
@@ -87,7 +87,14 @@ ListBase editNurb;
#include "DNA_world_types.h" /* for render_types */
#include "render_types.h"
struct RE_Render R;
-float Phong_Spec(float *n, float *l, float *v, int hard){return 0;}
+
+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