Commit Graph

50 Commits (master)

Author SHA1 Message Date
elsid 3915e5d2cc
Always center loading screen progress bar by height when there is active message box
To fix all possible situations when active message box overlaps with loading
screen progress.

The only used condition to center loading screen progress by height is
number of message boxes > 0. No need to pass it through interface.
LoadingScreen can check it inside setLabel function.
4 years ago
jvoisin 9522a64e7d Remove some useless includes from apps/openmw/mwgui 4 years ago
madsbuvi 663e0a1055 Fix a race condition in loading screen. 4 years ago
Mads Buvik Sandvei eec2ba3623 Loading screen initialdrawcallback 4th time's the charm 4 years ago
psi29a 96a87b582c Merge branch 'loadingScreen_initialdrawcallback' into 'master'
Fix for !472 for older versions of OSG

See merge request OpenMW/openmw!474

(cherry picked from commit 35e25d79b9a6c76807084be5ca2584c4fd9b9c35)

4447dd41 osg versions
06f4d63b Preserve callback in older osg version
4 years ago
Mads Buvik Sandvei 640420eaaa No longer delete and recreate CopyFramebufferToTextureCallback, remove oneshot functionality. Instead just remove the callback after the traversals. Use addInitialDrawCallback instead of setInitialDrawCallback to avoid messing with existing callbacks. 4 years ago
Andrei Kortunov 8ca3c3b123 Mark overrided methods by override keyword 4 years ago
Bret Curtis 9446cece62 Issue #5468: Apparently this was always a problem but OP made "nested loading" more visible. This should resolve nested loading correctly. 5 years ago
bzzt lost a hitlab login 0b4226f3e2 ico effieciency
Signed-off-by: Bret Curtis <psi29a@gmail.com>
5 years ago
Capostrophic 216e1ab16f Always include <memory> for smart pointers in MWGui 6 years ago
Andrei Kortunov 6e05853478 Center progress bar when there are active messageboxes (bug #4691) 6 years ago
Miloslav Číž 3ae5310567 use loading screen to freeze the screen 7 years ago
scrawl 12510efab7 Fade screen out during loading screen (when travelling) 7 years ago
scrawl 8c6a8ca48d Respect the framelimit in all cases (Fixes #3531)
Affects loading screen, videos & modal dialogs. Also skips rendering if window is minimized.
7 years ago
scrawl 4fba157d3b Implement releaseGLObjects for cached resources 7 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 83a9435167 Fix unnecessary use of CopyFramebufferToTextureCallback when loading is too fast for a loading screen to be displayed 8 years ago
scrawl d5a2586f38 LoadingScreen: add support for important labels
Used in saveGame so the player can be sure whether or not the game was saved.

Fixes #3074
9 years ago
scrawl 625644e917 LoadingScreen: documentation updates 9 years ago
scrawl 152f1d625d LoadingScreen: remove unused declarations 9 years ago
scrawl ccbba5e926 LoadingScreen: remove indicateProgress, not used 9 years ago
scrawl 69f234d97b Small delay before the loading screen shows
Kinda irritating to have the loading bar pop up for a fraction of a second.
9 years ago
scrawl 0330d3d61e Restore the "transparent" loading screen 10 years ago
scrawl 3dcb167066 Map rendering 10 years ago
scrawl 52a4456cf7 LoadingScreen update 10 years ago
scrawl 9de575ad42 Use IncrementalCompileOperation to incrementally upload OpenGL objects during the loading screen
For now, not much difference, but should result in a sizable speed up once MyGUI no longer needs the DYNAMIC flag (i.e. the loading screen truly renders in the background).
10 years ago
scrawl 31ead3a9f4 Increase loading screen FPS
Now that it's rendered in a background thread, we can have a smooth loading bar at virtually no performance cost.
10 years ago
scrawl 351fd842fd Port loading screen 10 years ago
scrawl 5b9d10f851 Reduce includes in MWGui 10 years ago
scrawl 37e11b7272 Adjust loading box size for large captions 10 years ago
scrawl 6cb9382bf0 Adjust screen-sized widgets automatically using Stretch align 11 years ago
scrawl 577ed3943b Show wallpaper when loading a savegame 11 years ago
scrawl 27a05027f4 Fixes #1172: Added basic loading/saving progress bar
The progress is not particularly accurate. It simply uses the current / total number of records written/read as indication. Cell records are currently the largest by far, but there is a good chance that could be optimized using a change tracking system.
11 years ago
scrawl f5810b8e1c Consider aspect ratio for loading screen background
More consistent with the main menu.
11 years ago
scrawl edb5a54092 Include some more required Ogre headers explicitely. 11 years ago
scrawl f504ab42fe Turn off vsync while in the loading screen 11 years ago
scrawl d3d6dfbde8 Refactored loading screen
- Add loading progress for data files, global map, terrain
 - Refactored and improved cell loading progress
12 years ago
Britt Mathis 6128b9276f Removed non-essential includes from all MWGui header files. 12 years ago
Britt Mathis f7383905b7 Finally eliminated calls to MWBase::WindowManager in constructors 12 years ago
Britt Mathis ce9bc6d9ba MwGui windowManager calls fixed to use MWBase::Environment::get().getWindowManager, filenames in MwGui now comply with naming conventions 12 years ago
scrawl aac2ba1d5f Fix loading screen looking for wallpapers in a fixed group. 12 years ago
scrawl 608c112f34 Supply the new render window to mygui 12 years ago
Nathan Jeffords 9afe4467d8 cache results of query for spash screen names
ResourceGroupManager::listResourceNames returns a list of all resource
accessable which is expensive, this change caches the result of the
processed query so additional splash screen changes are quicker.
12 years ago
scrawl 7ad80e306b fixed the disappearing 12 years ago
scrawl 2f0b47fc38 test 12 years ago
scrawl a96ed6ac61 splash screens on startup 12 years ago
scrawl a8d9aa98b1 some fixes 12 years ago
scrawl d5a08e31e7 scene does not disappear anymore during load 12 years ago
scrawl 369db182de actual progress bar, performance optimization 12 years ago
scrawl 2b339f6c0f loading screen 12 years ago