Commit Graph

54565 Commits

Author SHA1 Message Date
Johannes Schickel
1e200620d6 IPHONE: Fix cursor artifacts when linear filterting is used.
We need to set a proper texture coordinate wrap parameter for this.
2012-10-10 00:36:15 +02:00
Johannes Schickel
a5bce74635 GRAPHICS: Fix compilation of conversion.cpp on motomagx.
Using plain "inline" instead of "FORCEINLINE" allows the compiler to continue
even when it fails to inline crossBlitLogic/crossBlitLogic3BppSource. The
impact of other systems now not inlining the functions anymore is hopefully
small enough to not cause any problems.
2012-10-09 23:32:51 +02:00
Johannes Schickel
6b6b7532ae TEST: Add two (simple) tests for MemoryWriteStream. 2012-10-09 23:06:35 +02:00
Johannes Schickel
efe2fe7e1f COMMON: Properly handle error indicator in MemoryWriteStream.
Thanks to waltervn for noticing that MemoryWriteStream::write doesn't handle
setting the error indicator properly.
2012-10-09 23:06:25 +02:00
D G Turner
c92ff8db33 TEENAGENT: Fix constant naming to comply with Coding Conventions.
Adding missing CamelCase k-prefixes.
2012-10-09 09:14:44 +01:00
Filippos Karapetis
78464a42d7 Merge pull request #282 from bluegr/nipponfix
PARALLACTION: Fix the ending of Nippon Safes (bug #5866)
2012-10-08 14:38:36 -07:00
Johannes Schickel
c2971374cd Merge pull request #257 from lordhoto/graphics-conversion
Extend crossBlit for abitrary (in-place) conversions and add a in-place conversion to Surface
2012-10-08 14:18:33 -07:00
Filippos Karapetis
dbb09fe984 SCI: Add documentation regarding all SCI1.1 CD games in syncIngameAudioOptions() 2012-10-08 23:50:47 +03:00
Filippos Karapetis
3a852fb96a SCI: Also add LSL6 CD to syncIngameAudioOptions() 2012-10-08 23:49:49 +03:00
Filippos Karapetis
676f303a33 SCI: Document syncIngameAudioOptions() 2012-10-08 23:14:02 +03:00
Filippos Karapetis
a73e3f44ad SCI: Add a workaround for the large text boxes in Freddy Pharkas CD
Fixes bug #3575276 - "SCI: Freddy Pharkas: Text sometimes drawn/erased
incorrectly"
2012-10-08 22:47:27 +03:00
Thierry Crozat
25bf42516c CREDITS: Update the web credits path in the make rule
This is not guarantied to work but will work if both scummvm and
scummvm-web have been cloned in the same parent directory. The
old rules was always failing anyway, so this is an improvement. But
maybe we should comment that line?
2012-10-08 20:34:05 +01:00
Thierry Crozat
53a53294af CREDITS: Mark Lothar Serra Mari as retired 2012-10-08 20:34:05 +01:00
Willem Jan Palenstijn
d1e2d61b78 SCI: Fix Uhura's Woo conversation option
This is bug #3040722.

It was trying to open a non-existent submenu. We now force a return
after handling the conversation option right before it tries to look for
this submenu.
2012-10-07 12:27:14 +02:00
Willem Jan Palenstijn
8f754ced42 SCI: Flip assert
This way the assert is checking that the allocated buffer is large enough
for the memcpy that follows it.
2012-10-07 12:27:14 +02:00
Torbjörn Andersson
e8ad4df1fa SWORD1: Enable American ("Circle of Blood") panel
If the language is explicitly set to American English, use the
American version of the panel for the main control panel. In all
other aspects, American English will behave as British English,
so it shouldn't break anything.
2012-10-06 16:24:00 +02:00
Willem Jan Palenstijn
e38d4f20e8 SCI: Fix dissect_script crash with invalid object types 2012-10-06 13:07:12 +02:00
Willem Jan Palenstijn
5f3f21e20e SCI: Fix some console output formatting 2012-10-06 13:07:12 +02:00
Torbjörn Andersson
49e96aa188 TOLTECS: Improve the shake screen effects during movies
I don't know how often the original shook the screen (perhaps as
often as it could?), but at least we now have the opportunity to
shake the screen more than once per movie frame.
2012-10-06 00:01:47 +02:00
Filippos Karapetis
be918da348 TOLTECS: Hide the mouse cursor while a movie is playing, like the original
Thanks to eriktorbjorn for noticing this
2012-10-06 00:24:34 +03:00
Filippos Karapetis
e47425aaf5 TOLTECS: Wait a bit after drawing each frame
This reduces the CPU load considerably (it's around 10% now, down from 50%)
2012-10-06 00:13:50 +03:00
Filippos Karapetis
650df5a16c TOLTECS: Remove redundant screen updates 2012-10-06 00:12:53 +03:00
Willem Jan Palenstijn
ba1307b0ce SCI: Add kReadNumber fixme
Thanks to Walter for noticing this.
2012-10-05 16:41:02 +02:00
Torbjörn Andersson
8335e340fd TOLTECS: Fix menu positining in the simplest way I can think of
All this does is to offset the image when copying it to the screen,
and offset the position when checking for clickable items at specific
coordinates. It looks and works right to me. I guess that just leaves
the buildColorTransTable2() function, but I'm useless for that so
someone else will have to look into it.
2012-10-03 22:21:52 +02:00
Matthew Hoops
85bd7daa41 PEGASUS: Fix uninitialized variable 2012-10-03 10:58:24 -04:00
Matthew Hoops
f0091af6b5 AUDIO: Don't allow skipping negative times in skipSamples() 2012-10-03 10:45:43 -04:00
Torbjörn Andersson
b50f5a4cde TOLTECS: Improve audio/video sync in the movie player
At least on my computer, the sound would stall frequently after a
while because the delay between frame was calculated from frame to
frame. Now it's calculated from the start of the sound instead.
2012-10-03 08:28:02 +02:00
Torbjörn Andersson
eea9fc637c TOLTECS: Added TODO comment about main menu position
I'm guessing that the unused _top variable is what causes the main
menu to be drawn at the wrong position at the very start of the
game. At that point, it's 30 which seems to be by how much the Y
coordinate is off.
2012-10-03 01:09:11 +02:00
Torbjörn Andersson
f758b8422c TOLTECS: Draw shaded rects to "front screen", not "background"
The shadeRect() function is called just once (at the time of writing)
and immediately afterwards the "front screen" is copied to the
"background". Therefore, drawing to the background doesn't seem to
make any sense.

The colors are wrong, but I assume that's for the same reason that the
text colors are wrong as well.
2012-10-02 22:12:56 +02:00
D G Turner
e8f9c61065 TEENAGENT: Modify callback comment into readable FIXME. 2012-10-02 05:08:33 +01:00
Filippos Karapetis
f2fa6a934d SCI: Fix compilation with MSVC (atan2() was ambiguous) 2012-10-01 03:06:59 +03:00
Filippos Karapetis
4ad86e0c11 PEGASUS: MarsTimerEvent is a struct 2012-10-01 03:05:50 +03:00
Willem Jan Palenstijn
17887e24a2 SCI: Implement kMergePoly
Thanks to Walter for creating debugging tools for MergePoly and testing.
2012-09-30 18:18:20 +02:00
Einar Johan Trøan Sømåen
afc21941e3 WINTERMUTE: Make scGetProperty use Common::String& instead of const char* 2012-09-29 00:47:12 +02:00
Einar Johan Trøan Sømåen
67a7f5b306 WINTERMUTE: Privatize variables in BaseQuickMsg 2012-09-28 23:57:42 +02:00
Einar Johan Trøan Sømåen
03e7bffc77 WINTERMUTE: Privatize variables in BaseRegion and BaseSubFrame 2012-09-28 23:55:41 +02:00
Einar Johan Trøan Sømåen
b31d6212ff WINTERMUTE: Privatize variables in BaseFrame and BaseSprite 2012-09-28 23:43:43 +02:00
Einar Johan Trøan Sømåen
f6d7d05343 WINTERMUTE: Privatize variables in BaseFader 2012-09-28 23:43:35 +02:00
Einar Johan Trøan Sømåen
ee4a92cce5 WINTERMUTE: Privatise member-variables in BaseDynamicBuffer 2012-09-28 15:42:08 +02:00
Strangerke
5a18453863 TONY: Update the Obj tables in other languages 2012-09-28 12:19:05 +02:00
Strangerke
72e32ab35e TONY: Fix German fonts 2012-09-28 10:58:32 +02:00
Filippos Karapetis
a297ae6195 PARALLACTION: Add a workaround for the end credits of NS
The game scripts try to show a non-existing frame. We set it to an existing one
here. Part of the fixes for bug #5866
2012-09-28 01:49:37 +03:00
Filippos Karapetis
17b42b5570 PARALLACTION: Add a workaround for the end credits of NS
The end credits reference a version of Dino called "Dinor", which makes the
engine look for a non-existing file. We set the name to "dino", as it should be
in this case, so that the engine loads the correct file. Part of the fixes for
bug #5866
2012-09-28 01:47:38 +03:00
Filippos Karapetis
a1969ae268 PARALLACTION: Add a missing return statement
The final credits screen has no background, it just reuses the background of the
final scene. Part of the fixes for bug #5866
2012-09-28 01:44:06 +03:00
Filippos Karapetis
864b4acdf1 PARALLACTION: Fix a script bug in the end of the multilingual DOS version of NS
The mouse cursor is incorrectly hidden outside the final cave in NS because of
a script bug. A workaround is added to fix that screen and the final screen in
order to make it playable. Part of fixes for bug #5866
2012-09-28 01:40:43 +03:00
Alyssa Milburn
41d337c549 PARALLACTION: Clean up global variables a bit. 2012-09-27 22:41:51 +02:00
Alyssa Milburn
d7b74ed5b1 PARALLACTION: Remove unused function. 2012-09-27 22:33:04 +02:00
Alyssa Milburn
73cb72e318 Merge pull request #281 from fuzzie/parallaction-adlib
PARALLACTION: Add custom Adlib driver for BRA.
2012-09-27 06:31:43 -07:00
Strangerke
cf78f9a7ac TONY: Font fix for French version: Some Polish characters are also used. 2012-09-27 07:53:44 +02:00
Strangerke
b1844253d4 TONY: In French version, fix 'ê' in hotspot names by replacing it by 'e', like for other accentuated characters 2012-09-26 23:19:16 +02:00