RE: [GD-General] Compile times
Brought to you by:
vexxed72
From: Douglas C. <zi...@ho...> - 2002-12-10 02:25:10
|
>Out of curiousity, what's the general size of your codebase? .cpp - 605 files, 4mb .h - 317 files, 1mb That includes all our code (including support for 2 consoles). The reason we have 1/2 the number of .h files is because our plugins for the editor only require a .cpp file per property page / utility plugin. There would probably be 150 .h files if I didn't have to export our 'action' classes so the property pages could get to them as they're never included by anything other than a single, corresponding .cpp file in the game. We're extremely data driven, using an action/value/event system instead of scripting -- but that includes all behaviors (save a couple FSMs in code) for the player, NPCs, GUI, triggers, cinematics, etc. I did spend a while early on making sure dependencies wouldn't be an issue, and it seems to have paid off pretty well so far. _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |