Commit Graph

104 Commits

Author SHA1 Message Date
Vladimir Menshakov
2dd34a2123 added voices pack/cd music support
svn-id: r48962
2010-05-07 07:56: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
Vladimir Menshakov
cb17e00f0d added cd-version detection and cdlogo.res support
svn-id: r48831
2010-04-28 19:50:28 +00:00
Max Horn
a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Vladimir Menshakov
b89b64f71a fixed crash during time challenges (rclick without object)
svn-id: r48581
2010-04-07 07:45:50 +00:00
Vladimir Menshakov
e9d80d104d validate path before examining object
svn-id: r48383
2010-03-24 19:34:58 +00:00
Vladimir Menshakov
338532ec3c preload inventory graphics on load
svn-id: r48350
2010-03-21 07:49:53 +00:00
Vladimir Menshakov
76ef5d4aea -added overlay rendering flag
-fixed music played too late on some scenes

svn-id: r48349
2010-03-21 07:38:09 +00:00
Vladimir Menshakov
22dd1a616f ported all code to ScopedPtr
svn-id: r48340
2010-03-20 20:37:36 +00:00
Vladimir Menshakov
b5d3d0ebcf fixed another stream leak
svn-id: r48327
2010-03-20 16:52:51 +00:00
Vladimir Menshakov
9c2289b7a3 flush inventory items on savegame load, fixing invalid item tiles after multiple loads.
svn-id: r48325
2010-03-20 16:23:15 +00:00
Vladimir Menshakov
73d5251738 fixed stream leaks
svn-id: r48321
2010-03-20 15:24:16 +00:00
Vladimir Menshakov
4da76a96d8 restored subtitle feature
svn-id: r48320
2010-03-20 15:00:42 +00:00
Vladimir Menshakov
34811eb8dd removed 'subtitle' option, added missing finalize
svn-id: r48316
2010-03-20 13:55:07 +00:00
Vladimir Menshakov
412e63123e code convention fixes mentioned by Max Horn
svn-id: r48296
2010-03-18 23:30:29 +00:00
Vladimir Menshakov
e245de962a removed 'varia.res' from the resident pack files
svn-id: r48295
2010-03-18 23:24:32 +00:00
Vladimir Menshakov
77411ff0f9 added abstract Pack class, moved code into FilePack and MemoryPack
svn-id: r48292
2010-03-18 22:35:58 +00:00
Vladimir Menshakov
eacf1030e4 added async getFlag(addr)
svn-id: r48131
2010-02-26 07:36:52 +00:00
Vladimir Menshakov
b90088e476 reset intro flag after savegame loading
svn-id: r48128
2010-02-25 20:36:10 +00:00
Vladimir Menshakov
da286bf828 hide mouse while playing cutscenes
svn-id: r48126
2010-02-25 19:58:54 +00:00
Yotam Barnoy
ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Vladimir Menshakov
ae938dbef8 added setFlag, fixed non-mark's messages
svn-id: r47969
2010-02-07 17:13:39 +00:00
Vladimir Menshakov
ef8215e70c added kWait event type
svn-id: r47808
2010-02-02 07:26:36 +00:00
Johannes Schickel
a505d32eff Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
svn-id: r47716
2010-01-30 15:26:54 +00:00
Max Horn
1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
4b996e7de7 Reorder params to Audio::makeRawMemoryStream
svn-id: r47492
2010-01-23 23:55:35 +00:00
Max Horn
5ee6c79b5d Convert more engines from Mixer::playRaw to Mixer::playInputStream
svn-id: r47377
2010-01-19 11:22:14 +00:00
Max Horn
557bb394de Get rid of Mixer::FLAG_AUTOFREE.
Also fix several recently introduced new/delete vs. malloc/free mismatches.

svn-id: r47369
2010-01-19 00:56:29 +00:00
Joost Peters
29302d172b fix comparison for platforms where char is unsigned
svn-id: r47291
2010-01-13 15:17:22 +00:00
Joost Peters
2ae12749a9 fix #2926655: "Teenagent: Inventory problems on BE systems"
svn-id: r47236
2010-01-10 20:58:59 +00:00
Vladimir Menshakov
5d4ff2930b removed useless rtl logs
svn-id: r47200
2010-01-09 13:28:52 +00:00
Vladimir Menshakov
d7c46c154f fixed RTL
svn-id: r47199
2010-01-09 11:39:01 +00:00
Vladimir Menshakov
e50a24be15 log when EVENT_RTL received
svn-id: r47198
2010-01-09 10:37:27 +00:00
Max Horn
f720d99b0a Switch Mixer::playInputStream to use DisposeAfterUse::Flag
svn-id: r47182
2010-01-08 22:09:43 +00:00
Vladimir Menshakov
b847a2be35 added configurable timers/fast mode with ctrl-f hotkey
svn-id: r47167
2010-01-08 18:03:34 +00:00
Vladimir Menshakov
abdebd9871 added warning on invalid sound
svn-id: r47158
2010-01-08 16:21:36 +00:00
Vladimir Menshakov
adcb8cfa7d fixed inventory animation speed
svn-id: r47148
2010-01-08 10:35:25 +00:00
Vladimir Menshakov
69566f6bf1 do not interrupt any actions (test for wii)
svn-id: r47069
2010-01-06 10:11:38 +00:00
Vladimir Menshakov
427a15cd05 minor cleanups
svn-id: r47068
2010-01-06 09:38:56 +00:00
Vladimir Menshakov
711fada15c added logs about EVENT_RTL
svn-id: r47059
2010-01-05 22:23:58 +00:00
Vladimir Menshakov
841e2d3424 separate timers for mark, scene and messages.
svn-id: r47056
2010-01-05 22:09:16 +00:00
Vladimir Menshakov
7e5a7533ca more accurate timings.
svn-id: r47042
2010-01-05 20:58:41 +00:00
Vladimir Menshakov
e4a6b1c455 added subtitle speed option
fixed bug when idle animation could be displayed in a middle of the dialogue

svn-id: r47038
2010-01-05 20:15:29 +00:00
Vladimir Menshakov
89e18f5f12 original code uses exclusive random intervals
svn-id: r46980
2010-01-04 18:10:45 +00:00
Vladimir Menshakov
fe2529ce17 fixed flame effect
svn-id: r46979
2010-01-04 18:06:59 +00:00
Vladimir Menshakov
6271dc2821 'normal' game speed is about 10fps, not 12
svn-id: r46933
2010-01-03 16:43:59 +00:00
Vladimir Menshakov
d7f5f078b0 fixed typo
svn-id: r46927
2010-01-03 15:25:07 +00:00
Vladimir Menshakov
85c8b370cf added metropolis/TEENAGENT logo
svn-id: r46926
2010-01-03 15:18:20 +00:00
Vladimir Menshakov
3fbf1293d8 started music before logo
svn-id: r46921
2010-01-03 10:46:14 +00:00