Commit Graph

511 Commits

Author SHA1 Message Date
Torbjörn Andersson
598d1a9c9c SCUMM: Remove unnecessary NULL check, CID 1003627
Since ah->data is an array, it can't ever be NULL.
2013-08-18 09:02:14 +02:00
Kirben
b4f2e2ead4 SCUMM: Always confirm quit when required in HE games. 2013-08-16 15:49:30 +10:00
Johannes Schickel
63750d6780 COMMON: Rename ConfigFile to INIFile.
This clears up that 'ConfigFile' is actually a class handling only INI-files.
2013-08-08 16:28:38 +02:00
Johannes Schickel
7f8308e0eb Merge pull request #365 from lordhoto/protected-pixels
Make Graphics::Surface::pixels protected.
2013-08-07 12:24:59 -07:00
Alyssa Milburn
89e14f6862 SCUMM: Fix backwards-in-same-array case of v72he::copyArray. 2013-08-04 15:54:37 +02:00
Alyssa Milburn
2af07d5d8e SCUMM: Add detection/version for Moonbase Commander v1.1. 2013-08-04 10:42:44 +02:00
Johannes Schickel
0a1cbac76a SCUMM: Take advantage of Surface::getPixels. 2013-08-03 04:02:50 +02:00
Johannes Schickel
c05cb7f3bb SCUMM: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:31 +02:00
Torbjörn Andersson
f8c0d354af SCUMM: Remove unused variable _quit
CID 1003018
2013-06-02 09:43:59 +02: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
b1893bc5f7 SCUMM HE: fix crash introduced in a10ad272a8 2013-04-29 23:16:55 +03:00
Matthew Hoops
c7aceeb08e SCUMM: Fix o100_videoOps subOp 0
football2002 endzone videos now display
2013-04-29 15:35:14 -04:00
Eugene Sandulenko
a10ad272a8 SCUMM HE: Plug memory leak. CID 1003582 2013-04-28 23:59:20 +03:00
Matthew Hoops
f4a566afb1 SCUMM: Fix football2002 field coordinates 2013-04-23 16:19:23 -04:00
Matthew Hoops
0209ce4e3a SCUMM: Fix a bug in football's nextPoint U32 opcode
Seems to fix bug #3495704
2013-04-22 17:22:29 -04:00
Max Horn
b791edabf7 ENGINES: Remove a bunch of unused private member variables
All instances uncovered by clang warnings.
2013-04-18 23:50:20 +02:00
Matthew Hoops
550a169d8a SCUMM: Cleanup ScummEngine_v80he::createSound()
Added some comments to make it more readable. Switched usage of a temporary buffer and a double memcpy with a memmove.

Also fixed a potential out-of-bounds write, thanks to LordHoto.
2013-01-09 21:54:47 -05:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Matthew Hoops
bb1e60e8b2 Merge remote branch 'upstream/master' into pegasus
Conflicts:
	AUTHORS
	devtools/credits.pl
	gui/credits.h
