aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game
AgeCommit message (Collapse)Author
2011-05-14LASTEXPRESS: Silence compiler warningMax Horn
2011-05-13LASTEXPRESS: Implement SoundManager::setupCache()Littleboy
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-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
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: Properly update cursor when hovering Egg and inventory itemsJulien Templier
svn-id: r55847
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
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-01-26LASTEXPRESS: Add some more error handling to Savegame and Sound classesJulien Templier
- Add some const modifiers where applicable - Add some missing casts svn-id: r55541
2011-01-25LASTEXPRESS: Fixed Memory Leak in Subtitles.David Turner
Also, fixed minor uninitialised read in animation event polling. svn-id: r55524
2011-01-25LASTEXPRESS: Correct typos in Alexei logic and sound codeJulien Templier
svn-id: r55523
2011-01-25LASTEXPRESS: Fix accidental assignment in sound.cpp.David Turner
Checked with Littleboy that this was not intentional. svn-id: r55520
2011-01-25LASTEXPRESS: Corrected format warning in state.hDavid Turner
svn-id: r55519
2011-01-25LASTEXPRESS: Add per-entry sound stream (this fixes all dialog being cut as ↵Julien Templier
soon as a new sound is queued) svn-id: r55513
2011-01-25LASTEXPRESS: Add some subtitle support to Sound classJulien Templier
svn-id: r55511
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-19LASTEXPRESS: Poll events when loading savegames to prevent freezing the ↵Julien Templier
application svn-id: r54368
2010-11-19LASTEXPRESS: Add missing queue reset in Entitites::resetSequencesJulien Templier
svn-id: r54367
2010-11-16LASTEXPRESS: Fix SequenceFrame leak in Entities codeJulien Templier
- Add EntityCallData destructor to dispose of frames & Sequences - Properly dispose of frames in Entities::resetSequences() svn-id: r54270
2010-11-15LASTEXPRESS: Use Common::StackLock instead of mutex lock/unlock in Sound classJulien Templier
svn-id: r54247
2010-11-15LASTEXPRESS: Fix frame leak in Entities::processFrame()Julien Templier
When not keeping the previous frame, the current frame was overwritten. We now delete it before assigning a new value. svn-id: r54246
2010-11-15LASTEXPRESS: Don't use NULL in arithmetic (silences a warning)Matthew Hoops
svn-id: r54244
2010-11-15LASTEXPRESS: Protect sound queue accesses with mutexJulien Templier
Sound entries were being streamed before the data was fully loaded and queue addition/removal could happen while the sound timer was going through the queue (reported by digitall). svn-id: r54241
2010-11-11LASTEXPRESS: Use SAFE_DELETE for class variablesJulien Templier
svn-id: r54201
2010-11-11LASTEXPRESS: Fix more memory leaksJulien Templier
- Missing deallocation of queued frames in SceneManager - Leaking functor on each call to entity setup functions - Add SoundEntry destructor & better Entity cleanup as reported by digitall svn-id: r54196
2010-11-11LASTEXPRESS: Fix some memory leaksJulien Templier
- Reading past the end of file in SaveLoad::init - Missing deallocation of cache in SoundManager - Missing deallocation of coords in SceneHotspot - Missing deallocation of event handlers in LastExpressEngine::setEventHandlers - Missing deallocation of InSaveFile in SaveLoad::isSavegameValid - Missing deallocation of frames in Menu as reported by digitall svn-id: r54193
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: Rename variable to silence GCC warningTorbjörn Andersson
svn-id: r53888
2010-10-27LASTEXPRESS: Use Common::Rational when adjusting menu clockJulien Templier
Also fix the wrong check that set the time directly to the target time svn-id: r53885
2010-10-27LASTEXPRESS: Hide menu elements after a game has been loadedJulien Templier
svn-id: r53884
2010-10-27LASTEXPRESS: Implement game loading (last save entry only)Julien Templier
svn-id: r53883
2010-10-27LASTEXPRESS: Do not try to show intro when loading a gameJulien Templier
svn-id: r53882
2010-10-27LASTEXPRESS: Cleanup game savingJulien Templier
- Move loading of game stream to separate function - Add checks for NULL in functions using _savegame - Add expected saved size for sound & savepoints svn-id: r53881
2010-10-27LASTEXPRESS: Add some missing casts and const qualifiersJulien Templier
svn-id: r53880
2010-10-26LASTEXPRESS: Read savegame in blocks instead of bytesWillem Jan Palenstijn
svn-id: r53854
2010-10-26LASTEXPRESS: Fix GCC warningsJulien Templier
svn-id: r53850
2010-10-26LASTEXPRESS: Turn dummy action error into a warningJulien Templier
svn-id: r53849
2010-10-26LASTEXPRESS: Fix forward/backward in the menuJulien Templier
svn-id: r53848
2010-10-26LASTEXPRESS: Implement loading of savegame entry headersJulien Templier
svn-id: r53847
2010-10-26LASTEXPRESS: Do not delete Clock & TrainLine frames in clear() functionsJulien Templier
svn-id: r53846
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-26LASTEXPRESS: Make GameState::time of type TimeValueJulien Templier
svn-id: r53844
2010-10-26LASTEXPRESS: Silence GCC warningTorbjörn Andersson
svn-id: r53843