Commit Graph

58020 Commits

Author SHA1 Message Date
Torbjörn Andersson
da17953c12 TONY: Remove debug message from last commit. Oops. 2013-07-19 21:19:03 +02:00
Torbjörn Andersson
c44d6ae60c TONY: Fix parameter to RMGfxSourceBuffer8RLEWordAA::init()
The method it is meant to override uses "const byte *buf" so this
one should too. I don't know if/when it's called, but fuzzie tells
me it should be a harmless change. Hopefully fixes CID 1003892.
2013-07-19 21:10:50 +02:00
Torbjörn Andersson
71ed35502e TEENAGENT: Add missing "break"s to switch cases
I think this is the correct thing to do, and that it won't have
any noticeable effect whatsoever.

Cases 29 and 30 happen in the first half of the game, in the
cantine, while case 42 happens in the second half of the game. By
the time you reach the point where case 42 does something, I don't
think it's possible to get back to cases 29 and 30, so when case
29 falls through neither 30 nor 42 will do anything.

CID 1003730, 1003731
2013-07-19 20:49:15 +02:00
Strangerke
0e8491b162 MORTEVIELLE: Fix glitch in constant name. Thanks to LordHoto for pointing it out 2013-07-19 18:00:15 +02:00
Strangerke
4c3b2d3f54 MORTEVIELLE: Add a safeguard in Copy() 2013-07-19 17:54:09 +02:00
Strangerke
3d64ccac9c MORTEVIELLE: Fix glitch detected by criezy 2013-07-19 17:43:55 +02:00
Strangerke
72914aafab MORTEVIELLE: Simplify the way skip info is computed, as pointed by LordHoto 2013-07-19 17:29:33 +02:00
Strangerke
ed69aaf999 MORTEVIELLE: Constify 3 more arrays 2013-07-19 14:22:28 +02:00
Strangerke
388b4a7b33 TOOLS: Janitorial: remove trailing spaces in extract_mort 2013-07-19 14:08:17 +02:00
Strangerke
220088d6e8 MORTEVIELLE: Fix define name in Mortevielle.h 2013-07-19 14:03:53 +02:00
Strangerke
67f900ed33 MORTEVIELLE: Reorder includes 2013-07-19 11:51:10 +02:00
Strangerke
bb6db039d9 MORTEVIELLE: Rename menu constant 2013-07-19 11:33:42 +02:00
Strangerke
37a115e60b MORTEVIELLE: Use width and height provided by Graphics::Surface 2013-07-19 11:31:19 +02:00
Strangerke
df7d181a60 MORTEVIELLE: Fix formatting glitch 2013-07-19 11:24:42 +02:00
Strangerke
eb0de36085 MORTEVIELLE: Constify an array in graphics, reduce the scope of some variables 2013-07-19 11:21:05 +02:00
Strangerke
5924230634 MORTEVIELLE: Replace some British words by US ones 2013-07-19 10:59:20 +02:00
Strangerke
747d8f3047 MORTEVIELLE: Constify an array in actions, reduce the scope of some variables 2013-07-19 10:41:09 +02:00
Strangerke
f3a90ab190 MORTEVIELLE: Modify some more boxes 2013-07-18 20:29:22 +02:00
Strangerke
09ccb836a6 MORTEVIELLE: Enlarge box around screens in order to avoid to display a line of the picture below the border 2013-07-18 20:29:21 +02:00
Strangerke
85d79d0af8 MORTEVIELLE: Enlarge F3/F8 dialog 2013-07-18 20:29:20 +02:00
Strangerke
69f593ad1e MORTEVIELLE: Some renaming in intro functions 2013-07-18 20:29:19 +02:00
Strangerke
a888de5599 MORTEVIELLE: Improve German engine texts 2013-07-18 20:29:18 +02:00
Johannes Schickel
325f60cbd7 Merge pull request #345 from countingpine/patch-1
SCUMM: More precise Player_Mac::durationToSamples
2013-07-18 09:17:23 -07:00
Eugene Sandulenko
2c812ade01 Merge pull request #353 from clone2727/eventrec_timer_fix
ALL: Don't use EventRecorder at all when not compiled in
2013-07-18 08:15:28 -07:00
Paul Gilbert
73bb5c5fbe DEVTOOLS: Moved implementation of create_mortdat File class from the header file 2013-07-18 09:27:55 -04:00
Paul Gilbert
2eb26ad02e TSAGE: Some further cleanup of R2R drive room 2013-07-17 22:02:24 -04:00
Paul Gilbert
b7fbf23673 TSAGE: Fixes for R2R scanner dialog 2013-07-16 23:20:58 -04:00
D G Turner
7381fcdf30 TUCKER: Amend fix for bug #3614697 - "Spanish version uncompletable..."
The mof instruction needs to return 0 or 1 to continue execution, rather
than 2 which indicates to end table instruction execution. Using 0 as
this is most likely correct value.
2013-07-16 20:30:30 +01:00
Torbjörn Andersson
e5e90434f3 TSAGE: Fix stray "You have no use for that." message
This would happen in Ringworld when clicking on the slot in the
flycycle. I have compared the behaviour to the original, and I
can't see any obvious differences after my change. CID 1003728
2013-07-16 19:19:45 +02:00
countingpine
96c4ebe77f SCUMM: Better Player_Mac::durationToSamples
Uses the fact that 4*480*480 == 225 << 12, and the identity
(a*b)>>n == (a>>n)*b + ((a%(1<<n))*b)>>n (assuming non-overflowing math),
except the rhs uses smaller intermediate values and does not overflow(*).
Compared to the original code, this uses 1 fewer division and eliminates
the rounding error.

