Commit Graph

77 Commits

Author SHA1 Message Date
Torbjörn Andersson
173988960b Initialise _lastTableWidth. (Fixes Valgrind warning.)
svn-id: r30497
2008-01-15 20:06:41 +00:00
Oystein Eftevaag
1c88ab2c47 Enabling the SMUSH/sound ARM optimizations for the iPhone. Converting any numerical expressions in the asm to absolute values (moving the expression to comments) since the iPhone assembler can't handle them, and prepending an underscore to the exported symbols (with some preprocessor magic similar to the hq3x asm for handle ports where it's not needed)
svn-id: r30093
2007-12-31 01:50:18 +00:00
Eugene Sandulenko
ac54f3a26f Patch #1858158: BUILD: Plugin building cleanup
svn-id: r30041
2007-12-28 07:52:56 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
0cccbb29d6 Some cleanup (yay for whomever had the brilliant idea to let SVN work over HTTPS and hence through proxies&firewalls :)
svn-id: r28877
2007-09-08 11:15:27 +00:00
Chris Apers
500481c4ec Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)
svn-id: r28803
2007-09-01 19:13:04 +00:00
Max Horn
86d015c055 Added FIXME comments regarding use of AudioStream::openStreamFile
svn-id: r28112
2007-07-15 19:26:00 +00:00
Max Horn
f4c0b853cc Fixed sound factory messup caused by my previous commit
svn-id: r28111
2007-07-15 19:24:00 +00:00
Paweł Kołodziejski
c88567aa79 added arm assembly from patch #1742112 for codec47. (and really build arm code this time)
svn-id: r27685
2007-06-24 07:02:55 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
00b9bc7b36 Removing lots of superfluous semicola (see mail by David Weinehall on scummvm-devel)
svn-id: r26594
2007-04-25 19:31:23 +00:00
Lars Persson
4c82e3ac23 Special filehandling for Symbian OS not needed in smushplayer anymore.
svn-id: r26106
2007-03-12 19:53:36 +00:00
Max Horn
5e2fe7dc7f cleanup
svn-id: r25910
2007-02-28 15:04:02 +00:00
Max Horn
8c8abca6f8 Changed the AppendableAudioStream code to use a queue of buffers, instead of a fixed size wrap-around memory buffer (this reduces memory usage in some cases by 500-700k, while actually being more flexible)
svn-id: r25909
2007-02-28 14:48:26 +00:00
Torbjörn Andersson
c64be322a1 Added comment about the missing decode1 proc.
svn-id: r25849
2007-02-25 08:37:15 +00:00
Max Horn
497f7683ca Another Ogg > MP3 consistency reordering, this time in the SMUSH code; also changed it to use the new compressed audio stream factories
svn-id: r25843
2007-02-25 00:12:11 +00:00
Torbjörn Andersson
a1a16d1579 Use consistent naming for the preprocessor constants used to guarantee that
header files are only included once. Many of them didn't have a SCUMM prefix
which could have lead to clashes with common header files.

svn-id: r25727
2007-02-19 17:48:19 +00:00
Gregory Montoir
f1f88c43c0 cleanup
svn-id: r25646
2007-02-17 01:33:47 +00:00
Torbjörn Andersson
9ad0fdda96 Clear _pauseTime in seekSan(). Hopefully, this will fix the problem with
pausing during the bike fight scenes in Full Throttle that was reported on the
forum earlier today.

svn-id: r25609
2007-02-15 17:26:08 +00:00
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