2012-08-26 16:12:25 -04:00
Matthew Hoops
18823198ad VIDEO: Merge AdvancedVideoDecoder into VideoDecoder 2012-08-16 14:00:14 -04:00
Matthew Hoops
57a06e383b VIDEO: Convert Bink to the new AdvancedVideoDecoder API 2012-07-25 11:22:28 -04:00
Matthew Hoops
a652f6669e VIDEO: Rewrite SmackerDecoder to use the new API 2012-07-23 21:04:51 -04:00
Matthew Hoops
91efe792d5 Merge remote branch 'upstream/master' into pegasus 2012-06-24 09:37:53 -04:00
Johannes Schickel
1b1b1d6615 Merge pull request #244 from clone2727/football2002-wday
COMMON: Add tm_wday to our TimeDate struct
2012-06-17 17:17:06 -07:00
Matthew Hoops
625f6cc716 Merge remote branch 'upstream/master' into pegasus 2012-06-16 01:43:32 -04:00
Matthew Hoops
83e014f2bd SCUMM: Fix rect bounds in getPolygonOverlap() 2012-06-15 01:24:39 -04:00
Matthew Hoops
a529d96091 SCUMM: Adjust some wiz image ops and flood fill rects
Fixes black lines appearing on the field in football/football2002 and some soccer2004 menus.
2012-06-15 00:41:10 -04:00
Matthew Hoops
734a361f2e SCUMM: Fix basketball ini name 2012-06-11 10:16:07 -04:00
Matthew Hoops
6d4f2753cf SCUMM: Implement football2002's getDayOfWeek() u32 function 2012-06-09 20:22:14 -04:00
Travis Howell
3968f31948 SCUMM: Add HE101 version, for debugInput opcode difference in some HE100 games. 2012-06-09 15:36:47 +10:00
Matthew Hoops
e8ab1f5088 SCUMM: Implement listing playbook files in football2002 2012-06-08 22:22:38 -04:00
Matthew Hoops
f22661e4b9 SCUMM: Stub off other football2002 u32 opcodes 2012-06-08 19:45:31 -04:00
Matthew Hoops
c735b2acda SCUMM: Give football u32 opcodes proper names 2012-06-08 14:32:13 -04:00
Matthew Hoops
f3fba31846 SCUMM: Implement football2002 u32 opcode 1028
Scoreboard transitions now play
2012-06-06 21:47:36 -04:00
Travis Howell
79f6f63daf SCUMM: Add debugInput opcode difference in Backyard Basketball. 2012-06-01 14:30:47 +10:00
Matthew Hoops
da3f0ba448 SCUMM: Fix error in spyfox iOS credits 2012-05-28 20:16:39 -04:00
Matthew Hoops
f1f6a82cd5 Merge remote branch 'upstream/master' into pegasus 2012-05-25 00:35:38 -04:00
Matthew Hoops
b253a05454 GRAPHICS: Hide the WinCursor implementation 2012-05-14 09:56:56 -04:00
Matthew Hoops
71756bdf4e Merge remote branch 'upstream/master' into pegasus 2012-03-20 14:49:16 -04:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Tarek Soliman
edc5249772 JANITORIAL: Fix template definition whitespace 2012-02-10 21:17:27 -06:00
Matthew Hoops
00279659b2 Merge remote branch 'upstream/master' into pegasus
Conflicts:
	video/qt_decoder.cpp
2011-12-12 15:25:28 -05:00
Matthew Hoops
4595b75d24 SCUMM: Add support for the mustard mac map file 2011-12-03 15:54:30 -05:00
Matthew Hoops
712100b77e SCUMM: Add support for Putt-Putt Saves the Zoo iOS 2011-11-27 20:13:03 -05:00
Matthew Hoops
627684ca73 GRAPHICS: Make drawThickLine take a thickness in both x and y directions 2011-10-27 19:20:02 -04:00
Johannes Schickel
09708f7224 SCUMM: Stream sfx/voice sounds from mouster.sou.
This fixes sound corruption when using the new VOC streaming code. It also
reduces the runtime memory needed for compressed sound files slightly, since
it does not preload them into memory anymore. This comes at the expense of one
file descriptor needed per sfx being played though.

Thanks to Kirben for his review and feedback.
2011-11-06 13:33:55 +01:00
Alyssa Milburn
63aa0ef6f3 SCUMM: Initialize Sprite fields in constructor.
This fixes a crash when HE games return from init() early due to the
required color mode not being available.
2011-10-25 10:51:31 +02:00
Johannes Schickel
6fe7b020a8 SCUMM: Made some static data const. 2011-09-08 20:13:13 +02:00
Travis Howell
b3457144ed SCUMM: Add basic support for setOffHeap resource flag in HE90+ games. 2011-08-28 10:40:23 +10:00
Sven Hesse
440ff92e0c SCUMM: Hopefully fix DS compilation 2011-08-18 05:42:48 +02:00