Skip to content

Commit

Permalink
Add FF7SND source code
Browse files Browse the repository at this point in the history
  • Loading branch information
julianxhokaxhiu committed Sep 18, 2020
1 parent 76e7651 commit f5c1da2
Show file tree
Hide file tree
Showing 23 changed files with 1,488 additions and 0 deletions.
Binary file added src/FF7SND.APS
Binary file not shown.
48 changes: 48 additions & 0 deletions src/FF7SND.clw
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
; CLW file contains information for the MFC ClassWizard

[General Info]
Version=1
LastClass=CFF7SNDDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "FF7SND.h"

ClassCount=2
Class1=CFF7SNDApp
Class2=CFF7SNDDlg

ResourceCount=3
Resource2=IDR_MAINFRAME
Resource3=IDD_FF7SND_DIALOG (English (U.S.))

[CLS:CFF7SNDApp]
Type=0
HeaderFile=FF7SND.h
ImplementationFile=FF7SND.cpp
Filter=N

[CLS:CFF7SNDDlg]
Type=0
HeaderFile=FF7SNDDlg.h
ImplementationFile=FF7SNDDlg.cpp
Filter=D
LastObject=CFF7SNDDlg
BaseClass=CDialog
VirtualFilter=dWC



[DLG:IDD_FF7SND_DIALOG (English (U.S.))]
Type=1
Class=?
ControlCount=9
Control1=IDCANCEL,button,1342242816
Control2=ID_LOAD,button,1342242816
Control3=ID_PLAY,button,1342246914
Control4=ID_EXTRACT,button,1342246914
Control5=IDC_CLIPS,listbox,1352728849
Control6=IDC_STATIC,static,1476526081
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_STATIC,static,1342308352

87 changes: 87 additions & 0 deletions src/FF7SND.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
/*
// FF7SND is a Final Fantasy VII Audio Extraction app
// Copyright (C) 2003 Qhimm.com
// Copyright (C) 2020 Julian Xhokaxhiu
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

// FF7SND.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
#include "FF7SND.h"
#include "FF7SNDDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CFF7SNDApp

BEGIN_MESSAGE_MAP(CFF7SNDApp, CWinApp)
//{{AFX_MSG_MAP(CFF7SNDApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFF7SNDApp construction

CFF7SNDApp::CFF7SNDApp()
{
// TODO: add construction code here,
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CFF7SNDApp object

CFF7SNDApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CFF7SNDApp initialization

BOOL CFF7SNDApp::InitInstance()
{
AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.

CFF7SNDDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}

// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application's message pump.
return FALSE;
}
152 changes: 152 additions & 0 deletions src/FF7SND.dsp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions src/FF7SND.dsw
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!

###############################################################################

Project: "FF7SND"=".\FF7SND.dsp" - Package Owner=<4>

Package=<5>
{{{
}}}

Package=<4>
{{{
}}}

###############################################################################

Global:

Package=<5>
{{{
}}}

Package=<3>
{{{
}}}

###############################################################################

68 changes: 68 additions & 0 deletions src/FF7SND.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/*
// FF7SND is a Final Fantasy VII Audio Extraction app
// Copyright (C) 2003 Qhimm.com
// Copyright (C) 2020 Julian Xhokaxhiu
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

// FF7SND.h : main header file for the FF7SND application
//

#if !defined(AFX_FF7SND_H__0B59B403_301D_11D4_815E_0020183A5DA9__INCLUDED_)
#define AFX_FF7SND_H__0B59B403_301D_11D4_815E_0020183A5DA9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h" // main symbols

/////////////////////////////////////////////////////////////////////////////
// CFF7SNDApp:
// See FF7SND.cpp for the implementation of this class
//

class CFF7SNDApp : public CWinApp
{
public:
CFF7SNDApp();

// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFF7SNDApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL

// Implementation

//{{AFX_MSG(CFF7SNDApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FF7SND_H__0B59B403_301D_11D4_815E_0020183A5DA9__INCLUDED_)
Binary file added src/FF7SND.ncb
Binary file not shown.
Binary file added src/FF7SND.opt
Binary file not shown.

0 comments on commit f5c1da2

Please sign in to comment.