aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game
AgeCommit message (Collapse)Author
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
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-23LASTEXPRESS: Output human readable time in the show game state debug commandJulien Templier
svn-id: r53745
2010-10-22LASTEXPRESS: Reorganize and enhance some debug commandsJulien Templier
Add "time" command to convert between in-game and human-readable forms Rename "dump" command to "show" and use named parameters instead of index Add progress and flags options to show command svn-id: r53715
2010-10-22LASTEXPRESS: Add missing casts, fix warnings and correct typosJulien Templier
svn-id: r53694
2010-10-21LASTEXPRESS: Implement remaining AI logic functions for Kahina and KronosJulien Templier
svn-id: r53684
2010-10-21LASTEXPRESS: Implement 10 more AI logic functionsJulien Templier
svn-id: r53680
2010-10-21LASTEXPRESS: Fix debug message.Torbjörn Andersson
svn-id: r53676
2010-10-19LASTEXPRESS: Fix some space formatting.Jordi Vilalta Prat
svn-id: r53629
2010-10-19LASTEXPRESS: Fix corpse disappearing when hiding the body in the bedJulien Templier
The setItemLocation action had a typo that prevented it from setting the item location. The "corpse moved" event was not set and it broke the scene progression. Also clean up the pickCorpse code and add better comments. svn-id: r53624
2010-10-19LASTEXPRESS: Changed some spaces to tabsTorbjörn Andersson
svn-id: r53618
2010-10-19LASTEXPRESS: Fix warning about empty loop bodyMax Horn
svn-id: r53605
2010-10-18LASTEXPRESS: Fix GCC warningsJulien Templier
svn-id: r53588
2010-10-18LASTEXPRESS: Merge in the engine.Eugene Sandulenko
svn-id: r53579