Chris Robinson
0edc87825d
Move audio_clock to the decoder where it's used
12 years ago
Chris Robinson
4561c22e2b
More fixes for the audio clock
...
The audio_clock for the decoder represents the end of the current packet, so it
needs to be adjusted back to match the position that's actually going to be
read next.
12 years ago
Chris Robinson
1a771ae671
Merge the stream struct into the parent decoder
12 years ago
Chris Robinson
5fff1c4e47
Update the ffmpeg decoder to use avcodec_decode_audio4
12 years ago
Chris Robinson
5f4c33f896
Only store one packet at a time
12 years ago
Chris Robinson
9d86890d9d
Only use one stream for the ffmpeg decoder
12 years ago
scrawl
a3bd3a40ca
fix 2 unrelated leaks
12 years ago
scrawl
18623a5efe
Merge branch 'videoplayback' of https://github.com/ChrisKCat/openmw into videoplayback
12 years ago
scrawl
edf18a7d6e
change destruction order to fix crash on exit when a video is playing
12 years ago
Chris Robinson
c869444dcf
Don't leak the IO context if avformat_open_input fails
12 years ago
scrawl
63e86555b6
use sample_aspect_ratio if available
12 years ago
scrawl
5ed04ae53e
added black bars
12 years ago
Chris Robinson
e6d27cd6d0
Merge remote-tracking branch 'scrawl/videoplayback' into videoplayback
12 years ago
Chris Robinson
9b3cf5c159
Use a looping thread to trigger refreshes
12 years ago
Chris Robinson
fa1ad381da
Make sure packets are cleaned up properly
12 years ago
scrawl
7477345481
fixed video material
12 years ago
Chris Robinson
db23c8152e
Only duplicate AVPackets as needed
...
Packets that don't have a destruct method are using static memory, which will
only be valid until the next av_read_frame call. Otherwise, it's already
dynamically allocated and will remain valid.
12 years ago
Chris Robinson
6008cf0d15
Remove unneeded video_current_pts field
12 years ago
Chris Robinson
da44141b95
Avoid creating extra texture unit states on the video material
12 years ago
Chris Robinson
d50698d7d1
Clean up the rectangle and scene node used for displaying the video
12 years ago
Chris Robinson
eb0e8d9e37
Simplify PacketQueue::get
12 years ago
Chris Robinson
b41a77648e
Avoid re-reading the source sample to duplicate, to avoid pointer aliasing
12 years ago
Chris Robinson
62a995d492
Calculate audio sync once per read
12 years ago
Chris Robinson
32b0a5d96e
Update the queued sample count immediately
12 years ago
Chris Robinson
cbdf6ad595
Move more stuff to where it should be, and improve cleanup
12 years ago
Chris Robinson
71ff90aaee
Don't use sub-frame timing for the video clock
12 years ago
Chris Robinson
582efcdb9b
Always try to resync if the clock difference is large
12 years ago
Chris Robinson
f97eaec7ab
Consolidate some code
12 years ago
Chris Robinson
d66d8a3118
Don't assume we can write beyond the end of the sample buffer
12 years ago
Chris Robinson
7332ffb0f8
Let the wanted sample size go down to 0
12 years ago
Chris Robinson
05c6483257
Fix external clock
12 years ago
Chris Robinson
2f37d31108
Move some definitions into the source file they're used in
12 years ago
Chris Robinson
a6e627001a
Avoid a for(;;) construct
12 years ago
Chris Robinson
4d6c05f6cc
Tighten audio skew allowance
12 years ago
Chris Robinson
8db5d10f10
Avoid showing a video picture if we're late
...
Ideally we should skip decoding, or at least YUV->RGB conversion, too.
12 years ago
Chris Robinson
157cb10f56
Fix a 16-bit audio assumption
12 years ago
Chris Robinson
c2b711d195
Move some more methods to the class they're part of
12 years ago
Chris Robinson
26a09ee7ba
Move some methods into their respective class
12 years ago
Chris Robinson
5221298a7f
Move a couple packet queue methods into the struct
12 years ago
Chris Robinson
90294c589b
Use a volatile bool for the refresh
12 years ago
Chris Robinson
f555dc60eb
Reduce some indentation
12 years ago
Chris Robinson
6cedd64509
Fix audio sync correction sizes
12 years ago
Chris Robinson
e291d0943d
Merge remote-tracking branch 'scrawl/videoplayback' into videoplayback
12 years ago
Chris Robinson
606fb982a8
Update to use avcodec_decode_audio4
12 years ago
scrawl
82564e07c7
fix crash when video file doesn't exist
12 years ago
scrawl
27cd9ff732
Revert "Use the decoded frame pts when available"
...
This reverts commit cab68df257
.
12 years ago
scrawl
9d6f656822
fixed ogre resource functions
12 years ago
Chris Robinson
43481ad117
Use the external clock by default
12 years ago
Marc Zinnschlag
f95e72166c
hide type column in non-mixed type tables
12 years ago
Marc Zinnschlag
faa5ef0874
rewrote column class
12 years ago
Chris Robinson
0a5ab977b7
Use the decoder's sample offset for calculating the stream offset
12 years ago
Marc Zinnschlag
640c218df3
made record state uneditable again
12 years ago
Marc Zinnschlag
3d4c8c5444
added dialogue sub view (editing of a single record; not functional yet); fixed a bug in Universal to string conversion
12 years ago
Chris Robinson
cab68df257
Use the decoded frame pts when available
12 years ago
Chris Robinson
1ea1407707
Support quad, 5.1, and 7.1 with OpenAL and ffmpeg
...
The other decoders don't guarantee any channel ordering, which makes them
useless.
12 years ago
Chris Robinson
600494eed8
More cleanup of unused code
12 years ago
Chris Robinson
f7ff8b3374
A bit more cleanup
12 years ago
Chris Robinson
7e8b844b2e
Clean up some unused code
12 years ago
Chris Robinson
d2fbae9760
Init and deinit the VideoState synchronously, and re-enable audio playback
12 years ago
Chris Robinson
f067b22b3f
Use a recursive mutex for the OpenAL stream thread
12 years ago
Chris Robinson
ba9c5f5b4e
Don't initially fill buffers in OpenAL_SoundStream::play
12 years ago
Marc Zinnschlag
02184526e6
moved two helper classes from view/world/table into a separate translation unit
12 years ago
Chris Robinson
1ffaf6625a
Remove SDL for playing movie audio and prepare for using an audio track
...
This breaks audio playback on movies
12 years ago
Chris Robinson
779ced0889
Add a method to play an audio track with a custom decoder
12 years ago
Chris Robinson
1571243ef0
Implement getTimeOffset for OpenAL_SoundStream
12 years ago
Chris Robinson
86bf6388c6
Pass a decoder to the playStream sound output method
12 years ago
Chris Robinson
9c831d3039
Add a decoder method to get the "file" name
12 years ago
Chris Robinson
1fb9eef27b
Detach the thread used for frame timing
12 years ago
Chris Robinson
34e36fb852
Add a method to get the time offset from sounds
12 years ago
Marc Zinnschlag
cc18b30e17
open sub view on double click in report view
12 years ago
scrawl
7fd9e1d212
Merge branch 'videoplayback' of https://github.com/ChrisKCat/openmw into videoplayback
...
Conflicts:
apps/openmw/mwrender/videoplayer.cpp
12 years ago
scrawl
18d8c767bd
fix a bunch of warnings, improved error handling, initialize texture to black
12 years ago
Chris Robinson
2c1eceb9f0
Add methods to pause and stop all playing sounds (and music)
12 years ago
Chris Robinson
973b5faf25
Keep track of all allocated sources
12 years ago
Chris Robinson
e82c4afd50
close SDL when closing the video, not after the video loop is finished
12 years ago
Chris Robinson
a62d5bbfe4
Sleep using the absolute time, so the thread creation doesn't add to the wait
12 years ago
Chris Robinson
c2e1595445
Treat paused sounds as still playing
12 years ago
Chris Robinson
2efdafecd9
Indentation fixes
12 years ago
Chris Robinson
277248cdcb
Fix some "comparison between signed and unsigned" warnings
12 years ago
Chris Robinson
3519934f27
Add a missing return value
12 years ago
Chris Robinson
9e2d4f8b7c
Avoid potential NULL dereference
12 years ago
scrawl
fe384a1600
pause 3d rendering while the video plays
12 years ago
scrawl
faad64b254
Esc cancels the video
12 years ago
scrawl
0ce5ade6d8
DataStreamPtr fix, indentation fixes
12 years ago
scrawl
c49966dd29
started over
12 years ago
scrawl
5f676f9c6b
Merge branch 'master' of https://github.com/zinnschlag/openmw into videoplayback
...
Conflicts:
apps/openmw/mwrender/renderingmanager.cpp
apps/openmw/mwscript/miscextensions.cpp
12 years ago
Marc Zinnschlag
c75563c184
report model and view
12 years ago
Marc Zinnschlag
2db930a5cf
rewrote subview factory system
12 years ago
Marc Zinnschlag
0ed378dfb2
changed sub view factory method signature
12 years ago
Marc Zinnschlag
de4a03081c
fixed skill level type in skill level up message
12 years ago
scrawl
e3dd3d565c
fix 2 leaks
12 years ago
Marc Zinnschlag
832fc56d34
changed UniversalId to string conversion
12 years ago
Marc Zinnschlag
5f5addf052
fixed an enum
12 years ago
Marc Zinnschlag
9fe7ff9690
added mandatory ID check stage
12 years ago
Marc Zinnschlag
72623652e4
addded messages interface for operations/stages
12 years ago
Marc Zinnschlag
89b4497331
added missing edit locks for create/revert/delete
12 years ago
Marc Zinnschlag
6c18be39f0
added stage class
12 years ago
Marc Zinnschlag
8b7f342641
removed last remains of old verify implementation
12 years ago
Marc Zinnschlag
af9b48f4d3
added operations base class
12 years ago
Marc Zinnschlag
a2b4f43176
moved document state enum to a separate file
12 years ago
Marc Zinnschlag
0e7ba008ad
another skill gain fix
12 years ago
Marc Zinnschlag
caaffd1ec2
handle persuasion records properly
12 years ago
Marc Zinnschlag
a70a5282f4
fixed an overzealous skill gain error check
12 years ago
Marc Zinnschlag
fdc7e93835
preliminary multi-threaded verify implementation (does not actually perfom any document verification yet)
12 years ago
Marc Zinnschlag
386eec51c1
some skill usage fixes
12 years ago
eduard
e50b9aca86
tradding skill use, spechcraft use
12 years ago
eduard
2d62649dc9
tradding skill use, spechcraft use
12 years ago
eduard
b2a0e4b1fd
tradding skill use, spechcraft use
12 years ago
Marc Zinnschlag
1c80390bce
Merge branch 'master' into editor2
12 years ago
Marc Zinnschlag
2b53cf6547
do not list actions in the pop up menu that do not apply to any of the selected records
12 years ago
Marc Zinnschlag
c12ee129f7
added delete command
12 years ago
Marc Zinnschlag
b41cc5e9e9
added revert command
12 years ago
eduard
ea8ee11ff7
tradding skill use
12 years ago
eduard
5332546541
tradding skill use
12 years ago
Marc Zinnschlag
8bcd7d8fb1
fixed a type in a script instruction
12 years ago
Marc Zinnschlag
f07b7d17cd
improved exception handling
12 years ago
Marc Zinnschlag
8e1a2e3a13
Issue #474 : adjust global variable pcrace
12 years ago
Marc Zinnschlag
5cd2fe00ab
initialise blank global records
12 years ago
Marc Zinnschlag
8e93bfa607
turned the global class into a general purpose table subview class
12 years ago
Marc Zinnschlag
0a8b7602d3
fixed edit lock
12 years ago
Marc Zinnschlag
49d6239004
added pop-up menu with create record action
12 years ago
scrawl
7cc28c3eb9
Merge branch 'videoplayback' of github.com:scrawl/openmw into videoplayback
12 years ago
scrawl
3106db0379
commented out debug output
12 years ago
scrawl
bc90c75176
more clean up, video played with correct speed, videos without sound working too (mw_credits.bik)
12 years ago
scrawl
a77d910aaf
audio codec is opened, some cleanup
12 years ago
Marc Zinnschlag
db29e411c4
added merge functions; temporarily merge on document creation
12 years ago
scrawl
3db850a7d1
Don't crash if no loading screens are found
12 years ago
scrawl
ea2bbec76e
better fix for bed activation
12 years ago
Tom Mason
a6fd369e4e
Fixed wait window reappearing after sleeping
12 years ago
greye
682fd23aea
fix wrong increment
12 years ago
Marc Zinnschlag
b25f2e88ce
Issue #492 : fixed double alchemy ingredients removal
12 years ago
Marc Zinnschlag
556d737f65
Merge remote-tracking branch 'trombonecot/windowformatting'
12 years ago
eduard
30d0e93cf4
Fix window formatting on tool tip with too log titles
12 years ago
eduard
7e7e6e2bcb
Fix window formatting on tool tip with too log titles
12 years ago
scrawl
d432420a32
fix FindFFmpeg.cmake
12 years ago
Marc Zinnschlag
bd5e364ac1
display record state in table
12 years ago
scrawl
c4facc233e
Merge branch 'master' into videoplayback
...
Conflicts:
apps/openmw/mwrender/renderingmanager.cpp
12 years ago
Marc Zinnschlag
ec1f957e54
edit lock for sub views
12 years ago
rpopovici
7079b9062f
add AI script functions
12 years ago
Marc Zinnschlag
8dd76b49af
factored out table widget from globals sub view
12 years ago
Marc Zinnschlag
fd55c0cae2
record IDs are no longer handled as a special case
12 years ago
Marc Zinnschlag
4086b556d2
use commands for modifying globals
12 years ago
Marc Zinnschlag
8a09e03d5c
global variable editing (no undo support yet)
12 years ago
scrawl
398eecc35e
GetWeaponType fix
12 years ago
scrawl
00e46addc2
GetArmorType fix
12 years ago
scrawl
8e857587d7
fix a text coloring bug
12 years ago
scrawl
1def60dbe1
PcExpell, PcExpelled, PcClearExpelled, RaiseRank, LowerRank
12 years ago
scrawl
9f720ccbc9
Merge branch 'master' of https://github.com/zinnschlag/openmw into scripting
12 years ago
scrawl
644dacf603
suggestion by Zini for SetDelete
12 years ago
Marc Zinnschlag
5eb0f489e2
Issue 476: fixed auto-move bypassing disabled player controls
12 years ago
Greendogo
8b18d195bd
Update apps/openmw/main.cpp
...
Edited the description for the --script-run switch.
12 years ago
Marc Zinnschlag
92f70635a2
improved selection behaviour
12 years ago
scrawl
d6dd212ce8
GetWerewolfKills, ModScale, SetDelete, GetSquareRoot
12 years ago
Marc Zinnschlag
ef9575498f
basic (non-editable) subview for global variables
12 years ago
Marc Zinnschlag
1dd63e9fb6
Merge branch 'master' into editor2
12 years ago
scrawl
1ccad32877
GetWeaponType
12 years ago
scrawl
e68dc19256
GetCurrentTime, HasSoulGem
12 years ago
scrawl
0db48b29c7
GetSpellEffects, GetRace
12 years ago
scrawl
4b830e5c7a
Merge branch 'scripting' of github.com:scrawl/openmw into scripting
12 years ago
Marc Zinnschlag
eece4226c0
basic sub view system (very incomplete)
12 years ago
Marc Zinnschlag
4c0dcd46a1
added UniversalId class
12 years ago
Marc Zinnschlag
019146756f
minor documentation changes regarding future improvements and additions
12 years ago
scrawl
70aa7459f5
GetWeaponDrawn
12 years ago
scrawl
be82d1452f
HasItemEquipped
12 years ago
scrawl
600ed5f38a
GetAttacked
12 years ago
scrawl
50baf6dac7
moved to controlextensions
12 years ago
scrawl
a596d23203
GetArmorType
12 years ago
scrawl
d7811624d5
GetEffect
12 years ago
scrawl
e8ef4dba1e
getPcRunning, getPcSneaking, getForceRun, getForceSneak
12 years ago
scrawl
10329c780d
GetLocked
12 years ago
Marc Zinnschlag
a6c7f16a7b
Merge remote-tracking branch 'scrawl/reputation'
12 years ago
scrawl
d418e21371
<Mod|Get><Flee|Fight|Hello|Alarm>
12 years ago
scrawl
9c170af30c
SameFaction
12 years ago
scrawl
d54ed557bf
Equip
12 years ago
scrawl
064cb80c0a
fix wait dialog fading
12 years ago
scrawl
0af869c816
GetReputation
12 years ago
scrawl
eb29b1593b
ModReputation, SetReputation
12 years ago
scrawl
f218ef2675
fix separator
12 years ago
scrawl
1d7e92b6b3
dialogue fixes
12 years ago
Marc Zinnschlag
303506d24b
added new document function
12 years ago
Marc Zinnschlag
997386d873
implemented world verify function (doesn't do anything yet; mostly meant as a test for multi-operation interface)
12 years ago
Marc Zinnschlag
2fc183d595
added operations progress bar
12 years ago
Marc Zinnschlag
eaa58e0530
preparations for multiple parallel progress-type operations
12 years ago
Marc Zinnschlag
04158d03b0
clean up properly after closing a top level window
12 years ago
Marc Zinnschlag
03aacd3263
added progress tracking
12 years ago
Marc Zinnschlag
931eb08114
implemented edit locking (used during saves)
12 years ago
Marc Zinnschlag
5838929371
implemented a dummy save function (does not actually save anything)
12 years ago
Marc Zinnschlag
d7c63d4c74
track document modification state and display it in the top level window title bar
12 years ago
Marc Zinnschlag
d7af9fbec6
various fixes
12 years ago
Marc Zinnschlag
6643674b13
ESM tool fix
12 years ago
Marc Zinnschlag
8e546ebd30
added test command
12 years ago
Marc Zinnschlag
ed3d8b8ca2
added undo stack and undo/redo actions
12 years ago
Marc Zinnschlag
1ddcea1f07
display view indices in title bar
12 years ago
Marc Zinnschlag
789cecb9df
added main menu and implemented new view function
12 years ago
Marc Zinnschlag
758371d7e4
implemented view/document closing
12 years ago
Marc Zinnschlag
9834bb3ad5
basic document handling
12 years ago
Marc Zinnschlag
9201baebf9
template fix
12 years ago
Marc Zinnschlag
c3cd6e8a8a
new attempt at the editor
12 years ago
scrawl
c8562d8442
toggleCollisionBoxes actually does something useful now
12 years ago
Marc Zinnschlag
5d45bcd03a
Merge remote-tracking branch 'trombonecot/master'
...
Conflicts:
apps/openmw/mwclass/light.cpp
12 years ago