1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-18 16:32:32 +02:00
openrw/rwengine
Anonymous Maarten e448f610ff rwengine: make Renderer a shared_ptr
Should fix this memory leak:
==16721== 912 (600 direct, 312 indirect) bytes in 1 blocks are definitely lost in loss record 225 of 264
==16721==    at 0x4C2F1CA: operator new(unsigned long) (vg_replace_malloc.c:334)
==16721==    by 0x84A697: GameRenderer::GameRenderer(Logger*, GameData*) (GameRenderer.cpp:71)
==16721==    by 0x75FC7D: RWGame::RWGame(Logger&, int, char**) (RWGame.cpp:35)
==16721==    by 0x750385: main (main.cpp:13)
2017-10-18 21:52:29 +01:00
..
src rwengine: make Renderer a shared_ptr 2017-10-18 21:52:29 +01:00
CMakeLists.txt Remove libsndfile dependency 2017-09-16 19:50:51 +01:00
README.md Update readme informations 2015-05-10 23:57:13 +01:00

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