1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 15:02:34 +02:00
openrw/rwviewer
Anonymous Maarten 7e4e1db85d rwlib: Use ClumpPtr instead of Clump*
Should fix these memory leaks:
==22737== 14,598,040 (131,472 direct, 14,466,568 indirect) bytes in 2,739 blocks are definitely lost in loss record 3,124 of 3,126
==22737==    at 0x4C2F1CA: operator new(unsigned long) (vg_replace_malloc.c:334)
==22737==    by 0x90FE4B: LoaderDFF::loadFromMemory(std::shared_ptr<FileContentsInfo>) (LoaderDFF.cpp:443)
==22737==    by 0x7BCC86: GameData::loadModel(unsigned short) (GameData.cpp:474)
==22737==    by 0x7DF7BC: GameWorld::createInstance(unsigned short, glm::tvec3<float, (glm::precision)0> const&, glm::tquat<float, (glm::precision)0> const&) (GameWorld.cpp:144)
==22737==    by 0x7DF44C: GameWorld::placeItems(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (GameWorld.cpp:120)
==22737==    by 0x758D38: RWGame::newGame() (RWGame.cpp:116)
==22737==    by 0x786389: LoadingState::enter() (LoadingState.cpp:9)
==22737==    by 0x75DC59: void StateManager::enter<LoadingState, RWGame*, RWGame::RWGame(Logger&, int, char**)::{lambda()#1}>(RWGame*&&, RWGame::RWGame(Logger&, int, char**)::{lambda()#1}&&) (StateManager.hpp:40)
==22737==    by 0x758484: RWGame::RWGame(Logger&, int, char**) (RWGame.cpp:81)
==22737==    by 0x747815: main (main.cpp:13)
2017-10-18 21:52:29 +01:00
..
models rwlib: Use ClumpPtr instead of Clump* 2017-10-18 21:52:29 +01:00
views rwlib: Use ClumpPtr instead of Clump* 2017-10-18 21:52:29 +01:00
widgets rwlib: Use ClumpPtr instead of Clump* 2017-10-18 21:52:29 +01:00
AnimationListModel.cpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
AnimationListModel.hpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
AnimationListWidget.cpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
AnimationListWidget.hpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
CMakeLists.txt Remove include directory from rwengine for consistency 2016-08-07 14:41:45 +01:00
IMGArchiveModel.cpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
IMGArchiveModel.hpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
ItemListModel.cpp Overhaul Model data handling to improve accuracy 2016-09-27 22:48:45 +01:00
ItemListModel.hpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
ItemListWidget.cpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
ItemListWidget.hpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
main.cpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
README.md Add Readme and Copying files 2014-02-13 09:51:42 +00:00
ViewerWidget.cpp rwlib: Use ClumpPtr instead of Clump* 2017-10-18 21:52:29 +01:00
ViewerWidget.hpp rwlib: Use ClumpPtr instead of Clump* 2017-10-18 21:52:29 +01:00
ViewerWindow.cpp Remove usages of WorkContext 2016-12-02 00:56:38 +00:00
ViewerWindow.hpp Remove usages of WorkContext 2016-12-02 00:56:38 +00:00

RWViewer

Qt Viewer for viewing contents of archives, viewing DFF models etc.