aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/shared.h
AgeCommit message (Collapse)Author
2018-10-18LASTEXPRESS: better names in sound codeEvgeny Grechnikov
Refactoring, no changes in behaviour.
2018-10-14LASTEXPRESS: Fix compilation with some compilersThierry Crozat
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-11LASTEXPRESS: 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.
2014-06-16LASTEXPRESS: Rename Server* classes to Waiter*Littleboy
2014-02-18LASTEXPRESS: Make GPL headers consistent in themselves.Johannes Schickel
2013-12-10LASTEXPRESS: Rename Object propertiesLittleboy
2012-08-01LASTEXPRESS: Remove unused code and move functor definition to only file ↵Littleboy
using it
2012-07-16LASTEXPRESS: Use filter 16 as default filter for NIS animationsLittleboy
This makes sure the sound is at the correct volume
2011-07-08LASTEXPRESS: Simplify SoundQueue::updateQueue()Littleboy
- Remove useless cache code - Use helper function to get the proper sound entry - Fix crash on using an invalid entry
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: Hook up preliminary sound filteringLittleboy
- Add debug checks in soundFilter() - Rename kSoundStatusClear1 to kSoundStatusFilterVariant
2011-06-29LASTEXPRESS: Move SoundStatus to shared headerLittleboy
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-10-26LASTEXPRESS: Savegame support updateJulien Templier
- Implement Menu::startGame() properly - Add stubs functions for game restart - Made savegame headers serializable and moved validity checks inside struct definition - Implement create/init savegame functions - Add SavegameStream to be able to read/write to the same memory stream - Add stubs for setup, writeEntry & loadEntry functions svn-id: r53841
2010-10-22LASTEXPRESS: Add some documentation for the kTime constantsTorbjörn Andersson
svn-id: r53703
2010-10-21LASTEXPRESS: Implement remaining AI logic functions for MmeBoutarelJulien Templier
svn-id: r53688
2010-10-21LASTEXPRESS: Implement remaining AI logic functions for CoudertJulien Templier
svn-id: r53687
2010-10-21LASTEXPRESS: Implement remaining AI logic functions for AnnaJulien Templier
svn-id: r53686
2010-10-21LASTEXPRESS: Implement remaining AI logic functions for TatianaJulien Templier
svn-id: r53685
2010-10-21LASTEXPRESS: Implement remaining AI logic functions for Kahina and KronosJulien Templier
svn-id: r53684
2010-10-21LASTEXPRESS: Implement remaining AI logic functions for AugustJulien Templier
svn-id: r53683
2010-10-21LASTEXPRESS: Implement remaining AI logic functions for Francois, Gendarmes ↵Julien Templier
and Milos svn-id: r53682
2010-10-21LASTEXPRESS: Implement 7 AI logic functionsJulien Templier
svn-id: r53681
2010-10-21LASTEXPRESS: Implement 10 more AI logic functionsJulien Templier
svn-id: r53680
2010-10-18LASTEXPRESS: Implement 3 more AI logic functionsJulien Templier
svn-id: r53587
2010-10-18LASTEXPRESS: Merge in the engine.Eugene Sandulenko
svn-id: r53579