Jump to content
  • Advertisement


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


DirectDraw 7 and C++ Builder 4

This topic is 6204 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am creating a set of components in Builder. 2 Components are TSprite and TScene2D. TScene2D inherits from TWinControl. It uses TWinControl''s HWND (named Handle) to create a DirectDraw Window (in windowed mode). TSprite is a ''friend'' of TScene2D (to get a copy of the LPDIRECTDRAW7). The problem is that the code works some times BUT shen the window is small the BltFast (which is used to blit the sprite) expands the Sprite to be 2-4 times bigger. I wasn''t aware of the BltFast instruction being able to do this (I thought that was the point - Blt was there for scaling and rotating etc) - so any one know why this may be happening? Thankyou in advance Neil

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!