aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/data
AgeCommit message (Collapse)Author
2018-10-20LASTEXPRESS: save/load sound stateEvgeny Grechnikov
Warning: breaks compatibility with previous savefiles. They were mostly broken anyway, locking any NPC who waited for kActionEndSound when savefile was created.
2018-10-17LASTEXPRESS: support for looped soundsEvgeny Grechnikov
2018-10-16LASTEXPRESS: dynamic adjusting of sound volumeEvgeny Grechnikov
Now it works just like in the original game, including fading where it is applicable (e.g. in a passengers list if closing the list while a sound is playing). By the way, p2s sequence is known as http://oeis.org/A000265 , p1s is 4 - A007814, and p2s[i]/2**p1s[i] is just i/16. It is time to get rid of these arrays.
2018-10-16LASTEXPRESS: Remove Engine Specific All Debug Level.D G Turner
This is replaced by the global "all" option for debugflags and defining this triggers a warning about the conflict at runtime.
2018-10-16LASTEXPRESS: fix race condition in sound codeEvgeny Grechnikov
SoundEntry::play() calls StreamedSound::setFilterId(), StreamSound::setFilterId() requires the underlying reference to be alive. SoundQueue::handleTimer() checks that the stream is still alive by calling SoundEntry::isFinished(). However, if the stream is finalized just between calls to SoundEntry::isFinished() and SoundEntry::play(), the sound mixer frees the stream leading to use-after-free in setFilterId(). Turn off the automatical disposing, delete the stream in SoundEntry::~SoundEntry().
2015-08-30AUDIO: Make Rewindable- and SeekableAudioStream inherit virtuallyMatthew Hoops
2014-03-30ALL: Resolve multiple clang warningsMax Horn
2014-02-18LASTEXPRESS: Make GPL headers consistent in themselves.Johannes Schickel
2013-09-05LASTEXPRESS: Fix uninitialized scalar field (CID1002849)Littleboy
2013-08-03LASTEXRPESS: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03LASTEXPRESS: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2012-08-27LASTEXPRESS: Remove unnecessary castsLittleboy
2012-08-27LASTEXPRESS: Fix analysis warningsLittleboy
2012-07-28LASTEXPRESS: Disable sound filter reset on each decoded blockLittleboy
The filter id should be computed from the sound entry status for each decoded block. The current code was resulting in blocks being skipped.
2012-07-27LASTEXPRESS: Add IgnoreSubtype option to AnimFrameLittleboy
2012-07-27LASTEXPRESS: Switch some warnings to debug console outputJulien
2012-07-16LASTEXPRESS: Use filter 16 as default filter for NIS animationsLittleboy
This makes sure the sound is at the correct volume
2012-07-16LASTEXPRESS: Remove strange castsLittleboy
2012-07-14LASTEXPRESS: Fix sound in animated sequencesLittleboy
2012-07-14LASTEXPRESS: CleanupLittleboy
- Add missing initializer/destructors - Add some const modifiers - Remove some unneeded casts - Use enumeration values in switch constructs
2012-07-14LASTEXPRESS: Remove duplicated include statementsLittleboy
2012-06-16LASTEXPRESS: Get rid of casts on CursorManager::replaceCursor calls.Johannes Schickel
2012-06-16LASTEXPRESS: Get rid of casts on OSystem::copyRectToScreen calls.Johannes Schickel
2012-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there.
2011-12-13COMMON: Make more members of Archive constant.Andrea Corna
2011-11-21ALL: Remove unnecessary forward declarations.Christoph Mallon
2011-10-11Last Express: CLIP should use a <int> template to compile correctly.anotherguest
2011-07-08LASTEXPRESS: Have LastExpress_ADPCMStream inherit directly from ↵Littleboy
Audio::ADPCMStream (as suggested by clone2727)
2011-07-08LASTEXPRESS: Replace existing decodeIMA calls by code using our custom set ↵Littleboy
of IMA and step tables
2011-07-08LASTEXPRESS: Fix typo in filter tableLittleboy
2011-07-04LASTEXPRESS: Move sound filtering to base Sound classLittleboy
- Rename kSoundStatusRemoved to kSoundStatusClosed - Rename kSoundStatusClear2 to kSoundStatusCached - Remove sound cache handling
2011-06-29LASTEXPRESS: Update sound timer and sound entry playingLittleboy
- Move filtering to SoundEntry class - Make some methods of SoundEntry class private - Add methods to check if a StreamedSound/AppendableSound is done playing
2011-06-28LASTEXPRESS: Cleanup commentsLittleboy
2011-06-03ENGINES: Remove some uses of g_engineMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-24AUDIO: Cleanup MS IMA handlingMatthew Hoops
- Split The Last Express' ADPCM to the engine. Using the MS IMA routine was really a hack. - Fixed stereo MS IMA ADPCM, the old routine was completely wrong.
2011-04-17LASTEXPRESS: Use RGB555 PixelFormat for surfaces instead of screen format.Johannes Schickel
This makes the code a bit more readable, thanks to fuzzie for pointing that out.
2011-04-17LASTEXPRESS: Prefer Surface::create taking a PixelFormat over the one taking ↵Johannes Schickel
a byte depth. I am not sure whether the engine really uses only surfaces with the exat same format as the screen. The engine maintainer should review this commit and fix it in case the surfaces use a different pixel format.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-09LASTEXPRESS: Refactor inventory handlingJulien Templier
- Rewrite menu icon part of Inventory::handleMouseEvent() - Add proper support for icon brightness - Add drawItem method in place of macro svn-id: r55846
2011-01-25LASTEXPRESS: Fixed Memory Leak in Subtitles.David Turner
Also, fixed minor uninitialised read in animation event polling. svn-id: r55524
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-19LASTEXPRESS: Simplify current frame calculation in Animation::processJulien Templier
(per Max suggestion) svn-id: r54366
2010-11-19ALL: Push down deps on stream.h from .h to .cpp filesMax Horn
svn-id: r54358
2010-11-17ENGINES: Change 'colour' to 'color'Max Horn
Only changed this in engines where 'color' was/is already used almost exclusively svn-id: r54288
2010-11-15LASTEXPRESS: Update Animation::process()Julien Templier
- Use Common::Rational to compute the current frame - Added check for _currentChunk != NULL - Add constructor to Chunk structure svn-id: r54245
2010-11-11LASTEXPRESS: Use SAFE_DELETE for class variablesJulien Templier
svn-id: r54201