aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game/inventory.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.
2014-06-16LASTEXPRESS: Fix potential out-of-bounds read. CID 1003992Littleboy
2014-02-18LASTEXPRESS: Make GPL headers consistent in themselves.Johannes Schickel
2013-12-10LASTEXPRESS: Rename InventoryItem propertiesLittleboy
2013-10-12LASTEXPRESS: Redo d71b48 and use variable instead of commenting itEugene Sandulenko
2013-10-08LASTEXPRESS: Comment out unused variableEugene Sandulenko
2012-08-27LASTEXPRESS: Remove unnecessary castsLittleboy
2012-08-27LASTEXPRESS: Remove some unreachable codeLittleboy
2012-07-28LASTEXPRESS: Implement menu egg blinkingLittleboy
2012-07-27LASTEXPRESS: More include re-organizationLittleboy
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
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-06-23LASTEXPRESS: Move Menu class to a separate folderLittleboy
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-11LASTEXPRESS: Implement last part of inventory handlingLittleboy
2011-05-10LASTEXPRESS: Implement item selection and scene loadingLittleboy
2011-05-10LASTEXPRESS: Implement highlight of inventory itemsLittleboy
2011-05-10LASTEXPRESS: Draw portrait non-highlighted in Inventory::show()Littleboy
2011-05-10LASTEXPRESS: Add button pressed state for inventory handlingLittleboy
2011-05-10LASTEXPRESS: Implement skeleton code for selected item and inventory selectionLittleboy
2011-02-09LASTEXPRESS: Add support for item highlight in inventory and scene restoreJulien Templier
- Properly show egg not highlighted by default - Fix GCC warning in drawItem() - Remove unused code svn-id: r55855
2011-02-09LASTEXPRESS: Implement proper Inventory::open() and Inventory::close()Julien Templier
svn-id: r55848
2011-02-09LASTEXPRESS: Refactor inventory handlingJulien Templier
- Rewrite menu icon part of Inventory::handleMouseEvent() - Add proper support for icon brightness - Add drawItem method in place of macro svn-id: r55846
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-26LASTEXPRESS: More savegame workJulien Templier
- Implement SaveLoad::writeEntry - Implement missing saveLoadWithSerializer functions for all serialized classes & structs - Add stub for SaveLoad::computePadding svn-id: r53845
2010-10-18LASTEXPRESS: Merge in the engine.Eugene Sandulenko
svn-id: r53579