aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress
AgeCommit message (Collapse)Author
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-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
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: Fix typo in Francois logicJulien Templier
svn-id: r55512
2011-01-25LASTEXPRESS: Add some subtitle support to Sound classJulien Templier
svn-id: r55511
2011-01-24LASTEXPRESS: Add Italian release (and update file dates for German and ↵Julien Templier
Spanish releases) svn-id: r55500
2011-01-20LASTEXPRESS: Add macro for end of entities logic functionsJulien Templier
svn-id: r55343
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-19LASTEXPRESS: Simplify current frame calculation in Animation::processJulien Templier
(per Max suggestion) svn-id: r54366
2010-11-19ALL: Push down deps on stream.h from .h to .cpp filesMax Horn
svn-id: r54358
2010-11-19LASTEXPRESS: Include common/events.h instead of common/EventRecorder.hMax Horn
svn-id: r54356
2010-11-17ENGINES: Change 'colour' to 'color'Max Horn
Only changed this in engines where 'color' was/is already used almost exclusively svn-id: r54288
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: Update Animation::process()Julien Templier
- Use Common::Rational to compute the current frame - Added check for _currentChunk != NULL - Add constructor to Chunk structure svn-id: r54245
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: Silence potential warnings about extra semicolonsMax Horn
svn-id: r54207
2010-11-11LASTEXPRESS: Remove superflous if check in SAFE_DELETE.Johannes Schickel
svn-id: r54203
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-07COMMON: Rename and tweak MD5 functionsMax Horn
* names now comply to our naming conventions * the function computeStreamMD5AsString which computes the MD5 as a hex string now returns it as a Common::String * add doxygen comments svn-id: r54121
2010-11-01GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warningsMax Horn
svn-id: r54007
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-30LASTEXPRESS: Use const_iterator to iterate over a const arrayMax Horn
svn-id: r53967
2010-10-27JANITORIAL: Remove unnecessary semicolonsTorbjörn Andersson
svn-id: r53889
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