57740 Commits

Author SHA1 Message Date
Strangerke
d5ad25316c MORTEVIELLE: Remove constants previously used by the mouse code 2013-07-21 09:27:15 +02:00
Torbjörn Andersson
bb0850101c TSAGE: Fix GCC warning about possibly undefined behaviour 2013-07-21 08:15:16 +02:00
Paul Gilbert
472618ffff TSAGE: Bugfixes for R2R drive room 2013-07-20 23:26:25 -04:00
Matthew Hoops
4e9e2f4fea PEGASUS: Fix possible timer "skip" when resuming
pause/resume need to treat things a bit differently from the normal setRate function. This caused a jump in a timer when resuming from the pause menu in certain cases, though not all the time.

Regression from b50cac637ece07c87e39232a1e8fe7262ace06f2, which was part of the fix for the lid animations.
2013-07-20 23:06:36 -04:00
Paul Gilbert
b79fd7e965 TSAGE: Work on setup of R2R engine palette maps 2013-07-20 18:46:55 -04:00
Strangerke
042011a3fe MORTEVIELLE: Remove one more magic value, simplify draw() 2013-07-20 23:58:47 +02:00
Strangerke
d0c9c44d23 MORTEVIELLE: Remove dead code, update comment 2013-07-20 19:07:12 +02:00
Strangerke
448acf7435 MORTEVIELLE: Get rid of some more magic values 2013-07-20 19:06:25 +02:00
Strangerke
d2ca83898e MORTEVIELLE: Make use of _mem more homogeneous, fix a couple of errors in phoneme handling 2013-07-20 19:02:36 +02:00
Strangerke
0ed03cb738 MORTEVIELLE: Get rid of magic value 0x5000 2013-07-20 18:59:49 +02:00
Strangerke
66de61e812 MORTEVIELLE: Get rid of magic value 0x6000 2013-07-20 18:59:48 +02:00
Strangerke
8b14677f57 MORTEVIELLE: Get rid of magic value 0x7000 2013-07-20 18:59:47 +02:00
Strangerke
7fbdf23dc8 MORTEVIELLE: Simplify drawString code 2013-07-20 18:59:46 +02:00
Strangerke
d5b10f7dd4 MORTEVIELLE: Some more renaming 2013-07-20 18:59:40 +02:00
Strangerke
716b28b7ea MORTEVIELLE: Reorder some functions in mortevielle.h 2013-07-20 18:59:39 +02:00
Strangerke
fadedd2eac MORTEVIELLE: Little refactoring of decryptNextChar() 2013-07-20 18:59:38 +02:00
Torbjörn Andersson
a790fe0e80 TINSEL: Remove self-assignment (CID 1003626)
However, dreammaster has confirmed this line was in the original
so I'm leaving it commented-out in case there is a genuine bug
still lurking there.
2013-07-20 05:32:11 +02:00
Paul Gilbert
a979ec6c97 LURE: Added explicit comment to switch block fall-through 2013-07-19 23:10:25 -04:00
Paul Gilbert
a8c40e3c03 MORTEVIELLE: Removed redundant mouse drawing code 2013-07-19 22:51:25 -04:00
Willem Jan Palenstijn
06cc30cf6c SCI: Add FIXME 2013-07-19 21:22:36 +02:00
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