Gregory Montoir
9c7dd91626
removed unneeded/unnecessary variables and made SmushFont table private (to ensure getFont() get called to access them)
...
svn-id: r25352
2007-02-03 17:55:49 +00:00
Torbjörn Andersson
ea40535678
Applied the revised NUT font renderer patch #1635584 , which combines cyx's
...
patch for correct (not to mention more efficient) rendering of CMI's shadowed
letters, while retaining most of the memory savings of my original patch. This
time, SMUSH and INSANE fonts also benefit from it.
svn-id: r25345
2007-02-03 05:50:35 +00:00
Gregory Montoir
6166c0ca19
reset _IACTpos when _IACTchannel is stopped (fixes memory overwrites in handleIACT during smush playback at the end of CMI demo)
...
svn-id: r25296
2007-01-31 00:16:21 +00:00
Gregory Montoir
9abaa064a0
got rid of codec37/codec47 init/deinit methods, cleanup
...
svn-id: r25295
2007-01-30 22:44:14 +00:00
Gregory Montoir
b4bebad6f0
minor simplification
...
svn-id: r25289
2007-01-30 20:43:39 +00:00
Gregory Montoir
cb258bee24
added deinitialisation of codecs at the end of smush playback. This allows to save a bit of memory (about 1Mb for CMI) during gameplay.
...
svn-id: r25287
2007-01-30 20:36:03 +00:00
Gregory Montoir
2b61c0d6c1
cleanup (made NutRenderer::loadFont protected, added call during initialisation of the renderer object)
...
svn-id: r25223
2007-01-27 02:26:37 +00:00
Torbjörn Andersson
aaa2973bac
Applied my own patch #1640913 ("Loading NUT fonts on demand"), after discussing
...
it with Fingolfin.
svn-id: r25221
2007-01-27 01:50:41 +00:00
Torbjörn Andersson
01a5faa6a0
Applied my own patch #1635584 (after discussing with Fingolfin) to reduce the
...
memory usage and number of allocations made by the NUT font renderer.
svn-id: r25155
2007-01-21 17:14:53 +00:00
Torbjörn Andersson
37f94f7cba
Hopefully fixed the SAN seeking (used by Full Throttle's bike fighting) that I
...
accidentally broke when removing the timer callback from the SMUSH player.
svn-id: r25120
2007-01-18 22:08:02 +00:00
Max Horn
1a2853f7e0
Patch from bug #1584888 (SMUSH: Too dependent on accurate timers). Watch out for regressions in SMUSH movie playback / syncing
...
svn-id: r24709
2006-11-13 19:46:52 +00:00
Max Horn
e7dc2c0d0c
Workaround for bug #1586894
...
svn-id: r24582
2006-11-01 21:09:25 +00:00
Max Horn
10478617c6
SCUMM: Take advantage of the fact that Chunk now is a ReadStream subclass
...
svn-id: r24546
2006-10-28 01:28:41 +00:00
Max Horn
a3bc66bcbd
SCUMM: Fix what I believe is a long-standing bug in FileChunk::reseek()
...
svn-id: r24545
2006-10-28 01:21:13 +00:00
Max Horn
9698d133a6
SCUMM: Changed class Chunk (and subclasses) to inherit from Common::SeekableReadStream
...
svn-id: r24544
2006-10-28 01:20:19 +00:00
Max Horn
3652229147
SCUMM: Got rid of smush/chunk_type.h
...
svn-id: r24543
2006-10-28 00:45:58 +00:00
Max Horn
48e5ec67ff
SCUMM: Further SMUSH audio channel cleanup; this time unified some code, and got rid of one set of memory buffers
...
svn-id: r24542
2006-10-28 00:18:13 +00:00
Max Horn
d90762c430
SCUMM: Changed SaudChannel to return 8bit mono data (the mixer will do any necessary conversions for us, no need to waste memory like this); fix SmushMixer to not allocate buffers twice as big as necessary
...
svn-id: r24541
2006-10-28 00:04:50 +00:00
Max Horn
2b2be1a18d
SCUMM: Unified some more SMUSH audio channel code
...
svn-id: r24538
2006-10-27 22:49:31 +00:00
Max Horn
ec653efc8b
SCUMM: Unified some SMUSH audio channel code
...
svn-id: r24536
2006-10-27 22:26:33 +00:00
Max Horn
9760469373
cleanup
...
svn-id: r24514
2006-10-25 23:12:34 +00:00
Max Horn
07f7761479
Backend modularization: Create timer manager, savefile manager and audio mixer in the backends for increased flexibility
...
svn-id: r24443
2006-10-22 15:42:29 +00:00
Max Horn
ad3723ac43
Replaced Chunk::ChunkString by tag2str
...
svn-id: r24325
2006-10-15 01:27:38 +00:00
Max Horn
2888110b3c
Turning various static tables into static const
...
svn-id: r24323
2006-10-15 01:24:17 +00:00
Eugene Sandulenko
93600ae194
Reenable INSANE warning. No check is required.
...
svn-id: r24309
2006-10-14 12:31:08 +00:00
Eugene Sandulenko
a77a955169
Oops. rv last commit.
...
svn-id: r24291
2006-10-13 09:14:43 +00:00
Eugene Sandulenko
053bbaf9bb
Reenable incorrectly compressed files warning
...
svn-id: r24290
2006-10-13 08:51:26 +00:00
Paweł Kołodziejski
e85ab4b10f
now SmushPlayer is class created once same as SmushMixer while scumm engine creation. this allow finish play smush audio track finished to the end instead immediately stopped as it was happen before
...
svn-id: r24263
2006-10-10 12:16:21 +00:00
Paweł Kołodziejski
430317dc92
removed not needed anymore time measures in smush code
...
svn-id: r24226
2006-10-08 19:39:46 +00:00
Paweł Kołodziejski
f73861c943
re-add missing break; removed by mistake
...
svn-id: r24225
2006-10-08 19:35:13 +00:00
Paweł Kołodziejski
4e22b8262a
remove handleSkip code, SKIP chunk is only used by INSANE code and exist only in 4 SAN files: minedriv, toranch, tovista1, tovista2
...
svn-id: r24221
2006-10-08 19:23:08 +00:00
Paweł Kołodziejski
ce100c8e93
small unify handleIACT function
...
svn-id: r24214
2006-10-08 18:22:51 +00:00
Max Horn
ff6731e00a
Removed 'smushMode' param from processInput and processKeyboard in favor of a new member _smushActive of ScummEngine_v7
...
svn-id: r24175
2006-10-07 17:42:32 +00:00
Max Horn
4973c657b8
Moved all INSANE and SMUSH related code into ScummEngine_v7 (resp. ScummEngine_v6 in a few cases)
...
svn-id: r24169
2006-10-07 13:57:06 +00:00
Max Horn
f13e4baaf9
Renemaed ScummEngine::processKbd to processInput (as it also deals with the mouse)
...
svn-id: r24164
2006-10-07 12:19:28 +00:00
Max Horn
4c14cf6d1a
Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
...
svn-id: r23974
2006-09-23 00:42:35 +00:00
Eugene Sandulenko
0e244c9510
Fix bug #1550974 : "SMUSH: changing subtitle settings during SMUSH doesn't work"
...
svn-id: r23965
2006-09-21 17:46:19 +00:00
Max Horn
8c0b0c0120
Changed ScummEngine::gdi to _gdi and allocate the Gdi object on the heap (i.e. _gdi is a pointer now)
...
svn-id: r23921
2006-09-17 20:22:47 +00:00
Torbjörn Andersson
6358547a43
More whitespace changes.
...
svn-id: r23496
2006-07-14 13:33:58 +00:00
Travis Howell
286de879fd
Add cyx's patch for bug #1035739 - SCUMM/SMUSH: Ugly palette change when video finishes
...
svn-id: r23216
2006-06-21 10:28:09 +00:00
Lars Persson
ce1edcfd7d
Fixed Smushplayer for Symbian OS.__SYMBIAN32__ was defined as __SYMBIA32__.
...
svn-id: r23157
2006-06-17 07:53:55 +00:00
Paweł Kołodziejski
ea05e31330
increase buffer for comi smush audio track, that fixes bug #1479721
...
svn-id: r22702
2006-05-28 06:04:46 +00:00
Torbjörn Andersson
8062eb6ec3
Set and show/hide mouse cursors through a "cursor manager" (analogous to the
...
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.
If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?
svn-id: r22639
2006-05-25 22:51:42 +00:00
Torbjörn Andersson
2531fd5873
Added player for the Kyra 3 VQA cutscenes, based on my earlier prototype. It
...
could use some cleanup, and there are a couple of TODOs sprinkled throughout
the code, but it seems to work reasonably well. Until the Kyra 3 main menu is
implemented, it won't actually be used though.
It uses the appendable audio stream class, which I have moved out of the SCUMM
engine.
svn-id: r22526
2006-05-18 21:46:07 +00:00
Eugene Sandulenko
9103ddda4e
Give more feedback to users who misused our SAN compression tool and ignored
...
FLU index for cideos which are used by INSANE.
svn-id: r22506
2006-05-18 00:20:53 +00:00
Max Horn
27307acd7c
Moved the AudioCDManager as well as class AudioStream and its (standard) subclasses to namespace Audio
...
svn-id: r22231
2006-04-29 22:33:31 +00:00
Max Horn
0891a91acc
Change some uses of ScummFile to the more generic BaseScummFile
...
svn-id: r22113
2006-04-23 17:47:40 +00:00
Max Horn
4b6f90945b
Modified openFile and openResourceFile to take a Common::String instead of a char pointer
...
svn-id: r22112
2006-04-23 17:39:31 +00:00
Max Horn
8cdee5a931
Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
...
svn-id: r21500
2006-03-29 15:59:37 +00:00
Torbjörn Andersson
056fbe4855
Fixed typo in debug message.
...
svn-id: r21317
2006-03-15 15:46:25 +00:00