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.

133 lines
3.6 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: mazedlg.h
  3. *
  4. * Copyright (c) 1995 Microsoft Corporation
  5. *
  6. \**************************************************************************/
  7. #ifndef __dialog_h__
  8. #define __dialog_h__
  9. #include "dlgs.h"
  10. #include "sscommon.h"
  11. #include "maze_std.h"
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #define IDS_SCREENSAVERTITLE 1020
  16. #define IDS_SAVERNAME 1002
  17. // structure to pull in texture info from registry
  18. typedef struct {
  19. BOOL bTex; // texture enable/disable
  20. BOOL bDefTex; // default texture enable/disable
  21. int iDefTex; // default texture index
  22. TEXFILE texFile; // user texture file
  23. } TEX_INFO;
  24. // registry strings
  25. #define IDS_TEXTURE_ENABLE 1100
  26. #define IDS_DEFAULT_TEXTURE_ENABLE 1101
  27. #define IDS_WALL_TEXTURE_FILE 1110
  28. #define IDS_FLOOR_TEXTURE_FILE 1111
  29. #define IDS_CEILING_TEXTURE_FILE 1112
  30. #define IDS_WALL_TEXTURE_OFFSET 1120
  31. #define IDS_FLOOR_TEXTURE_OFFSET 1121
  32. #define IDS_CEILING_TEXTURE_OFFSET 1122
  33. #define IDS_DEF_WALL_TEXTURE 1130
  34. #define IDS_DEF_FLOOR_TEXTURE 1131
  35. #define IDS_DEF_CEILING_TEXTURE 1132
  36. #define IDS_OVERLAY 1200
  37. #define IDS_TURBOMODE 1250
  38. #define IDS_IMAGEQUAL 1300
  39. #define IDS_NRATS 1400
  40. // Dialog box defines
  41. // Imagequal combobox strings
  42. #define IDS_IMAGEQUAL_DEFAULT 1301
  43. #define IDS_IMAGEQUAL_HIGH 1302
  44. #define MIN_SLIDER 0
  45. #define MAX_SLIDER 100
  46. // Size slider
  47. #define DLG_SLIDER_SIZE 2000
  48. #define IDC_STATIC_SIZE 2001
  49. #define IDC_STATIC_MIN 2002
  50. #define IDC_STATIC_MAX 2003
  51. // Maze overly check box
  52. #define DLG_CHECK_OVERLAY 2008
  53. // Turbo mode check box
  54. #define DLG_CHECK_TURBOMODE 2009
  55. // Buttons to choose textures
  56. #define DLG_BUTTON_WALLS_TEX 3100
  57. #define DLG_BUTTON_FLOOR_TEX 3101
  58. #define DLG_BUTTON_CEILING_TEX 3102
  59. #define DLG_BUTTON_TEX_TO_SURFACE(n) ( (n) - DLG_BUTTON_WALLS_TEX )
  60. // Previews for surfaces (now just texture, but could show like colors)
  61. #define DLG_PREVIEW_WALLS 3200
  62. #define DLG_PREVIEW_FLOOR 3201
  63. #define DLG_PREVIEW_CEILING 3202
  64. #define DLG_PREVIEW_TO_SURFACE(n) ( (n) - DLG_PREVIEW_WALLS )
  65. #define DLG_SURFACE_TO_PREVIEW(n) ( (n) + DLG_PREVIEW_WALLS )
  66. // Spin controls for texture previews
  67. //mf: add TEX suffix
  68. #define DLG_SPIN_WALLS 3300
  69. #define DLG_SPIN_FLOOR 3301
  70. #define DLG_SPIN_CEILING 3302
  71. #define DLG_SPIN_TEX_TO_SURFACE(n) ( (n) - DLG_SPIN_WALLS )
  72. // Resource bitmap id's
  73. #define IDB_BRICK 100
  74. #define IDB_WOOD 101
  75. #define IDB_CASTLE 102
  76. #define IDB_START 103
  77. #define IDB_END 104
  78. #define IDB_RAT 105
  79. #define IDB_AD 106
  80. #define IDB_COVER 107
  81. #define IDB_CURL4 120
  82. #define IDB_BHOLE4 121
  83. #define IDB_SNOWFLAK 125
  84. #define IDB_SWIRLX4 127
  85. // Image quality box
  86. #define DLG_COMBO_IMAGEQUAL 3500
  87. #define IDC_STATIC_IMAGEQUAL 3501
  88. // Choose texture dialog box
  89. #define DLG_TEXTURE_CONFIGURE 4000
  90. #define IDC_RADIO_TEX_DEFAULT 4010
  91. #define IDC_RADIO_TEX_CHOOSE 4011
  92. #define DLG_BUTTON_TEX_CHOOSE 4012
  93. extern void getIniSettings();
  94. extern TEX_INFO gTexInfo[];
  95. extern int giSize; // window size
  96. extern BOOL gbTurboMode; // turbo mode enable/disable
  97. extern int giImageQual; // Image quality (dithering)
  98. #ifdef __cplusplus
  99. }
  100. #endif
  101. #endif // __dialog_h__