Age | Commit message (Collapse) | Author |
|
A new seekIntern() that performs the actual seeking is to be overriden instead. Having the caller override seek() and then call VideoDecoder::seek() kind of defeated the purpose of stopping/starting the audio.
|
|
This is a regression from 19fa89b8f58df702c5cb16d03a9cb51c1acce7ab. Thanks to
fuzzie for noticing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ensure proper 0 clamping
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is used to end the AD table
|
|
|
|
|
|
|
|
|
|
instead of accumulation of time
|
|
BUILD: fix 'make test' compile error
|
|
Otherwise, every global variable of type NRect requires a constructor to be
run, which can cause portability issue.
|
|
|
|
|
|
|
|
|
|
operator[] creates a key value pair if it doesn't exist. So blindly returning a value without checking if the
key exists could result in undefined behavior, depening on what the value is initialized to in its constructor
|
|
|
|
|
|
|
|
The script system requires that all ResultAction::execute() block until they finish. The video system *was* 'asyncronous'
in that you would just start a video and then run() would finish processing it. This code forces the video to complely finish
before playVideo returns. The Clock object is used to keep track of deltaTime while the video is playing.
|
|
|
|
the game
|
|
|