1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 02:12:45 +01:00
openrw/tests
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
..
CMakeLists.txt tests: only include GameConfig.hpp in source file (no header file) 2017-08-15 15:58:01 +01:00
main.cpp tests: set the test module name to openrw 2017-02-20 01:01:30 +00:00
test_animation.cpp Remove all traces of Skeleton 2017-02-08 21:45:01 +00:00
test_archive.cpp clang-format files in tests 2016-09-09 21:13:22 +01:00
test_buoyancy.cpp Overhaul Model data handling to improve accuracy 2016-09-27 22:48:45 +01:00
test_character.cpp Add interface for using AnimCycle in CharacterObject 2017-03-03 20:31:57 +00:00
test_chase.cpp clang-format files in tests 2016-09-09 21:13:22 +01:00
test_config.cpp config: add test about non-existing configuration directory 2017-08-15 15:58:01 +01:00
test_cutscene.cpp clang-format files in tests 2016-09-09 21:13:22 +01:00
test_data.cpp Load and associate model data when creating objects 2016-09-27 22:49:07 +01:00
test_FileIndex.cpp tests: only include test_globals.hpp when needed 2017-08-15 15:58:01 +01:00
test_GameData.cpp tests: only include test_globals.hpp when needed 2017-08-15 15:58:01 +01:00
test_GameWorld.cpp tests: only include test_globals.hpp when needed 2017-08-15 15:58:01 +01:00
test_globals.cpp tests: only include GameConfig.hpp in source file (no header file) 2017-08-15 15:58:01 +01:00
test_globals.hpp tests: only include GameConfig.hpp in source file (no header file) 2017-08-15 15:58:01 +01:00
test_Input.cpp tests: only include test_globals.hpp when needed 2017-08-15 15:58:01 +01:00
test_items.cpp Remove InventoryItem and WeaponItem 2016-10-19 22:14:52 +01:00
test_lifetime.cpp clang-format files in tests 2016-09-09 21:13:22 +01:00
test_loaderdff.cpp rwlib: Use ClumpPtr instead of Clump* 2017-10-18 21:52:29 +01:00
test_LoaderIPL.cpp Implement Hierarchy of game ZoneData 2017-01-30 00:24:44 +00:00
test_Logger.cpp tests: only include test_globals.hpp when needed 2017-08-15 15:58:01 +01:00
test_menu.cpp tests: only include test_globals.hpp when needed 2017-08-15 15:58:01 +01:00
test_object_data.cpp Load and associated pedstats with ped models 2017-02-08 20:30:29 +00:00
test_object.cpp clang-format files in tests 2016-09-09 21:13:22 +01:00
test_pickup.cpp Remove InventoryItem and WeaponItem 2016-10-19 22:14:52 +01:00
test_renderer.cpp tests: only include test_globals.hpp when needed 2017-08-15 15:58:01 +01:00
test_rwbstream.cpp clang-format files in tests 2016-09-09 21:13:22 +01:00
test_SaveGame.cpp tests: only include test_globals.hpp when needed 2017-08-15 15:58:01 +01:00
test_scriptmachine.cpp tests: only include test_globals.hpp when needed 2017-08-15 15:58:01 +01:00
test_state.cpp tests: only include test_globals.hpp when needed 2017-08-15 15:58:01 +01:00
test_text.cpp clang-format files in tests 2016-09-09 21:13:22 +01:00
test_trafficdirector.cpp clang-format files in tests 2016-09-09 21:13:22 +01:00
test_vehicle.cpp Remove all traces of Skeleton 2017-02-08 21:45:01 +00:00
test_VisualFX.cpp tests: only include test_globals.hpp when needed 2017-08-15 15:58:01 +01:00
test_weapon.cpp Remove InventoryItem and WeaponItem 2016-10-19 22:14:52 +01:00
test_world.cpp clang-format files in tests 2016-09-09 21:13:22 +01:00
test_ZoneData.cpp Implement Hierarchy of game ZoneData 2017-01-30 00:24:44 +00:00