72423 Commits

Author SHA1 Message Date
Eugene Sandulenko
c9d3b7210e WAGE: Switched WM::add() to returning window pointer instead of id 2016-04-19 10:56:42 +02:00
Eugene Sandulenko
b8ec681b86 WAGE: Implement callback calling in MacWindow 2016-04-19 10:53:06 +02:00
Eugene Sandulenko
fd7bf64131 WAGE: Switched event processing to generic code 2016-04-19 10:37:53 +02:00
Eugene Sandulenko
609dd56b13 WAGE: Further work on WindowManager 2016-04-19 09:35:50 +02:00
Eugene Sandulenko
73733594c1 WAGE: Fixed window switching 2016-04-19 09:35:50 +02:00
Eugene Sandulenko
e6c5c96b07 WAGE: Started mouse processing in the WM 2016-04-19 09:35:49 +02:00
Eugene Sandulenko
e5a64e7b7f WAGE: Draw windows with WindowManager 2016-04-19 09:35:49 +02:00
Torbjörn Andersson
550c16a08d WAGE: Silence signed/unsigned comparison warning 2016-04-18 22:55:19 +02:00
Eugene Sandulenko
024d1305a2 WAGE: Manage window redraws in the WM 2016-04-18 13:11:48 +02:00
Lothar Serra Mari
56a20ef926
NEWS: Add missing whitespace in GCW0 paragraph 2016-04-18 10:32:47 +02:00
Lothar Serra Mari
65ae51c28b
NEWS/DE: Update German NEWS file 2016-04-18 10:30:51 +02:00
Eugene Sandulenko
350bcc68c0 GCW0: Mention location of scummvm.log file in README 2016-04-18 08:48:16 +02:00
Eugene Sandulenko
d78c291340 NEWS: Mention GCW0 port improvements 2016-04-18 08:48:07 +02:00
Eugene Sandulenko
701120cabd SKY: Two more adjustments to Russian BASS 2016-04-18 08:18:17 +02:00
Thierry Crozat
c80fe53efc NEWS: Add multiple bug fix in drascula for 1.8.1 2016-04-17 23:52:10 +01:00
Thierry Crozat
6393315a8e DRASCULA: Remove delays when showing and hiding the inventory
I don't see any purpose to this delays and they were not present in
the original engine. It works fine without those and the interface
seems more responsive.

This fixes bug #7121 DRASCULA: Delay and freeze when pressing
right mouse click on game

Also move a delay when left clicking to after performing the action.
With the delay between the left click and the action, the mouse
position could have moved when performing the action, resulting
in the wrong action being performed (e.g. activating the wrong verb
or picking the wrong object in the inventory). But removing the
delay altogether causes flickering when picking objects from the
inventory.
2016-04-17 23:41:32 +01:00
Thierry Crozat
d05d4263e5 DRASCULA: Remove delay for select verb
The delay, since it updates the mouse position, resulted in a
different verb being selected than the one we clicked on when
moving the mouse quickly after the clic. This was quite confusing
and frustrating. I can't see any reason for this delay and it seems
to work well without it. The initial commit adding it indicates this
was "for better mouse response", but it added a lot of other delays
at the same time, and removing this one doesn't see to impact the
mouse response (on the contrary, we get the new cursor quicker).
2016-04-17 23:23:23 +01:00
Thierry Crozat
e44470ab54 DRASCULA: Fix noise when playing sound.
The original engine skipped the first 32 and last 32 bytes of the
data when playing a sound. We did not do it in ScummVM which
resulted in noise at the start and/or end of some speech. This
was most noticeable with Spanish speech but also occurred
occasionally with English speech.

This fixes bug #7120 Drascula: Audio noise before every voice in
the game
2016-04-17 22:17:01 +01:00
Thierry Crozat
e90f01bc0c DRASCULA: Fix axe visibility flag when entering room 31
The visible[1] flag in room 31 (i.e. for the axe) is now reset according
to flags[13] (which indicate if we picked up the axe already or not).

This fixes bug #7118 Drascula: Axe item can be picked up infinite
times
2016-04-17 22:14:20 +01:00
Eugene Sandulenko
ee8eb5f160 Merge pull request #749 from salty-horse/sticky_buttons
GUI: Remove 'sticky button' feature
2016-04-17 15:05:49 +02:00
Eugene Sandulenko
befa0514cd Merge pull request #744 from salty-horse/dialog_focus_mouse
GUI: When dialogs gain focus, inform them of the current mouse position
2016-04-17 15:03:32 +02:00
Eugene Sandulenko
dc2726059c Merge pull request #740 from fuzzie/readline-dropevents
DEBUGGER: Drop events when using readline debugger
2016-04-17 14:59:03 +02:00
Eugene Sandulenko
1544adf116 SCI: Fix spelling 2016-04-17 13:32:45 +02:00
Eugene Sandulenko
b351cd28e9 WAGE: Improved accuracy of think line drawing.
Still not perfect, it looks like our Bresenham is a bit different
from the one used by QuickDraw, or (most likely) the polygon
drawing is different.
2016-04-17 13:25:41 +02:00
Eugene Sandulenko
44a49dbec5 SKY: Proper support for Russian BASS 2016-04-17 12:44:18 +02:00
Eugene Sandulenko
4b4f9d95f1 Merge pull request #752 from CrazyMax/master
SCI: Add Russian translate of Torin's Passage (Windows version)
2016-04-17 11:58:44 +02:00
Eugene Sandulenko
2a8030be6a Merge pull request #748 from salty-horse/fullpipe_headers
FULLPIPE: Reduce audio header dependencies
2016-04-17 11:58:06 +02:00
Bastien Bouclet
76e2867c07 MOHAWK: Update the screen immediatly when changing stacks
This fixes the linking sound being played before the new age is displayed.

