BVB Source Codes

CRYENGINE Show Main.cpp Source code

Return Download CRYENGINE: download Main.cpp Source code - Download CRYENGINE Source code - Type:.cpp
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. /*************************************************************************
  4.    -------------------------------------------------------------------------
  5.    $Id$
  6.    $DateTime$
  7.  
  8.    -------------------------------------------------------------------------
  9.    History:
  10.    - 2:8:2004   10:38 : Created by M谩rcio Martins
  11.  
  12. *************************************************************************/
  13. #include "StdAfx.h"
  14. #include "CryAction.h"
  15.  
  16. #define CRYACTION_API DLL_EXPORT
  17.  
  18. extern "C"
  19. {
  20.         CRYACTION_API IGameFramework* CreateGameFramework()
  21.         {
  22.                 // at this point... we have no dynamic memory allocation, and we cannot
  23.                 // rely on atexit() doing the right thing; the only recourse is to
  24.                 // have a static buffer that we use for this object
  25.                 static char cryAction_buffer[sizeof(CCryAction)];
  26.                 return new((void*)cryAction_buffer)CCryAction();
  27.         }
  28. }
  29.  
downloadMain.cpp Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top