ENABLE_WIDGET( "hint", TRUE );
}
CHECK_WIDGET( "hint", AddHints );
-
- /*
- if (Game==SIN)
- {
- // ArghRad doesn't currently support SiN
- EnableWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2), 0);
- EnableWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_SPIN), 0);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_TEXT), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_SPIN), SW_HIDE);
- SetDlgItemText(hwndDisplay,DLG_TEX_USEPAK,"Use sin file");
- SetDlgItemText(hwndDisplay,DLG_TEX_PAK_TEXT,"Sin:");
- }
- */
-
- if ( Game == QUAKE3 ) {
- /*
- // ArghRad sun is inapplicable (so far)
- EnableWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2), 0);
- EnableWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_SPIN), 0);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_TEXT), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_SPIN), SW_HIDE);
- // No ladders in Q3
- EnableWindow(GetDlgItem(hwndDisplay,DLG_LADDER), 0);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_LADDER), SW_HIDE);
- SetDlgItemText(hwndDisplay,DLG_TEX_USEPAK,"Use pk3 file");
- SetDlgItemText(hwndDisplay,DLG_TEX_PAK_TEXT,"PK3:");
- */
- }
-
-/*trix if(Game==HERETIC2)
- {
- // ArghRad doesn't currently support Heretic2
- EnableWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2), 0);
- EnableWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_SPIN), 0);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_TEXT), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_SPIN), SW_HIDE);
-
- SetDlgItemText(hwndDisplay,DLG_TEX_USEPAK,"Use pak file");
- SetDlgItemText(hwndDisplay,DLG_TEX_PAK_TEXT,"Pak:");
- } */
- /*
- if(Game==HALFLIFE)
- {
- // A bunch of controls aren't applicable to HL
- EnableWindow(GetDlgItem(hwndDisplay,DLG_TEXTURE_BROWSE), 0);
- EnableWindow(GetDlgItem(hwndDisplay,DLG_TEXTURE2_BROWSE),0);
- EnableWindow(GetDlgItem(hwndDisplay,DLG_TEXTURE3_BROWSE),0);
- EnableWindow(GetDlgItem(hwndDisplay,DLG_DETAIL), 0);
- EnableWindow(GetDlgItem(hwndDisplay,DLG_LADDER), 0);
- EnableWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2), 0);
- EnableWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_SPIN), 0);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_TEXTURE_BROWSE), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_TEXTURE2_BROWSE),SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_TEXTURE3_BROWSE),SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_DETAIL), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_LADDER), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_TEXT), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_SPIN), SW_HIDE);
-
- SetDlgItemText(hwndDisplay,DLG_TEX_USEPAK,"Use wad file");
- SetDlgItemText(hwndDisplay,DLG_TEX_PAK_TEXT,"Wad:");
- SetDlgItemText(hwndDisplay,DLG_HINT,"Hint brushes");
- }
-
- if(Game==GENESIS3D)
- {
- // No Q2-type compilers support Genesis3D (including ArghRad)
- EnableWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2), 0);
- EnableWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_SPIN), 0);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_TEXT), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDisplay,DLG_ARGHRAD2_SPIN), SW_HIDE);
-
- SetDlgItemText(hwndDisplay,DLG_TEX_USEPAK,"Use sin file");
- SetDlgItemText(hwndDisplay,DLG_TEX_PAK_TEXT,"Sin:");
- }
- */
break;
}
SetupControls();