Managing Game-Engine Code

This is a discussion on Managing Game-Engine Code within the Game Programming forums, part of the General Programming Boards category; What's the best way to manage such a thing!? Is their any type of hierarchy or structure the code should ...

  1. #1
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719

    Managing Game-Engine Code

    What's the best way to manage such a thing!? Is their any type of hierarchy or structure the code should follow? Such as, how should the code be split-up, a seperate folder for each section of the engine (Audio, Network, etc.). When developing an engine, what is the best way to keep track of all the header files, and .cpp's, I hear CVS or SVN is good, is this true? Finally, what is the best way to release an engine (Freeware) to the public? Thankyyyyyy!

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    I can't help you about the code organization, but I can clear up a misconception.

    CVS and SVN are source control systems. They help you keep track of the changes done over time to your source base, they allow you to go back to old versions of the source, they allow you to make cheap snapshots of the source, they help collaboration of several people. They do not help you organize your code.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    But wouldn't that be a good thing? Code will change over the course of development, and an easy way to update will be good. I only want to use CVS or SVN because I want a backup of all my files, since I occasionally delete stuff in my folders and stuff. So would it make a good backup source?

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Yes, using SVN is a very good idea. (Of course, you should regularly backup your repositories.)

    I'm just saying that it doesn't help you organize your code into good blocks.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 01:48 AM
  2. In a game Engine...
    By Shamino in forum Game Programming
    Replies: 28
    Last Post: 02-19-2006, 11:30 AM
  3. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-26-2006, 12:14 AM
  4. DirectMusic engine problem
    By VirtualAce in forum Game Programming
    Replies: 7
    Last Post: 03-17-2005, 06:12 PM
  5. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21