mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 10:22:52 +01:00
b9d306ae70
* move delete to earlier stage * lines for better readability * Added detach shader * Addition forgotten glDeleteProgram https://github.com/rwengine/openrw/search?utf8=%E2%9C%93&q=glDeleteProgram&type= In project there's no necessary clearing call of glDeleteProgram. * Removing/Closing shader programs Each shader program should be taken care by glDeleteProgram. To make it works/usefull, each shader's raw ptr will convertet to unique_ptr in next commit. * Converting ShaderProgram's ptr to unique Actually deleting isn't handled, so this commit removes memory leak. |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
README.md |
rwengine
Rwengine contains the game data structures, the data loading routines, script virtual machine and generic object logic, as well as a renderer implementation for OpenGL.
Core
Implementations of platform abstraction and file system handling classes are in the core/ directory
Data
Structures that store information about object types, cutscene data, localisation information etc
Objects
The logic for Object types are implemented by the classes in the objects/ directory
Loaders
Classes for loading various file formats
Render
Implementation of a portable OpenGL renderer system lives in the render/ directory
Script
The game script virtual machine, and the function definitions are in the script/ directory