aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress
AgeCommit message (Collapse)Author
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
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
2010-10-26LASTEXPRESS: Savegame support updateJulien Templier
- Implement Menu::startGame() properly - Add stubs functions for game restart - Made savegame headers serializable and moved validity checks inside struct definition - Implement create/init savegame functions - Add SavegameStream to be able to read/write to the same memory stream - Add stubs for setup, writeEntry & loadEntry functions svn-id: r53841
2010-10-25LASTEXPRESS: Add Date-time comments for US & FR Broderbund releasesJulien Templier
svn-id: r53833
2010-10-25LASTEXPRESS: Adding Date-Time Comments To UK Broderbund Detection EntryDavid Turner
As per Littleboy's request. svn-id: r53784
2010-10-25LASTEXPRESS: Don't use NULL in arithmeticMatthew Hoops
svn-id: r53783
2010-10-24LASTEXPRESS: Fix issues when copying debugger commandsJulien Templier
- Properly free allocated memory in resetCommand() - Make sure _commandParams strings are null-terminated svn-id: r53778
2010-10-24LASTEXPRESS: Fix crash in subtitle handlingJulien Templier
svn-id: r53777
2010-10-24LASTEXPRESS: Change detection entries platform to kPlatformUnknownJulien Templier
All full versions of the game are multiplatform Dos/Win/Mac and the demo is Dos/Win svn-id: r53770
2010-10-23LASTEXPRESS: Add new dump command to dump the list of files in the archives ↵Julien Templier
(with size & md5) svn-id: r53749
2010-10-23LASTEXPRESS: Output human readable time in the show game state debug commandJulien Templier
svn-id: r53745
2010-10-23ALL: Fix indention (whitespaces -> tabs)Max Horn
svn-id: r53738
2010-10-23LASTEXPRESS: Add md5sums of UK Broderbund TLE.David Turner
svn-id: r53733