Oct 10, 2009 20:58
One of my short-term goals for VideoVenture is to migrate game-specific and level-specific components into dynamically-linked libraries. Before carving up VideoVenture, I decided to build a test project to determine if this would work the way I had planned.
The project consisted of a simple dynamic link library containing a class with debug output in its constructor and destructor, along with one statically-initialized instance of that class, and a simple host application that loaded that library at runtime. Running the application produced the expected output, calling the constructor and destructor of the statically-initialized instance the way I expected.
I'll have to go through the game core and export export anything required by external components, but it's at least possible. That's good to know.
shmup