Commit Graph
86814 Commits
Author SHA1 Message Date
Eugene Sandulenko 7457011a87 GUI: Fix bug #3027772 by adding MT-32 tab
Bug #3027772: "Can't switch between Text and Speech". The problem was in
overcrowded Audio tab in any resolution with height < 480.

Solved by adding new MT-32 tab and grouping all relevant widgets there.

TODO:
 - The problem still exists for 320x200 resolution where Subtitle speed
   control is not accessible
 - Apparently nobody tested tab control scrolling after switching to new
   GUI, and now there are artifacts

svn-id: r51265
2010-07-24 22:29:17 +00:00
Neeraj Kumar c675c1fe29 TESTBED: added a test for checking cursor trails in the GUI, fixed some display stuff
svn-id: r51263
2010-07-24 22:01:15 +00:00
Martin Kiewitz adf4195e0b SCI: changing how insectRect gets applied
svn-id: r51259
2010-07-24 21:18:07 +00:00
Neeraj Kumar 89988af11d TESTBED: reimplemented the config functionality using ConfigFile Class
svn-id: r51258
2010-07-24 21:02:21 +00:00
Martin Kiewitz 50b163a106 SCI: adding workaround for castle of dr. brain
room 420, alien card game

svn-id: r51257
2010-07-24 20:36:36 +00:00
Martin Kiewitz b0af2dc95b SCI: adding workaround for castle of dr. brain
room 320, for kUnLoad

svn-id: r51256
2010-07-24 19:57:58 +00:00
Martin Kiewitz f3f3f1d6db SCI: adding kOnMe transparency support
and disabling speed throttler for poor clones computer :P
fixes some hotspots in gk1 only supposed to react on actual pixel clicks

svn-id: r51255
2010-07-24 19:38:13 +00:00
Martin Kiewitz 97025ec7c1 SCI: removing sci32 gfx debug messages
svn-id: r51254
2010-07-24 19:19:09 +00:00
Martin Kiewitz e515bc56d1 SCI: fix warning
svn-id: r51253
2010-07-24 18:35:39 +00:00
Martin Kiewitz 252e7736e5 SCI: honor given order of screen items in sci32
fixes gk1 game menu slider controls

svn-id: r51252
2010-07-24 18:06:49 +00:00
Martin Kiewitz 353b0d2993 SCI: support useInsetRect in kFrameout
svn-id: r51251
2010-07-24 17:43:56 +00:00
Martin Kiewitz f0a2c10c92 SCI: enable speed throttler for sci32
svn-id: r51250
2010-07-24 16:52:08 +00:00
Martin Kiewitz 9bea286e49 SCI: cache Planes for sci32
svn-id: r51249
2010-07-24 16:47:12 +00:00
Neeraj Kumar 3f2527a48a Implemented selection of tests using a config file, config file layout resembles to that of .scummvmrc on linux
svn-id: r51248
2010-07-24 16:05:19 +00:00
Martin Kiewitz 72388cc638 SCI: adding sq4 workaround room 150
svn-id: r51247
2010-07-24 15:30:06 +00:00
Martin Kiewitz d643928d0d SCI: delete hidden planes in kFrameout
svn-id: r51246
2010-07-24 15:25:29 +00:00
Martin Kiewitz 2047e75d2b SCI: kCelWide/kCelHigh now adjust on hires views
somewhat fixes gk1 hires inventory issue

svn-id: r51245
2010-07-24 15:15:38 +00:00
Martin Kiewitz 5a5f8387ad SCI: removing some debug stuff from sci32 gfx
svn-id: r51244
2010-07-24 12:03:30 +00:00
Martin Kiewitz 63c945f93a SCI: fix warning and remove duplicate code
svn-id: r51243
2010-07-24 11:59:40 +00:00
Martin Kiewitz d49d1d60fe SCI: added said spec dump ability to logkernel
svn-id: r51242
2010-07-24 11:51:09 +00:00
Martin Kiewitz 9672c757d6 SCI: adding 1 to planeRect bottom/right
svn-id: r51241
2010-07-24 10:12:56 +00:00
Martin Kiewitz c8dc2e4b8b SCI: locking picture resource
fixes sq6 crashing with resource data NULL pointer

svn-id: r51240
2010-07-24 08:20:54 +00:00
Paul Gilbert 0191f8fd71 M4: Bugfixes for depth ordering to fix the Z order of on-screen objects
svn-id: r51239
2010-07-24 08:08:19 +00:00
Martin Kiewitz c8cde0735f SCI: adding workaround for sq4 room 391
svn-id: r51238
2010-07-24 07:55:29 +00:00
Martin Kiewitz bc04a8377b SCI: adding workaround for room 150 sq4
svn-id: r51237
2010-07-24 07:45:47 +00:00
Tony Puccinelli 95f66e6fb2 changed ds makefile to use abstracted ELF-loader with ds-specific additions added to backends/plugins/ds
svn-id: r51236
2010-07-24 07:14:19 +00:00
Paul Gilbert ec460ca2ca M4: Implemented lots of support code for pre-action handling
svn-id: r51235
2010-07-24 05:56:06 +00:00
Alejandro Marzini b89412d7e4 OPENGL: Redesign blitting system. Add basics for aspect correction.
Removed the extra surface in GLTexture. Now there are copies of the texture data in their original format (so engine can get the original data when lockScreen or grabOverlay is called). This copies will be updated when the engine calls a function that modifies the game screen/overlay, and the textures will be marked as dirty. When updating screen, the textures will be updated from the copies data if they are dirty.

