Archived

This topic is now archived and is closed to further replies.

petervullings

dximagelist

Recommended Posts

Hey all Does anyone know how a DXImageList works? (Hori''s DelphiX). I remember reading somewhere that all the images are stored on a single large system bitmap. If so, are all smaller images padded out to make them fit alongside big ones? Is there an overhead associated with having many small bitmaps in an array instead of using an imagelist? Thanks in advance Pea

Share this post


Link to post
Share on other sites
It''s a THashCollection of of bitmaps that automatically get Surfaces created for them. Each Surface can be split into tiles (refered to as patterns) for frame based animation.

It''s pretty fast for drawing 100-200 images, it slows down the more images you draw.



[ Michael Wilson | turbo sys-op | turbo.gamedev.net ]

Share this post


Link to post
Share on other sites