Jump to content
  • Advertisement

Archived

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

TonyFish

Splitting an engine-like system into libraries

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

Hi, I have been thinking about how to structure my 3d engine and have been getting increasingly confused. I''d like to reduce the clutter by grouping classes that deal with geometry and maths (vector3,matrix,quaterion,etc) into some form of library (libs or dlls...). I''m trying to make this whole thing OO and am using VC++6. Any suggestions ? Btw, what the heck are .pkg files ? Cheers <Fish>{

Share this post


Link to post
Share on other sites
Advertisement
.pkg files are probably package files. This extension exists for a certain package file format that can be compared to .rpm or .tgz. It''s used by some Linux distributions, I believe.

But the .pkg files you are talking about could also be in a custom file format. Opening it in a text/hex editor should reveal what it actually is.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
First 2 bytes or 2 characters should tell you the file format. Sometime there are 4 characters.

PZ is a zip file. MZ is a executable. PM is a protected mode Executable. and on and on and on.

I would look into Singleton Classes. They REALLY help in the OOP department.

Share this post


Link to post
Share on other sites
Yeah I use singletons etc.. it''s just that I''m considering using multiple libs or dlls and aren''t sure which would be better.

<Fish>{

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!