Trying to untangle the horrible web of file dependencies
This commit is contained in:
parent
a991ad19e4
commit
5847e9eedb
|
@ -3,7 +3,7 @@
|
||||||
/**
|
/**
|
||||||
* Show an Save File dialog and save a savegame state to the selected file.
|
* Show an Save File dialog and save a savegame state to the selected file.
|
||||||
**/
|
**/
|
||||||
void FCEUD_SaveStateAs(void)
|
void FCEUD_SaveStateAs()
|
||||||
{
|
{
|
||||||
const char filter[] = "FCE Ultra Save State(*.fc?)\0*.fc?\0";
|
const char filter[] = "FCE Ultra Save State(*.fc?)\0*.fc?\0";
|
||||||
char nameo[2048];
|
char nameo[2048];
|
||||||
|
@ -28,7 +28,7 @@ void FCEUD_SaveStateAs(void)
|
||||||
/**
|
/**
|
||||||
* Show an Open File dialog and load a savegame state from the selected file.
|
* Show an Open File dialog and load a savegame state from the selected file.
|
||||||
**/
|
**/
|
||||||
void FCEUD_LoadStateFrom(void)
|
void FCEUD_LoadStateFrom()
|
||||||
{
|
{
|
||||||
const char filter[]="FCE Ultra Save State(*.fc?)\0*.fc?\0";
|
const char filter[]="FCE Ultra Save State(*.fc?)\0*.fc?\0";
|
||||||
char nameo[2048];
|
char nameo[2048];
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
void FCEUD_SaveStateAs();
|
||||||
|
void FCEUD_LoadStateFrom();
|
|
@ -0,0 +1,2 @@
|
||||||
|
int CreateSoundSave();
|
||||||
|
int CloseWave();
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "state.cpp" /* Save/Load state AS */
|
#include "state.h" /* Save/Load state AS */
|
||||||
|
|
||||||
#include "sound.h"
|
#include "sound.h"
|
||||||
#include "wave.h"
|
#include "wave.h"
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
#ifndef WIN_WINDOW_H
|
||||||
|
#define WIN_WINDOW_H
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
static int EnableBackgroundInput = 0;
|
||||||
|
|
||||||
|
extern char *recent_files[];
|
||||||
|
extern char *recent_directories[10];
|
||||||
|
|
||||||
|
void ShowCursorAbs(int set_visible);
|
||||||
|
void HideFWindow(int h);
|
||||||
|
void SetMainWindowStuff();
|
||||||
|
int GetClientAbsRect(LPRECT lpRect);
|
||||||
|
void FixWXY(int pref);
|
||||||
|
void ByebyeWindow();
|
||||||
|
void DoTimingConfigFix();
|
||||||
|
int CreateMainWindow();
|
||||||
|
void UpdateCheckedMenuItems();
|
||||||
|
void ALoad(char *nameo);
|
||||||
|
void LoadNewGamey(HWND hParent, const char *initialdir);
|
||||||
|
|
||||||
|
#endif
|
|
@ -1036,6 +1036,32 @@
|
||||||
RelativePath="..\src\drivers\win\sound.h"
|
RelativePath="..\src\drivers\win\sound.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\src\drivers\win\state.cpp"
|
||||||
|
>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
ObjectFile="$(IntDir)\$(InputName)1.obj"
|
||||||
|
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Release|Win32"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
ObjectFile="$(IntDir)\$(InputName)1.obj"
|
||||||
|
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\src\drivers\win\state.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\drivers\win\tracer.cpp"
|
RelativePath="..\src\drivers\win\tracer.cpp"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue