Commit graph

5558 commits

Author SHA1 Message Date
Johannes Schickel
71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Willem Jan Palenstijn
0ff44497c7 SCI: Round left/right edges in bitsShow to even coords
This fixes the vertical black line glitch in the QfG3 start menu (#3293351)
2011-05-01 13:41:06 +02:00
md5
6d05012bda SCI: Fixed bug #3289744 - "Hero Quest 1 demo crashes" 2011-04-29 03:06:15 +03:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Willem Jan Palenstijn
9f74a6eda2 SCI: Clarify comment from rev 5654e12 further 2011-04-28 12:03:10 +02:00
Ori Avtalion
3e01d35281 JANITORIAL: Format more forward declarations to follow convention 2011-04-28 12:32:01 +03:00
Ori Avtalion
cd6ee0589d JANITORIAL: Format forward declarations to follow convention 2011-04-28 12:20:34 +03:00
md5
d855092f96 SCI: Clarified comment in rev 5654e12
It's a bad idea to write comments when half asleep :P
2011-04-28 10:21:26 +03:00
md5
5654e12575 SCI: Added a more specific workaround for bug #3267956. This fixes bug #3291115 - "KQ6: Game freezes when getting paper from web" 2011-04-28 04:14:54 +03:00
md5
d28344bb55 SCI: Removed unused variables
Thanks to LordHoto and the trusty -Wunused-but-set-variable option :)
2011-04-27 13:13:35 +03:00
md5
14865cbf9c SCI: Fixed script bug #3292334 - "HOYLE4: Gin Rummy bug" 2011-04-26 19:08:02 +03:00
md5
c24d388468 SCI: Fixed script bug #3292251 - "SCI: QFG3: Script error when buying robe" 2011-04-26 18:24:53 +03:00
md5
1ba3d462d2 SCI: Fixed 2 script bugs in Hoyle 4 - hearts
This fixes bug #3292333 - "HOYLE4: Hearts bug"
2011-04-26 13:03:04 +03:00
md5
f752b1b2fc SCI: Fixed several uninitialized variable script bugs in Hoyle 4 Bridge
This fixes bug #3292332, along with other related issues
2011-04-26 12:56:11 +03:00
md5
ce704575a9 SCI: Updated the view type descriptions in the "version" console command 2011-04-26 12:56:09 +03:00
Willem Jan Palenstijn
dda6df668a SCI: Avoid (unused) sqrt of a negative number
This fixes bug #3289799.
2011-04-21 22:14:05 +02:00
Willem Jan Palenstijn
eb8b1a962b SCI: Fix precedence (bug #3087872) 2011-04-20 23:38:28 +02:00
Johannes Schickel
5af4b64c29 SCI: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:30:47 +02:00
md5
9a987001d4 SCI: Some initial work on supporting patch.005 in KQ1 Amiga 2011-04-15 11:20:07 +03:00
md5
6c4f09c058 SCI: Silenced the warning for kMacPlatform(1)
This warning produces a lot of spam in the console (e.g. it pops up
whenever the icon bar is opened in Dr. Brain Mac), thus it has been
silenced
2011-04-15 11:20:05 +03:00
Max Horn
2e095e25f2 ALL: centre -> center 2011-04-14 14:34:28 +02:00
Willem Jan Palenstijn
fc59a52e7a SCI: Remove left-over fixme comment
It should have been removed in b40b87fdb5
2011-04-13 18:57:18 +02:00
md5
22046d2480 SCI: Added handling for another version of mt32.drv (bug #3285556)
This is used in another version of KQ4 early (0.000.274)
2011-04-13 10:29:24 +03:00
Max Horn
0ce2ca4e00 COMMON: Replace MKID_BE by MKTAG
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
md5
b4051db142 SCI: Extended the script workaround for the sign reading script (bugs #3272735, #3275413) 2011-04-05 10:23:51 +03:00
Max Horn
a4eea36b84 SCI: Initialize newPlane fully before adding it to _planes 2011-04-04 09:53:26 +02:00
md5
f4905eafd1 SCI: Added workaround for script bug #3272735 - "SCI: QFG2: Crash when typing 'read sign'" 2011-04-04 09:59:20 +03:00
md5
bfef0f5a6f SCI: Fixed fading-related bugs #3267956 and #3041738 2011-04-03 19:02:14 +03:00
md5
6d90b0739a SCI: Show object names in the songlib console command 2011-04-03 19:01:20 +03:00
md5
407b9c9b2e SCI: Added a workaround for script bug #3268076 - "MOTHERGOOSE: Crash after finishing the game" 2011-04-03 15:19:19 +03:00
md5
9654068659 SCI: Fixed bug #3266480 and partially fixed bug #3041738
Hopefully, this will fix some of the oddities happening because of music fading
2011-04-03 14:37:15 +03:00
md5
51f733b2a6 SCI: Changed debug console hotkey to Control-Shift-D instead of Control-D.
Applied from patch #3258985.
The previous hotkey interfered with the hotkeys of some games (e.g.
the "time of day" hotkey in QFG2, bug #3250996).
2011-04-03 14:35:54 +03:00
Matthew Hoops
9fb10f98e2 SCI: Fix Mac SCI32 picture transparency 2011-04-02 22:35:23 -04:00
Lars Skovlund
3ea76f39f9 SCI: Fix SQ1 droid zapping issue with a script patch, thanks to
dhewg for reporting.
2011-04-02 19:54:53 +02:00
dhewg
23ad90b781 SCI: Replace not required emumidi header 2011-04-02 13:31:53 +02:00
Matthew Hoops
2a2c7f5bef SCI: Minor cleanup 2011-03-30 16:00:46 -04:00
Lars Skovlund
40d922206b SCI32: Support for views with 640x400 native resolution
(fixes Wolfgang closeup, room 720)
2011-03-30 21:30:51 +02:00
dhewg
d83a83ef50 JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
Matthew Hoops
5bc5e95e12 SCI: Add workaround for a GK1 pointer comparison 2011-03-29 13:48:07 -04:00
Matthew Hoops
e1883a6cf4 SCI: Limit SCI32 view scaling to when we're actually scaling
Fixes bug #3253208
2011-03-29 10:56:19 -04:00
D G Turner
344369c294 SCI: Fix Compilation with --enable-release set. 2011-03-28 22:45:01 +01:00
Johannes Schickel
ef3324f8b2 SCI: Add detection entry for my GK1 floppy version. 2011-03-28 19:07:17 +02:00
md5
4133945850 SCI: Renamed restAdjust to r_rest (like r_acc and r_prev) 2011-03-28 02:23:58 +03:00
md5
9adae61df3 SCI: Error out when kMemorySegment() is requested to save more than 256 bytes 2011-03-28 02:23:57 +03:00
md5
76b68bf88c SCI: Set the GC_INTERVAL define to its hexadecimal equivalent 2011-03-28 02:23:56 +03:00
md5
6487d05ddf SCI: Moved some debug functions from vm.cpp to scriptdebug.cpp 2011-03-27 01:52:23 +02:00
Walter van Niftrik
6501a86095 SCI: Fix default pan value in MIDI driver. 2011-03-27 00:04:28 +01:00
md5
6ec9c9f62d SCI: Removed the READ_VAR and WRITE_VAR wrappers 2011-03-26 12:25:48 +02:00
md5
cc074b013f SCI: Refactored and cleaned up the VM call stack handling code
- Removed the CallsStruct intermediate stack. Calls are inserted directly
in the execution stack
- Added a constructor for the ExecStack struct and removed
add_exec_stack_varselector() and add_exec_stack_entry()
2011-03-26 02:37:10 +02:00
md5
10d1a58cb2 SCI: Reordered some functions 2011-03-25 14:09:09 +02:00