Commit Graph
269 Commits
Author SHA1 Message Date
Max Horn 82e473bc3b BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).

The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.

svn-id: r54147
2010-11-08 22:53:36 +00:00
Max Horn a1dd7a07a1 ENGINES: Remove some 'using' statements
svn-id: r54001
2010-11-01 16:00:17 +00:00
Johannes Schickel 75e8452b6e OPENGL: Merged from trunk, from rev 52105 to 53396.
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.

Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.

svn-id: r53399
2010-10-13 03:57:44 +00:00
Torbjörn Andersson 113e14224d AGOS: Fix Valgrind warnings on exit.
svn-id: r52904
2010-09-26 12:07:50 +00:00
Johannes Schickel 6588398ce6 MIDI: Send a reset MIDI device signal on startup.
This is currently done in the engine code. I adapted AGI, AGOS, DRACI,
GROOVIE, LURE, MADE, QUEEN, SAGA, SKY, TINSEL and TOUCHE to send a reset
device on startup. The sound output still works fine (started up a game
from every engine), so this should hopefully not introduce any regressions.

As far as I can tell it seems that SCUMM does send a proper device reset, so
I did not touch it. KYRA only sends a proper reset for MT-32 currently. I am
not sure about SCI though.

This fixes bug #3066826 "SIMON: MIDI notes off when using RTL after SCI".

svn-id: r52736
2010-09-15 22:00:20 +00:00
Alejandro Marzini fb4086cadb Merged from trunk, from Rev 50841 to HEAD
svn-id: r51495
2010-07-30 05:28:09 +00:00
Johannes Schickel 97870a220d AGOS: Make the "m" hotkey respect the mute setting.
svn-id: r51102
2010-07-21 20:12:57 +00:00
Johannes Schickel 4d437bafd8 AGOS: Make AGOS respect the mute setting.
svn-id: r51100
2010-07-21 20:12:09 +00:00
Alejandro Marzini 609e08d5db Merged from trunk, from Rev 49499 to HEAD
svn-id: r50840
2010-07-13 04:31:15 +00:00
Torbjörn Andersson dde6dabac9 Cleanup: Treat booleans as booleans, not integers. (I hope I didn't mess up,
because that would cause some nasty regressions...)

svn-id: r50643
2010-07-04 07:32:12 +00:00
Florian Kagerer c35e350531 AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either select MDT_PREFER_MT32 or MDT_PREFER_GM
svn-id: r50288
2010-06-25 20:51:57 +00:00
Max Horn bbad3f333a Patch #1956501: "GUI/LAUNCHER: Midi device selection"
svn-id: r50128
2010-06-21 21:36:36 +00:00
Alejandro Marzini e1ef3cd9fc Renamed getAudioCD to getAudioCDManager.
svn-id: r49678
2010-06-15 04:13:12 +00:00
Alejandro Marzini e991cd8c53 - Revised abstract AudioCDManager.
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.

svn-id: r49548
2010-06-09 20:09:57 +00:00
Max Horn b3e404109c Move initGraphics and initCommonGFX from to new header.
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.

svn-id: r48934
2010-05-04 11:58:12 +00:00
Max Horn 5568a8473b Get rid of Engine::_gameDataDir.
This greatly reduces indirect dependencies on several header files
from common.

svn-id: r48933
2010-05-04 11:56:52 +00:00
Travis Howell 9f53578fd2 Fix compiler warning.
svn-id: r48365
2010-03-23 00:42:42 +00:00
Torbjörn Andersson 72eb9ec9ea Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
before freeing it, which isn't necessary.

