Greetings, I am trying to consolidate my gsn_ stuff down to one file and I've tried a few things and can't seem to figure out what the heck is going on.. I mostly been able to answer all of my problems cept for this one as I am not sure what the heck is wrong
I tried this: #ifdef IN_DB_C #define GSN(gsn) sh_int gsn #else #define GSN(gsn) extern sh_int gsn #endif then I have GSN(gsn_dodge); ect ect. for each gsn... when I compile, it gets down to linking then spits out a bunch of undefined reference to 'gsn_whatever' errors.. now I added #include "gsn.h" to my game.h (equivalent to merc.h) but I can't seem to figure out where the problem is trying.. I also put in #define IN_DB_C into db.c I tried adding: #if !defined(GSN_H) #define GSN_H #if defined(IN_DB_C) #if defined(GSN) #undef GSN #endif #define GSN(gsn)sh_int gsn #else #if defined(GSN) #undef GSN #endif #define GSN(gsn) extern sh_int gsn #endif which is just a more spoofy way of doing what I did before, still with no luck.. Can someone point me to where my problems are? Sincerely, Siron Redkoala Mud Services

