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.

130 lines
3.1 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: dialog.h
  3. *
  4. * Externals from dialog.c
  5. *
  6. * Copyright (c) 1995 Microsoft Corporation
  7. *
  8. \**************************************************************************/
  9. #ifndef __dialog_h__
  10. #define __dialog_h__
  11. #include "dlgs.h"
  12. #include "sscommon.h"
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. extern float fTesselFact;
  17. extern ULONG ulJointType;
  18. extern ULONG ulSurfStyle;
  19. extern ULONG ulTexQuality;
  20. extern TEXFILE gTexFile[];
  21. extern int gnTextures;
  22. extern BOOL bFlexMode;
  23. extern BOOL bMultiPipes;
  24. extern void getIniSettings(void);
  25. // surface styles
  26. enum {
  27. SURFSTYLE_SOLID = 0,
  28. SURFSTYLE_TEX,
  29. SURFSTYLE_WIREFRAME
  30. };
  31. // Resource constants
  32. #define IDS_SAVERNAME 1002
  33. #define IDS_JOINTTYPE 1008
  34. #define IDS_SURFSTYLE 1009
  35. #define IDS_TEXQUAL 1010
  36. #define IDS_FLEX 1020
  37. #define IDS_MULTIPIPES 1021
  38. //mf: should get rid of OFFSET...
  39. #define IDS_TEXTURE_COUNT 1029
  40. #define IDS_TEXTURE0 1030
  41. #define IDS_TEXTURE1 1031
  42. #define IDS_TEXTURE2 1032
  43. #define IDS_TEXTURE3 1033
  44. #define IDS_TEXTURE4 1034
  45. #define IDS_TEXTURE5 1035
  46. #define IDS_TEXTURE6 1036
  47. #define IDS_TEXTURE7 1037
  48. #define IDS_TEXOFFSET0 1050
  49. #define IDS_TEXOFFSET1 1051
  50. #define IDS_TEXOFFSET2 1052
  51. #define IDS_TEXOFFSET3 1053
  52. #define IDS_TEXOFFSET4 1054
  53. #define IDS_TEXOFFSET5 1055
  54. #define IDS_TEXOFFSET6 1056
  55. #define IDS_TEXOFFSET7 1057
  56. #define IDS_JOINT_ELBOW 1100
  57. #define IDS_JOINT_BALL 1101
  58. #define IDS_JOINT_MIXED 1102
  59. #define IDS_JOINT_CYCLE 1103
  60. #define DLG_SETUP_TESSEL 2001
  61. #define DLG_SETUP_TEXTURE 2002
  62. #define IDC_STATIC_TESS 2003
  63. #define IDC_STATIC_TESS_MIN 2004
  64. #define IDC_STATIC_TESS_MAX 2005
  65. #define IDC_STATIC_TESS_GRP 2006
  66. #define IDC_STATIC_TEXQUAL_GRP 2007
  67. #define IDC_RADIO_SINGLE_PIPE 3000
  68. #define IDC_RADIO_MULTIPLE_PIPES 3001
  69. #define IDC_RADIO_NORMAL 3100
  70. #define IDC_RADIO_FLEX 3101
  71. #define IDC_STATIC_JOINTTYPE 2106
  72. #define DLG_COMBO_JOINTTYPE 2200
  73. enum {
  74. JOINT_ELBOW=0,
  75. JOINT_BALL,
  76. JOINT_MIXED,
  77. JOINT_CYCLE,
  78. NUM_JOINTTYPES
  79. };
  80. // In order for the IDC_TO_SURFSTYLE conversion macro to work, the radio buttons
  81. // for surface styles must be kept contiguous.
  82. #define IDC_RADIO_SOLID 2111
  83. #define IDC_RADIO_TEX 2112
  84. #define IDC_RADIO_WIREFRAME 2113
  85. #define IDC_TO_SURFSTYLE(n) ( (n) - IDC_RADIO_SOLID )
  86. // In order for the IDC_TO_TEXQUAL conversion macro to work, the radio buttons
  87. // for texture quality must be kept contiguous.
  88. #define IDC_RADIO_TEXQUAL_DEFAULT 2121
  89. #define IDC_RADIO_TEXQUAL_HIGH 2122
  90. #define IDC_TO_TEXQUAL(n) ( (n) - IDC_RADIO_TEXQUAL_DEFAULT )
  91. #define TEXQUAL_DEFAULT 0
  92. #define TEXQUAL_HIGH 1
  93. // texture resources
  94. #define IDB_DEFTEX 99
  95. #define IDB_DEFTEX2 100
  96. // multi texture dialog
  97. #ifdef __cplusplus
  98. }
  99. #endif
  100. #endif // __dialog_h__