aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game
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-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-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.
2015-11-27LASTEXPRESS: Removing excess checkEugene Sandulenko
2014-06-16LASTEXPRESS: Fix potential out-of-bounds read. CID 1003992Littleboy
2014-06-16LASTEXPRESS: Replace useless checks by asserts. CID 1004086, 1004090Littleboy
2014-06-16LASTEXPRESS: Update SavePoint::push/call interface and check for string ↵Littleboy
size. CID 1003261, 1003262
2014-06-16LASTEXPRESS: Rename Server* classes to Waiter*Littleboy
2014-02-18LASTEXPRESS: Make GPL headers consistent in themselves.Johannes Schickel
2013-12-10LASTEXPRESS: Update documentation for savegame formatLittleboy
2013-12-10LASTEXPRESS: Rename InventoryItem propertiesLittleboy
2013-12-10LASTEXPRESS: Rename Object propertiesLittleboy
2013-12-10LASTEXPRESS: Rename several action functionsLittleboy
2013-12-10LASTEXPRESS: Rename Anna logic functionsLittleboy
Fix wrong call in
2013-12-10LASTEXPRESS: Rename Abbot logic functionsLittleboy
2013-11-24LASTEXPRESS: Janitorial - Fix spacing errorsStrangerke
2013-10-12LASTEXPRESS: Redo d71b48 and use variable instead of commenting itEugene Sandulenko
2013-10-08LASTEXPRESS: Comment out unused variableEugene Sandulenko
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
2013-09-05LASTEXPRESS: Fix uninitialized scalar field (CID1002847)Littleboy
2012-08-27LASTEXPRESS: Implement more savegame loadingLittleboy
- Rename existing function to load the last saved game - Remove loadgame debugger command
2012-08-27LASTEXPRESS: Cleanup savegameLittleboy
- Check for valid stream in readValue/writeValue functions - Properly initialize/clear members
2012-08-27LASTEXPRESS: Remove unnecessary castsLittleboy
2012-08-27LASTEXPRESS: Remove some unreachable codeLittleboy
2012-08-27LASTEXPRESS: Add const modifiersLittleboy
2012-08-27LASTEXPRESS: Reduce header interdependencyLittleboy
2012-08-27LASTEXPRESS: Check for valid data in Beetle::invertDirection()Littleboy
2012-08-01LASTEXPRESS: Remove unused code and move functor definition to only file ↵Littleboy
using it
2012-08-01LASTEXPRESS: Remove use of skip from savegame functions when loadingLittleboy
We cannot accurately skip over compressed data as it is not know before decoding how much data will be used
2012-08-01LASTEXPRESS: Implement savegame read compressionLittleboy
2012-07-31LASTEXPRESS: Implement savegame write compressionLittleboy
2012-07-30LASTEXPRESS: Switch savegame reading to use new read methodLittleboy
- Disable savegame compression
2012-07-29LASTEXPRESS: Fix regression with Logic::resetState()Littleboy
2012-07-29LASTEXPRESS: Replace REDRAW_CURSOR macro by functionLittleboy
2012-07-29LASTEXPRESS: Reorganize savegame code to prepare for compressed savegames ↵Littleboy
support
2012-07-28LASTEXPRESS: Implement menu egg blinkingLittleboy
2012-07-27LASTEXPRESS: Fix some formatting issuesLittleboy
2012-07-27LASTEXPRESS: Add menu-related warnings and turn some warnings into errorsLittleboy
2012-07-27LASTEXPRESS: Remove entity include in savepoint.hLittleboy
2012-07-27LASTEXPRESS: More include re-organizationLittleboy
2012-07-27LASTEXPRESS: Implement Logic::resetState()Julien
2012-07-27LASTEXPRESS: Reduce nesting in Entities::processEntity()Julien
2012-07-27LASTEXPRESS: Switch some warnings to debug console outputJulien
2012-07-16LASTEXPRESS: Replace INVERT_Y macroLittleboy
2012-07-16LASTEXPRESS: Replace INCREMENT_DIRECTION_COUNTER macroLittleboy
2012-07-16LASTEXPRESS: Remove strange castsLittleboy
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