aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game/scenes.cpp
AgeCommit message (Collapse)Author
2018-10-18LASTEXPRESS: better names in sound codeEvgeny Grechnikov
Refactoring, no changes in behaviour.
2018-10-14LASTEXPRESS: refactor sound flagsEvgeny Grechnikov
Merge SoundFlag and SoundStatus into a single enum; SoundEntry::setupStatus just casts one to another. Keep only definitions of bits in SoundFlag; drop compound flags like kFlagSteam = kSoundTypeAmbient | kSoundFlagLooped | kVolume7, use ORed simple flags in calls; change the signature of SoundManager::playSoundWithSubtitles to use uint32 instead of SoundFlag to avoid excess casting. Add meaningful names to flags; add some comments. Get rid of endian-unsafe SoundStatusUnion. Fixes an issue with big-endian hosts. No changes in behaviour on little-endian hosts.
2017-08-06JANITORIAL: Silence more GCC 7 warningsTorbjörn Andersson
All these fall through were marked as deliberate, so again I've only changed the comment to silence GCC.
2013-12-10LASTEXPRESS: Rename Object propertiesLittleboy
2013-09-05LASTEXPRESS: Remove unneeded check for loaded sequence (CID1003911)Littleboy
The sequence loading helper should already check if the sequence is loaded and clean up the instance if not
2012-08-27LASTEXPRESS: Add const modifiersLittleboy
2012-07-27LASTEXPRESS: Fix some formatting issuesLittleboy
2012-07-27LASTEXPRESS: Implement Logic::resetState()Julien
2012-07-14LASTEXPRESS: Remove duplicated include statementsLittleboy
2011-06-28LASTEXPRESS: Cleanup commentsLittleboy
2011-06-28LASTEXPRESS: Move Sound class to the sound folderLittleboy
2011-06-28LASTEXPRESS: Move sound queue related functions to a separate classLittleboy
- Implement missing queue reset function - Cleanup SoundManager::playLoopingSound()
2011-06-24LASTEXPRESS: Refactor Sound classLittleboy
- Move entry-related functions to separate class - Move enumeration to shared header and rename FlagType to SoundFlag
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-11-11LASTEXPRESS: Use SAFE_DELETE for class variablesJulien Templier
svn-id: r54201
2010-11-11LASTEXPRESS: Fix more memory leaksJulien Templier
- Missing deallocation of queued frames in SceneManager - Leaking functor on each call to entity setup functions - Add SoundEntry destructor & better Entity cleanup as reported by digitall svn-id: r54196
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-27LASTEXPRESS: Add some missing casts and const qualifiersJulien Templier
svn-id: r53880
2010-10-26LASTEXPRESS: Make GameState::time of type TimeValueJulien Templier
svn-id: r53844
2010-10-19LASTEXPRESS: Changed some spaces to tabsTorbjörn Andersson
svn-id: r53618
2010-10-18LASTEXPRESS: Merge in the engine.Eugene Sandulenko
svn-id: r53579