svn-id: r51234
2010-07-24 05:54:51 +00:00
Tony Puccinelli 5d8f4b5062 Finished initial abstraction of ELF-loader (works for DS)
svn-id: r51233
2010-07-24 02:07:35 +00:00
Paul Gilbert cd66b7d11b M4: Enhanced the show_codes debug command to also show a scene's walking points
svn-id: r51230
2010-07-24 01:07:04 +00:00
Eugene Sandulenko 1867b44bf4 GUI: Fix bug #3024930
Bug #3024930: "GUI: GMM errors out in Hercules mode". Fixed by switching
Hercules resolutions to lowres GUI.

svn-id: r51226
2010-07-23 21:26:30 +00:00
Martin Kiewitz d73c8578ff SCI: result now displayed in decimal for logkernel
svn-id: r51225
2010-07-23 21:20:35 +00:00
Martin Kiewitz d92cece58a SCI: some small logkernel changes
svn-id: r51224
2010-07-23 21:13:57 +00:00
Eugene Sandulenko afc872cba8 AGI: Fix bug #3017911
Bug #3017911: "AGI (Fan): SQ0 - Ego flickering". It is a regression from r49745,
as it appeared, some of the screen updates were too much.

svn-id: r51223
2010-07-23 21:11:56 +00:00
Martin Kiewitz b984d9afc0 SCI: logkernel changes
removing old manual debug code, use logkernel * on/off to log all calls

svn-id: r51222
2010-07-23 20:59:27 +00:00
Johannes Schickel 9fc67f5c0b KYRA: Mark Kyra 1 Mac as General MIDI only.
It might be noteworthy that we do not support the music yet, but that might
change one day. We also do not mark the Kyra 1 Mac CD as GM only, since
that uses the included DOS sound files for now.

svn-id: r51221
2010-07-23 20:55:44 +00:00
Martin Kiewitz 3a45e47c5c SCI: adding new debug command logkernel
svn-id: r51220
2010-07-23 20:47:15 +00:00
Tony Puccinelli c39ca58683 renamed MIPS loader header to match file naming conventions
svn-id: r51219
2010-07-23 20:01:54 +00:00
Torbjörn Andersson cc6f4f4cdc SWORD2: Improve sync between local and global "mute" settings
Broken Sword 2's options dialog allows you to mute any of speech, sound
and sound effects, whereas ScummVM's options dialog just has one
"master" mute setting. This is an attempt to keep them better in sync,
though it's not perfect. Still, it may be good enough to fix bug
#3032763 ("SWORD2: Mute setting does not work").

svn-id: r51218
2010-07-23 19:52:58 +00:00
Eugene Sandulenko d6695e180c GUI: Fix tooltip drawing
With help of Tanoku tooltips were switched from widgets to dialogs
which helped to fix nasty bug with background not being restored.
Although it is basically a hack around inconsistent font backbuffering
in our GUI code, for the time being it is feasible.

The patch was extended with way to specify tooltip background in the
theme file.

svn-id: r51217
2010-07-23 19:36:47 +00:00
Johannes Schickel 0e5aa06db0 TOOLS: Formatting fixes.
svn-id: r51216
2010-07-23 19:20:28 +00:00
Martin Kiewitz 7094936e50 SCI: adding lsl6hires workaround
svn-id: r51215
2010-07-23 19:07:57 +00:00
Johannes Schickel 824a3c3ca1 TOOLS: Preliminary SCUMMVM_LIBS support for msvc8/9.
Currently %(SCUMMVM_LIBS)/bin is not added to the executable path, since I can not find any easy way to do that. The libs and include setting should be fine though.

svn-id: r51214
2010-07-23 19:06:38 +00:00
Johannes Schickel deef8bb650 TOOLS: Fix MSVC 2010 project files.
Formerly the MSVC 2010 project files did not respect the global include/library/executable directories of the user, but used custom paths for that. This resulted in headers and libraries not be found by the MSVC, in case they were not stored in %(SCUMMVM_LIBS).

Additionally it overwrote the executable MSVC used when compiling for x64, thus breaking the x64 target.

svn-id: r51213
2010-07-23 18:42:54 +00:00
Eugene Sandulenko b3f08d183b SDL: Fix bug #3025258
Bug #3025258: "Cursor Leaves Trail in GUI when Screen is Shaking". Based
on patch provided by eriktorbjorn but extended with another edge case.

svn-id: r51212
2010-07-23 16:38:31 +00:00
Eugene Sandulenko 11a17b3908 SCUMM: Fix subtitles for Russian The Dig
It is a long standing bug which was revealed by r31784. With that commit
Kirben switched DIG code to newer one. Russian version used 0x03 as
placeholders for keeping string widths. Original did not copy those
characters but we did hence the bug. Based on study of original.

Restrict it to Dig-only in order to avoid regressions.

svn-id: r51211
2010-07-23 16:38:06 +00:00
Martin Kiewitz 20b1d80d59 SCI: adding table for kDisplay workarounds
and removing hardcoded checks, adding another workaround for kGraph(drawLine) in island of dr. brain (also gene explanation chart)
Moving trackOriginAndFindWorkaround() into workarounds.cpp

svn-id: r51209
2010-07-23 14:32:24 +00:00
Martin Kiewitz 0bcc3af422 SCI: adding workaround for sq4/room 391
kDisplay is called with an object as opcode, we simply skip over it

svn-id: r51208
2010-07-23 13:57:45 +00:00
Jordi Vilalta Prat 8cc6d8d0eb GROOVIE: Fix compilation.
svn-id: r51206
2010-07-23 13:05:16 +00:00
Jordi Vilalta Prat a92576f08b GROOVIE: Optimize the VDX player.
- Make some small optimizations to the VDX player. The changes aren't
  noticeable on desktop computers, but it showed changes on the profiler.
  Let's see if it helps limited platforms.
- Clarify a few variable names and clean their usage.

svn-id: r51205
2010-07-23 12:56:57 +00:00