Commit Graph
70 Commits
Author SHA1 Message Date
Eugene Sandulenko 41d8441ea8 SCUMM: Add missing break to INSANE code. Thanks to eriktorbjorn and GCC7 2017-08-11 20:13:24 +02:00
Torbjörn Andersson 0bde79b2b8 JANITORIAL: Silence some more GCC 7 fall through warnings 2017-08-06 16:35:25 +02:00
Eugene Sandulenko ee324a07cf SCUMM: Fix crash on exit in FT demo 2016-10-09 15:26:48 +02:00
Ori Avtalion d8045c6727 JANITORIAL: Fix clang printf warnings 2016-01-07 14:55:32 +02:00
Johannes Schickel 3847465163 SCUMM: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Eugene Sandulenko 03bf56ea82 INSANE: Mark fall through case statement. CID 1003733 2013-08-18 11:59:51 +03:00
Eugene Sandulenko e0e6b95384 INSANE: Fix CID 1003734. Missing break in switch 2013-07-15 11:48:05 +03:00
Eugene Sandulenko b1c886334d INSANE: Fix CID 1003733. Missing break in switch.
In fact the code was wrong there due to copy-paste error
2013-07-15 11:47:51 +03:00
Matthew Hoops 0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Eugene Sandulenko 095dfcad15 INSANE: Fix potential buffer overflow. CID 1003866 2013-04-21 14:27:30 +03:00
Torbjörn Andersson a1168e932c SCUMM: Hardly-even-worth-mentioning cleanup. 2013-04-02 08:20:33 +02:00
Eugene Sandulenko 49da129e63 SCUMM: Fix bug #3575444: "FT: Enemy behaviour in biker fight"
Also fixed enemy behavior along the way. No wonder it differed
from the original!
2013-04-02 00:18:50 +03:00
Eugene Sandulenko d8d5012fc7 SCUMM: More fixes in INSANE 2013-04-02 00:18:50 +03:00
Eugene Sandulenko 880f264150 SCUMM: Fix more bugs in INSANE 2013-03-30 17:10:30 +02:00
Eugene Sandulenko a36a7253e4 SCUMM: Fix several bugs in INSANE 2013-03-30 15:53:44 +02:00
Eugene Sandulenko 9479d1a9ee SCUMM: Fix bug #3546434: "SCUMM: FT glitches in Vulture encounter on old mine road"
There was a missing Sfx call.
2013-03-30 15:53:44 +02:00
Torbjörn Andersson a6b65b84b0 SCUMM - Fix bug #3536645, FT Missing Dialogue Line
The condition for setting up the scene when encountering Father
Torque had been accidentally inverted, so the function was called
over and over (presumably causing the scene to stall), insead of
just once. I don't know much about INSANE, but sev has confirmed
that this is the correct fix.
2012-06-23 19:30:10 +02:00
Christoph Mallon 23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
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