Trying to untangle the horrible web of file dependencies
This commit is contained in:
parent
695d4aaa0e
commit
e018632901
|
@ -18,8 +18,13 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "main.h"
|
||||||
|
#include "args.h"
|
||||||
|
#include "common.h"
|
||||||
#include "../common/args.h"
|
#include "../common/args.h"
|
||||||
|
|
||||||
|
// TODO: Parsing arguments needs to be improved a lot. A LOT.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses commandline arguments
|
* Parses commandline arguments
|
||||||
**/
|
**/
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
#include "cdlogger.h"
|
#include "cdlogger.h"
|
||||||
|
|
||||||
#include "basicbot.h"
|
#include "basicbot.h"
|
||||||
|
#include "args.h"
|
||||||
|
|
||||||
// #defines
|
// #defines
|
||||||
|
|
||||||
|
@ -102,7 +103,7 @@ void ApplyDefaultCommandMapping(void);
|
||||||
// Internal variables
|
// Internal variables
|
||||||
|
|
||||||
uint8 *xbsave = NULL;
|
uint8 *xbsave = NULL;
|
||||||
int eoptions=EO_BGRUN | EO_FORCEISCALE;
|
int eoptions = EO_BGRUN | EO_FORCEISCALE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle of the main window.
|
* Handle of the main window.
|
||||||
|
@ -442,7 +443,6 @@ void DoPriority(void)
|
||||||
#include "video.cpp"
|
#include "video.cpp"
|
||||||
#include "window.cpp"
|
#include "window.cpp"
|
||||||
#include "config.cpp"
|
#include "config.cpp"
|
||||||
#include "args.cpp"
|
|
||||||
|
|
||||||
int DriverInitialize()
|
int DriverInitialize()
|
||||||
{
|
{
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
static int genie;
|
||||||
|
static int pal_emulation;
|
||||||
|
static int status_icon;
|
||||||
|
extern int eoptions;
|
|
@ -694,6 +694,32 @@
|
||||||
<Filter
|
<Filter
|
||||||
Name="win"
|
Name="win"
|
||||||
>
|
>
|
||||||
|
<File
|
||||||
|
RelativePath="..\src\drivers\win\args.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\args.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\drivers\win\aviout.cpp"
|
RelativePath="..\src\drivers\win\aviout.cpp"
|
||||||
>
|
>
|
||||||
|
@ -854,6 +880,10 @@
|
||||||
RelativePath="..\src\drivers\win\main.cpp"
|
RelativePath="..\src\drivers\win\main.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\src\drivers\win\main.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\drivers\win\memview.cpp"
|
RelativePath="..\src\drivers\win\memview.cpp"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue