Commit Graph

5544 Commits

Author SHA1 Message Date
Eugene Sandulenko
7bb53f3bf1 Patch #1013937 "OSystem layer with bigger resolution". Now you will always
get at least 640x400 window. And finally we have means of implementing
nice looking GUI.

Also updated all backends. If your backend has ability to run with 640x400 or
640x480 resolution then read patch tracker item to find out details. Other
port maintainers shouldn't worry, as this patch doesn't affect them, they
still get their 320x200.

svn-id: r17055
2005-03-09 23:07:32 +00:00
Max Horn
d414c78468 Stricter offset verification in drawBitmap; but be more generous if we encounter a violation and just generate a warning (should fix bug #795214)
svn-id: r17053
2005-03-09 21:10:16 +00:00
Max Horn
0ec193b4be changing AudioDataType -> SoundType, so now the constant names match the name of the data type / the SoundMixer method names
svn-id: r17052
2005-03-09 18:12:54 +00:00
Max Horn
13b8f678fc Fix one potential race condition between SMUSH and INSANE
svn-id: r17051
2005-03-09 16:37:44 +00:00
Travis Howell
f5b493d735 Add HE sound todos
svn-id: r17050
2005-03-09 13:41:33 +00:00
Torbjörn Andersson
eb1c999ad0 Use _chorus, not _effect_level, as parameter to chorusLevel(). I don't
know for sure that this is correct - the MIDI device I'm using at the
moment doesn't seem to support chorus level - but the more I look at it the
more sense it makes.

And it might fix bug #1159734. ("DOTT/SAM: GM Instrument Chorus Level
Improperly Set")

svn-id: r17049
2005-03-09 13:17:05 +00:00
Travis Howell
b26dfb63b4 *** empty log message ***
svn-id: r17046
2005-03-09 06:29:31 +00:00
Travis Howell
185ed9d2bc A few more safety checks
svn-id: r17045
2005-03-09 06:28:46 +00:00
Travis Howell
ebcf64df56 _imagesNum should be clear in startScene()
svn-id: r17044
2005-03-09 05:04:14 +00:00
Travis Howell
69a39e3c54 Correct position
svn-id: r17043
2005-03-09 01:05:08 +00:00
Max Horn
913fd254d1 Fix for bug #1158465 (New Volume Control Dialogue Error-Prone)
svn-id: r17042
2005-03-08 23:44:07 +00:00
Gregory Montoir
9cad557149 corrections
svn-id: r17041
2005-03-08 20:27:33 +00:00
Travis Howell
436d2181e1 Remove unused sprite code, unused by original games.
svn-id: r17038
2005-03-08 12:36:32 +00:00
Travis Howell
5759e1577c Add opcode for bb2demo
svn-id: r17035
2005-03-08 05:56:21 +00:00
Travis Howell
b9393bc819 Script flags are different in HE100
svn-id: r17034
2005-03-08 04:17:45 +00:00
Travis Howell
d2dab23510 Add HE100 difference in opcode.
svn-id: r17033
2005-03-08 03:52:02 +00:00
Max Horn
e4bfdcaedd Fix result value
svn-id: r17032
2005-03-08 00:48:20 +00:00
Max Horn
2b786cdc59 Remove outdated comment
svn-id: r17031
2005-03-08 00:44:58 +00:00
Travis Howell
5379f74ab3 Should be reverse order, sprite input works now.
svn-id: r17030
2005-03-07 21:58:47 +00:00
Travis Howell
82d347a99a Don't change mouse pos. values.
svn-id: r17029
2005-03-07 14:08:08 +00:00
Travis Howell
17562c097a FindSprite should report the spriteId.
svn-id: r17027
2005-03-07 11:34:23 +00:00
Travis Howell
214742783e Add opcode for Spy Fox 2 mini game.
svn-id: r17026
2005-03-07 10:21:23 +00:00
Travis Howell
8cc18e6797 Minor cleanup
svn-id: r17025
2005-03-07 06:37:56 +00:00
Travis Howell
26da9cc393 Fix dup_n, billboard in circdemo works now.
svn-id: r17024
2005-03-07 06:06:22 +00:00
Travis Howell
1e07216b85 Cases are different.
svn-id: r17023
2005-03-07 04:21:11 +00:00
Travis Howell
cb492e9b08 Restriction no longer required.
svn-id: r17022
2005-03-07 01:04:07 +00:00
Travis Howell
7627f75d9b Missed a bit
svn-id: r17021
2005-03-07 00:57:38 +00:00
Travis Howell
bf9bdd6c2e Allow EGA option in Amiga/Atari ST games.
Restore correct palette after reloading saved game.

svn-id: r17020
2005-03-07 00:53:30 +00:00
Travis Howell
07aa92063a Add Amiga renderer mode for EGA games.
svn-id: r17019
2005-03-07 00:39:48 +00:00
Max Horn
7dd8a39ad0 Allocate new file objects (and real new file handles) for subchunks/subfiles -- this might (or might not) help some of the odd bugs in FT... testing, esp. on Windows, is needed
svn-id: r17018
2005-03-07 00:38:18 +00:00
Max Horn
68dce52387 Fix for bug #1107815 (SAM: Conroy Bumpus' song subtitles always present)
svn-id: r17017
2005-03-06 23:36:37 +00:00
Max Horn
b5dc4960a4 Max talkspeed is 9, not 10
svn-id: r17016
2005-03-06 23:21:10 +00:00
Max Horn
630bdf542d Oops
svn-id: r17015
2005-03-06 23:16:45 +00:00
Max Horn
81eadf1a35 Fix for bug #1153648 (Compressed BUN files play incorrectly on BE systems)
svn-id: r17014
2005-03-06 23:15:57 +00:00
Max Horn
8743ff7537 Remove obsolete comment (I really should save files before commiting them ;-)
svn-id: r17010
2005-03-06 18:02:43 +00:00
Max Horn
a0d5debc7a Added dialogs which are shown when you modify the talkspeed or music volume using hotkeys (FR #1153300)
svn-id: r17009
2005-03-06 18:00:54 +00:00
Max Horn
eb728a748f Name parameters properly, lest we'll all be confused...
svn-id: r17005
2005-03-06 13:23:29 +00:00
Travis Howell
f202b4d06d Use sprite groups number, not sprite id.
svn-id: r17000
2005-03-06 04:49:58 +00:00
Travis Howell
0d33190008 Rename sprite fields
svn-id: r16999
2005-03-06 04:31:02 +00:00
Travis Howell
524d3310c4 Ooops, reversed that.
svn-id: r16998
2005-03-06 04:26:24 +00:00
Travis Howell
0f179d1f0a c & p type
svn-id: r16997
2005-03-06 03:17:14 +00:00
Travis Howell
5c650274fc Correct class_flag checks for sprites
svn-id: r16996
2005-03-06 02:03:18 +00:00
Travis Howell
a50ec148e8 Checks were in reverse.
svn-id: r16995
2005-03-06 01:41:25 +00:00
Travis Howell
cca8d4733c *** empty log message ***
svn-id: r16994
2005-03-06 00:48:40 +00:00
Travis Howell
81262457d3 Add extra safety checks from original games, to copyVirtScreenBuffers()
svn-id: r16993
2005-03-06 00:46:13 +00:00
Eugene Sandulenko
88498dc622 Fix spriteAddImageToList() according to disassembly. (sbb-related)
svn-id: r16992
2005-03-05 23:50:50 +00:00
Travis Howell
2e8dee216e Update comments
svn-id: r16991
2005-03-05 02:56:51 +00:00
Travis Howell
4fb6f0059e Remove invalid sprite check
svn-id: r16990
2005-03-05 00:34:02 +00:00
Travis Howell
af17a87053 Add missing check
svn-id: r16989
2005-03-04 05:34:56 +00:00
Travis Howell
64be448cc5 Add more details to WizImageOps
svn-id: r16988
2005-03-04 05:31:22 +00:00
Travis Howell
14074de4b0 Correct classId value.
svn-id: r16985
2005-03-03 10:46:04 +00:00
Travis Howell
958d68e893 Need to adjust HE7 filename for mustard too.
svn-id: r16982
2005-03-03 05:09:39 +00:00
Travis Howell
ac493b31db Fix compare string.
svn-id: r16981
2005-03-03 04:54:23 +00:00
Travis Howell
78e3fc9415 Add missing actor redraws
svn-id: r16980
2005-03-03 03:06:30 +00:00
Travis Howell
e85baf02d1 Correct palSlot range
svn-id: r16979
2005-03-03 02:51:15 +00:00
Travis Howell
120b385196 Sync paletteOps in HE90
svn-id: r16978
2005-03-02 23:57:20 +00:00
Travis Howell
bad34c12cd Add two more VARs for HE89+
Minor cleanup

svn-id: r16977
2005-03-02 23:14:06 +00:00
Eugene Sandulenko
50f6eb740c Distinguish between green and amber hercules. Now specify it via hercGreen
and hercAmber. Updated documentation accordingly.

svn-id: r16975
2005-03-02 21:46:51 +00:00
Eugene Sandulenko
7a2a4f34dc Make detection of v1 SCUMM games at detection stage, not resource
loading. This lets me disable hercules dithering for these games.

svn-id: r16974
2005-03-02 21:39:16 +00:00
Eugene Sandulenko
ee03994a78 Commit o100_paletteOps WIP based on cyx's patch. Original patch just
tends to be unappliable anymore, so that's why I decided to commit it when
it required not so much work of manual patching.

I've checked validness of it against IDB but we still have main question open:
How to plug it in properly into our palette code?

svn-id: r16973
2005-03-02 20:02:59 +00:00
Travis Howell
3cd0ff763c Fix room resource loading in Buzzy games.
svn-id: r16972
2005-03-02 11:57:11 +00:00
Travis Howell
9f364eaf65 Add dummy case used in airport
svn-id: r16971
2005-03-02 10:53:14 +00:00
Travis Howell
e913602100 Fix array read from files in HE72+
svn-id: r16970
2005-03-02 08:42:42 +00:00
Torbjörn Andersson
27bcd6e47a When restoring older savegames, fill the script slot 'cycle' fields with
what I hope is a sensible value. This fixes a regression with a MonkeyVGA
savegame I had where none of the scripts that should have been running
were since all 'cycle' fields were 0.

svn-id: r16969
2005-03-02 07:11:58 +00:00
Travis Howell
f097bcbf2b Fix string display in Buzzy games.
svn-id: r16968
2005-03-02 07:00:42 +00:00
Travis Howell
7dd05d6d10 Fix COMI part III regression, I lost a line.
svn-id: r16967
2005-03-02 05:01:52 +00:00
Torbjörn Andersson
91c1c67fc5 Fixed warning.
svn-id: r16966
2005-03-01 07:45:36 +00:00
Max Horn
a9e53c989c Perform some validation before using GFX strip offset (see also bug #795214)
svn-id: r16964
2005-02-28 20:20:57 +00:00
Gregory Montoir
15bfd975a0 preliminar work on processWizImage 9 and updated wiz flags
svn-id: r16963
2005-02-28 20:19:56 +00:00
Travis Howell
e50aca32a8 Missed a change.
svn-id: r16960
2005-02-28 13:34:52 +00:00
Travis Howell
36705d4344 Add support for script cycles used by HE90+ games.
svn-id: r16958
2005-02-28 13:23:10 +00:00
Travis Howell
c840db8ab2 *** empty log message ***
svn-id: r16956
2005-02-28 04:35:26 +00:00
Travis Howell
d343ba9bb9 Cleanup
svn-id: r16955
2005-02-28 04:34:22 +00:00
Travis Howell
3b2fe18d2c Rename sprite functions
svn-id: r16954
2005-02-28 04:17:17 +00:00
Travis Howell
0d8a49de37 Revert the spriteGroupId checks.change.
svn-id: r16951
2005-02-27 06:07:09 +00:00
Travis Howell
991c1859b1 Correct spriteGroupId checks.
Remove duplicate/pointess code.

svn-id: r16950
2005-02-27 06:01:11 +00:00
Travis Howell
68d15ad91d Correction, only redraw if flags changed.
svn-id: r16949
2005-02-27 05:14:24 +00:00
Gregory Montoir
d5d3bc8e3b correction, WIZH tag is LE
svn-id: r16948
2005-02-27 04:14:54 +00:00
Gregory Montoir
decda90ffd moved some variables to ScummEngine_v90he and renamed some SpriteInfo fields
svn-id: r16947
2005-02-27 03:36:33 +00:00
Gregory Montoir
a0347d46de fixed footdemo startup wizimage
svn-id: r16946
2005-02-27 03:23:16 +00:00
Gregory Montoir
5eec97c24c added processWizImage mode 8 ; this breaks footdemo, feel free to disable
svn-id: r16945
2005-02-27 02:55:13 +00:00
Travis Howell
4cb4f662c8 Rename vars
svn-id: r16944
2005-02-27 02:29:54 +00:00
Travis Howell
8560e08940 Ooops
svn-id: r16943
2005-02-27 01:23:50 +00:00
Travis Howell
68581fe2e0 Add floodState struct and rename opcode.
svn-id: r16942
2005-02-27 01:20:44 +00:00
Travis Howell
52989edb1c Update debug msg.
svn-id: r16940
2005-02-27 00:49:09 +00:00
Travis Howell
cf0aac1506 Add more safety checks.
svn-id: r16939
2005-02-27 00:42:52 +00:00
Gregory Montoir
23c2b3fc96 typo
svn-id: r16934
2005-02-26 12:48:51 +00:00
Travis Howell
4a803b93c0 Correction to findSprite()
svn-id: r16932
2005-02-26 12:10:06 +00:00
Eugene Sandulenko
3abfcbc579 Lots of other sprite-related renames as suggested by cyx.
svn-id: r16930
2005-02-26 11:22:00 +00:00
Eugene Sandulenko
885d584842 Rename HE sprite flag kSF31 -> kSFImageless and corresponding functions.
svn-id: r16929
2005-02-26 11:05:13 +00:00
Eugene Sandulenko
e106b0a853 Disable ditrherers for v1 games. Algorithm there is different and also
palette settings seem to be different too. So to not let people get confused
it is disabled until proper implementation.

svn-id: r16928
2005-02-26 11:02:27 +00:00
Gregory Montoir
46844bbb7d added a missing line to findSpriteWithClassOf and updated _varNumSpriteGroups computing
svn-id: r16927
2005-02-26 10:59:50 +00:00
Travis Howell
77b50fcce8 Typo
svn-id: r16926
2005-02-26 10:53:23 +00:00
Gregory Montoir
4f5589bb8b fix issue in spritesBlitToScreen and added some suggestions for fields/flags renaming
svn-id: r16925
2005-02-26 10:02:22 +00:00
Travis Howell
1d23aada61 Catch all invalid image resource reads
svn-id: r16924
2005-02-26 04:53:43 +00:00
Travis Howell
6d7935cc6b Revert that last change, mixed functions.
svn-id: r16923
2005-02-26 04:20:47 +00:00
Travis Howell
2689832d75 Rename sprite function
Correct spritesResetSpriteGroup

svn-id: r16922
2005-02-26 03:57:11 +00:00
Travis Howell
4da8a6e1f0 Fix sprite states
svn-id: r16921
2005-02-26 01:39:52 +00:00
Travis Howell
574047157a Fix sprite hacks
svn-id: r16920
2005-02-26 00:35:23 +00:00
Travis Howell
1bcfa18667 More work on findSpriteWithClassOf()
svn-id: r16919
2005-02-25 23:37:25 +00:00
Paweł Kołodziejski
a73906443b fixed compilation for emsvc4
svn-id: r16917
2005-02-25 20:15:01 +00:00
Travis Howell
2e60c4fbd3 Add WIP findSpriteWithClassOf() function
svn-id: r16914
2005-02-25 15:19:03 +00:00
Travis Howell
475b1e1395 Update WizParameters struct, to match pajama3.
svn-id: r16912
2005-02-25 11:45:25 +00:00
Travis Howell
563b271224 Cleanup, reduce duplicate code.
svn-id: r16911
2005-02-25 11:23:27 +00:00
Max Horn
51391279cc cleanup
svn-id: r16910
2005-02-25 10:00:06 +00:00
Travis Howell
a82cff4816 Correct check
svn-id: r16909
2005-02-25 02:07:22 +00:00
Travis Howell
587d4da23a Init sprites
svn-id: r16908
2005-02-25 01:34:33 +00:00
Travis Howell
1f56546052 *** empty log message ***
svn-id: r16907
2005-02-25 01:23:36 +00:00
Travis Howell
6ae017622a *** empty log message ***
svn-id: r16906
2005-02-25 01:20:46 +00:00
Travis Howell
cae8366844 Add missing parts of spritesProcessWiz()
svn-id: r16905
2005-02-25 01:15:16 +00:00
Travis Howell
685b070107 Rename SpriteGroup fields
svn-id: r16904
2005-02-24 23:28:56 +00:00
Eugene Sandulenko
451527e2af Rename sprite flags as suggested:
kSF22 -> kSFYFlipped
kSF23 -> kSFXFlipped

svn-id: r16903
2005-02-24 23:11:50 +00:00
Eugene Sandulenko
84453d5725 o Fixed sprite flags everywhere. In many cases they were wrong as they were
checked in higher byte not whole word.
o Some flags/functions renames

svn-id: r16902
2005-02-24 21:05:29 +00:00
Gregory Montoir
cc5e406cb5 defined some flags for HE wiz ; it should make the code more readable
svn-id: r16901
2005-02-24 20:20:35 +00:00
Travis Howell
976b988448 Ooops, should be _varNumSprites
svn-id: r16900
2005-02-24 12:22:14 +00:00
Travis Howell
2591151638 Add stub case
svn-id: r16899
2005-02-24 11:49:07 +00:00
Travis Howell
b16dc17f63 Add missing sprite redraw
svn-id: r16898
2005-02-24 11:45:22 +00:00
Travis Howell
8a5918aa2e Correct sprite flags in resetSprite
svn-id: r16897
2005-02-24 11:22:05 +00:00
Travis Howell
40771358a6 Correct classId.
svn-id: r16896
2005-02-24 08:26:58 +00:00
Travis Howell
350ed76947 Update sprite calls in main loop
svn-id: r16894
2005-02-24 08:00:30 +00:00
Travis Howell
88a70e46b8 init vars
svn-id: r16891
2005-02-24 07:43:29 +00:00
Travis Howell
dcb22ee216 Correct SpriteInfo_setFlags*
Rename functions

svn-id: r16890
2005-02-24 06:47:12 +00:00
Eugene Sandulenko
e26480aaee This is a dirty hack which lets see HE sprites, so further debugging is
possible.

svn-id: r16889
2005-02-24 05:11:37 +00:00
Eugene Sandulenko
5787793e05 Fix bug in ScummEngine_v90he::spritesSortActiveSprites()
svn-id: r16888
2005-02-24 04:28:44 +00:00
Eugene Sandulenko
1ad372c589 Initial implementation of spritesProcessWiz. Also plugged it into main loop.
svn-id: r16887
2005-02-24 04:04:17 +00:00
Travis Howell
4bc6cfd469 Fix regression, seems like bug in pajama3 disasm.
svn-id: r16886
2005-02-24 00:48:24 +00:00
Eugene Sandulenko
e936c234af implementation of spritesSortActiveSprites()
svn-id: r16885
2005-02-23 23:28:53 +00:00
Eugene Sandulenko
5ae4dde2fb Fix spriteInfoGet_classFlags*.
svn-id: r16882
2005-02-23 12:26:17 +00:00
Travis Howell
1b7e174f88 Add sprite function
svn-id: r16881
2005-02-23 12:04:42 +00:00
Travis Howell
f215c1ceae Update HE100
svn-id: r16880
2005-02-23 11:15:41 +00:00
Travis Howell
84bc25a426 Clear a few more fields when reseting sprite
svn-id: r16879
2005-02-23 10:14:52 +00:00
Travis Howell
26722043d9 Ooops, order wrong.
svn-id: r16878
2005-02-23 10:00:12 +00:00
Travis Howell
2c10795b48 Correct subOp, used in freddicove
svn-id: r16877
2005-02-23 09:55:34 +00:00
Travis Howell
861e418e70 freddicove adds extra SpriteInfo field.
Correction, only redraw sprite if value changed.

svn-id: r16876
2005-02-23 09:23:54 +00:00
Travis Howell
a890737e0e Add sprite function.
Correct sprite function (class_flags, not flags).

svn-id: r16875
2005-02-23 05:26:56 +00:00
Travis Howell
15b02f9232 Another sprite function.
svn-id: r16874
2005-02-23 05:09:14 +00:00
Travis Howell
f278d588f3 Cleanup
svn-id: r16873
2005-02-23 04:35:20 +00:00
Travis Howell
22b8b3e8eb More sprite functions
svn-id: r16872
2005-02-23 04:05:22 +00:00
Travis Howell
a33edcf009 Add some setSpriteGroupInfo code.
svn-id: r16871
2005-02-23 03:22:05 +00:00
Eugene Sandulenko
dcd7d24717 Implementation of spriteInfoSet_addImageToList. It needs review,
especially inner loop with pointer arithmetix. Cyx, remember that
x * 0x31 that's it just somewhat complicated.

svn-id: r16870
2005-02-23 03:18:49 +00:00
Eugene Sandulenko
b53b1963a9 spriteInfoSet_case183 -> spriteInfoSet_resetSprite and its implementation.
svn-id: r16869
2005-02-23 02:35:59 +00:00
Travis Howell
d674eddefa Add setSpriteGroupInfo stubs
svn-id: r16868
2005-02-23 01:08:29 +00:00
Eugene Sandulenko
ee8f4ca1cf Rename classFlags functions and fix one of them.
svn-id: r16867
2005-02-22 22:52:35 +00:00
Gregory Montoir
26b11cb444 o90_setSpriteInfo so 91
svn-id: r16866
2005-02-22 22:23:10 +00:00
Gregory Montoir
44c6bbe438 some WIP stuff for HE sprites
svn-id: r16865
2005-02-22 21:38:44 +00:00
Max Horn
e7b8a1eada Added consts (this usually helps the compiler a bit when optimizing code)
svn-id: r16863
2005-02-22 18:24:24 +00:00
Travis Howell
99f54b437d Minor cleanup
svn-id: r16860
2005-02-22 13:54:38 +00:00
Travis Howell
a45a0de658 All languages
svn-id: r16858
2005-02-22 07:31:54 +00:00
Travis Howell
1dfc4c9881 Ooops
svn-id: r16857
2005-02-22 01:51:47 +00:00
Travis Howell
f2dda718d3 More debugs, to catch error points.
svn-id: r16856
2005-02-22 01:37:57 +00:00
Eugene Sandulenko
0835583948 Implementation of GFX transactions. May cause some regressions in case I
missed some unusual mode switching. This implementation let us avoid two nasty
hacks in scumm.cpp.

*Now* we could return to OSystem layers.
patch.

svn-id: r16855
2005-02-22 01:29:27 +00:00
Travis Howell
4ff034d27c Add a few sprite stubs
svn-id: r16854
2005-02-22 01:25:53 +00:00
Eugene Sandulenko
03804ce33f Rename script flags as suggested.
svn-id: r16853
2005-02-22 01:23:15 +00:00
Eugene Sandulenko
6dd4854ba4 cyx's WIP for sprites. Implemented spritesBlitToScreen
svn-id: r16852
2005-02-22 01:16:41 +00:00
Eugene Sandulenko
6409a3c4e4 Fix _heversion for Russian updated pajama2. Today I played it with kids
and found that it is actually 99, not 98.

svn-id: r16851
2005-02-21 14:27:09 +00:00
Travis Howell
99bf57e7b8 Typos
svn-id: r16850
2005-02-21 12:43:18 +00:00
Travis Howell
df5c97246b Update HE100
svn-id: r16846
2005-02-21 06:31:03 +00:00
Travis Howell
01a7042be6 Update HE100
svn-id: r16845
2005-02-21 04:53:34 +00:00
Travis Howell
6b41feac65 Rename vars
svn-id: r16844
2005-02-21 02:37:05 +00:00
Eugene Sandulenko
6942100a94 WIP for o90_spriteInfoSet
svn-id: r16842
2005-02-21 02:02:32 +00:00
Travis Howell
b1e67c4ce8 Add functions for o90_getSpriteGroupInfo
svn-id: r16841
2005-02-21 01:08:48 +00:00
Eugene Sandulenko
97688df92d WIP for o90_spriteInfoSet. Regression fix.
svn-id: r16840
2005-02-21 00:59:50 +00:00
Travis Howell
7a6b7c2a1c Ooops
svn-id: r16839
2005-02-21 00:38:13 +00:00
Travis Howell
291fe61a1e Ooops
svn-id: r16838
2005-02-21 00:36:25 +00:00
Travis Howell
7783d6596e A few var renames.
svn-id: r16837
2005-02-21 00:34:00 +00:00
Travis Howell
4f2cd36bd9 More getSpriteInfo functions
svn-id: r16836
2005-02-21 00:25:30 +00:00
Eugene Sandulenko
70982f556e o WIP for o90_spriteInfoSet.
o kSFx -> kSF0x
o kSGFx -> kSGF0x

svn-id: r16835
2005-02-21 00:02:44 +00:00
Travis Howell
e62d949fb6 Add sprite function
svn-id: r16834
2005-02-20 23:55:11 +00:00
Travis Howell
8ae3fe1ffe Add more sprite functions
svn-id: r16833
2005-02-20 23:30:37 +00:00
Gregory Montoir
f1f7e6ce7a some WIP HE sprites stuff
svn-id: r16832
2005-02-20 22:16:31 +00:00
Robert Göffringmann
7c54b0af7d I guess someone forgot to put paranthesis here.
Forgive me if it was really meant to be like it was... but I can't believe it. :)

svn-id: r16829
2005-02-20 18:40:32 +00:00
Eugene Sandulenko
79a0434971 Sprite flags and one rename in SpriteInfo structure.
svn-id: r16825
2005-02-20 15:05:18 +00:00
Travis Howell
6abdb96981 Use sprite functions
svn-id: r16824
2005-02-20 13:26:30 +00:00
Travis Howell
e4b51cbdf2 Add a few sprite functions.
svn-id: r16823
2005-02-20 13:07:57 +00:00
Travis Howell
6d4eec5ecd Rename opcodes, names should be correct.
svn-id: r16822
2005-02-20 11:14:50 +00:00
Travis Howell
04fdd5bc52 Add WIP sprite struct for HE games, ready for functions.
svn-id: r16821
2005-02-20 10:56:59 +00:00
Eugene Sandulenko
47400c1932 Restrict CGA/EGA/Hercules dithering to PC only.
svn-id: r16819
2005-02-20 01:50:18 +00:00
Eugene Sandulenko
b4780deac6 (more) correct v2 ditherers. Still suffers from some differences and
text colors are not always match.

svn-id: r16818
2005-02-20 01:37:47 +00:00
Eugene Sandulenko
27469a1896 Patch #1121337 (CGA rendering in early LEC titles).
Differences against patch:
  o Updated documentation
  o Fixed text colors
  o Implemented Hercules dithering

Ditherers are based on loom ega and monkey ega, so for zak and mm they're
wrong, i.e. these games look better than with original ditherers.

TODO:
  Proper ditherers for zak & MM
  EGA ditherers for VGA SCUMM v5 games

svn-id: r16816
2005-02-20 00:17:22 +00:00
Max Horn
695b0fcb5f Fix a small bug (wrong mouse cursor is briefly shown) in the F5 menu
svn-id: r16804
2005-02-18 00:28:56 +00:00
Eugene Sandulenko
78ee0bfdaf Mouse part of big patch #1013937 (OSystem layer with bigger resolution)
svn-id: r16800
2005-02-17 23:01:00 +00:00
Travis Howell
e1323556c3 Correction number of actors in a few HE games.
VAR_NUM_ACTORS doesn't always have the correct value.

svn-id: r16799
2005-02-17 01:22:31 +00:00
Jerome Fisher
e78de67c54 - Fixed what I understand to be a check to ensure that sysex instrument data wasn't sent to the rhythm channel. It was preventing instruments from being written to part 8.
This fixes the window crashing sound in the intro of the floppy version of Indy 4, and possibly other things. Hopefully it breaks nothing.

svn-id: r16798
2005-02-15 17:56:32 +00:00
Torbjörn Andersson
d1f6a40583 Re-phrased comment to make it sound more like the fact it is and less like
a "FIXME".

svn-id: r16797
2005-02-15 10:32:55 +00:00
Torbjörn Andersson
e3ed9f7b32 This should keep ScummVM from trying to free invalid pointers. I hope.
svn-id: r16796
2005-02-15 08:15:35 +00:00
Eugene Sandulenko
32ea1644a5 Fix crash in updated Russian freddi1.
svn-id: r16795
2005-02-15 03:32:07 +00:00
Eugene Sandulenko
c49642bb8b o Added 5 updated Russian freddi-related titles.
o Fixed ScummEngine_v72he::o72_openFile() so autogenerated names also
  checked for substitution.
o New case 0 in o100_actorOps() used by Russian updated freddicove. Number
  of stack items weren't checked against disassembly

svn-id: r16792
2005-02-14 21:19:00 +00:00
Travis Howell
39b83ba8cf Add addiotnal decode type in later HE games.
svn-id: r16791
2005-02-14 13:44:19 +00:00
Travis Howell
94f76a8f05 Update comment
svn-id: r16790
2005-02-14 10:06:22 +00:00
Travis Howell
0e1a22729b Correct sound TAG for Backyard sports games
Fix memory leak.

svn-id: r16789
2005-02-14 10:02:34 +00:00
Travis Howell
a8520f4fe6 *** empty log message ***
svn-id: r16788
2005-02-14 09:00:30 +00:00
Travis Howell
993ae4a3e6 Add opcode for HE100
svn-id: r16787
2005-02-14 08:58:02 +00:00
Travis Howell
23d02ee03f Add opcode
svn-id: r16786
2005-02-14 07:21:17 +00:00
Travis Howell
0439ab507f Add opcode
svn-id: r16785
2005-02-14 07:15:16 +00:00
Travis Howell
40768ac29d Add basic support for DISK index block in later HE games.
svn-id: r16784
2005-02-14 03:12:41 +00:00
Eugene Sandulenko
142a646da0 Fix typo in football substitute.
svn-id: r16783
2005-02-13 23:32:49 +00:00
Eugene Sandulenko
cfdde90be0 HE version correction for russian spyfox
svn-id: r16782
2005-02-13 07:16:44 +00:00
Eugene Sandulenko
a43f4bead8 Added new Russian HE titles.
svn-id: r16780
2005-02-13 06:54:03 +00:00
Paweł Kołodziejski
ddd97c96da fix/workaround for bug: 1120625
svn-id: r16779
2005-02-12 15:00:16 +00:00
Paweł Kołodziejski
ce832686a0 fixed warning
svn-id: r16777
2005-02-12 14:16:17 +00:00
Eugene Sandulenko
7ea113dbb1 Renamed substDataFileNames to substResFileNames. Just forgot to do it last
time.

svn-id: r16772
2005-02-11 13:29:15 +00:00
Torbjörn Andersson
420712fb28 Added "PuttPuttTTT" as an alias for "putttime", since that's what my copy
of the game uses. (Unfortunately the data files do not all use the same
capitilization. Some are named "PuttPuttTTT"-something, while others are
named "puttputtTTT"-something.)

svn-id: r16770
2005-02-11 08:17:23 +00:00
Eugene Sandulenko
0851c89aa3 Sorted multiple_versions_md5_settings[] table to ease maintenance.
svn-id: r16768
2005-02-11 04:17:24 +00:00
Eugene Sandulenko
5c7e688049 Eliminated more targets and fixed couple mistakes
svn-id: r16767
2005-02-11 04:10:05 +00:00
Eugene Sandulenko
b4295347f8 Few more targets eliminated. Though they never existed. Need to check this
with joostp.

svn-id: r16766
2005-02-11 04:08:21 +00:00
Eugene Sandulenko
1ed02817b8 Renamed eliminated HE targets. Now bgbennyboy should be happy :)
svn-id: r16765
2005-02-11 03:49:06 +00:00
Eugene Sandulenko
a9ceee26d8 Turned HE Mac resource filename generator into generall, whole SCUMM-purpose
method. Right now it is used to eliminate those Windows HE titles which
have different target base names.

If you want to use it, then define another entry in substDataFileNameTable[].
If your version with different base name has other features then you need
to define GF_MULTIPLE_VERSIONS for main entry and add any additional
entries to multiple_versions_md5_settings based on MD5 of the entry.

svn-id: r16764
2005-02-11 03:45:10 +00:00
Eugene Sandulenko
0da123d601 Portability fixes.
svn-id: r16761
2005-02-09 03:26:08 +00:00
Travis Howell
e7c6ea42ae Patch from Quietust:
Add comments and misc changes to Amiga V2 player.

svn-id: r16759
2005-02-09 00:36:15 +00:00
Travis Howell
6fdd9e2d31 Patch from Quietust:
Add another two sounds for Amiga version of Zak McKracken

svn-id: r16758
2005-02-09 00:25:43 +00:00
Nicolas Bacca
71690ef0bf Fix bug #1118854
svn-id: r16757
2005-02-08 21:39:21 +00:00
Travis Howell
5fd5428ccf *** empty log message ***
svn-id: r16755
2005-02-08 11:21:10 +00:00
Travis Howell
7136b50fff Minor updates to HE100
svn-id: r16754
2005-02-08 11:17:36 +00:00
Max Horn
683e934908 Removed pointless debug calls (they just cause overhead)
svn-id: r16738
2005-02-06 16:51:57 +00:00
Paweł Kołodziejski
ac72fcd63d return null if sound is not found
svn-id: r16737
2005-02-06 10:09:37 +00:00
Torbjörn Andersson
d261e3c9d3 Removed unnecessary empty line.
svn-id: r16736
2005-02-05 15:43:33 +00:00
Eugene Sandulenko
b33963b452 Some HFS dumpinf programs write files with resource fork to .bin file.
Support that. Also support separately dumped resource forks. File name for
those has .rsrc extension.

svn-id: r16735
2005-02-04 16:34:08 +00:00
Eugene Sandulenko
99c022d6a3 Add suppoert for coloured Mac cursors. Though they're disabled at the moment.
The reason is that they use their own palette which could not match current
global one.

Now I have to turn back to that old OSystem patch and render cursor on a
separate surface and extend OSystem with yet another optional call
setCursorPalette.

svn-id: r16734
2005-02-03 14:43:30 +00:00
Joost Peters
9a44a6b333 correct typos
svn-id: r16733
2005-02-02 23:24:51 +00:00
Travis Howell
33adc55076 Ooops
svn-id: r16732
2005-02-02 12:14:34 +00:00
Travis Howell
cc708339ea Merge two opcode, move two opcodes back to HE70.
svn-id: r16731
2005-02-02 12:05:00 +00:00
Eugene Sandulenko
8e9b6da08d Forgot to add baseball2003
svn-id: r16730
2005-02-02 11:52:28 +00:00
Eugene Sandulenko
f63a433c3d Small correction to baseball2003
svn-id: r16729
2005-02-02 11:49:58 +00:00
Travis Howell
e2678369d1 These demos make use of Smacker.
svn-id: r16724
2005-02-02 03:45:45 +00:00
Eugene Sandulenko
b708a196e9 Add some HE targets and some Russian versions.
svn-id: r16723
2005-02-02 00:36:36 +00:00
Eugene Sandulenko
ff7e16dc2b o Added few targets
* baseball2003 and Soccer2004 use Bink videos but just for intro movies and
    logos, so we may add them.
  * artdemo and readdemo also use Bink, but seems that additionally it uses
    them in cutscenes, but since there are just few of them, not like in
    full games, we may try to look at them too
  * SoccerMLS is (alsmost) working. It runs the intro, shows menu, lets
    to select from it but then fails at some Wiz stuff and there is no
    hotspots to choose. I think it may be related to overall HE99 problem
    with inventory where there is a bug preventing from item selection
o baseball2003 and Soccer2004 featured new LECF index block. Add stub for it
o SoccerMLS used kernelSetFunction 2001 in intro. add stub for it
o Alternative russian freddi3 uses badly formatted logo substitution in intro,
  so error() in default case in Gdi::drawBMAPBg() was replaced with warning().

svn-id: r16722
2005-02-02 00:32:02 +00:00
Travis Howell
2bb2e5279b More HE100 diffs.
svn-id: r16720
2005-02-01 06:37:30 +00:00
Travis Howell
7897d0d93d HE100 updates for lost
svn-id: r16719
2005-02-01 05:19:27 +00:00
Travis Howell
0c35b4f4fd HE100 updates for lost
svn-id: r16718
2005-02-01 05:10:46 +00:00
Travis Howell
5178ba2104 Add HE100 version of Pajama Sam 1/ Pajama Sam's Lost & Found.
svn-id: r16717
2005-02-01 04:58:14 +00:00
Eugene Sandulenko
2b8fb48833 Yet another correction to 'dog'. Kirben, please check it as you have different
version than me. It seems that the game was released on multiple engine
versions.

svn-id: r16716
2005-01-31 21:22:15 +00:00
Eugene Sandulenko
3891fbdfd5 HE version correction for 'dog'. Game is fully playable, just columns' palette
is wrong.

svn-id: r16715
2005-01-31 20:12:10 +00:00
Eugene Sandulenko
b1886d1f9a Remove debug output and improve error messages.
To clarify my last commit message. I _do_ work with unprocessed files.

Just I happened to have one demo with resource fork stripped from game binary.
It was told that sometimes Mac conversion programs on intel platform silently
strip it down. Now I fail with error message, but we may use some fallback.

At least we need to know a standard way of copying binary files with resources
unstripped and describe it in Mac HOWTO.

svn-id: r16714
2005-01-31 04:04:04 +00:00
Eugene Sandulenko
c32e936723 Support for Mac cursors.
TODO:
    o Allow reading from non-processed game executable. Now you need to get
      .bin file out of it
    o Use color versions of cursors
    o Combine MacResExtractor with Win32ResExtractor. Now I just stupidly
      create 2 objects and do not use new cursor caching code.

svn-id: r16713
2005-01-31 03:53:35 +00:00
Travis Howell
0c827c0fcf Add comment
svn-id: r16712
2005-01-31 00:27:31 +00:00
Travis Howell
09d0d6c26d Changes for Macintosh filenames.
svn-id: r16711
2005-01-31 00:16:11 +00:00
Paweł Kołodziejski
292eaa08b0 added support for *.map files version 2
svn-id: r16709
2005-01-30 20:45:02 +00:00
Gregory Montoir
b9646d35d3 added a basic cursor cache for win32 HE70+ games
svn-id: r16708
2005-01-30 20:38:54 +00:00
Travis Howell
339df486e1 Ooops
svn-id: r16707
2005-01-30 11:10:50 +00:00
Travis Howell
bebad400d6 Check sound queue for music in HE games.
Avoid extra sound channel.

svn-id: r16706
2005-01-30 11:03:49 +00:00
Travis Howell
0199bf70fe Music regression in some HE games.
svn-id: r16705
2005-01-30 09:11:38 +00:00
Travis Howell
a05b4a5e2d Add missing cases/corrections
svn-id: r16704
2005-01-30 07:00:50 +00:00
Travis Howell
f23cf81ace HE100 difference
svn-id: r16703
2005-01-30 05:34:04 +00:00
Travis Howell
85f8b9bb93 ADD HE100 version of Balloon O Rama
svn-id: r16702
2005-01-30 05:11:04 +00:00
Travis Howell
414e2c0a3f HE100 difference
svn-id: r16701
2005-01-30 05:00:20 +00:00
Travis Howell
8c1cb5ae51 Add updated Cheese Chase
svn-id: r16700
2005-01-30 04:55:47 +00:00
Travis Howell
ee3baf60ec Speech filename difference in Macintosh version of HE60 games.
svn-id: r16699
2005-01-30 02:06:41 +00:00
Travis Howell
399dcad5bd Skip cursors in Macintosh version of HE72 games for now.
Add early Macintosh HE games.

svn-id: r16698
2005-01-30 02:00:24 +00:00
Travis Howell
3c1934cc8f Singe HE71 version of freddi too.
svn-id: r16697
2005-01-30 01:07:22 +00:00
Travis Howell
df3734bddb Only HE71 demos were on puttputt CD.
svn-id: r16696
2005-01-30 00:57:51 +00:00