Thanks to rootfather for noticing.
2016-04-17 11:55:49 +02:00
Lothar Serra Mari
a9ebd7a122
NEWS/DE: Mention Drascula animation speed fix 2016-04-17 07:48:40 +02:00
Eugene Sandulenko
83c7702198 SKY: Added localized quit message for Russian translation 2016-04-16 23:39:38 +02:00
Eugene Sandulenko
d633a54526 AGOS: Added Russian Simon2 Talkie. Submitted by Dimouse 2016-04-16 23:39:38 +02:00
Thierry Crozat
0e00c2b41c NEWS: Add fix for Drascula animations speed 2016-04-16 19:04:43 +01:00
Thierry Crozat
6dcaef191c DRASCULA: Fix animations speed
To time animations the original engine uses interrupt to get the
Real Time Clock and divides the number of clock ticks by 0.182.
Since there is approximately 18.2 ticks per second, this means
it uses values in 1/100th of a second. In ScummVM we were using
getMillis() / 20, so the animations was two times slower than in
the original.

This might fix bug #7115 Drascula: FPS are incorrect or some
frames are dropped.

Note that for the walk animation we are still not exactly using the
timing of the original. The original engines keeps each walk frames
for 5.7 times 1/100th of a second (i.e. 17.54 FPS). In ScummVM
getTime returns an integer value and as a result each walk frame is
now kept for 6 times 1/100th of a second (i.e. 16.67 FPS, which i
 better than the 8.33 FPS we were getting before this commit).

 as our getTime returns integer values and thus we use
frames for 6 of 1/100th of a second while the original is slightly
faster as it kept frames for 5.7 times 1/100th of a second.
2016-04-16 18:59:27 +01:00
Thierry Crozat
eef8371432 DRASCULA: Swap extraSurface and tableSurface use in chapter 6 for Spanish version
This simplifies the code and bring it closer to the original source code.
This should help if we need to debug issues in the future.
2016-04-16 18:59:27 +01:00
Rob Loach
aa95183b93 MADS: Remove git conflict markers in menu_views.h 2016-04-16 20:23:10 +03:00
Lothar Serra Mari
d5e1a95624
I18N: Improve translation for COMI object line setting
The tooltip translation for the object line setting in COMI
is now taken directly from the LANGUAGE.TAB file of the original
German Monkey Island 3 release which makes this translation the
most accurate possible for this string.
2016-04-15 20:10:49 +02:00
Eugene Sandulenko
43d49e68b2 WAGE: Draw console via MacWindow 2016-04-15 17:24:16 +02:00
Eugene Sandulenko
78567a3c1d WAGE: Fix border blitting 2016-04-15 17:24:15 +02:00
Eugene Sandulenko
6ae1e5cc7a WAGE: Fix window title drawing 2016-04-15 17:24:15 +02:00
Eugene Sandulenko
78dc8be3dc WAGE: Fix window composing offset 2016-04-15 17:24:15 +02:00
Eugene Sandulenko
cdb4fc1fbf WAGE: Simplify border drawing 2016-04-15 17:24:15 +02:00
Eugene Sandulenko
cb06c712c7 WAGE: Fix border clipping 2016-04-15 17:24:15 +02:00
Eugene Sandulenko
6a415da6b9 WAGE: Started screen composing 2016-04-15 17:24:14 +02:00
Eugene Sandulenko
0e4c846a39 WAGE: Benefit from ManagedSurface methods 2016-04-15 17:24:14 +02:00
Eugene Sandulenko
00399d27db WAGE: Switch to ManagedSurface 2016-04-15 17:24:14 +02:00
CrazyMax
cd71809d49 SCI: Add Russian translate of Torin's Passage (Windows version) 2016-04-15 14:40:40 +03:00
Torbjörn Andersson
1f06e3f557 NEVERHOOD: Avoid crash in original load/delete game dialogs
The original game would display a message if you tried to load or
delete a game without actually selecting one. At least for now,
let's just avoid crashing.
2016-04-15 07:29:43 +02:00
Torbjörn Andersson
fc55a8fb1a NEVERHOOD: Fix bug #7116 ("Crash upon clicking ...")
Don't crash when clicking a read-only text widget. In the original,
the load game dialog's text widget isn't read-only, but since we
allow multiple games to have the same name it's probably for the
best that we don't quite match the original behavior here.
2016-04-15 07:29:43 +02:00
Torbjörn Andersson
53e02c4770 NEVERHOOD: Tiny whitespace fix
It's bugging me, ok?
2016-04-15 07:29:43 +02:00
Johannes Schickel
30cae4d12d KYRA: Initialize variable before usage.
Thanks to salty-horse for reporting.
2016-04-15 00:26:17 +02:00