1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 15:02:34 +02:00
Commit Graph

29 Commits

Author SHA1 Message Date
Anonymous Maarten
d212a779c2 rwviewer: wrap QOpenGLContext 2018-08-10 03:53:54 +02:00
Anonymous Maarten
a15413f997 rwlib+rwengine+rwviewer: address feedback comments 2018-08-06 00:16:33 +02:00
Anonymous Maarten
6d4b69b742 rwviewer: view stored texts + fonts 2018-08-04 01:17:13 +02:00
Christoph Heiss
5bfe0c5e00 Fix rwviewer build on macOS. 2018-02-09 22:58:49 +00:00
Lucas Eriksson
3e96ad9c92 Stop using default initialization onglm datatypes.
It results in undefined behaviour with glm 0.9.9
2018-02-09 22:33:10 +00:00
Daniel Evans
6f9c3db52e Overahaul of rwviewer to simplify the code and improve usability
- Shared ViewerWidget has been removed. Now multiple instances exist
2018-01-27 21:44:18 +00:00
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
Daniel Evans
8e4d73fca9 Rename Model -> Clump 2017-02-08 21:44:25 +00:00
Daniel Evans
d1c33af268 clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
Jannik Vogel
05831bea95 RWViewer: Use OpenGL 3.3 Core to prevent crash 2016-08-08 17:03:57 +02:00
Daniel Evans
8ede36c59d Implement semi-functional world viewer widget 2016-05-19 19:46:23 +01:00
Daniel Evans
76eb43c023 Fix compilation and runtime issues with reviewer from recent changes 2016-04-16 14:06:02 +01:00
Daniel Evans
efc79e8ec6 Overhaul Model Viewer behaviour with visibility toggle 2015-04-14 01:06:50 +01:00
Daniel Evans
0f4152d099 Improve rwviewer frame selection + view
* ViewerWidget now highlights selected non-model frames
2015-04-13 02:09:14 +01:00
Daniel Evans
1827b9cca3 Restore rwviewer to functional state 2015-04-13 01:48:29 +01:00
Daniel Evans
29570e794f Remove unused animation from rwviewer 2014-12-11 18:09:41 +00:00
Daniel Evans
7d92fbb9f2 Huge rwviewer changes for new objects.
+ Change to Object Viewer to list all object types
2014-09-19 00:10:05 +01:00
Daniel Evans
54d63b8145 Add frame info text in viewer 2014-06-10 20:26:04 +01:00
Daniel Evans
871804fcb3 Fix Model frame widget display 2014-06-10 16:47:44 +01:00
Daniel Evans
229e8627d2 Add model export to rwviewer 2014-06-10 00:46:48 +01:00
Daniel Evans
ad6eda9024 Refactor Viewer to open game data 2014-06-08 01:58:49 +01:00
Daniel Evans
61931145fe Threaded model and texture loading 2014-06-06 13:12:20 +01:00
Daniel Evans
52d90a9b26 Animations working again 2014-03-01 11:19:33 +00:00
Daniel Evans
1b9687dedd Frame information 2014-02-12 06:42:07 +00:00
Daniel Evans
8c25712ea6 Viewport movement 2014-02-11 15:45:45 +00:00
Daniel Evans
751adf1d6b Viewer viewing 2014-02-11 13:40:56 +00:00
Daniel Evans
a49bfd9d99 Preperations for actual visuals 2014-02-11 05:46:29 +00:00
Daniel Evans
1741d7c295 Preview text 2014-02-10 17:22:07 +00:00
Daniel Evans
0aff0a9a0d RWviewer Qt 2014-02-10 12:41:05 +00:00