Am Montag, 5. Februar 2007 schrieb Dennis Schridde:
> A while ago a bug has been reported that the transport in Campaign 2
> Mission 1 and Campaign 3 Mission 1 is missing.
> (http://wz2100.net/forum/index.php?topic=308.0)
>
> I found the cause for this:
>
> r331: Possible fix for bug #5188 (Wrong tileset)
>
> The problem with that change is that, if I revert it, the map looks like
> total crap, because the wrong texture is loaded.
> Does anyone have an idea how this bug could be fixed while keeping the
> CAM_2/CAM_3 dataset for the CAM_2A mission?
Ok, it seems that setting dataset CAM_1 was intended for CAM_2A. 
wrf/cam2/cam2change.wrf should load the new tileset, but apparently doesn't. 
It doesn't report an error, either.

This is the debug output:

never:      levLoadData: loading mission dataset: CAM_2A
wz:         levLoadData: Loading wrf/cam2/cam2change.wrf
wz:         resLoad: loading wrf/cam2/cam2change.wrf
never:      directory: texpages
texture:    bufferTexPageLoad: page-6-features-urban area.png texturepage ...
texture:    bufferTexPageLoad: page-6 texturepage added (length=6)
texture:    bufferTexPageLoad: replacing old
never:      pie_ReloadTexPage called
texture:    bufferTexPageLoad: page-8-player buildings-bases urban.png 
texturepage ...
texture:    bufferTexPageLoad: page-8 texturepage added (length=6)
texture:    bufferTexPageLoad: replacing old
never:      pie_ReloadTexPage called
texture:    bufferTexPageLoad: page-9-player-soft buildings-bases-urban.png 
texturepage ...
texture:    bufferTexPageLoad: page-9 texturepage added (length=6)
texture:    bufferTexPageLoad: replacing old
never:      pie_ReloadTexPage called
texture:    bufferTexPageLoad: page-9-player-hard buildings-bases-urban.png 
texturepage ...
texture:    bufferTexPageLoad: page-7-barbarians-urban.png texturepage ...
texture:    bufferTexPageLoad: page-7 texturepage added (length=6)
texture:    bufferTexPageLoad: replacing old
never:      pie_ReloadTexPage called
texture:    Reloading terrain tiles
texture:    remakeTileTexturePages: src(1152,1280), tile(128, 128)
texture:    remakeTileTexturePages: ran out of texture page ...
texture:    tilesDown=10 tilesAcross=9 tilesProcessed=16 tilesPerPage=16
texture:    remakeTileTexturePages: ran out of texture page ...
texture:    tilesDown=10 tilesAcross=9 tilesProcessed=32 tilesPerPage=16
texture:    remakeTileTexturePages: ran out of texture page ...
texture:    tilesDown=10 tilesAcross=9 tilesProcessed=48 tilesPerPage=16
texture:    remakeTileTexturePages: ran out of texture page ...
texture:    tilesDown=10 tilesAcross=9 tilesProcessed=64 tilesPerPage=16
texture:    remakeTileTexturePages: ran out of texture page ...
texture:    tilesDown=10 tilesAcross=9 tilesProcessed=80 tilesPerPage=16
texture:    HW Tiles loaded

At the point where it says "Reloading terrain tiles" it is (as I understood 
the code) loading the tertiles2chw.png tileset. So the bug apparently is that 
it doesn't overwrite the old tileset while doing the reload.

--Dennis

Attachment: pgp8Ip8UWFbok.pgp
Description: PGP signature

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to