Commit Graph
319 Commits
Author SHA1 Message Date
Littleboy be7064c25e LASTEXPRESS: Remove unused LastExpressEngine::errorString() 2011-06-02 18:22:59 -04:00
Littleboy 488759c8b6 LASTEXPRESS: Add a separate sound cache list for entries with a sound data buffer 2011-05-24 00:56:46 -04:00
Thierry Crozat d2a55b42c9 ENGINES: Further unify engine names 2011-05-22 12:47:35 +01:00
Max Horn 4cbe4ede66 COMMON: Registers RandomSources in constructor with the event recorder
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +02:00
Thierry Crozat 3c59e37035 ENGINES: Unify engine names
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01:00
Max Horn 530bf27af6 LASTEXPRESS: Silence compiler warning 2011-05-14 14:27:06 +02:00
Littleboy aa64280b55 LASTEXPRESS: Implement SoundManager::setupCache() 2011-05-13 15:49:55 -04:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Littleboy b38d965fdf LASTEXPRESS: Implement last part of inventory handling 2011-05-11 14:20:46 -04:00
Littleboy 33c3e19cea LASTEXPRESS: Implement item selection and scene loading 2011-05-10 19:18:32 -04:00
Littleboy 2bc865f01a LASTEXPRESS: Implement highlight of inventory items 2011-05-10 19:18:30 -04:00
Littleboy 8d4622d70d LASTEXPRESS: Draw portrait non-highlighted in Inventory::show() 2011-05-10 19:18:29 -04:00
Littleboy 3088acf69a LASTEXPRESS: Add button pressed state for inventory handling 2011-05-10 19:18:26 -04:00
Littleboy 1516ba7367 LASTEXPRESS: Implement skeleton code for selected item and inventory selection 2011-05-10 19:18:22 -04:00
Johannes Schickel 71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Ori Avtalion cd6ee0589d JANITORIAL: Format forward declarations to follow convention 2011-04-28 12:20:34 +03:00
Matthew Hoops 9d8874c707 AUDIO: Cleanup MS IMA handling
- Split The Last Express' ADPCM to the engine. Using the MS IMA routine was really a hack.
- Fixed stereo MS IMA ADPCM, the old routine was completely wrong.
2011-04-24 23:14:14 -04:00
Johannes Schickel 14d4964001 LASTEXPRESS: Use RGB555 PixelFormat for surfaces instead of screen format.
This makes the code a bit more readable, thanks to fuzzie for pointing that
out.
2011-04-17 22:17:09 +02:00
Johannes Schickel 6d1d31d0f9 LASTEXPRESS: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
I am not sure whether the engine really uses only surfaces with the exat same
format as the screen. The engine maintainer should review this commit and fix
it in case the surfaces use a different pixel format.
2011-04-17 16:28:05 +02:00
Littleboy 5277c86482 LASTEXPRESS: Fix sound timer to only run every 17 milliseconds 2011-03-22 16:46:31 -04:00
dhewg a0bdb6e5df LASTEXPRESS: Init volume levels on startup 2011-03-19 16:04:53 +01:00
Julien Templier f751f5b0e1 LASTEXPRESS: Add support for item highlight in inventory and scene restore
- Properly show egg not highlighted by default
 - Fix GCC warning in drawItem()
 - Remove unused code

svn-id: r55855
2011-02-09 03:40:00 +00:00
Max Horn 42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Julien Templier 058d75b708 LASTEXPRESS: Implement proper Inventory::open() and Inventory::close()
svn-id: r55848
2011-02-09 00:24:06 +00:00
Julien Templier 0250fd4571 LASTEXPRESS: Properly update cursor when hovering Egg and inventory items
svn-id: r55847
2011-02-09 00:23:49 +00:00
Julien Templier 6b477ee33e LASTEXPRESS: Refactor inventory handling
- 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-09 00:23:35 +00:00
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
David Turner b52859323c LASTEXPRESS: Fixed Memory Leak in Subtitles.
Also, fixed minor uninitialised read in animation event polling.

svn-id: r55524
2011-01-25 08:24:57 +00:00
Julien Templier 6400659ead LASTEXPRESS: Correct typos in Alexei logic and sound code
svn-id: r55523
2011-01-25 04:25:06 +00:00
David Turner d183a3618d LASTEXPRESS: Fix accidental assignment in sound.cpp.
Checked with Littleboy that this was not intentional.

svn-id: r55520
2011-01-25 03:22:37 +00:00
David Turner f9c54abee8 LASTEXPRESS: Corrected format warning in state.h
svn-id: r55519
2011-01-25 03:11:27 +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 8f7418556a LASTEXPRESS: Fix typo in Francois logic
svn-id: r55512
2011-01-25 02:16:45 +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 03faae8551 LASTEXPRESS: Add Italian release (and update file dates for German and Spanish releases)
svn-id: r55500
2011-01-24 12:41:16 +00:00
Julien Templier 82b0a9b003 LASTEXPRESS: Add macro for end of entities logic functions
svn-id: r55343
2011-01-20 04:57:06 +00:00
Max Horn 2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Julien Templier 9e5b554dc3 LASTEXPRESS: Poll events when loading savegames to prevent freezing the application
svn-id: r54368
2010-11-19 10:55:56 +00:00
Julien Templier 2687c987eb LASTEXPRESS: Add missing queue reset in Entitites::resetSequences
svn-id: r54367
2010-11-19 10:55:38 +00:00
Julien Templier 2a6519ca2e LASTEXPRESS: Simplify current frame calculation in Animation::process
(per Max suggestion)

svn-id: r54366
2010-11-19 10:55:21 +00:00
Max Horn a0df86955f ALL: Push down deps on stream.h from .h to .cpp files
svn-id: r54358
2010-11-19 01:37:04 +00:00
Max Horn 5ea4b576c3 LASTEXPRESS: Include common/events.h instead of common/EventRecorder.h
svn-id: r54356
2010-11-19 00:49:16 +00:00
Max Horn ee4770ffb6 ENGINES: Change 'colour' to 'color'
Only changed this in engines where 'color' was/is already used
almost exclusively

svn-id: r54288
2010-11-17 12:22:08 +00:00
Julien Templier da90fa1405 LASTEXPRESS: Fix SequenceFrame leak in Entities code
- Add EntityCallData destructor to dispose of frames & Sequences
 - Properly dispose of frames in Entities::resetSequences()

svn-id: r54270
2010-11-16 14:06:59 +00:00
Julien Templier 396bec13f9 LASTEXPRESS: Use Common::StackLock instead of mutex lock/unlock in Sound class
svn-id: r54247
2010-11-15 15:48:39 +00:00
Julien Templier 7d9c43d22b LASTEXPRESS: Fix frame leak in Entities::processFrame()
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 15:48:20 +00:00
Julien Templier a4d9d03601 LASTEXPRESS: Update Animation::process()
- Use Common::Rational to compute the current frame
 - Added check for _currentChunk != NULL
 - Add constructor to Chunk structure

svn-id: r54245
2010-11-15 15:48:08 +00:00
Matthew Hoops dbb3e1dded LASTEXPRESS: Don't use NULL in arithmetic (silences a warning)
svn-id: r54244
2010-11-15 15:20:48 +00:00