# HG changeset patch # User chewie@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1217006053 0 # Node ID 860d81602a2af0a0cb77194138876163007e3dfe # Parent 1fa74d3229d5f3c52d2cfef1fb150c4781144170 - prepared basicapplication to use WindowTitle / WindowIcon from clients settings.py - modified editor settings.py - modified rio de hola settings.py diff -r 1fa74d3229d5 -r 860d81602a2a clients/editor/settings.py --- a/clients/editor/settings.py Fri Jul 25 00:59:08 2008 +0000 +++ b/clients/editor/settings.py Fri Jul 25 17:14:13 2008 +0000 @@ -6,6 +6,7 @@ SDLRemoveFakeAlpha = 1 ScreenWidth = 1024 ScreenHeight = 768 + Font = 'content/fonts/samanata.ttf' FontGlyphs = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`'*#=[]\"" @@ -13,3 +14,6 @@ LogToPrompt = 1 LogToFile = 0 +WindowTitle = 'FIFE - Editor client' +WindowIcon = '' + diff -r 1fa74d3229d5 -r 860d81602a2a clients/rio_de_hola/settings.py --- a/clients/rio_de_hola/settings.py Fri Jul 25 00:59:08 2008 +0000 +++ b/clients/rio_de_hola/settings.py Fri Jul 25 17:14:13 2008 +0000 @@ -6,6 +6,9 @@ SDLRemoveFakeAlpha = 1 ScreenWidth = 1024 ScreenHeight = 768 +WindowTitle = 'FIFE - Rio de hola' +WindowIcon = '' + MapFile = 'maps/shrine.xml' Font = 'fonts/samanata.ttf' FontGlyphs = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`'*#=[]\"" diff -r 1fa74d3229d5 -r 860d81602a2a engine/extensions/basicapplication.py --- a/engine/extensions/basicapplication.py Fri Jul 25 00:59:08 2008 +0000 +++ b/engine/extensions/basicapplication.py Fri Jul 25 17:14:13 2008 +0000 @@ -78,6 +78,13 @@ engineSetting.setSDLRemoveFakeAlpha(settings.SDLRemoveFakeAlpha) engineSetting.setScreenWidth(settings.ScreenWidth) engineSetting.setScreenHeight(settings.ScreenHeight) + + + try: + engineSetting.setWindowTitle(settings.WindowTitle) + engineSetting.setWindowIcon(settings.WindowIcon) + except: + pass try: engineSetting.setImageChunkingSize(settings.ImageChunkSize) except: