Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
987 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: sspipes.h
  3. *
  4. * Global header for 3D Pipes screen saver.
  5. *
  6. * Copyright (c) 1994 Microsoft Corporation
  7. *
  8. \**************************************************************************/
  9. #ifndef __sspipes_h__
  10. #define __sspipes_h__
  11. #include <GL/gl.h>
  12. #include <GL/glu.h>
  13. #include <GL/glaux.h>
  14. #include <commctrl.h>
  15. #include "sscommon.h"
  16. #define DO_TIMING 1
  17. #ifdef DO_TIMING
  18. enum {
  19. TIMER_START = 0,
  20. TIMER_STOP,
  21. TIMER_TIMING,
  22. TIMER_RESET
  23. };
  24. extern void Timer( int mode );
  25. extern int pipeCount;
  26. #endif
  27. #define iXX -1
  28. #define fXX -0.01f
  29. // These are absolute directions, with origin in center of screen,
  30. // looking down -z
  31. enum {
  32. PLUS_X = 0,
  33. MINUS_X,
  34. PLUS_Y,
  35. MINUS_Y,
  36. PLUS_Z,
  37. MINUS_Z,
  38. NUM_DIRS,
  39. DIR_NONE,
  40. DIR_STRAIGHT
  41. };
  42. #define NUM_DIV 16 // divisions in window in longest dimension
  43. #define MAX_TEXTURES 8
  44. #endif // __sspipes_h__