54332 Commits

Author SHA1 Message Date
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
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
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
Johannes Schickel
9942b5ab60 GUI: Support for page restoring for non-continuous save lists in the grid chooser. 2012-09-26 16:14:18 +02: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
Johannes Schickel
a6c6c74350 PEGASUS: Remove trailing whitespaces.
Powered by: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:11:09 +02:00
Matthew Hoops
d9b204b78e PEGASUS: Fix minor formatting issue 2012-09-25 22:09:21 -04:00
Matthew Hoops
bbec9fac20 PEGASUS: Initialize _duration in RobotShip 2012-09-25 22:08:55 -04:00
Johannes Schickel
40fb004509 GUI: Fix maximum page number calculation in grid chooser.
This avoids a off by one error in some cases.
2012-09-26 02:59:32 +02:00
Johannes Schickel
bc1743b225 GUI: Save/restore last scroll position in the list save/load dialog.
This should give a better user experience, since the user will not have to
scroll back to where he was when he used the dialog last.

Thanks to wjp for suggesting this.
2012-09-26 02:59:32 +02:00
Johannes Schickel
66fb399227 GUI: Save/restore the last used page in the grid save/load dialog.
This allows opening the dialog on (nearly) the same page again as when it was
closed. Sadly due to the different number of entries in the save and load
version this is not always exactly the same page as before. Same goes for
resolution changes.

Thanks to wjp for suggesting this.
2012-09-26 02:59:31 +02:00
Strangerke
be9c9e59b7 TONY: Add credits for Tony 2012-09-25 23:07:43 +02:00
Strangerke
c61effaff9 TONY: Use debug channel for fading messages 2012-09-25 22:09:42 +02:00
Willem Jan Palenstijn
c18cacc248 TOUCHE: Add more font entries to French Touche
The nbsp at position 255 (assuming CP863) was missing (bug #3571138).
2012-09-25 19:39:10 +02:00
Alyssa Milburn
050a02c6f8 TONY: Replace abortGame() with nicer error() calls. 2012-09-25 17:33:49 +02:00
Alyssa Milburn
0093c4d13e TONY: Don't error out on invalid ReleaseOwnership calls.
A script triggers this at the end of the scene where you give the
flowers to the bearded woman.
2012-09-25 17:32:34 +02:00
Johannes Schickel
dc6b98f64c GRAPHICS: Slight formatting fixes in aspect.cpp. 2012-09-25 15:16:54 +02:00
Willem Jan Palenstijn
1277a04e60 TONY: Don't mute all sound when using sound config dialog
Thanks to fuzzie for noticing this.
2012-09-24 22:05:28 +02:00
Willem Jan Palenstijn
edeedc3cc5 WINTERMUTE: Fix leak 2012-09-24 19:25:31 +02:00
Matthew Hoops
12c8320374 CONFIGURE: Mark some engines off as requiring 16bit color support 2012-09-24 11:35:38 -04:00
Willem Jan Palenstijn
7cdda8efd2 CONFIGURE: Fix subengine status output
We were reporting subengine status before checking its dependencies.
2012-09-24 17:26:41 +02:00
Alyssa Milburn
2bed1ece7f SDL: Remove main.cpp.
Backends have to provide their own main, instantiating OSystem_SDL
directly is unsupported.
2012-09-24 09:41:21 +02:00
Matthew Hoops
64e1483102 VIDEO: Make sure track pause status is reset upon stop too 2012-09-23 21:04:40 -04:00
Torbjörn Andersson
f437e1df32 WINTERMUTE: Remove unnecessary semicolons. 2012-09-24 00:11:49 +02:00
Johannes Schickel
01a458f8f2 SCUMM: Add check for resource fork for ".iMUSE Setups".
This should help identify incorrect dumps/file naming like what (probably)
happened in bug #3570973
"FOA: Doesn't start anymore after adding Mac sound support".
2012-09-23 21:12:06 +02:00
Matthew Hoops
3a5b3a5145 PEGASUS: Fix saving while in the space chase 2012-09-22 21:03:22 -04:00
Matthew Hoops
50747429cd PEGASUS: Don't allow loading/saving in a few more places
Only affects loading/saving from the GMM
2012-09-22 20:43:34 -04:00
Matthew Hoops
b9f6121194 PEGASUS: Fix restoring correct biochip after sub chase 2012-09-22 19:46:51 -04:00
Matthew Hoops
ad632d88d9 PEGASUS: Fix movie pause/resume 2012-09-22 18:13:31 -04:00
Matthew Hoops
48c70d872e VIDEO: Fix pausing audio in videos 2012-09-22 15:03:15 -04:00