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

  1. /****************************************/
  2. /*                    */
  3. /*   RenderWare(TM) Graphics Library    */
  4. /*                    */
  5. /****************************************/
  6.  
  7. /*
  8.  * This file is a product of Criterion Software Ltd.
  9.  * 
  10.  * This file is provided as is with no warranties of any kind and is 
  11.  * provided without any obligiation on Criterion Software Ltd.
  12.  * or Canon Inc. to assist in its use or modifiation.
  13.  * 
  14.  * Criterion Software Ltd. and Canon Inc. will not, under any
  15.  * circumstances, be liable for any lost revenue or other damages
  16.  * arising from the use of this file.
  17.  *
  18.  * Copyright (c) 1991, 1992, 1993, 1994. Canon Inc.
  19.  * All Rights Reserved.
  20.  */
  21.  
  22. #ifndef   _RWWINH
  23. #define   _RWWINH
  24.  
  25. /* Windows and WinG specific stretching stuff. */
  26. typedef struct
  27. {
  28.     RwInt32    width;
  29.     RwInt32    height;
  30.     RwCamera  *camera;
  31. } RwWinOutputSize;
  32.  
  33. /* Structure for passing in to RwBitmapRaster. */
  34. typedef struct
  35. {
  36.     HDC     hdc;
  37.     HBITMAP hBitmap;
  38. } RwWinBitmapRaster;
  39.  
  40. /* Windows specific device information codes... */
  41. #define rwWINIMAGEISDIB           rwDEVICESPECIFICINFO
  42. #define rwWINUSINGDIBS           (rwDEVICESPECIFICINFO + 1)
  43. #define rwWINUSINGWING           (rwDEVICESPECIFICINFO + 2)
  44. #define rwWINISBACKGROUNDPALETTE (rwDEVICESPECIFICINFO + 3)
  45.  
  46. /* Windows specific device control codes... */
  47. #define rwWINSETOUTPUTSIZE        rwDEVICESPECIFICACTION
  48. #define rwWINBACKGROUNDPALETTE   (rwDEVICESPECIFICACTION + 1)
  49.  
  50. /* Windows specific open options... */
  51. #define rwWINUSEDIBS              rwDEVICESPECIFICOPEN
  52. #define rwWINUSEWING             (rwDEVICESPECIFICOPEN + 1)
  53. #define rwWINASSUME16IS16        (rwDEVICESPECIFICOPEN + 2)
  54. #define rwWINSETWINGDIBORIENT    (rwDEVICESPECIFICOPEN + 3)
  55.  
  56. #endif /* _RWWINH */
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.