From: <bal...@us...> - 2003-11-16 00:25:01
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/Core In directory sc8-pr-cvs1:/tmp/cvs-serv6593/plugins/Core Modified Files: Interface.h Interface.cpp Log Message: Added Feature: Added ForceStereo Flag to the GemRB.cfg Configuration File. Implemented in ACMImporter Index: Interface.h =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/Interface.h,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** Interface.h 15 Nov 2003 17:41:19 -0000 1.30 --- Interface.h 16 Nov 2003 00:24:18 -0000 1.31 *************** *** 180,184 **** public: char GameType[_MAX_PATH], GemRBPath[_MAX_PATH], CachePath[_MAX_PATH], GUIScriptsPath[_MAX_PATH], GamePath[_MAX_PATH], INIConfig[_MAX_PATH], CD1[_MAX_PATH], CD2[_MAX_PATH], CD3[_MAX_PATH], CD4[_MAX_PATH], CD5[_MAX_PATH], CD6[_MAX_PATH]; ! int Width, Height, Bpp; bool FullScreen, CaseSensitive; /** Draws the Visible windows in the Windows Array */ --- 180,184 ---- public: char GameType[_MAX_PATH], GemRBPath[_MAX_PATH], CachePath[_MAX_PATH], GUIScriptsPath[_MAX_PATH], GamePath[_MAX_PATH], INIConfig[_MAX_PATH], CD1[_MAX_PATH], CD2[_MAX_PATH], CD3[_MAX_PATH], CD4[_MAX_PATH], CD5[_MAX_PATH], CD6[_MAX_PATH]; ! int Width, Height, Bpp, ForceStereo; bool FullScreen, CaseSensitive; /** Draws the Visible windows in the Windows Array */ Index: Interface.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/Interface.cpp,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** Interface.cpp 15 Nov 2003 17:50:22 -0000 1.54 --- Interface.cpp 16 Nov 2003 00:24:18 -0000 1.55 *************** *** 533,536 **** --- 533,539 ---- CaseSensitive = (atoi(value) == 0) ? false : true; } + else if(stricmp(name, "ForceStereo") == 0) { + ForceStereo = atoi(value); + } else if(stricmp(name, "GameType") == 0) { strcpy(GameType, value); |