Dependencies

To compile the DLL, header files from both Code\CryEngine\CryCommon and Code\CryEngine\CryAction are required. STLport should be used if the rest of the engine is compiled using it.

Selecting a Game DLL

It's possible to instruct CryENGINE to load any specific Game DLL by setting the sys_dll_game console variable inside system.cfg. It is not possible to switch to a different DLL during run-time.

实现一个游戏动态链接库

依赖项

若要编译动态链接库,需要 Code\CryEngine\CryCommon 和 Code\CryEngine\CryAction 两个头文件。如果引擎的其余部分需要使用 STLport 编译,那就应该使用 STLport。

选择一个游戏动态链接库

可以通过设置 system.cfg 内的 sys_dll_game 控制台变量, 通知 CryENGINE 加载任何特定的游戏动态链接库。在运行期间,无法切换到不同的动态链接库。