aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/august.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-13LASTEXPRESS: fixed warnings with gcc 8.2Martin Gerhardy
engines/lastexpress/entities/alexei.cpp: In member function ‘void LastExpress::Alexei::standingAtWindow(const LastExpress::SavePoint&)’: engines/lastexpress/entities/alexei.cpp:772:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ engines/lastexpress/entities/chapters.o engines/lastexpress/entities/august.cpp: In member function ‘void LastExpress::August::function21(const LastExpress::SavePoint&)’: engines/lastexpress/entities/august.cpp:672:4: warning: this statement may fall through [-Wimplicit-fallthrough=] switch(params->param5) { ^~~~~~ engines/lastexpress/entities/august.cpp:694:3: note: here case 9: ^~~~
2018-09-02LASTEXPRESS: 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-06-16LASTEXPRESS: Check for resulting sequence size in August logic code. CID 1003264Littleboy
2014-06-16LASTEXPRESS: Rename Server* classes to Waiter*Littleboy
2014-02-18LASTEXPRESS: Make GPL headers consistent in themselves.Johannes Schickel
2013-12-10LASTEXPRESS: Fix enum comparisonLittleboy
2013-12-10LASTEXPRESS: Rename Object propertiesLittleboy
2013-12-10LASTEXPRESS: Rename Alexei logic functionsLittleboy
2013-04-28LASTEXPRESS: Fix nasty bug with multiline macro. CID 1003640Eugene Sandulenko
2012-08-27LASTEXPRESS: Identify more Verges functionsLittleboy
2012-07-27LASTEXPRESS: Remove TIME_CHECK_CALLBACK_1 macroJulien
2012-07-27LASTEXPRESS: Remove several TIME_CHECK* macrosJulien
2012-07-27LASTEXPRESS: Replace UPDATE_PARAM_GOTO macroJulien
2012-07-27LASTEXPRESS: Replace UPDATE_PARAM_PROC and UPDATE_PARAM_PROC_TIME macrosJulien
2012-07-27LASTEXPRESS: Replace UPDATE_PARAM macroJulien
2012-07-16LASTEXPRESS: Replace TIME_CHECK_SAVEPOINT and TIME_CHECK_OBJECT macrosLittleboy
2012-07-14LASTEXPRESS: Replace CALLBACK_ACTION macro by member functionLittleboy
2012-07-14LASTEXPRESS: Remove duplicated include statementsLittleboy
2011-11-07LASTEXPRESS: Fix typos in entity code (as reported by _sev)Littleboy
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-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-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-21LASTEXPRESS: Rename LOBYTE macroJulien Templier
svn-id: r53689
2010-10-21LASTEXPRESS: Implement remaining AI logic functions for AugustJulien Templier
svn-id: r53683
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