Commit Graph

52 Commits

Author SHA1 Message Date
Max Horn
82343f6649 SCUMM: Remove some unused var warnings (see bug #3293800) 2011-05-14 23:50:43 +02:00
Max Horn
b37463fe59 SCUMM: Move class ResourceManager to its own header 2011-05-13 11:47:08 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
0ce2ca4e00 COMMON: Replace MKID_BE by MKTAG
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
dhewg
d83a83ef50 JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
Max Horn
c975ed11a1 ALL: Fix various typos (patch #3093266)
svn-id: r53762
2010-10-24 13:04:33 +00:00
Eugene Sandulenko
dd7a2f75c0 SCUMM: INSANE: fix a long standing bug discovered by static code analysis
svn-id: r53581
2010-10-18 19:19:28 +00:00
Max Horn
3b21db1618 SCUMM: Fix parts of bug #3087898 (SCUMM: Code analysis warnings)
svn-id: r53567
2010-10-18 16:00:07 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Johannes Schickel
67a881f444 SCUMM: Commit of parentheses patch from salty-horse. (from -devel "Enabling -Wparentheses in the Makefile").
svn-id: r39761
2009-03-30 12:10:10 +00:00
Max Horn
6f4b567124 SCUMM: Split intern.h into multiple headers
svn-id: r39567
2009-03-20 16:33:58 +00:00
Max Horn
f8ccd2dede SCUMM: Got rid of class Chunk
svn-id: r34518
2008-09-13 22:41:30 +00:00
Jordi Vilalta Prat
38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Paul Gilbert
6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +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
Eugene Sandulenko
35d6862117 Remove/clarify several FIXMEs
svn-id: r28892
2007-09-11 15:49:19 +00:00
Max Horn
4cc9d17c34 Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME comments; and some other related cleanup
svn-id: r28890
2007-09-11 09:20:39 +00:00
Max Horn
8345f679a5 cleanup
svn-id: r27661
2007-06-23 12:22:23 +00:00
Max Horn
302da0b855 SCUMM: Added three FIXME comments to the _keyDownMap code, and made it use KEYCODE_ constants for clarity
svn-id: r27659
2007-06-23 11:53:24 +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
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
7fa8e652a0 added missing MKID_BE macros
svn-id: r25560
2007-02-13 20:58:20 +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
ccde018e85 unused buffer variable
svn-id: r25286
2007-01-30 20:31:48 +00:00
Gregory Montoir
c69ecb78e7 added calls to SmushPlayer::getFont() to prevent accessing non-initialised SmushFont objects
svn-id: r25285
2007-01-30 20:29:01 +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
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
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
a6fee09adf const and static, static and const, const and static, static and const... now everybody repeat it with me... 8-)
svn-id: r24540
2006-10-27 23:00:28 +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
0385a4d2bb Fix potentioal bug when all subsequent SMUSH scenes were considered INSANE
svn-id: r24292
2006-10-13 09:16:09 +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
ce100c8e93 small unify handleIACT function
svn-id: r24214
2006-10-08 18:22:51 +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
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
Max Horn
51017cf1b2 Renamed ScummEngine::res to _res and allocate the ResourceManager on the heap (i.e. _res is a pointer now)
svn-id: r23922
2006-09-17 20:36:48 +00:00
Torbjörn Andersson
6358547a43 More whitespace changes.
svn-id: r23496
2006-07-14 13:33:58 +00:00
Torbjörn Andersson
ecfedb1e81 Cleanup. It seems unnecessary to have a "break" right after an unconditional
return in a switch case.

svn-id: r23198
2006-06-20 18:55:25 +00:00
Max Horn
d00755de8e Removing some unused code from INSANE
svn-id: r22417
2006-05-12 18:00:41 +00:00
Max Horn
9d5098e0f8 Insane is part of SCUMM V7, not V6
svn-id: r22188
2006-04-27 00:02:06 +00:00
Torbjörn Andersson
c26b762f48 Made readFileToMem() print a more useful error message than "File is not open"
if the file could not be opened.

svn-id: r21508
2006-03-31 06:42:56 +00:00
Travis Howell
469b1420da Fix sound glitch in PC demo of FT
svn-id: r21506
2006-03-31 00:39:53 +00:00
Travis Howell
e504e814b1 Improve mine road in PC demo of FT
svn-id: r21505
2006-03-30 23:58:37 +00:00
Travis Howell
3e974d3604 Limit INSANE to existing enemies in PC demo of FT
svn-id: r21504
2006-03-30 13:47:18 +00:00
Travis Howell
1ec46bae37 Allow interactive mine road in PC version of FT demo
svn-id: r21503
2006-03-30 11:52:49 +00:00
Travis Howell
f26dee7599 Closer match difficulty of insane in PC version of FT demo
svn-id: r21380
2006-03-19 10:34:02 +00:00
Max Horn
bac32d1a5c Moved ScummFile etc. to the new file.cpp / file.h
svn-id: r21038
2006-03-03 15:16:02 +00:00
Max Horn
81e8a2860e Moved iMUSE code to the new directory engines/scumm/imuse/
svn-id: r20801
2006-02-20 20:57:26 +00:00