Martin Kiewitz
edc7fcf121
SCI: sync displayScreen with framebuffer after successful video playback (fixes background vanishing in mainmenu of gk1demo)
...
svn-id: r47089
2010-01-06 18:59:39 +00:00
Martin Kiewitz
11d9f15010
SCI: search for %J in text resources to identify japanese games, switch to upscaled hires when japanese games are started, removed TODO
...
svn-id: r47088
2010-01-06 18:25:43 +00:00
Filippos Karapetis
254850aa23
- Some work on kLocalToGlobal and kGlobalToLocal for SCI2+
...
- Removed the custom types MemoryHandle, LoopNo, CelNo (cause we ended up having code like LoopNo loopNo = ...)
- Improved the sanity checks in frameOut()
svn-id: r47087
2010-01-06 17:25:54 +00:00
Filippos Karapetis
9a99226d31
Removed a hack from the fallback detector, used to distinguish some demos from their full versions
...
svn-id: r47086
2010-01-06 16:39:48 +00:00
Filippos Karapetis
027fe079c9
The error inside execute_method() has been restored, it's only a warning for SCI2+ games for now, till we figure out what's wrong
...
svn-id: r47079
2010-01-06 14:04:56 +00:00
Martin Kiewitz
9272822486
SCI: initPriorityBands() now aborts when getting called and screen size is not 320x200
...
svn-id: r47078
2010-01-06 13:26:53 +00:00
Martin Kiewitz
07ce38db5f
SCI: changed screenHeight to 200 fixed inside initPriorityBands() because the algo is meant to work on lowres only
...
svn-id: r47077
2010-01-06 13:22:36 +00:00
Filippos Karapetis
ce5320d814
SCI2+ games no longer use priority bands (fixes memory leaks in true hires games, too)
...
svn-id: r47076
2010-01-06 13:11:10 +00:00
Martin Kiewitz
7d7d23ce2b
SCI: making most of the variables in screen class private (some of it was needed for old gui)
...
svn-id: r47075
2010-01-06 13:05:14 +00:00
Filippos Karapetis
86c1171b11
Removed one more hardcoded screen dimension
...
svn-id: r47074
2010-01-06 12:55:51 +00:00
Filippos Karapetis
3d3d0dee1b
SCI2.1 and newer games always run at 640x480
...
svn-id: r47073
2010-01-06 12:21:27 +00:00
Filippos Karapetis
bcf7535c97
Removed all hardcoded screen sizes
...
svn-id: r47072
2010-01-06 12:17:03 +00:00
Martin Kiewitz
d183420c86
SCI: implemented debug command "set_palette"
...
svn-id: r47047
2010-01-05 21:25:59 +00:00
Filippos Karapetis
3e911cd6e8
Changed an error to a warning in execute_method(), so that Torin's Passage scripts continue running (and crash at some later point)
...
svn-id: r47044
2010-01-05 21:05:32 +00:00
Martin Kiewitz
be9507fcb1
SCI: implemented new debug command "draw_cel"
...
svn-id: r47043
2010-01-05 21:03:33 +00:00
Martin Kiewitz
8bafb71df3
SCI: remove lowres limit from picture class, makes hires sci32 pictures work
...
svn-id: r47041
2010-01-05 20:52:19 +00:00
Martin Kiewitz
3bf03039b8
SCI: removed hardcoded screen width/height from windowMgr menuPort
...
svn-id: r47040
2010-01-05 20:49:03 +00:00
Martin Kiewitz
d183fb3c81
SCI: fix debug command draw_pic to accept higher resourceIds
...
svn-id: r47039
2010-01-05 20:39:21 +00:00
Martin Kiewitz
1712e223e2
SCI: removed uint16 limit within view class (allows hires views)
...
svn-id: r47035
2010-01-05 19:55:05 +00:00
Filippos Karapetis
cc87f4a741
Renamed the version of drawCel() which calls BitsShow() to drawCelAndShow(), to avoid confusion
...
svn-id: r47028
2010-01-05 14:59:43 +00:00
Filippos Karapetis
9606e7fca7
Some initial work on SCI1.1 view scaling (not working yet)
...
svn-id: r47027
2010-01-05 14:19:53 +00:00
Filippos Karapetis
45bf6fc0d7
Removed a leftover unused hack from the old graphics code
...
svn-id: r47026
2010-01-05 14:17:47 +00:00
Martin Kiewitz
b2fd2a8310
SCI: sci32 pictures are now fully drawn to screen (including all layers)
...
svn-id: r47025
2010-01-05 13:51:47 +00:00
Filippos Karapetis
928322314d
Removed duplicate code
...
svn-id: r47024
2010-01-05 13:21:39 +00:00
Filippos Karapetis
3b8512b104
Cleanup, fixed fading of digital sound effects
...
svn-id: r47023
2010-01-05 10:28:09 +00:00
Matthew Hoops
5fbbd5b8d9
Zero the array before using it. You can go talk to Grace now, DrMcCoy.
...
svn-id: r47017
2010-01-05 04:00:13 +00:00
Filippos Karapetis
00e48f687f
Cleanup
...
svn-id: r47012
2010-01-05 01:52:56 +00:00
Matthew Hoops
e87cc86665
Fix walking in SCI32. Gabriel now will walk and DrMcCoy can now hear his precious 'Gabriel is a lout' line :P
...
svn-id: r47011
2010-01-05 01:51:09 +00:00
Filippos Karapetis
e72e130048
Yet more renaming
...
svn-id: r47010
2010-01-05 01:47:44 +00:00
Filippos Karapetis
d99aa0f126
More renaming
...
svn-id: r47009
2010-01-05 01:37:57 +00:00
Matthew Hoops
2f1a909696
Fix compile.
...
svn-id: r47008
2010-01-05 01:29:04 +00:00
Filippos Karapetis
84cd8d2dc7
Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purpose
...
svn-id: r47007
2010-01-05 01:22:16 +00:00
Matthew Hoops
d8c59f5baa
Disable the planeLeft/planeTop code as it doesn't work under the current code (and left a FIXME explaining why it doesn't work).
...
svn-id: r47006
2010-01-05 01:14:08 +00:00
Filippos Karapetis
f66d5a7f53
SCI: Removed the old graphics code
...
svn-id: r47005
2010-01-05 00:54:53 +00:00
Filippos Karapetis
86cad51d07
Set the new sound code as default
...
svn-id: r47003
2010-01-05 00:25:49 +00:00
Martin Kiewitz
575bc45301
SCI: adjusting cel drawing according to left/top of plane
...
svn-id: r47002
2010-01-05 00:12:31 +00:00
Matthew Hoops
f8ba8886ce
Oops, forgot to commit this file too.
...
svn-id: r47001
2010-01-04 23:39:22 +00:00
Matthew Hoops
3c0805550e
Remove the planes/screenItems count and use the arrays' size() function instead.
...
svn-id: r47000
2010-01-04 23:37:29 +00:00
Matthew Hoops
c26ac879c6
Silence gcc warnings.
...
svn-id: r46999
2010-01-04 23:32:41 +00:00
Martin Kiewitz
6c001b7ffd
SCI: removing warning() from kFrameOut
...
svn-id: r46998
2010-01-04 23:31:50 +00:00
Martin Kiewitz
01d68c7eaf
SCI: adding #ifdefs for temporary gui work
...
svn-id: r46997
2010-01-04 23:17:51 +00:00
Martin Kiewitz
3767d3a718
SCI: now filtering screenItems against planes
...
svn-id: r46996
2010-01-04 23:09:57 +00:00
Martin Kiewitz
a6aaeb70e6
SCI: fix crash due accessing invalid object (implemented deleteScreenitem)
...
svn-id: r46993
2010-01-04 22:23:45 +00:00
Martin Kiewitz
05a16d7cba
SCI: surprise for this DrMcCoy guy
...
svn-id: r46992
2010-01-04 22:14:34 +00:00
Walter van Niftrik
184090cb46
SCI: Add support for SCI2 to AvoidPath.
...
svn-id: r46986
2010-01-04 20:52:25 +00:00
Martin Kiewitz
39cf9576af
SCI/newmusic: initialize _volume in constructor
...
svn-id: r46984
2010-01-04 19:50:58 +00:00
Filippos Karapetis
b9c8e6edb8
Code optimization: removed unneeded string comparisons when executing a sound command (including cmdUpdateCues, which is executed very often)
...
svn-id: r46983
2010-01-04 19:39:33 +00:00
Johannes Schickel
590a687ce1
Comment out unused variable.
...
svn-id: r46982
2010-01-04 18:33:31 +00:00
Filippos Karapetis
97fc845a07
SCI/new music code: Fixed the code that handles mixed Adlib/MIDI mode, and added better comments on what it actually does
...
svn-id: r46981
2010-01-04 18:24:58 +00:00
Martin Kiewitz
01eb329be2
SCI: kPalette / animate adjustments to behave more like sierra sci, also doesnt crash in island of brain anymore
...
svn-id: r46975
2010-01-04 16:44:58 +00:00