#ifndef GLOBALS_OWNERSHIPextern#endifstruct G...
So, every file EXCEPT the one which defines GLOBAL_OWNERSHIP (which is gamemain.cpp) gets an external reference to G.
This was a nice trick, Teej!
#ifndef GLOBALS_OWNERSHIPextern#endifstruct G...
Richard "Superpig" Fine - saving pigs from untimely fates - Microsoft DirectX MVP 2006/2007/2008/2009
"Shaders are not meant to do everything. Of course you can try to use it for everything, but it's like playing football using cabbage." - MickeyMouse