svn-id: r46941
2010-01-03 19:37:43 +00:00
Max Horn c8873d8492 Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
svn-id: r46316
2009-12-09 18:12:51 +00:00
Travis Howell 48cce58ab5 Split the script opcode table for DIMP, since it doesn't match(ie timers) other Puzzle Pack games.
svn-id: r44285
2009-09-24 03:41:45 +00:00
Johannes Schickel c50940bbf4 Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
svn-id: r44266
2009-09-23 00:15:00 +00:00
Johannes Schickel b33b90ecd0 Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files)
svn-id: r43512
2009-08-18 15:31:26 +00:00
Travis Howell 8a62c94f80 Enable Personal Nightmare by default.
svn-id: r43304
2009-08-12 02:24:03 +00:00
Travis Howell 1c15bcf87d Add option to disable later games (Feeble Files, Puzzle Pack) in AGOS game engine, which require higher resolution.
svn-id: r43270
2009-08-11 14:42:44 +00:00
Johannes Schickel 7e71865e91 Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
svn-id: r42751
2009-07-25 12:59:46 +00:00
Travis Howell 3ce15cb9b7 Ooops, remove debug code.
svn-id: r42164
2009-07-06 06:24:04 +00:00
Travis Howell dc0f6dce76 Use graphics surfaces for screen buffers, and always use correct pitch when writing to the frameBuffer.
svn-id: r42163
2009-07-06 06:21:59 +00:00
Travis Howell bce47e7eb6 Add initial support for DOS non-interactive demos of The Feeble Files.
svn-id: r40619
2009-05-16 05:34:16 +00:00
Travis Howell d22aeae5fc Fix pausing during video play back.
svn-id: r40098
2009-04-24 10:07:34 +00:00
Travis Howell d6247fa0e0 Fix crash that occurs when OmniTV video is played completely, in The Feeble Files.
svn-id: r40063
2009-04-22 10:19:10 +00:00
Travis Howell 2ff57df1e5 Cleanup.
svn-id: r39260
2009-03-09 04:37:31 +00:00
Travis Howell 93deecccef Minor cleanup.
svn-id: r39259
2009-03-09 04:16:27 +00:00
Max Horn 563d76d342 AGOS: Changed _leftButtonDown & _rightButtonDown from byte to int
svn-id: r39256
2009-03-09 03:45:33 +00:00
Travis Howell 2bd2fe43c5 Change Personal Nightmare support to optional, until setjmp/longjmp code is converted.
svn-id: r39253
2009-03-09 02:25:29 +00:00
Travis Howell 1937dca584 Cleanup.
svn-id: r39222
2009-03-08 13:18:07 +00:00
Travis Howell 56189fcf30 Clarify several errors messages.
svn-id: r39219
2009-03-08 10:08:09 +00:00
Travis Howell 2620d6836c Add initial support for Personal Nightmare.
Thanks to dreammaster for file decompression and icon decoding code.

NOTE: setjmp/longjmp code will require conversion for portability.

svn-id: r39216
2009-03-08 08:45:21 +00:00
Travis Howell fdb9cd9ce2 Add DOS demo of Elvira 1.
svn-id: r39026
2009-03-01 10:09:27 +00:00
Travis Howell 3571da7a94 Correctly fix position of icons in AtariST version of Elvira 2.
svn-id: r39011
2009-03-01 06:43:46 +00:00
Travis Howell 1eb9c35255 Fix another memory leak, when exiting Waxworks.
svn-id: r36296
2009-02-13 05:50:17 +00:00
Travis Howell a55aa87ba7 Fix memory leaks, when exiting Waxworks.
svn-id: r36294
2009-02-13 05:42:28 +00:00
Travis Howell 740ee411b0 Fix another memory leak, when exiting AGOS engine.
svn-id: r36293
2009-02-13 05:32:06 +00:00
Travis Howell edfc00a740 Fix memory leak, when exiting AGOS engine.
svn-id: r36290
2009-02-13 05:09:46 +00:00
Travis Howell 89063a38ce Cleanup.
svn-id: r36233
2009-02-07 04:32:33 +00:00
Travis Howell 5de19ecb28 Cleanup.
svn-id: r36232
2009-02-07 03:36:36 +00:00
Travis Howell 3a4cc4b88d time.h include no longer required.
svn-id: r36229
2009-02-07 01:45:32 +00:00
Travis Howell 885922240e Fix startup of AtariST demo of Elvira 1.
svn-id: r36212
2009-02-04 05:52:14 +00:00
Max Horn 4d87acf8b4 AGOS: Added TODO about the possibility of using special debug levels
svn-id: r36137
2009-01-30 04:07:41 +00:00
Travis Howell 53c71f8e4d Add support for text compression in the AtariST version of Elvira 1.
svn-id: r36065
2009-01-26 04:22:19 +00:00
Travis Howell c36eb09237 Remove unused shutdown() code.
svn-id: r36018
2009-01-23 04:05:10 +00:00