Jump to content
  • Advertisement


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

Newbie ? Wrapper

This topic is 6268 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

Original post by datoolman
Is it just a compilation of commands wrapped into a new call or command ?

Yeah. That''s pretty much it. It usually involves taking a lot of lower level functions and wrapping in them into one (or more) high level function(s). For example, in DirectDraw you have to do a buncha stuff to set up. You could write one function that would wrap all this setup into one easy to remember function.


Share this post

Link to post
Share on other sites
A lot of wrappers are also implemented as objects so that they can clean up after themselves to. I am working on a simple set of wrapper classes for my own use right now and it is simplifying my work enormously. Speaking of which, does anybody know where to get the CDX library anymore?


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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!