Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-26 | LASTEXPRESS: Add some more error handling to Savegame and Sound classes | Julien Templier | |
- Add some const modifiers where applicable - Add some missing casts svn-id: r55541 | |||
2011-01-25 | LASTEXPRESS: Fixed Memory Leak in Subtitles. | David Turner | |
Also, fixed minor uninitialised read in animation event polling. svn-id: r55524 | |||
2011-01-25 | LASTEXPRESS: Correct typos in Alexei logic and sound code | Julien Templier | |
svn-id: r55523 | |||
2011-01-25 | LASTEXPRESS: Fix accidental assignment in sound.cpp. | David Turner | |
Checked with Littleboy that this was not intentional. svn-id: r55520 | |||
2011-01-25 | LASTEXPRESS: Corrected format warning in state.h | David Turner | |
svn-id: r55519 | |||
2011-01-25 | LASTEXPRESS: 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-25 | LASTEXPRESS: Add some subtitle support to Sound class | Julien Templier | |
svn-id: r55511 | |||
2010-11-19 | COMMON: Split common/stream.h into several headers | Max Horn | |
svn-id: r54385 | |||
2010-11-19 | LASTEXPRESS: Poll events when loading savegames to prevent freezing the ↵ | Julien Templier | |
application svn-id: r54368 | |||
2010-11-19 | LASTEXPRESS: Add missing queue reset in Entitites::resetSequences | Julien Templier | |
svn-id: r54367 | |||
2010-11-16 | LASTEXPRESS: Fix SequenceFrame leak in Entities code | Julien Templier | |
- Add EntityCallData destructor to dispose of frames & Sequences - Properly dispose of frames in Entities::resetSequences() svn-id: r54270 | |||
2010-11-15 | LASTEXPRESS: Use Common::StackLock instead of mutex lock/unlock in Sound class | Julien Templier | |
svn-id: r54247 | |||
2010-11-15 | LASTEXPRESS: 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-15 | LASTEXPRESS: Don't use NULL in arithmetic (silences a warning) | Matthew Hoops | |
svn-id: r54244 | |||
2010-11-15 | LASTEXPRESS: Protect sound queue accesses with mutex | Julien 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-11 | LASTEXPRESS: Use SAFE_DELETE for class variables | Julien Templier | |
svn-id: r54201 | |||
2010-11-11 | LASTEXPRESS: Fix more memory leaks | Julien 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-11 | LASTEXPRESS: Fix some memory leaks | Julien 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-01 | COMMON: 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-27 | LASTEXPRESS: Rename variable to silence GCC warning | Torbjörn Andersson | |
svn-id: r53888 | |||
2010-10-27 | LASTEXPRESS: Use Common::Rational when adjusting menu clock | Julien Templier | |
Also fix the wrong check that set the time directly to the target time svn-id: r53885 | |||
2010-10-27 | LASTEXPRESS: Hide menu elements after a game has been loaded | Julien Templier | |
svn-id: r53884 | |||
2010-10-27 | LASTEXPRESS: Implement game loading (last save entry only) | Julien Templier | |
svn-id: r53883 | |||
2010-10-27 | LASTEXPRESS: Do not try to show intro when loading a game | Julien Templier | |
svn-id: r53882 | |||
2010-10-27 | LASTEXPRESS: Cleanup game saving | Julien 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-27 | LASTEXPRESS: Add some missing casts and const qualifiers | Julien Templier | |
svn-id: r53880 | |||
2010-10-26 | LASTEXPRESS: Read savegame in blocks instead of bytes | Willem Jan Palenstijn | |
svn-id: r53854 | |||
2010-10-26 | LASTEXPRESS: Fix GCC warnings | Julien Templier | |
svn-id: r53850 | |||
2010-10-26 | LASTEXPRESS: Turn dummy action error into a warning | Julien Templier | |
svn-id: r53849 | |||
2010-10-26 | LASTEXPRESS: Fix forward/backward in the menu | Julien Templier | |
svn-id: r53848 | |||
2010-10-26 | LASTEXPRESS: Implement loading of savegame entry headers | Julien Templier | |
svn-id: r53847 | |||
2010-10-26 | LASTEXPRESS: Do not delete Clock & TrainLine frames in clear() functions | Julien Templier | |
svn-id: r53846 | |||
2010-10-26 | LASTEXPRESS: More savegame work | Julien Templier | |
- Implement SaveLoad::writeEntry - Implement missing saveLoadWithSerializer functions for all serialized classes & structs - Add stub for SaveLoad::computePadding svn-id: r53845 | |||
2010-10-26 | LASTEXPRESS: Make GameState::time of type TimeValue | Julien Templier | |
svn-id: r53844 | |||
2010-10-26 | LASTEXPRESS: Silence GCC warning | Torbjörn Andersson | |
svn-id: r53843 | |||
2010-10-26 | LASTEXPRESS: Savegame support update | Julien 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-23 | LASTEXPRESS: Output human readable time in the show game state debug command | Julien Templier | |
svn-id: r53745 | |||
2010-10-22 | LASTEXPRESS: Reorganize and enhance some debug commands | Julien 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-22 | LASTEXPRESS: Add missing casts, fix warnings and correct typos | Julien Templier | |
svn-id: r53694 | |||
2010-10-21 | LASTEXPRESS: Implement remaining AI logic functions for Kahina and Kronos | Julien Templier | |
svn-id: r53684 | |||
2010-10-21 | LASTEXPRESS: Implement 10 more AI logic functions | Julien Templier | |
svn-id: r53680 | |||
2010-10-21 | LASTEXPRESS: Fix debug message. | Torbjörn Andersson | |
svn-id: r53676 | |||
2010-10-19 | LASTEXPRESS: Fix some space formatting. | Jordi Vilalta Prat | |
svn-id: r53629 | |||
2010-10-19 | LASTEXPRESS: Fix corpse disappearing when hiding the body in the bed | Julien 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-19 | LASTEXPRESS: Changed some spaces to tabs | Torbjörn Andersson | |
svn-id: r53618 | |||
2010-10-19 | LASTEXPRESS: Fix warning about empty loop body | Max Horn | |
svn-id: r53605 | |||
2010-10-18 | LASTEXPRESS: Fix GCC warnings | Julien Templier | |
svn-id: r53588 | |||
2010-10-18 | LASTEXPRESS: Merge in the engine. | Eugene Sandulenko | |
svn-id: r53579 |