dximagelist

Started by
0 comments, last by petervullings 22 years, 8 months ago
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
Advertisement
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 ]
[ Michael Wilson | turbo sys-op | turbo.gamedev.net ]

This topic is closed to new replies.

Advertisement