Added new decl editor.

This commit is contained in:
Justin Marshall
2026-05-18 14:02:06 -07:00
parent 222cccc1f0
commit 119058a96e
10 changed files with 2351 additions and 1439 deletions
+11 -11
View File
@@ -665,17 +665,17 @@ void CDialogSound::OnCheckPlay()
void CDialogSound::OnBtnEdit()
{
const idDecl *decl = declManager->FindDeclWithoutParsing( DECL_SOUND, strShader, false );
if ( decl ) {
DialogDeclEditor *declEditor;
declEditor = new DialogDeclEditor;
declEditor->Create( IDD_DIALOG_DECLEDITOR, GetParent() );
declEditor->LoadDecl( const_cast<idDecl *>( decl ) );
declEditor->ShowWindow( SW_SHOW );
declEditor->SetFocus();
}
//const idDecl *decl = declManager->FindDeclWithoutParsing( DECL_SOUND, strShader, false );
//
//if ( decl ) {
// DialogDeclEditor *declEditor;
//
// declEditor = new DialogDeclEditor;
// declEditor->Create( IDD_DIALOG_DECLEDITOR, GetParent() );
// declEditor->LoadDecl( const_cast<idDecl *>( decl ) );
// declEditor->ShowWindow( SW_SHOW );
// declEditor->SetFocus();
//}
}
void CDialogSound::OnBtnDrop()