13 Commits

Author SHA1 Message Date
Max Horn
2d1c8a3533 ALL: Fix whitespaces / indention
svn-id: r55818
2011-02-07 23:01:06 +00:00
Julien Templier
04f971370c LASTEXPRESS: Add some more error handling to Savegame and Sound classes
- Add some const modifiers where applicable
  - Add some missing casts

svn-id: r55541
2011-01-26 10:43:38 +00:00
Julien Templier
8db6eb7b87 LASTEXPRESS: Add per-entry sound stream (this fixes all dialog being cut as soon as a new sound is queued)
svn-id: r55513
2011-01-25 02:17:05 +00:00
Julien Templier
0fd380441a LASTEXPRESS: Add some subtitle support to Sound class
svn-id: r55511
2011-01-25 02:16:29 +00:00
Julien Templier
8664535029 LASTEXPRESS: Protect sound queue accesses with mutex
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-15 12:48:54 +00:00
Julien Templier
521f228ced LASTEXPRESS: Use SAFE_DELETE for class variables
svn-id: r54201
2010-11-11 14:19:44 +00:00
Julien Templier
6711c5a8cf LASTEXPRESS: Fix more memory leaks
- 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 06:18:23 +00:00
Julien Templier
d5e4ab6b20 LASTEXPRESS: Cleanup game saving
- 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 19:19:38 +00:00
Julien Templier
dc4a22ed7d LASTEXPRESS: More savegame work
- Implement SaveLoad::writeEntry
 - Implement missing saveLoadWithSerializer functions for all serialized classes & structs
 - Add stub for SaveLoad::computePadding

svn-id: r53845
2010-10-26 06:55:34 +00:00
Julien Templier
def40a625a LASTEXPRESS: Implement remaining AI logic functions for Kahina and Kronos
svn-id: r53684
2010-10-21 23:41:22 +00:00
Jordi Vilalta Prat
59c054938a LASTEXPRESS: Fix some space formatting.
svn-id: r53629
2010-10-19 22:34:26 +00:00
Julien Templier
0c72b1800d LASTEXPRESS: Fix GCC warnings
svn-id: r53588
2010-10-18 21:03:28 +00:00
Eugene Sandulenko
86d650926f LASTEXPRESS: Merge in the engine.
svn-id: r53579
2010-10-18 19:17:38 +00:00