From: Steve A. <ste...@us...> - 2004-06-28 23:14:02
|
Update of /cvsroot/stella/stella/src/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32146 Modified Files: SettingsWin32.cxx Added Files: Stella_Emulator.ncb Stella_Emulator.sln Stella_Emulator.suo Log Message: Added a new VC7 solution called 'Stella_Emulator' which contains the following two projects: Stella - the commandline Stella application StellaX - the Windows GUI frontend As of now, Stella compiles *without* the snapshot and OpenGL options and works fine. Adding these options will be as simple as finding the required libs/include files and activating the relevant DEFINE's. StellaX compiles and runs, but it doesn't do much ATM. There is still some amount of work to do in this area. Since the Linux version is completely finished, and the MacOSX version just needs some minor updates, most of my time will be spent getting the StellaX GUI up to speed. Then release 1.4 will be ready ... --- NEW FILE: Stella_Emulator.ncb --- Microsoft C/C++ MSF 7.00 DS c\emucore\Control.cxx [...1092 lines suppressed...] à ule/h:\windows\src\stella\src\emucore\CartDPC.hxx --- NEW FILE: Stella_Emulator.sln --- Microsoft Visual Studio Solution File, Format Version 8.00 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StellaX", "StellaX\StellaX.vcproj", "{EB852944-92EA-4A83-B13F-E800ADA48A4D}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Stella", "Stella\Stella.vcproj", "{45875C96-4084-4C54-B570-FC92F8791A2F}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject Global GlobalSection(SolutionConfiguration) = preSolution Debug = Debug Release = Release EndGlobalSection GlobalSection(ProjectConfiguration) = postSolution {EB852944-92EA-4A83-B13F-E800ADA48A4D}.Debug.ActiveCfg = Debug|Win32 {EB852944-92EA-4A83-B13F-E800ADA48A4D}.Debug.Build.0 = Debug|Win32 {EB852944-92EA-4A83-B13F-E800ADA48A4D}.Release.ActiveCfg = Release|Win32 {EB852944-92EA-4A83-B13F-E800ADA48A4D}.Release.Build.0 = Release|Win32 {45875C96-4084-4C54-B570-FC92F8791A2F}.Debug.ActiveCfg = Debug|Win32 {45875C96-4084-4C54-B570-FC92F8791A2F}.Debug.Build.0 = Debug|Win32 {45875C96-4084-4C54-B570-FC92F8791A2F}.Release.ActiveCfg = Release|Win32 {45875C96-4084-4C54-B570-FC92F8791A2F}.Release.Build.0 = Release|Win32 EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection GlobalSection(ExtensibilityAddIns) = postSolution EndGlobalSection EndGlobal --- NEW FILE: Stella_Emulator.suo --- ÐÏࡱá XML SchemaS Components } Index: SettingsWin32.cxx =================================================================== RCS file: /cvsroot/stella/stella/src/win32/SettingsWin32.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SettingsWin32.cxx 19 Jun 2004 21:51:12 -0000 1.5 --- SettingsWin32.cxx 28 Jun 2004 23:13:53 -0000 1.6 *************** *** 19,23 **** #include <sstream> #include <fstream> - #include <direct.h> --- 19,22 ---- *************** *** 135,138 **** bool SettingsWin32::fileExists(const string& filename) { ! return false;//FIXME(access(filename.c_str(), F_OK|W_OK) == 0); } --- 134,146 ---- bool SettingsWin32::fileExists(const string& filename) { ! // FIXME - Since I don't have time to figure out the correct ! // and fast 'Win32' way of doing this, I'll cheat a bit ! ifstream in(filename.c_str()); ! if(in) ! { ! in.close(); ! return true; ! } ! ! return false; } |