Added '-gl_fsmax' description to the list of commandline options.

Added Snapshot and OpenGL support to the Stella VC7 project files.
Snapshot support will require the PNG and ZLIB development files,
and OpenGL will require the OpenGL32 development files.  I haven't
hardcoded any of these into the project; you must have the relevant
files set up in Visual C++ itself (through default search paths, etc)

I'll be keeping the ability to compile Stella with the makefile
(through MinGW), since the resulting binary from MinGW seems to work
a little better than the one from VC7.  VC7 support was added strictly
for those developers who wish to work on Stella using a GUI dev
environment.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@293 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2004-07-04 15:23:20 +00:00
parent 59e4b7e7d8
commit f3fd04d5c4
4 changed files with 24 additions and 7 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: SettingsWin32.cxx,v 1.6 2004-06-28 23:13:53 stephena Exp $ // $Id: SettingsWin32.cxx,v 1.7 2004-07-04 15:23:20 stephena Exp $
//============================================================================ //============================================================================
#include <sstream> #include <sstream>
@ -86,6 +86,7 @@ void SettingsWin32::usage(string& message)
<< " nearest Normal scaling (GL_NEAREST)\n" << " nearest Normal scaling (GL_NEAREST)\n"
<< " linear Blurred scaling (GL_LINEAR)\n" << " linear Blurred scaling (GL_LINEAR)\n"
<< " -gl_aspect <number> Scale the width by the given amount\n" << " -gl_aspect <number> Scale the width by the given amount\n"
<< " -gl_fsmax <0|1> Use the largest available screenmode in fullscreen OpenGL\n"
<< endl << endl
#endif #endif
<< " -sound <0|1> Enable sound generation\n" << " -sound <0|1> Enable sound generation\n"

View File

@ -21,7 +21,7 @@
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="..\..\emucore\m6502\src\bspf\src;..\..\emucore\m6502\src;..\..\emucore;..\..\common;..\..\win32" AdditionalIncludeDirectories="..\..\emucore\m6502\src\bspf\src;..\..\emucore\m6502\src;..\..\emucore;..\..\common;..\..\win32"
PreprocessorDefinitions="BSPF_WIN32;WIN32;_DEBUG;JOYSTICK_SUPPORT;DEVELOPER_SUPPORT" PreprocessorDefinitions="BSPF_WIN32;WIN32;_DEBUG;JOYSTICK_SUPPORT;DEVELOPER_SUPPORT;SNAPSHOT_SUPPORT;DISPLAY_OPENGL;TEXTURES_ARE_LOST"
MinimalRebuild="TRUE" MinimalRebuild="TRUE"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="2" RuntimeLibrary="2"
@ -34,8 +34,10 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions="SDL.lib AdditionalOptions="SDL.lib
SDLmain.lib" SDLmain.lib
AdditionalDependencies="sdl.lib sdlmain.lib" libpng.lib
opengl32.lib"
AdditionalDependencies="sdl.lib sdlmain.lib libpng.lib opengl32.lib"
OutputFile="$(OutDir)/Stella.exe" OutputFile="$(OutDir)/Stella.exe"
LinkIncremental="2" LinkIncremental="2"
GenerateDebugInformation="TRUE" GenerateDebugInformation="TRUE"
@ -72,7 +74,7 @@ SDLmain.lib"
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\emucore\m6502\src\bspf\src;..\..\emucore\m6502\src;..\..\emucore;..\..\common;..\..\win32" AdditionalIncludeDirectories="..\..\emucore\m6502\src\bspf\src;..\..\emucore\m6502\src;..\..\emucore;..\..\common;..\..\win32"
PreprocessorDefinitions="BSPF_WIN32;WIN32;NDEBUG;JOYSTICK_SUPPORT;DEVELOPER_SUPPORT" PreprocessorDefinitions="BSPF_WIN32;WIN32;NDEBUG;JOYSTICK_SUPPORT;DEVELOPER_SUPPORT;SNAPSHOT_SUPPORT;DISPLAY_OPENGL;TEXTURES_ARE_LOST"
RuntimeLibrary="2" RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="2" WarningLevel="2"
@ -83,8 +85,10 @@ SDLmain.lib"
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions="SDL.lib AdditionalOptions="SDL.lib
SDLmain.lib" SDLmain.lib
AdditionalDependencies="sdl.lib sdlmain.lib" libpng.lib
opengl32.lib"
AdditionalDependencies="sdl.lib sdlmain.lib libpng.lib opengl32.lib"
OutputFile="$(OutDir)/Stella.exe" OutputFile="$(OutDir)/Stella.exe"
LinkIncremental="1" LinkIncremental="1"
GenerateDebugInformation="TRUE" GenerateDebugInformation="TRUE"
@ -211,6 +215,9 @@ SDLmain.lib"
<File <File
RelativePath="..\..\emucore\FrameBuffer.cxx"> RelativePath="..\..\emucore\FrameBuffer.cxx">
</File> </File>
<File
RelativePath="..\..\common\FrameBufferGL.cxx">
</File>
<File <File
RelativePath="..\..\common\FrameBufferSDL.cxx"> RelativePath="..\..\common\FrameBufferSDL.cxx">
</File> </File>
@ -268,6 +275,9 @@ SDLmain.lib"
<File <File
RelativePath="..\..\win32\SettingsWin32.cxx"> RelativePath="..\..\win32\SettingsWin32.cxx">
</File> </File>
<File
RelativePath="..\..\common\Snapshot.cxx">
</File>
<File <File
RelativePath="..\..\emucore\Sound.cxx"> RelativePath="..\..\emucore\Sound.cxx">
</File> </File>
@ -384,6 +394,9 @@ SDLmain.lib"
<File <File
RelativePath="..\..\emucore\FrameBuffer.hxx"> RelativePath="..\..\emucore\FrameBuffer.hxx">
</File> </File>
<File
RelativePath="..\..\common\FrameBufferGL.hxx">
</File>
<File <File
RelativePath="..\..\common\FrameBufferSDL.hxx"> RelativePath="..\..\common\FrameBufferSDL.hxx">
</File> </File>
@ -438,6 +451,9 @@ SDLmain.lib"
<File <File
RelativePath="..\..\win32\SettingsWin32.hxx"> RelativePath="..\..\win32\SettingsWin32.hxx">
</File> </File>
<File
RelativePath="..\..\common\Snapshot.hxx">
</File>
<File <File
RelativePath="..\..\emucore\Sound.hxx"> RelativePath="..\..\emucore\Sound.hxx">
</File> </File>

Binary file not shown.

Binary file not shown.