Jump to content
  • Advertisement
Sign in to follow this  
MatrixCubed

Project Layout

This topic is 4416 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 all, I've been rethinking the source layout of the project I am working on. It is a client/server based game, and is getting to the point where I will need to begin work on making it cross-platform-build friendly, as well as begin developing the server app. Currently I have the project layout as such:
/root
  /client        -- contains all client source files
    /output      -- contains the root of the end-user directory structure
        /graphics
        /sound
        /config
        /map
        /data
  /server        -- contains all server source files
    /output      -- contains the root of the server directory structure
        /config
        /pkg

The only source files which would be shared between client and server, would be the network, map, and map-object files. Otherwise, each source file is specific to either the client or the server, but not both. I have seen other projects of similar concept (e.g. cross platform, sharing source files across client and server), which use a similar layout, but they usually contain platform-specific directories for Windows .rc files and project files, Linux make files and readme, Mac OS Xcode files, etc. I'm just wondering if there is a usual or customary method of source- and project-tree, which would be more beneficial than the method I've outlined above. Many thanks for your time :)

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!