Commit Graph

101 Commits (30e6821d818932797ff9cba22863bcb38857b71a)

Author SHA1 Message Date
elsid a78f5182e4
Replace toNormalized by Normalized
fname type cannot be changed because it's part of mygui library interface.
3 months ago
elsid 1fd6ac6438
Use normalized path in ImageManager 3 months ago
elsid 6a67263d6b
Separate the log level and the flag for writing the log level 6 months ago
Evil Eye 97009f1e23 Merge Assumeru/mystringvui 1 year ago
Bret Curtis 589a27d09c additional clean up for clang 1 year ago
Bret Curtis 1df448f59b remove hack from 3.4.2 1 year ago
Bret Curtis 43a931d3c4 [#7528] Fix MyGUI 3.4.3 issues 1 year ago
psi29a 8d1a19a6f4 [#7358] Make MyGui 3.4.2 required for 0.49 1 year ago
Bret Curtis ff6944701f Be more explicit about use of CLAMP_TO_EDGE instead of defaulting to GL CLAMP 2 years ago
Cody Glassman ac4787aeec shade refactor 2 years ago
Andrei Kortunov b217d1fc36 Use OpenMW logging levels for MyGUI log (feature 7130) 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
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