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
scrawl
641005b317
Remove Camera's children before removing the Camera
...
Should work around OSG race condition ( http://forum.openscenegraph.org/viewtopic.php?t=16077 )
8 years ago
scrawl
cb8daaaee1
Do not query the texture's image in osgMyGUI::OSGTexture
...
Doing so could result in a race condition if the draw thread is about to delete the image (UnRefImageDataAfterApply enabled)
9 years ago
scrawl
5f34fb0c41
Remove call to MYGUI_DBG_BREAK which was removed in mygui-git
9 years ago
scrawl
0dbf44b414
Enable vertex buffer objects in MyGUI RenderManager now that OSG 3.4 is a dependency
9 years ago
scrawl
f898bf493f
Don't use Geodes
9 years ago
scrawl
9e53e12c70
More renaming of TextureManager -> ImageManager
9 years ago
scrawl
f99f403dda
Rename TextureManager to ImageManager
9 years ago
scrawl
e8662bea31
Change the way that image origin is converted to OpenGL's lower-left convention
...
Flip the texture coordinates instead of flipping textures.
This simplifies the TextureManager (no need to worry if the caller wants flipping or not), should make it easier to generalize & multithread it.
9 years ago
scrawl
e2ee1d5689
Use separate textures for the MyGUI RenderManager
...
This means we can more reliably set the filter parameters.
I believe this commit creates a regression where non-DDS GUI textures would display upside down, which will be addressed by further refactoring in the next commits.
9 years ago
scrawl
daa94cc50e
Fix cppcheck warnings
9 years ago
Alexander "Ace" Olofsson
37158df339
Update scalinglayer.cpp
...
MSVC Explicitly requires <algorithm> for std::min and/or max
9 years ago
scrawl
79b3f1e6a8
Small cleanup
9 years ago
scrawl
59aee04ddb
Implement ScalingLayer, for layouting of widgets in screen-relative coordinates
9 years ago
scrawl
57b9eafa0f
osgMyGUI: implement AdditiveLayer
9 years ago
scrawl
51f3a8fec6
osgMyGUI: move Platform methods to the .cpp file
9 years ago
scrawl
7ff168b787
osgMyGUI: add support for layers to insert custom rendering state
9 years ago
scrawl
c4866bdfc6
Disable mipmaps for GUI textures
...
For some reason, the mipmap generator seems to be broken on Linux Intel graphics (works on Nvidia). This was breaking the scrollbar arrows, which are minified enough to show using a mipmap.
10 years ago
scrawl
24ae1d5ace
Fix some issues found by coverity
10 years ago
scrawl
72686c32ae
Fix runtime exceptions on MyGUI debug builds
10 years ago
scrawl
bf9c62fa42
Fix for some coverity scan defects
10 years ago
scrawl
fc8e5dde3b
Fix crash when OSG_STEREO is enabled
10 years ago
scrawl
ab626ca7b9
Improve MyGUI widget creation performance
10 years ago
scrawl
dd23981eab
Font workaround for older MyGUI versions, works with 3.2.2 now
10 years ago
scrawl
10f938ff87
Add comment
10 years ago
scrawl
3dcb167066
Map rendering
10 years ago
scrawl
49df07ea7f
Implement UI scaling factor
10 years ago
scrawl
a18663c8b3
Improve MyGUI texture updates
10 years ago
scrawl
c843cfc8e2
Physics stub in preparation for rewrite
10 years ago
scrawl
48ffeab191
Remove old BulletShapeManager
10 years ago
scrawl
0da1e0e905
Add comment
10 years ago