home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwwin / editmat.h_ / editmat.bin
Text File  |  1995-11-14  |  1KB  |  39 lines

  1. /**********************************************************************
  2.  *
  3.  * File :     editmat.h
  4.  *
  5.  * Abstract : RenderWare paint demo. Material editor module bindings
  6.  *
  7.  **********************************************************************
  8.  *
  9.  * This file is a product of Criterion Software Ltd.
  10.  *
  11.  * This file is provided as is with no warranties of any kind and is
  12.  * provided without any obligation on Criterion Software Ltd. or
  13.  * Canon Inc. to assist in its use or modification.
  14.  *
  15.  * Criterion Software Ltd. will not, under any
  16.  * circumstances, be liable for any lost revenue or other damages arising
  17.  * from the use of this file.
  18.  *
  19.  * Copyright (c) 1995 Criterion Software Ltd.
  20.  * All Rights Reserved.
  21.  *
  22.  * RenderWare is a trademark of Canon Inc.
  23.  *
  24.  ************************************************************************/
  25.  
  26. extern HWND FAR PASCAL MaterialEditor(RwMaterial *UseMaterial, HINSTANCE Instance, HWND hOwner, HWND User, UINT Message);
  27.  
  28. /* bits for changed parts of materials */
  29.  
  30. #define MAT_GEOM_CHANGED      1
  31. #define MAT_LIGHT_CHANGED     2
  32. #define MAT_AMBIENT_CHANGED   4
  33. #define MAT_DIFFUSE_CHANGED   8
  34. #define MAT_SPECULAR_CHANGED  16
  35. #define MAT_TEXTURE_CHANGED   32
  36. #define MAT_COLOR_CHANGED     64
  37. #define MAT_OPACITY_CHANGED   128
  38. #define MAT_TEXMODE_CHANGED   256
  39.