Hi,
When building Cafu-src-r625 I've noticed that deathmatch is no longer built as a shader library, but a static one? Why is that? How are games loaded in cafu now?
Deathmatch static library
Re: Deathmatch static library
Hi,
One or several games can be linked statically to the main game executable, and it is still possible to choose among them at run-time, very much like before.
One of the next big changes will be to update the game code to no longer use inheritance but "components" in order to implement features of game entities. This will be a huge improvement (I'm currently implementing it for the GUI system), and it might reduce the need for game-specific C++ code even further.
Well, linking games dynamically as we did made it very difficult to further improve the code and to change its design. Now we link statically, and this helped dramatically.D4rkTorq wrote:When building Cafu-src-r625 I've noticed that deathmatch is no longer built as a shader library, but a static one? Why is that? How are games loaded in cafu now?
One or several games can be linked statically to the main game executable, and it is still possible to choose among them at run-time, very much like before.
One of the next big changes will be to update the game code to no longer use inheritance but "components" in order to implement features of game entities. This will be a huge improvement (I'm currently implementing it for the GUI system), and it might reduce the need for game-specific C++ code even further.
Best regards,
Carsten
Carsten
Who is online
Users browsing this forum: No registered users and 11 guests