aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/verges.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.
2018-09-24LASTEXPRESS: more fixes in NPC logicEvgeny Grechnikov
2018-08-26LASTEXPRESS: multiple fixes in NPC logicEvgeny Grechnikov
Checked the logic against the original game (to be precise, DOS English version from GOG, although I think AI logic has no significant differences with other versions). Fixed a *lot* of errors with varying visibility for the user. Also, save+exit+load sometimes resulted in memory corruption like ((EntityParametersSSII*)(new EntityParametersIIII))->param8 = 0; load operation did not restore the correct type of NPC logic context, the default one was used (which also has the smallest sizeof). Should be fixed now. Save+load is still unusable because it locks everybody waiting for kActionEndSound (the sound state is not restored), but, at least, it should not corrupt the memory. Hopefully.
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.
2014-02-18LASTEXPRESS: Make GPL headers consistent in themselves.Johannes Schickel
2013-12-10LASTEXPRESS: Rename Object propertiesLittleboy
2013-11-24LASTEXPRESS: Janitorial - Fix spacing errorsStrangerke
2012-08-27LASTEXPRESS: Identify more Verges functionsLittleboy
2012-08-27LASTEXPRESS: Fix typo in Verges chapter 3 functionLittleboy
2012-08-27LASTEXPRESS: Identify several Verges functionsLittleboy
2012-07-27LASTEXPRESS: Remove TIME_CHECK_CALLBACK_1 macroJulien
2012-07-27LASTEXPRESS: Remove TIME_CHECK_CALLBACK_3 macroJulien
2012-07-27LASTEXPRESS: Remove several TIME_CHECK* macrosJulien
2012-07-27LASTEXPRESS: Replace UPDATE_PARAM macroJulien
2012-07-14LASTEXPRESS: Replace CALLBACK_ACTION macro by member functionLittleboy
2012-07-14LASTEXPRESS: Remove duplicated include statementsLittleboy
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
2011-01-20LASTEXPRESS: Add macro for end of entities logic functionsJulien Templier
svn-id: r55343
2010-10-27LASTEXPRESS: Add some missing casts and const qualifiersJulien Templier
svn-id: r53880
2010-10-21LASTEXPRESS: Merge several TIME_CHECK* macros togetherJulien Templier
svn-id: r53692
2010-10-21LASTEXPRESS: Rename CURRENT_PARAMS to CURRENT_PARAMJulien Templier
svn-id: r53691
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