movies - add romname to movie when movie is created. Win32 - Replay dialog - added some fields such as length, frames, etc. Fields are not yet hooked up however.

This commit is contained in:
adelikat 2009-05-17 14:58:00 +00:00
parent 5e2b6b5582
commit 761f9232b2
4 changed files with 305 additions and 288 deletions

View File

@ -476,7 +476,7 @@ static void openRecordingMovie(const char* fname)
if(author != L"") currMovieData.comments.push_back(L"author " + author);
//currMovieData.romChecksum = GameInfo->MD5;
//currMovieData.romFilename = FileBase;
currMovieData.romFilename = GetRomName();
extern bool _HACK_DONT_STOPMOVIE;
_HACK_DONT_STOPMOVIE = true;

View File

@ -37,6 +37,12 @@ BOOL CALLBACK ReplayDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lP
{
case WM_INITDIALOG:
SendDlgItemMessage(hwndDlg, IDC_CHECK_READONLY, BM_SETCHECK, replayreadonly?BST_CHECKED:BST_UNCHECKED, 0);
//Clear fields
SetWindowText(GetDlgItem(hwndDlg, IDC_MLENGTH), "");
SetWindowText(GetDlgItem(hwndDlg, IDC_MFRAMES), "");
SetWindowText(GetDlgItem(hwndDlg, IDC_MRERECORDCOUNT), "");
SetWindowText(GetDlgItem(hwndDlg, IDC_MROM), "");
return FALSE;
case WM_COMMAND:

View File

@ -233,18 +233,22 @@
#define PM_FILENAME 1001
#define IDC_ARM9BIOS 1002
#define IDC_EDIT05 1002
#define IDC_MLENGTH 1002
#define IDC_SLVOLUME 1002
#define IDC_BGMAP_TYPE 1003
#define IDC_EDIT08 1003
#define IDC_GI_GAMETITLE 1003
#define IDC_MFRAMES 1003
#define IDC_ROTATE0 1003
#define IDC_ARM9BIOSBROWSE 1004
#define IDC_EDIT11 1004
#define IDC_GI_GAMECODE 1004
#define IDC_MRERECORDCOUNT 1004
#define IDC_ROTATE90 1004
#define IDC_SPU_INTERPOLATION_CB 1004
#define IDC_ARM7BIOS 1005
#define IDC_EDIT07 1005
#define IDC_MROM 1005
#define IDC_ROTATE180 1005
#define IDC_EDIT12 1006
#define IDC_ROTATE270 1006

File diff suppressed because it is too large Load Diff