Chris Robinson
f9e18cd966
Prepare all Sound_Buffer objects when one is needed
...
This simply sets up the Sound record data to be used by the sound output. The
actual audio buffers, stored in the Sound_Handle, are still loaded on-demand.
9 years ago
Chris Robinson
6c3953766e
Use separate lists for the sound name and its buffer
...
This should make sound lookup a bit more efficient, especially when an integer
ID can be used.
9 years ago
Chris Robinson
fbfcc4050f
Stream voice clips
...
Voices tend to be a bit long, and not individually replayed often. So it's
better to stream them instead of loading theminto a sound buffer. The loudness
data is very small, though, so that can be kept buffered indefinitely.
9 years ago
Chris Robinson
eee6a19e31
Add a method to stream sounds in 3D
9 years ago
Chris Robinson
f1a1dc8408
Pass relevant sound parameters to the OpenAL_SoundStream constructor
9 years ago
Chris Robinson
83721092f2
Refactor the audio streaming code to be a bit saner
9 years ago
Chris Robinson
16f72886e9
Use separate lists for openal sounds and streams
9 years ago
Chris Robinson
0f33f41d8d
Actually unload sounds when running over
9 years ago
Chris Robinson
22a6811425
Limit the sound buffer cache to 15MB
9 years ago
Chris Robinson
0b2747098c
Keep track of unused sound buffers
9 years ago
Chris Robinson
4073495070
Add some missing sound handling
9 years ago
Chris Robinson
e362896817
Combine some duplicate code
9 years ago
Chris Robinson
febc7b510a
Remove an unneeded method
9 years ago
Chris Robinson
3fdc3c4ea9
Use a separate map for say sounds
...
Also restores lip movement
9 years ago
Chris Robinson
9d0018e1bc
Reorder active sound data to make lookup by Ptr better
9 years ago
Chris Robinson
495e138907
Load sound loudness and store it with the Sound_Buffer
...
Still not used for say yet, though
9 years ago
Chris Robinson
f4c22ec49e
Hold a separate list for voice sound buffers
...
This fixes say. Ideally voices would be streamed, but the loudness/"lip" buffer
extraction should be separated from the buffer loading code.
9 years ago
Chris Robinson
4571218827
Load the sound as needed and pass it directly to the play methods
...
This breaks say sounds, loudness handling, and the cache limit. Fixes are
forthcoming.
9 years ago
Chris Robinson
e2beefd8b5
Store info calculated from the ESM::Sound record
9 years ago
scrawl
edfcb45ad7
Fix crash when onPcEquip script removes the equipped item ( Fixes #3016 )
9 years ago
cfcohen
e0752ccdd0
Prioritize warning about user settings. Make recommendations for
...
screen number more generic. Remove resolution recommendation.
9 years ago
scrawl
1b77428c59
Use const reference, thanks ace13
9 years ago
scrawl
dca1674133
Merge remote-tracking branch 'upstream/openmw-37' into HEAD
9 years ago
cfcohen
6882e6451a
Remove tabs. :-[
9 years ago
cfcohen
9a975a2e68
Substantial rewrite of code to save settings.cfg file, allowing
...
comments to persist, ordering of settings to be retained, additional
reporting of changed settings, preservation of the settings.cfg
timestamp when no changes are made, and foundational changes for
possible future features. Due to poor interaction with the
openmw-launcher settings code, the launcher will still discard all of
these benefits.
9 years ago
cfcohen
89100088f3
The latest version of the settings.cfg without any code changes.
9 years ago
cfcohen
d7e27fa9f4
New brief comments version of settings.cfg.
9 years ago
cfcohen
89329dfbaf
Merge remote-tracking branch 'upstream/master'
9 years ago
sandstranger
16c6816a6f
add forgotten file for building on opengles
9 years ago
sandstranger
69acacefff
openmw building on Android with Opengl es
9 years ago
Marc Zinnschlag
da856eed95
Merge remote-tracking branch 'origin/master'
9 years ago
scrawl
3fe38e3556
Remove unused setting
9 years ago
cfcohen
7b64b35eb3
Added comments (and commentary) to the settings-default.cfg file.
9 years ago
scrawl
71cd57a3b5
Optimize World::getTimeStamp
...
World::getTimeStamp was searching through the globals store on every call. Not a big issue, but slow enough to show up in the profiler.
9 years ago
scrawl
38510a56c2
GeomMorpherController: do not dirty the MorphGeometry unless necessary
9 years ago
scrawl
0d49c7fa51
GeomMorpherController: fix double update of MorphGeometry
9 years ago
scrawl
28b20428b9
Remove dynamic_cast in GeomMorpherController
9 years ago
scrawl
94e8560bf8
RigGeometry: do not allocate new NodePath every frame
9 years ago
scrawl
6d5aa272fc
RigGeometry: do not update the geomToSkelMatrix more than once per frame
9 years ago
scrawl
75a464f7ec
Fix a typo
9 years ago
scrawl
fc7456e0a1
Explicitely opt for float matrices in performance critical places
9 years ago
scrawl
ffea9ec2c4
Remove comment
...
SharedStateManager::prune is run automatically during the update traversal.
9 years ago
scrawl
62169a7039
Use a single-precision PositionAttitudeTransform in speed critical places
9 years ago
scrawl
3c4d3d4bd2
Merge pull request #815 from corristo/openmw-37
...
OS X: use TGA, PNG & JPEG plugins instead of ImageIO plugin
9 years ago
Nikolay Kasyanov
2108e96c15
OS X: use TGA, PNG & JPEG plugins instead of ImageIO
...
Using ImageIO is troublesome when one needs to read an image from memory,
see for the details: https://forum.openmw.org/viewtopic.php?f=20&t=2949&start=220#p35531
9 years ago
scrawl
34350ddeb1
Fix bug #3028
9 years ago
scrawl
c882dbbb29
Merge pull request #814 from cfcohen/master
...
One more tooltip fix.
9 years ago
cfcohen
b507d5da5d
One more tooltip fix. This one in the review dialog with Socucius Ergalla.
9 years ago
Marc Zinnschlag
99500f4021
make initial size of script error panel configurable ( Fixes #2996 )
9 years ago
Marc Zinnschlag
f5c61ee616
remember script error panel height per scriptsubview
9 years ago