Mercurial > fife-parpg
view clients/editor/settings.py @ 141:5e85737281bc
- some modification to loaders and serializers/xmlmap, now you can set a callback which informs you about finished parts of the maploading process
- this can be used to prepare other parts of your client (e. g. load ingame gui) or to show a maploading progress bar
USAGE (example):
- map = loadMapFile(mapfile, engine, my_callback)
- def mycallback(msg, percent): print msg; print percent
author | chewie@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 03 Oct 2008 12:14:39 +0000 |
parents | ade070598fd1 |
children | 28532ae6f9f6 |
line wrap: on
line source
BitsPerPixel = 0 FullScreen = 0 InitialVolume = 5 PlaySounds = 1 RenderBackend = "OpenGL" SDLRemoveFakeAlpha = 1 ScreenWidth = 1024 ScreenHeight = 768 Font = 'content/fonts/samanata.ttf' FontGlyphs = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`'*#=[]\"" LogModules = ['controller'] LogToPrompt = 1 LogToFile = 0 WindowTitle = 'FIFE - Editor client' WindowIcon = '' #offset editor: RotAngles = {} # zero-projekt angles #RotAngles['animations'] = ["0", "60", "120", "180", "240", "300"] # rio de hola angles RotAngles['animations'] = ["0", "45", "90", "135", "180", "225", "270", "315"]