Mercurial > fife-parpg
view build/win32/build_environments/scons/build_engine.bat @ 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 | 4a0efb7baf70 |
children | 70724fd111b8 |
line wrap: on
line source
:: Users will need to change paths if they use custom MinGW, SCons, Python or SWIG versions that didn't ship with the SDK SET _=%CD% SET _SWIG="%_%\..\..\applications\swigwin-1.3.35" :: To avoid path collisions the following line was commented out and replaced with a slightly different version :: SET PATH=%Path%;%_%\applications\scons;%_%\applications\mingw\bin SET PATH=%_%\..\..\applications\scons;%_%\..\..\applications\mingw\bin :: Goto TRUNK and call SCons cd \ cd "%_%\..\..\..\.." scons debug=0 zip=1 :: Delete old versions of _fife.pyd and rename the compiled fife.dll to _fife.pyd cd "%_%\..\..\..\..\engine\swigwrappers\python" del _fife.pyd move "..\..\fife.dll" .\_fife.pyd :: Return us to the directory we started from cd %_%