From: <edh...@us...> - 2004-01-11 16:58:22
|
Update of /cvsroot/gemrb/gemrb/gemrb In directory sc8-pr-cvs1:/tmp/cvs-serv12109 Modified Files: GemRB.cpp GemRB.cfg Log Message: Display GameName and GameType from config file as a window and icon titles Index: GemRB.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GemRB.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** GemRB.cpp 24 Dec 2003 00:52:22 -0000 1.18 --- GemRB.cpp 11 Jan 2004 16:58:19 -0000 1.19 *************** *** 51,54 **** --- 51,55 ---- } core->GetVideoDriver()->CreateDisplay(core->Width,core->Height,core->Bpp,core->FullScreen); + core->GetVideoDriver()->SetDisplayTitle(core->GameName, core->GameType); Font * fps = core->GetFont((unsigned int)0); char fpsstring[_MAX_PATH]; *************** *** 63,67 **** do { if(core->ChangeScript) { ! core->GetGUIScriptEngine()->LoadScript(core->NextScript); core->ChangeScript = false; core->GetGUIScriptEngine()->RunFunction("OnLoad"); --- 64,68 ---- do { if(core->ChangeScript) { ! core->GetGUIScriptEngine()->LoadScript(core->NextScript); core->ChangeScript = false; core->GetGUIScriptEngine()->RunFunction("OnLoad"); Index: GemRB.cfg =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GemRB.cfg,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** GemRB.cfg 28 Nov 2003 19:04:14 -0000 1.7 --- GemRB.cfg 11 Jan 2004 16:58:19 -0000 1.8 *************** *** 36,39 **** --- 36,40 ---- # (More will come) # # ##################################################### + GameName=Baldur's Gate 2 GameType=bg2 ##################################################### |