[Text Engine] - Already defined?
For the last few days, I've been throwing together some kind of text-engine for Windows/Unix.
It's far from finished, however, when I try to compile a test build of the thing, I get the following:
This thing has me stumped. I previously had the the ReturnRand_InRange function within the engine.h file, but moved it to engine_int.h when I started getting "already defined" errors (including engine.h in engine_movement.h).
d:\C++\Vacuus_Beta\engine_int.h(13) : error C2084: function 'int ReturnRand_InRange(int,int)' already has a body
d:\C++\Vacuus_Beta\engine_int.h(12) : see previous definition of 'ReturnRand_InRange'
I done a "search in files" thing, which returned several results - the others being commented out.
The source can be found at:
Oh, and I'm running VC++ .NET (2002)