i have a little Question over the DeathMatch.cpp,
the Line
Code: Select all
return &cf::GameSys::GameImplT::GetInstance();
MfG
volto
Code: Select all
return &cf::GameSys::GameImplT::GetInstance();
What do you mean by template? (I see nothing related to templates involto wrote:returns the Current Game based on a Template but why is this Template definition Located in the DeathMatch/Code directory?Code: Select all
return &cf::GameSys::GameImplT::GetInstance();
DeathMatch.cpp
.)cf::GameSys::GameI
interface.cf::GameSys::GameImplT
(the T is just for "type"). It is in the DLL because that way all code for a game is in a common DLL and can thus dynamically be loaded at runtime.Users browsing this forum: No registered users and 38 guests