home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pmstars.zip / PMStars.h < prev    next >
C/C++ Source or Header  |  1999-08-13  |  635b  |  37 lines

  1. #include <math.h>
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. #include <string.h>
  5. #include <time.h>
  6.  
  7. #define INCL_GPI
  8. #define INCL_WIN
  9. #include <os2.h>
  10.  
  11. #ifndef DEBUG
  12. #define DEBUG
  13. #undef DEBUG
  14. #endif
  15.  
  16. #define LAYER 3
  17. #define SPEED 10
  18. #ifdef DEBUG
  19. #define STARS 15
  20. #else
  21. #define STARS 50
  22. #endif
  23. #define SCREEN_WIDTH 500L
  24. #define SCREEN_HEIGHT 400L
  25. #define PI 3.14159265359
  26. #define SAVE_NAME  "WINSAVE"
  27. #define SAVE_KEY "WINDOWPOS"
  28. #define TIMER_FIX_EXIT 0
  29.  
  30. #define MY_TIMER TID_USERMAX-1
  31. #define WM_UUNSET WM_USER+1
  32. #define WM_USET WM_USER+2
  33.  
  34. MRESULT EXPENTRY ClientWndProc(HWND,USHORT,MPARAM,MPARAM);
  35.  
  36.  
  37.