Originally posted by [b]theultramage[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1083
Inspired by
this post
What I'd like to do:
CODE
typedef struct map_session_data pc_data;
typedef struct mob_data mob_data;
typedef struct npc_data npc_data;
... and so on ...
and replace all occurences in the code. The reason is, that C++ does not allow the 'struct' keyword in variable declarations (it's redundant).
There are also the TBL_ types, but I wouldn't use those this way because they're intended for the BL_CAST macro only.