Commit Graph

89 Commits (84f8a6848a8b05502d7618ca7af8cca74f2c3bae)

Author SHA1 Message Date
AnyOldName3 84f8a6848a Renormalise line endings
This should replace accidental CRLF with LF
2 years ago
Project579 2df8bfed25 Fix build errors after rebase against master due to large amount of changes. 2 years ago
Project579 a13709c510 Replace implicit convertions from std::filesystem::path to std::string with correctly converting functions. 2 years ago
Project579 e5c417c968 Make sure all paths are passed as std::filesystem::path instead of std::string where possible. 2 years ago
Project579 4bb07282c9 Replace all remaining occurrences of boost::filesystem with std::filesystem. 2 years ago
Andrei Kortunov 3037f190be Implement per-font resolution 2 years ago
elsid 8cecc55d64
Fix inserting texture to map
Avoid using invalidated iterator after erase call.

Use insert_or_assing instead of operator[] because OSGTexture doesn't have a
default constructor.
2 years ago
elsid d165966bea
Make OSGTexture final
To show that there are no more inheritance levels and also help compiler to
better optimize virtual function calls. There is no need to access virtual table
when compiler calls a virtual function of a final type.
2 years ago
elsid 036937ee02
Store RenderManager textures by value 2 years ago
elsid 6738722aa5
Initialize all required osgMyGUI::DataManager members in constructor 2 years ago
elsid 1c507125df
Remove empty functions 2 years ago
elsid d307178683
Replace components/vfs/manager.hpp include by forward declaration 2 years ago
elsid a281bcaf90
Remove redundant Platform::initialize function 2 years ago
elsid c0e1642d7f
Use unique_ptr for osgMyGUI::Platform members 2 years ago
Andrei Kortunov 168a097c8b Improve binding VFS to MyGUI 2 years ago
Andrei Kortunov 4e7fe5a8bd Set VFS only once 2 years ago
Andrei Kortunov 6f6b5ba04b Some refactoring 2 years ago
Andrei Kortunov c47a48e25d Inject layout files to VFS 2 years ago
Andrei Kortunov 2630bc21dd Allow to override MyGUI layout 2 years ago
Andrei Kortunov dd04bfccfb Load fonts 2 years ago
Andrei Kortunov fe785ea788 Don't cast away const when we can avoid it 3 years ago
jvoisin 0cc304e659 Clean up MyGUI includes
This should improve incremental compilation.
3 years ago
Evil Eye a95b6e050a Replace new with make_unique in components 3 years ago
jvoisin 6feb92a9bf Remove boost::filesystem from a couple of files 3 years ago
elsid 5f2e282359
Add includes for used types and functions 3 years ago
uramer 3f52ede9cb Remove unnecessary myguicompat 3 years ago
uramer 2bc81e47a6 Remove all MyGUI version checks 3 years ago
Bo Svensson 1ff8318a52
refactors premultiplied alpha (#3189)
With this PR we refactor a `premultiplied alpha` user string set by `characterpreview.cpp` into a more flexible mechanism allowing us to assign any state to GUI textures. We can consider these changes more future proof than the previous approach.
3 years ago
Bo Svensson b2af81bc18
converts remaining osg::NodeCallback (#3147)
With this PR we convert remaining instantiations of the deprecated osg::NodeCallback in Open MW to SceneUtil::NodeCallback.
3 years ago
glassmancody.info e8c6f31e0c add shader path for mygui (#6162) 3 years ago
Andrei Kortunov 963e1b8b3f Fix MSVC's C4244 warnings 4 years ago
AnyOldName3 ba74fbf30e Fix MyGUI log
Also actually print an error to the regular log when the MyGUI log can't
be opened so we notice if we kill it again in under five years.
4 years ago
AnyOldName3 d52ae28b7a Fix linking on MacOS 4 years ago
AnyOldName3 cb2cbb4181 Convert blending factors properly for the character preview 4 years ago
Gleb Mazovetskiy 4495b67d77 MyGUI HEAD compatibility
Makes OpenMW compatible with the current MyGUI HEAD at:
f93d4fb614

Refs #5806
4 years ago
Andrei Kortunov 8084a336b5 Replace zeroes and nulls by nullptrs 4 years ago
Bret Curtis 5a824d0333 components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 4 years ago
Andrei Kortunov d7fadc933f Fix override warning with MyGUI 3.4 4 years ago
Andrei Kortunov 8ca3c3b123 Mark overrided methods by override keyword 4 years ago
elsid 650f429ff5
Add final modifier to fix warnings 5 years ago
Andrei Kortunov 3032b177a1 Remove redundant includes 6 years ago
Andrei Kortunov d2613e35a2 Fix some Clang 7 warnings 6 years ago
Andrei Kortunov ad36834671 Fix some compiler warnings 6 years ago
Andrei Kortunov e06f0b797a Replace all NULLs to nullptr 6 years ago
Andrei Kortunov 1452684d9e Use new logging system for components 6 years ago
Bret Curtis c781d1f8ed purge unnecessary imports
add fstream back

add fstream back

add fstream back

add fstream back

add fstream back

add fstream back

add fstream back
8 years ago
Ewan Higgs 38a2de3c51 convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis 8 years ago
scrawl a759ef5d2e Leave the MyGUI::PixelFormat as Unknown when loading from file as its not required. 8 years ago
scrawl 8fc7942d64 Refactor osgMyGUI::OSGTexture to store width/height inside the object 8 years ago
scrawl ac61535d2c optimize OSGVertexBuffer by double buffering the vertex array instead of recreating it on every modification 8 years ago