Commit Graph

31 Commits (openmw-33)

Author SHA1 Message Date
scrawl 2b407a9995 Refactor NIF cache
- Remove broken cache locking mechanism

This was supposed to unload NIFFiles after a cell transition completes, but it was never working due to a mistake on the line if (--sLockLevel), should have been if (--sLockLevel == 0). Repairing this would increase load times (NIF files would have to be reloaded more frequently), so just removed it for now.

 - Decouple cache from NIFFile (now a new nifcache component)

 - Add API for future background loading

 - Provide a reliable way (SharedPtr) to hold on to loaded NIFFiles. This will be useful to avoid deep copies of keyframe and text key data, which is currently a performance bottleneck.
11 years ago
Marc Zinnschlag 0b309d9ef4 Merge branch 'master' into load
Conflicts:
	apps/opencs/view/doc/viewmanager.cpp
11 years ago
Marc Zinnschlag ddb0496dca replaced return value of removeDocument with a signal 11 years ago
graffy76 4b607d658f Re-link user settings to editor main application 11 years ago
Marc Zinnschlag e324450118 replaced return value of DocumentManager::addDocument with a signal 11 years ago
Marc Zinnschlag c36dfef972 prewview subview 11 years ago
Marc Zinnschlag 2b17f5dde9 register resources locations on editor startup 11 years ago
Marc Zinnschlag 6ec86564d1 re-enabled OGRE in OpenCS; cleaned up startup 11 years ago
graffy76 9b483c3ae3 Fix for file path issues 11 years ago
graffy76 ba365ff49e Fixed merge conflicts with saving branch 11 years ago
Marc Zinnschlag 5779f799ab create project file when saving content file 11 years ago
Marc Zinnschlag 74d683b530 fixed save path for newly created addons 11 years ago
graffy76 7b7dfa122d Merge branch 'master' into esxSelector 11 years ago
Marc Zinnschlag e9f14449eb added AdjusterWidget 11 years ago
Marc Zinnschlag 25b7cd33ea added FileWidget; fixed OpenCS configuration 11 years ago
Marc Zinnschlag ecedb60169 splitting new game and new addon functions (new game currently not working) 11 years ago
Marc Zinnschlag 0e81fb32dd hooked up edit config signal from startup window 11 years ago
Marc Bouvier 0ae2bb2fae [Feature #881] Code Formatting
Code formatted to the OpenMW policy.
11 years ago
Marc Bouvier 563bd0b430 [Feature #881] Raise OpenCS New Window After Re-execution
The OpenCS startup window of the existing exist is raised when trying to
start a new instance. This is done by the new instance connection to the
existing instance's QLocalServer. Once the connection is established the
existing instance raises the startup window.
11 years ago
Marc Bouvier 51332b86a1 [Feature #811] Only 1 Instance of OpenCS is Allowed
If another instance of OpenCS is started, then it will terminate. This
is done by creating a QLocalServer with a unique ID. If another
QLocalServer with the same ID attempts to be opened, then the creation
of the QLocalServer will fail and the application will terminate.
11 years ago
graffy76 f6217f9c6a Moved esx selector classes out of global namespace 12 years ago
Glorf 548f4d683f Globalization of user settings 12 years ago
Marc Zinnschlag 54f56b0515 Merge remote-tracking branch 'graffy76/usersettings'
Conflicts:
	apps/opencs/view/doc/view.cpp
	apps/opencs/view/doc/view.hpp
12 years ago
graffy76 144be59735 Changed enum names to match OpenMW naming conventions 12 years ago
graffy76 88df3b980f Implemented UserSettings as a singleton. 12 years ago
Lukasz Gromanowski acae815cd2 Added workaround for OpenCS compilation problems due to bug in Qt MOC compiler.
For details please see:

https://forum.openmw.org/viewtopic.php?f=7&t=1451
https://bugreports.qt-project.org/browse/QTBUG-22829

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
12 years ago
Pieter van der Kloet 7504ae675b Implemented a file dialog for the editor using launcher .ui 12 years ago
Michal Sciubidlo 347a734364 Move OpenDialog to editor and use it in startup dialogue.
Remove debug output from DataFilesList.
12 years ago
Marc Zinnschlag 67a1ec5166 added provisional startup dialogue 12 years ago
Marc Zinnschlag 303506d24b added new document function 12 years ago
Marc Zinnschlag 9834bb3ad5 basic document handling 12 years ago