Chris Robinson
cbf6c0404a
Implement a basic underwater sound environment
13 years ago
Sebastian Wick
092de45924
std::map to std::multimap
13 years ago
Sebastian Wick
653fbdd10c
master/plugin support; needs multimap instead of map
13 years ago
Marc Zinnschlag
751e7d2199
basic auto-equipping (picks the first matching item
13 years ago
Chris Robinson
575474ff69
Pass the mode flags to the sound output play methods
13 years ago
Sebastian Wick
ceedae4a1a
technical corrections
13 years ago
Chris Robinson
b2d7dca8c3
Merge remote branch 'zini/master' into sound
13 years ago
Chris Robinson
977e7ac9a3
Remove the Play_Single flag. It's not correct.
13 years ago
Chris Robinson
ae308b9b5f
Use a set of flags instead of separate booleans
13 years ago
Chris Robinson
e48d125a84
Only allow one instance of a given tracked soundid
...
The untracked flag should probably be broken up and combined with the loop
boolean into a set of flags.
13 years ago
Sebastian Wick
b7635b3d4a
pass maps by reference
13 years ago
Sebastian Wick
e35670c6cb
ignore syntax errors and empty lines; fixed merge function
13 years ago
Nikolay Kasyanov
5e829362cb
Feature #37 (In Progress) Render Path Grid
...
more similar to vanilla path grid rendering
13 years ago
Nikolay Kasyanov
006e1cde85
some updates after terrain merge
13 years ago
Nikolay Kasyanov
523648dbb1
Merge branch 'master' into pgrd-rendering
...
Conflicts:
apps/openmw/mwrender/debugging.cpp
13 years ago
Chris Robinson
bfac946878
Finally "fix" --nosound
...
Expect degraded performance with it. Looping sounds are constantly checked to
see if they're playing, and try to play it again when it's not.
13 years ago
Chris Robinson
7541e08909
Don't reset the sound Output device if init fails
13 years ago
Nikolay Kasyanov
057c2f2e2a
Merge branch 'master' into pgrd-rendering
...
Conflicts:
apps/openmw/mwrender/renderingmanager.cpp
13 years ago
Marc Zinnschlag
509650d5f3
Merge remote branch 'ace/fs-fix'
13 years ago
Marc Zinnschlag
6eb3281c4c
boost fix
13 years ago
Chris Robinson
28378c063b
Minor OpenAL_SoundStream cleanups
13 years ago
Marc Zinnschlag
222f0e20bc
Merge remote branch 'swick/initocfg' into initcfg
13 years ago
Chris Robinson
4e908aa095
Add a method to set the sound's position
13 years ago
Chris Robinson
b01289128b
Split OpenAL_Sound into separate classes for 2D and 3D sounds
13 years ago
Chris Robinson
5adeee20fd
Mute sounds that go outside the max distance
13 years ago
Sebastian Wick
849c3a9bec
add the section to the ini-keys
13 years ago
Sebastian Wick
c160bc7080
works, sort of
13 years ago
Sebastian Wick
fbd626baf6
mwiniimporter
13 years ago
Chris Robinson
fc167dbc83
Pass Ogre Vector3s to playSound3D and updateListener
13 years ago
Chris Robinson
fefc8f86ab
Remove the unused streamSound3D method
13 years ago
Chris Robinson
c33349a774
Merge remote branch 'zini/master' into sound
13 years ago
Marc Zinnschlag
0892df0ad3
framework for gamemechanics-realted actor updated
13 years ago
Marc Zinnschlag
a1d3516e0a
constness fix
13 years ago
scrawl
fc5cd703bb
maps are now rendered with correct rotation, however for interiors the arrow is wrong
13 years ago
Chris Robinson
1ee8b963d0
Store the sound listener position as well
13 years ago
Marc Zinnschlag
d717b7b9dd
factored out actor related game mechanics code into a separate class
13 years ago
Chris Robinson
fad27d99e6
Update the actual sound volume with the position
13 years ago
scrawl
a4576f043d
fixed the physics debug rendering now activates/deactivates properly
13 years ago
Chris Robinson
479df78ea1
Update the actual sound position after the listener
13 years ago
Marc Zinnschlag
8d7bf34348
Merge branch 'terrain'
13 years ago
Marc Zinnschlag
557e97bab4
fixed a terrain-related Redemption crash
13 years ago
Chris Robinson
71d9d7e943
Store the current sound position with the Sound object
13 years ago
Marc Zinnschlag
46279a001b
Merge remote branch 'scrawl/dialogue'
13 years ago
Marc Zinnschlag
2d2af4b28a
Merge remote branch 'scrawl/terrain18' into terrain
...
Conflicts:
apps/openmw/CMakeLists.txt
apps/openmw/mwrender/renderingmanager.hpp
components/esm_store/cell_store.hpp
13 years ago
scrawl
521b9eec6c
Merge branch 'master' into minimap
...
Conflicts:
apps/openmw/mwscript/docs/vmformat.txt
apps/openmw/mwworld/world.cpp
13 years ago
Chris Robinson
de102cd274
Simplify broken OpenAL workaround
13 years ago
Chris Robinson
33a63d88a5
Merge remote branch 'zini/master' into sound
13 years ago
scrawl
30d27fa83f
Merge branch 'master' into occlusionquery
...
Conflicts:
apps/openmw/CMakeLists.txt
apps/openmw/mwrender/renderingmanager.hpp
13 years ago
scrawl
26bdbf77f3
Merge branch 'master' into occlusionquery
13 years ago
Alexander "Ace" Olofsson
4a9a416d46
Can find files even if no .bsa file exists now
13 years ago
scrawl
4a6d034591
Merge branch 'master' into occlusionquery
...
Conflicts:
apps/openmw/CMakeLists.txt
apps/openmw/mwrender/renderingmanager.cpp
apps/openmw/mwrender/renderingmanager.hpp
components/esm_store/cell_store.hpp
13 years ago
scrawl
4bbedeb3e7
made all dialogs semi transparent (like in morrowind)
13 years ago
scrawl
d3f31c3498
dialogue window enhancements
13 years ago
Marc Zinnschlag
a90c3b9f23
Merge remote branch 'scrawl/water'
13 years ago
Marc Zinnschlag
cc9a874f2b
Merge remote branch 'corristo/openal'
13 years ago
scrawl
d5c49fa036
getWaterLevel use CellStore ; attempted fix for morrowind without tribunal
13 years ago
Chris Robinson
6a16e33f82
Merge remote branch 'zini/master' into sound
13 years ago
Nikolay Kasyanov
b21a6291f7
Merge branch 'master' into pgrd-rendering
...
Conflicts:
apps/openmw/mwrender/renderingmanager.hpp
apps/openmw/mwscript/docs/vmformat.txt
apps/openmw/mwscript/miscextensions.cpp
apps/openmw/mwworld/world.hpp
13 years ago
Nikolay Kasyanov
aab79599a9
Merge branch 'openal' into pgrd-rendering
13 years ago
Nikolay Kasyanov
b6aa8925f4
(Temporary) workaround for broken OpenAL implementations that doesn't return meaningful max counts of sources
13 years ago
Marc Zinnschlag
647c0e4df3
Merge remote branch 'scrawl/renderingdistance'
13 years ago
Marc Zinnschlag
eec135c040
Merge remote branch 'scrawl/water'
13 years ago
Chris Robinson
3d5384e2bb
Remove some unneeded casts
13 years ago
scrawl
8d224f009f
toggleFogOfWar script command
13 years ago
scrawl
0c2317ce9d
player arrow works again
13 years ago
scrawl
79c2a2e465
implemented toggleWater (twa); formatting again
13 years ago
scrawl
01ecf3e0be
attempt at rotation (BROKEN)
13 years ago
scrawl
35f40b99ad
remove the bounding box hack, not needed because calculation is correct now
13 years ago
scrawl
0332a8df96
Merge branch 'renderingdistance' into minimap
13 years ago
Marc Zinnschlag
10b4c1d904
silenced a warning
13 years ago
Marc Zinnschlag
ea79d9b7c3
Merge remote branch 'scrawl/renderingdistance'
13 years ago
scrawl
e22ae7c840
bounds fix (again)
13 years ago
scrawl
b2bdf0ebf3
Merge branch 'master' into minimap
13 years ago
scrawl
37e6db69d8
fix
13 years ago
scrawl
19c801f538
disabled rendering distance for now
13 years ago
scrawl
f45c650975
bounds fix
13 years ago
scrawl
2f096e131d
throw exception if water level is attempted to be modified in exterior
13 years ago
scrawl
5a19d4ec45
implement water script functions and save water height in CellStore
13 years ago
scrawl
f497813043
formatting, added Water::setHeight
13 years ago
Nikolay Kasyanov
c3357c4396
Merge branch 'master' into pgrd-rendering
...
Conflicts:
apps/openmw/mwrender/renderingmanager.cpp
apps/openmw/mwrender/renderingmanager.hpp
apps/openmw/mwscript/docs/vmformat.txt
13 years ago
Nikolay Kasyanov
0897a2a4cb
Merge branch 'master' into openal
13 years ago
scrawl
39b3afb98f
use camera height instead of player height for underwater check
13 years ago
Nikolay Kasyanov
20f976ddc7
probably openal initialization fix
13 years ago
Pieter van der Kloet
4488be33ce
Added missing slash to launcher CMakeLists.txt
13 years ago
scrawl
e5a19209a4
remove the timeout stuff
13 years ago
scrawl
cb72e812f9
Merge branch 'master' into renderingdistance
13 years ago
Marc Zinnschlag
a0c5ccf974
Merge remote branch 'lgro/valgrind'
13 years ago
scrawl
47c3e92db1
removed the unused ray scene query
13 years ago
scrawl
e6303fc3f4
Merge branch 'master' into water
...
Conflicts:
apps/openmw/CMakeLists.txt
apps/openmw/mwrender/renderingmanager.hpp
13 years ago
Lukasz Gromanowski
f86d53636d
Issue #225 : Correction to commit fa4c4b8
.
...
Correction to commit fa4c4b8
- memeber mChanged should be
set to true, otherwise the map won't display if the game
is started in (0, 0) cell.
13 years ago
scrawl
6bea08157e
Merge branch 'master' into terrain18
13 years ago
scrawl
ecf99f3309
Merge branch 'master' into minimap
13 years ago
scrawl
29acb057b3
Merge branch 'master' into occlusionquery
13 years ago
scrawl
cc7d3af701
Merge branch 'terrain18' into occlusionquery
13 years ago
Marc Zinnschlag
34d9ad0cbd
Merge remote branch 'chris/sound' into next
13 years ago
Marc Zinnschlag
2b2eb34f8f
Merge remote branch 'corristo/master' into next
13 years ago
Chris Robinson
bedf56a237
Merge remote branch 'zini/next' into sound
13 years ago
Chris Robinson
be337ef7cc
Return SoundPtr objects from playSound[3D]
...
Note that each Sound object currently contains "precious" resources even after
the sound is stopped. The reference should be reliquished as soon as it's no
longer needed (the SoundManager will make sure the sound continues to play
until it's finished).
13 years ago
Chris Robinson
293f33914e
Use a deque fpr OpenAL's free sources
13 years ago
Chris Robinson
a3291ef360
Add a sound method to update the volume
13 years ago
Chris Robinson
7008bd2fe1
Store some sound properties in the Sound class
13 years ago
Chris Robinson
c072babd17
Better handle bad OpenAL source counts
13 years ago
Chris Robinson
089c340935
Switch the map so the SoundPtr is used as a key
13 years ago
gugus
ddb35b77ff
Merge branch 'next' of https://github.com/zinnschlag/openmw.git into Factions2
13 years ago
gugus
0c61f0d294
test stuff
13 years ago
Nikolay Kasyanov
66b31d3d43
Bug #229 (Fixed): On OS X Launcher cannot launch game if path to binary contains spaces
13 years ago
scrawl
4249d2c536
add getNorthVector method
13 years ago
scrawl
72ff7ec030
Merge branch 'next' into occlusionquery
...
Conflicts:
apps/openmw/mwrender/sky.cpp
13 years ago
Lukasz Gromanowski
fa4c4b8f21
Issue #225 : Initialize members in class constructor.
13 years ago
scrawl
43b1f896f4
fix object pickup when player is very close to object
13 years ago
scrawl
8f6d10f229
fix uninitalised stuff
13 years ago
Marc Zinnschlag
a996cfed71
Merge remote branch 'ace/win-fixes' into next
13 years ago
Chris Robinson
c6c06f1140
Return SoundPtr objects from the playSound and streamSound methods
13 years ago
Jacob Essex
ec21ff21cc
Removed memory leak, allocated more on the stack
13 years ago
scrawl
e398c51f8a
remove unneeded render queue workaround
13 years ago
Chris Robinson
f0db2ab82f
Split stopSound3D into separate functions to deal with stopping all sounds on an object
13 years ago
Chris Robinson
033faba9c4
Make a function parameter const
13 years ago
Chris Robinson
c2611d035c
Use a pair to match the MWWorld::Ptr object and sound ID, instead of nested maps
13 years ago
Marc Zinnschlag
9863195f09
Merge remote branch 'lgro/valgrind' into next
13 years ago
Marc Zinnschlag
e56731d25e
Merge remote branch 'scrawl/deletefix' into next
13 years ago
Jacob Essex
b76b62e5e4
Fixed a crash when there were cells with no data, refactored to remove non mutable data from CellStore
13 years ago
scrawl
bb09c2189a
lower rendering distance for small objects (reduce batch count)
13 years ago
Alexander "Ace" Olofsson
55f1053b4f
Windows fixes for compiling and linking
13 years ago
Lukasz Gromanowski
be94da1527
Issue #225 : Initialize class members in constructor.
13 years ago
Lukasz Gromanowski
6d6ed909bf
Issue #225 : Deallocate memory used by actors animations.
13 years ago
scrawl
bf421d2873
use vector instead of array
13 years ago
scrawl
18c2b5eb0a
Merge branch 'next' into occlusionquery
13 years ago
scrawl
bb3f3ce1db
bugfix
13 years ago
scrawl
28dfba55e0
delete fix
13 years ago
Lukasz Gromanowski
5185a28b60
Issue #225 : Initialize all class members in constructor.
13 years ago
Chris Robinson
0d552c10bc
Use an empty MWWorld::Ptr object for non-3D sounds
13 years ago
Chris Robinson
7b3ecc290e
Fix compilation with older OpenAL headers
13 years ago
Chris Robinson
f8f749dbec
Merge remote branch 'zini/next' into sound-rewrite
13 years ago
scrawl
4ee03cd61f
handle timeout
13 years ago
scrawl
98a33a7fc6
fix
13 years ago
scrawl
382fa6ac68
fixes
13 years ago
scrawl
53d4be5cf6
object pickup should work everywhere
13 years ago
Marc Zinnschlag
d993766ee1
Merge remote branch 'pvdk/garamond' into next
13 years ago
Chris Robinson
3e98e28059
Use a better method to get a more even randomization
13 years ago
Chris Robinson
2bc81a778b
Merge remote branch 'zini/next' into sound-rewrite
13 years ago
scrawl
f959a5cbeb
auto adjust size of map window title bar
13 years ago
Pieter van der Kloet
155cd76f37
Changed Launcher font to EB Garamond and added license info
13 years ago
scrawl
9d30a139cc
added api
13 years ago
scrawl
e212a32350
bugfix
13 years ago
scrawl
743ea0c9be
use hardware occlusion query for sun glare effect
13 years ago
Chris Robinson
71d3f9bd51
Get the object reference's position once when updating its sounds
13 years ago
scrawl
5fba52c238
Merge branch 'terrain18' into occlusionquery
...
Conflicts:
apps/openmw/CMakeLists.txt
apps/openmw/mwrender/renderingmanager.hpp
13 years ago
scrawl
99b2b6b648
ogre 1.8 fixes
13 years ago
scrawl
f2a7acb102
Merge branch 'next' into terrain
...
Conflicts:
apps/openmw/CMakeLists.txt
apps/openmw/mwrender/renderingmanager.cpp
13 years ago
scrawl
f4898539e9
added some code that doesn't do anything yet, waiting for ogre 1.8
13 years ago
Chris Robinson
5cb90ab704
Add some dummy copy constructors and assignment operators to prevent implicit versions from being used
13 years ago
Marc Zinnschlag
9ec1e55aaf
Merge remote branch 'scrawl/minimap' into next
13 years ago
Chris Robinson
fa70a72b75
Remove some unused sound manager fields and constructor parameters
13 years ago
scrawl
a6259a1b0d
bugfixes
13 years ago
scrawl
7a3034701f
functional HUD map
13 years ago
scrawl
a1f80e029e
abstracted some code to be reused for hud
13 years ago
scrawl
789fbb460f
move implementation to .cpp
13 years ago
scrawl
ce63d29d4a
rotate hud player arrow
13 years ago
gugus
319022d962
speed up dialogue start-up.
13 years ago
gugus
f9bb19fcdc
begining factions
13 years ago
scrawl
06fa310e29
player arrow rotated correctly
13 years ago
scrawl
b8f962a68d
Merge branch 'next' into shaders
13 years ago
scrawl
770b0f2106
gui changes
13 years ago
scrawl
9c3e1f48f0
player arrow
13 years ago
Chris Robinson
1ccddefe28
Properly report the default device when opening sound fails
13 years ago
scrawl
8e299bd25b
remove unuseful std::cout
13 years ago
scrawl
2dd329938a
automatically zoom in on the player while moving
13 years ago
Chris Robinson
2f0af42261
Use the ALC_ENUMERATE_ALL_EXT extension with OpenAL when available
13 years ago
Chris Robinson
277597c567
Fix DEFAULT_OUTPUT for OpenAL_Output
13 years ago
Chris Robinson
2e28819243
Avoid trying to play an ambient sound if there's no chance for any to play
13 years ago
scrawl
9076401892
Merge branch 'next' into terrain
...
Conflicts:
CMakeLists.txt
apps/openmw/CMakeLists.txt
13 years ago
scrawl
6067053f08
Merge branch 'next' into water
...
Conflicts:
CMakeLists.txt
13 years ago
scrawl
cf3515a898
it is now possible to drag the minimap with the mouse
13 years ago
scrawl
cc9f20a04f
MW_MapView skin
13 years ago
scrawl
ab9aa1ba74
Merge branch 'next' into minimap
...
Conflicts:
files/mygui/openmw_map_window_layout.xml
13 years ago
Marc Zinnschlag
47bcbdef17
Merge remote branch 'scrawl/mygui' into mygui
13 years ago
scrawl
d1508f5a59
List -> ListBox
13 years ago
scrawl
560e702973
fixed scroll bars
13 years ago
scrawl
26aae9d2ce
fix class name typo
13 years ago
scrawl
161d519206
fixed the dialogue history topic selection
13 years ago
Pieter van der Kloet
73a1b256a8
Changed warning dialog text to be less ambiguous
13 years ago
Pieter van der Kloet
fd4826d06f
Fix for Bug #222 , config is always written to user location now
13 years ago
Marc Zinnschlag
47828f91f0
Issue #217 : added getWeight function to ContainerStore
13 years ago
Chris Robinson
bac6df5563
Avoid leaking an ffmpeg stream
13 years ago
Chris Robinson
15317796bf
Handle the wav -> mp3 extension conversion in the sound output backend
13 years ago
Chris Robinson
f11e3e39a1
Add an enumerate method to the sound output interface
13 years ago
Chris Robinson
366c97c492
Use a separate method to check for finished sounds and update the listener
13 years ago
Chris Robinson
e6fe1c0261
Remove a mostly unneeded wrapper function
13 years ago
Chris Robinson
aecc77a73c
Replace the sound file extension when opening fails
...
This should make it more efficient to lookup a sound instead of checking each
time it's played. A better method would perhaps be to check if the resource
exists when the ESM is loaded and replace it then as needed.
13 years ago
Chris Robinson
8056a7f20b
Throw an exception when looking up a sound instead of returning an empty string
13 years ago
Chris Robinson
9a139f511f
Avoid redefining SOUND_IN
13 years ago
Chris Robinson
56c3b988cc
Avoid copying the region when looking for a sound to play
13 years ago
Chris Robinson
8c5f85ca83
Use a local variable to mark sound streams as finished while processing
...
This avoids a race condition where the source can underrun while the final
buffers are being queued and the sound can be detected as stopped
13 years ago
Chris Robinson
6a85ef1229
Set Ogre's data stream to NULL when closing the audio file
13 years ago
Chris Robinson
0d973ac8ff
Use the vector's data field instead of the address of the first element
...
Same thing really, but less convoluted
13 years ago
Chris Robinson
fd8326e958
Better handle some ffmpeg errors
13 years ago
scrawl
9b31b6272f
fixed the mouse cursors and fixed MWAttribute & MWSkill
13 years ago
scrawl
64212c0ee6
replaced all the StaticImage and StaticText in code
13 years ago
scrawl
b0b41a9199
should now compile warning free
13 years ago
scrawl
97ab48993e
more deprecated fixes
13 years ago
scrawl
deeb21a131
switched to the new multi-delegates system
13 years ago
Marc Zinnschlag
3dcfcf46cb
Issue #217 : container change tracking
13 years ago
Marc Zinnschlag
a0ee2954bd
Issue #217 : moved some functino implementations from ptr.hpp to ptr.cpp
13 years ago
Marc Zinnschlag
0adbe258fd
Issue #217 : made Ptr track container; fixed a cmake script bug
13 years ago
Chris Robinson
7b22ee6fd1
Use for_each to clear the ffmpeg stream packets
13 years ago
Chris Robinson
2989a1e06e
Improve ffmpeg failure messages
13 years ago
Chris Robinson
26a441f29a
Add a readAll method to the sound decoder, for potentially more efficient reading
13 years ago
Chris Robinson
deb473b9ae
Implement the ffmpeg decoder
13 years ago
Chris Robinson
9a48002025
Fix compilation of the FFmpeg decoder
13 years ago
Chris Robinson
e48745b68e
Fix streamMusic's path lookup
13 years ago
scrawl
d451d7bb67
compile fixes for mygui 3.2
13 years ago
scrawl
66baf9ec81
Merge branch 'master' into mygui
13 years ago
Chris Robinson
fc27d5cc19
Restore music playback
13 years ago
Chris Robinson
5ae47f783e
Use the sound manager's update to make sure music is still playing
13 years ago
Chris Robinson
0261aac518
Use Ogre's resource group manager to handle sound files
13 years ago
Chris Robinson
80dbf82a74
Explicitly stop sounds instead of relying on their deletion to do it
13 years ago
Chris Robinson
74e79bb4af
Merge remote branch 'zini/master' into sound-rewrite
...
Conflicts:
apps/openmw/mwsound/soundmanager.cpp
apps/openmw/mwsound/soundmanager.hpp
13 years ago
Marc Zinnschlag
1023ddd587
silenced some warnings
13 years ago
Marc Zinnschlag
4d0d941c2e
Merge remote branch 'kromgart/master'
13 years ago
Marc Zinnschlag
2d135d81e7
Merge remote branch 'lgro/glibc_pthreads_fix'
13 years ago
Marc Zinnschlag
6a0474a977
removed some cout spam
13 years ago
Marc Zinnschlag
aca274cbca
Merge remote branch 'gus/DialogueSystem'
13 years ago
Marc Zinnschlag
ef711ffdc1
Merge remote branch 'scrawl/weather'
13 years ago
Pieter van der Kloet
0b517d15c1
Made missing data files dialog less scary and added exception handling for esmreader
13 years ago
Jason Hooks
2b3e75718c
Updating everything
13 years ago
Jason Hooks
ed7cb1dc67
restarting
13 years ago
scrawl
04c6f23a2b
disabled solstheim weather (we can't travel there anyway)
...
also, there was a bug that could cause this weather to show up on
morrowind, which is fixed now
13 years ago
gugus
7a1ff61541
Merge branch 'master' of https://github.com/zinnschlag/openmw.git into DialogueSystem
13 years ago
Chris Robinson
fd37a4827c
Enforce a 15MB limit on the sound buffer cache
13 years ago
Lukasz Gromanowski
fc95917253
Fix for not visible pthreads function with glibc 2.15
...
Linking error will appear:
Linking CXX executable ../../openmw
/usr/bin/ld: CMakeFiles/openmw.dir/__/__/components/bsa/bsa_archive.cpp.o: undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_mutexattr_settype@@GLIBC_2.2.5' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
if we don't add explicitly pthreads library to linker flags
after update glibc to version 2.15 on (Arch) Linux.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
13 years ago
Roman Melnik
88979577db
Change 'nullptr' to 'NULL' (after fixing bug#192 in previous commit)
13 years ago
Chris Robinson
04638516b2
Check for stopped active sounds too and remove them
13 years ago
Roman Melnik
a9759c3f33
Fix bug #192 : Remove the focus from the console when console is closed
...
(set current keyFocusWidget to nullptr)
13 years ago
Marc Zinnschlag
b46a2bfa01
Merge remote branch 'werdanith/journalmessage'
13 years ago
Marc Zinnschlag
f2a47d421b
some cleanup
13 years ago
Michael Papageorgiou
82c4bfbf18
Add a notification when the journal is updated
13 years ago
gugus
d4f3430fc6
fix: topics who should not be displayed are not displayed anymore.
13 years ago
Chris Robinson
6c45d6668b
Cache OpenAL buffers for easy reuse
13 years ago
gugus
2707391535
fix for questions
13 years ago
gugus
11569819db
compilation fix
13 years ago
gugus
ba4d44eb67
fix for questions.
13 years ago
Chris Robinson
91821ccd8c
Add the sound stream to the thread after resetting the mIsFinished flag
13 years ago
Chris Robinson
db46bf39b3
Add a rewind method to the sound decoder
13 years ago
Chris Robinson
afa2cb6de7
Stop trying to read decoded audio once it's finished
13 years ago
Chris Robinson
4f69972a9c
Add a method to stream a sound in 3D
13 years ago
Chris Robinson
ae8218bf03
Allocate OpenAL sources when opening the device
...
This allows sources to be more efficiently retrieved and returned
13 years ago
Chris Robinson
8f9d4ff841
Use 6 125ms buffers for OpenAL streams
13 years ago
Chris Robinson
dc6354b2f9
Add functions to get string names for sample types and channel configs
13 years ago
Chris Robinson
4a0b5b7918
Increase the sound stream thread sleep time to 50ms
13 years ago
Chris Robinson
4698e8c0a2
Make the sound stream thread object per-device
13 years ago
Chris Robinson
2c27827e4f
Add some comment markers to the OpenAL sound classes
13 years ago
Chris Robinson
e234b90173
Use a loop to find the OpenAL format from the decoder format
13 years ago
Chris Robinson
6a256d3993
Make sure the OpenAL stream list is clear before shutting down
13 years ago
Jason Hooks
fe9e6a732c
Some cleanup
13 years ago
Jason Hooks
51fb9e67cd
Merge
13 years ago
gugus
7ca0503205
Merge branch 'master' of https://github.com/zinnschlag/openmw.git into DialogueSystem
13 years ago
gugus
1a832a65f6
Changed a lot of things. Topics can now change durring dialogue without bug.
...
Missing: ability to remove keyword
13 years ago
Chris Robinson
7194114669
Use a background thread to keep OpenAL streams fed
...
Maybe this could be moved to the SoundManager instead of in OpenAL, but it's
good enough for now.
13 years ago
Michael Papageorgiou
d10b18b0f3
Removed a couple of warnings with nosound
13 years ago
gugus
ff5d4b24fc
journal filter works now
13 years ago
Michael Papageorgiou
f567950e25
Fix for the --nosound crash
13 years ago
Marc Zinnschlag
af39275a63
Merge remote branch 'scrawl/weather'
13 years ago
scrawl
1907e21207
removed preprocessor constants
13 years ago
scrawl
c2329b7027
removed preprocessor constants
13 years ago
Chris Robinson
b938fd7b36
Make the sound output init return void
13 years ago
Chris Robinson
1965b5bc79
Rename some Sound class member functions
13 years ago
Chris Robinson
403e51cef3
Move the sample type and channel config enums to MWSound and give use appropriate names for the values
13 years ago
Chris Robinson
efae7dfe83
Rename some sound decoder class member variables and functions
13 years ago
Chris Robinson
9656456d30
Make sure the sound decoders are closed when they're finished with
13 years ago
Chris Robinson
362e254720
Rename some more sound class member variables and functions
13 years ago
Chris Robinson
162642e672
Prefix some SoundManager class member variables
13 years ago
gugus
9c85a8c1ce
Merge branch 'dialogue' of https://github.com/zinnschlag/openmw.git into DialogueSystem
13 years ago
Marc Zinnschlag
ce2cb709c5
fixed getJournalIndex function
13 years ago
gugus
00d3bc9d23
every filters are check during dialogue now. There is a problem with journal.
13 years ago
gugus
7f2ff6f5f1
removed the TODO
13 years ago
gugus
4afe6dd235
death filter
13 years ago
gugus
48e6a42168
Merge branch 'dialogue' of https://github.com/zinnschlag/openmw.git into DialogueSystem
...
Conflicts:
apps/openmw/mwdialogue/dialoguemanager.cpp
13 years ago
gugus
34b33b78d2
better filters
13 years ago
Marc Zinnschlag
76b24d9d1a
fixed a compile error
13 years ago
Chris Robinson
2f92559fc7
Use OpenAL's linear attenuation model
...
We should use the inverse distance clamped model (the default), but we first
need to handle muting sounds that are beyond their max distance. Linear
attenuation doesn't give a proper rolloff, but it makes the sounds silent at
max distance.
13 years ago
gugus
8740354c80
inventory filter now use player inventory
13 years ago
Chris Robinson
a256b9a7b0
Remove a comment about Audiere
13 years ago
gugus
019a28093b
better filters
13 years ago
scrawl
3a00fbb950
removed mygui from source tree and use system install instead
13 years ago
Marc Zinnschlag
d9677cb33e
fixed problem with parsing optional string arguments
13 years ago
gugus
100c6a42a5
better default values for filters
13 years ago
Marc Zinnschlag
655f9fe920
Merge remote branch 'k1ll/staticogre'
13 years ago
Marc Zinnschlag
af875896ad
fix for issue #179
13 years ago
Chris Robinson
3fea3e7d25
Fix stereo files with libsndfile
13 years ago
Chris Robinson
f7ac94d686
Pass the new position to the sound update method
13 years ago
Chris Robinson
44fc204864
Avoid passing a sound decoder to the play methods
13 years ago
Chris Robinson
ddfa906922
Add a missing include
13 years ago
Chris Robinson
a69ec91242
Remove some unnecessary wrappers and do some small cleanups
13 years ago
Marc Zinnschlag
187b8e58d6
fixed handling of optional instruction/function arguments; removed choice workaround
13 years ago
Chris Robinson
a91085a1b9
Add a couple comments
13 years ago
Chris Robinson
7160d20db3
Be more consistent with the vector orientations given the sound handler
13 years ago
Chris Robinson
cbeff4657f
Pass the loop and untracked flags when playing a 3d sound
13 years ago
Chris Robinson
87adf6002a
Fix a copy-paste typo in the openal output
13 years ago
Chris Robinson
5563f583ff
Add and implement methods to update tracked sounds on an object
13 years ago
Chris Robinson
979ae89aab
Pass volume and pitch parameters to streamed sounds
13 years ago