This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
licensing:samplecode [2008-09-02 14:28] Carsten created |
licensing:samplecode [2009-12-31 01:21] Carsten removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ca3D-Engine C++ Sample Source Code ====== | + | ====== Cafu C++ Sample Source Code ====== |
- | This page contains several sections of C++ source code from the Ca3D-Engine. | + | This page contains several sections of C++ source code from the Cafu engine. |
- | For more ways to evaluate and getting a picture of the Ca3D-Engine, please refer to [[licensing:faqs#can_i_preview_and_evaluate_the_ca3d-engine|this Licensing FAQ]]. | + | For more ways to evaluate and getting an impression of Cafu, please refer to [[licensing:faqs#can_i_preview_and_evaluate_cafu|this Licensing FAQ]]. |
===== Libs/GuiSys/GuiImpl.cpp ===== | ===== Libs/GuiSys/GuiImpl.cpp ===== | ||
- | This file is part of the Ca3DE GUI System. It implements a single GUI as e.g. the games Main Menu or a panel on a world entity. | + | This file is part of the Cafu GUI System. It implements a single GUI as e.g. the games Main Menu or a panel on a world entity. |
<code cpp> | <code cpp> | ||
Line 320: | Line 320: | ||
// Note that the processing of the mouse event is orthogonal to (independent of) MouseIsShown. | // Note that the processing of the mouse event is orthogonal to (independent of) MouseIsShown. | ||
// That is, we may be active and interactive even if the mouse cursor is *not* shown, | // That is, we may be active and interactive even if the mouse cursor is *not* shown, | ||
- | // as for example with the 3D window of the Ca3D-Engine client, which must receive the | + | // as for example with the 3D window of the Cafu engine client, which must receive the |
// mouse events even if no mouse cursor is shown! | // mouse events even if no mouse cursor is shown! | ||
Line 812: | Line 812: | ||
===== Libs/MaterialSystem/RendererCgARB1/Shaders/A_Diff_Light_Norm.cpp ===== | ===== Libs/MaterialSystem/RendererCgARB1/Shaders/A_Diff_Light_Norm.cpp ===== | ||
- | This file is part of the Ca3DE Renderer DLL that uses NVidias "Cg" GPU programming language for vertex and pixel shaders. In this case, meshes with diffuse-maps, light-maps, normal-maps and optionally specular-maps are rendered. | + | This file is part of the Cafu Renderer DLL that uses NVidias "Cg" GPU programming language for vertex and pixel shaders. In this case, meshes with diffuse-maps, light-maps, normal-maps and optionally specular-maps are rendered. |
<code cpp> | <code cpp> | ||
Line 1093: | Line 1093: | ||
- | ===== Ca3D-Engine/Ca3DE/Client/Client.cpp ===== | + | ===== Cafu/Cafu/Client/Client.cpp ===== |
- | This file is part of the Ca3DE game client. The client is implemented with the [[wp>State|"State" code design pattern]]. The state management and some console functions for changing the client state are implemented in this file. | + | This file is part of the Cafu game client. The client is implemented with the [[wp>State_pattern|"State" code design pattern]]. The state management and some console functions for changing the client state are implemented in this file. |
<code cpp> | <code cpp> | ||
Line 1312: | Line 1312: | ||
- | ===== Ca3D-Engine/CaWE/DialogTerrainEdit.cpp ===== | + | ===== Cafu/CaWE/DialogTerrainEdit.cpp ===== |
- | This file is part of CaWE, the Ca3DE World Editor. It implements the "Edit Terrain" dialog. | + | This file is part of CaWE, the Cafu World Editor. It implements the "Edit Terrain" dialog. |
<code cpp> | <code cpp> |