(*) Technical note: In some cases the right hand side of the above
identity still has possibilities of intermediate overflow, but only if
b > (1 << n), or if (b << n) overflows, neither of which are true here.
2013-07-16 16:16:08 +01:00
Paul Gilbert
e17095df2e TSAGE: Bugfixes for R2R drive room, and work on scanner modal dialog 2013-07-16 09:19:19 -04:00
Alyssa Milburn
8e9aefbf6e CONFIGURE: Use -Wno-long-long when we use -pedantic. 2013-07-16 11:00:34 +02:00
Eugene Sandulenko
0c52bfa43e CONFIGURE: Added more 64bit integers to probing 2013-07-15 19:26:02 +03:00
Eugene Sandulenko
6dc3768faa SWORD25: Fix compilation on some 32-bit systems 2013-07-15 19:19:45 +03:00
Eugene Sandulenko
b7e3d52abc SWORD25: Replace Pluto with Tamed Pluto for increased compatibility
Still saves are incompatible but at least this now has enhanced
debugging capabilities.
2013-07-15 19:02:34 +03:00
Johannes Schickel
3e246b3e67 Merge pull request #323 from tobiatesan/test_for_common
Test for common
2013-07-15 05:26:13 -07:00
Johannes Schickel
6a1112f98f GUI: Mark some intentional fall throughs in switches.
All of these are for handling kCloseCmd.
2013-07-15 13:44:24 +02:00
Johannes Schickel
ddcfdf5329 GUI: Allow the event recorder dialog to be closed.
This is a regression from 6e4217e1ba.

setResult does not automatically close the dialog. However,
Dialog::handleCommand will close the dialog when kCloseCmd is received.
2013-07-15 13:40:59 +02:00
Eugene Sandulenko
9572bc6e30 RECORDER: Fix wrong argument order 2013-07-15 14:31:34 +03:00
Eugene Sandulenko
8cdca523ea AGI: Mark fall-through. Detected by CID 1003771 2013-07-15 12:00:10 +03:00
Eugene Sandulenko
e809ebb904 AGI: Fix CID 1003768. Missing break in switch 2013-07-15 11:59:59 +03:00
Eugene Sandulenko
ce057f896f AGI: Fix CID 1003769. Missing break in switch 2013-07-15 11:54:26 +03:00
Eugene Sandulenko
059fa15d14 DEVTOOLS: Fix CID 1022207. Missing break in switch 2013-07-15 11:51:57 +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
Eugene Sandulenko
7ae3386090 SAGA: Fix CID 1002507. Unused pointer value. 2013-07-15 11:29:46 +03:00
Paul Gilbert
96e1d3b09a TSAGE: Added R2R ability to combine items. Further bugfixes for landing bay 2013-07-14 15:38:22 -04:00
Sven Hesse
5e835ef915 RECORDER: Fix indenting 2013-07-14 19:04:09 +02:00
Sven Hesse
989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Eugene Sandulenko
6e4217e1ba RECORDER: Fix CID 1046887. Missing break in switch 2013-07-14 19:35:17 +03:00