Overview:
Glest source is divided in 2 parts:
a) Game source: Glest game specific code.
b) Shared library source: Code that is shared among all Glest tools and other projects we have.
What we do is to compile the shared library as static library and the link the main code against it. Both of them use a single thread so you dont need multithread supprt.
This shared library is also divided in several sub-modules:
graphics: math and graphics
graphics_gl: opengl graphics
soud: sound (including the direct sound player)
util: conversion functions and other utilities
platform: platform dependant code (to make a port of Glest to other platforms only this part needs to be changed)