Commit graph

90 commits

Author SHA1 Message Date
Max Horn
b529d80ed7 added #include "actor.h", some minor tweaks
svn-id: r4332
2002-05-14 23:32:34 +00:00
Lionel Ulmer
850b717ec1 Fix the Valgrind warning about the save game menu in Zak.
I think that it's better to compute the height with the modified
parameters and not with the original ones. Endy, otherse, please
comment :-)

Anyway, there seems to be some bugs remaining :

 1) the save game menu is really weird looking (ie instead of having
    the game name displayed in the top left, there is 'How may I serve
    you ?' instead (maybe normal after all :-) and there seems to be
    some black missing).

 2) in the same code I move, there is this :

	if(height > 200)
		height = 200;

    Why limit at 200 for a game that supports 240 :-) ?

svn-id: r4329
2002-05-14 21:55:17 +00:00
Max Horn
271f50b044 renamed unkVirtScreen4 to fadeToBlackEffect; fixed graphic transition glitch (#551584)
svn-id: r4294
2002-05-12 17:51:40 +00:00
Max Horn
02a75c0521 made most stuff in gui class protected, as it should be; moved internal definitions from gui.h to gui.cpp; added up/down arrows to save dialog (ugly, but better than nothing IMO
svn-id: r4234
2002-05-08 00:27:09 +00:00
James Brown
705f304004 Beginning of support for multiple resolutions.
Makes Zak256 inventory scrolling work.

svn-id: r4227
2002-05-07 18:44:34 +00:00
James Brown
3eb0ba3da4 Remove debug printfs :)
svn-id: r4207
2002-05-05 18:46:04 +00:00
James Brown
7bee21d0a2 Fix dig crash
svn-id: r4206
2002-05-05 18:36:24 +00:00
Lionel Ulmer
35d305ce64 MP3 CD tracks should now be working properly.
Ludde, maybe you should check if Simon is still working OK as now the
change of the sound playing handle is 'asynchronous' (ie if you call
'stop' on a sound, the handle will NOT be put to NULL right away, but
at the next 'mix' thread call). Maybe we should completely remove this
handle stuff and always use instead the index returned by the
'play_XXX' functions.

svn-id: r4101
2002-04-27 07:42:14 +00:00
James Brown
8a8c776b47 Fix screen corruption after shaking.
svn-id: r4083
2002-04-26 11:01:47 +00:00
Vincent Hamm
ca4262ec0c Fixed transition effects in non V7 games
svn-id: r4073
2002-04-24 14:13:09 +00:00
James Brown
280136f13a Fix Indy4/MI2 crash due to VirtScroll code.
Cleanup \N's - For gods sake fix your CVS client :)

svn-id: r4067
2002-04-24 04:26:09 +00:00
Vincent Hamm
20e9ad5e23 Major V7 update with vertical scrolling. Added a few scumm vars related to scrolling. Dig inventory isn't displayed where it should. I hope it doesn't break anything else in other game...
svn-id: r4066
2002-04-23 23:58:31 +00:00
Vincent Hamm
7ca32ea5eb Made great progress with the akos codec 5. Placement is now correct but still experiencing bugs with background reset. Also fixed missing dialogues in dig when the talking actor isn't in the room (fix not 100% correct yet).
svn-id: r4057
2002-04-22 22:18:24 +00:00
Vincent Hamm
d5a0d0d531 More work done on blast objects. Very preliminary implementation of akos codec 5
svn-id: r4054
2002-04-22 16:18:20 +00:00
James Brown
9809c86373 Add boilerplate license to some files, to satisfy Debian types :)
fmopl.c/fmopl.h are infringing on the GPL at the moment. We either need to
replace these, or get permission to relicense them, before 0.2.0

svn-id: r4036
2002-04-21 17:46:42 +00:00
Vincent Hamm
25eafd60f2 Completly fixed all the semi-transprency in Sam&Max
svn-id: r4034
2002-04-21 13:13:26 +00:00
Vincent Hamm
db2e803831 Fix the twin ball elevator
svn-id: r4020
2002-04-20 09:30:04 +00:00
James Brown
eb773b477a Remove \M's, add IRIX support.
svn-id: r4019
2002-04-20 04:09:02 +00:00
Vincent Hamm
86b9713cdd More or less finished flashlight code. The effect isn't 100% accurate
svn-id: r4007
2002-04-19 13:57:18 +00:00
James Brown
df31144cc7 Move putClass forceclip into costume renderer. Fixes Loom bugs.
svn-id: r3996
2002-04-18 15:34:45 +00:00
James Brown
636d975dde Don't shake when GUI is displayed.
svn-id: r3995
2002-04-18 15:02:57 +00:00
James Brown
610f45a750 LoomCD masks working. jah is a genius. That is all.
svn-id: r3977
2002-04-17 17:01:08 +00:00
James Brown
1df77c2002 Add fix for Zak256/Indy3 actor masks. Thanks jah! Excellent work.
Let's hope someone will fix Loom actor masks soon... :)

svn-id: r3976
2002-04-17 16:02:29 +00:00
James Brown
b4844d701a Add Amiga palette option (-a)
svn-id: r3971
2002-04-17 03:11:37 +00:00
Ludvig Strigeus
71eac5acd3 endian fixes,
don't use adlib driver if sound initialization fails,
simon1 savedialog works

svn-id: r3955
2002-04-16 12:07:19 +00:00
Ludvig Strigeus
d263f7eb73 removed mouse cursor flicker
svn-id: r3945
2002-04-15 17:45:52 +00:00
Ludvig Strigeus
ac62a7cb2e wrote new mixer class,
cleaned up sound header files,
integrated mixer into scummvm & simon

svn-id: r3937
2002-04-14 18:13:08 +00:00
Ludvig Strigeus
d2b0070c5f new video engine (expect broken non-sdl builds),
simon the sorcerer 1 & 2 support (non SCUMM games)

svn-id: r3912
2002-04-12 21:26:59 +00:00
James Brown
7696081c54 Large pointless reindentation of all the code. Also fixed a few mistakes
in the object flags code cleanup.

Flags used:

indent *.cpp -br -bap -nbc -lp -ce -cdw -brs -nbad -nbc -npsl -nip
-ts2 -ncs -nbs -npcs -nbap -Tbyte -Tuint32 -Tuint8 -Tuint16 -TArrayHeader
-TMemBlkHeader -TVerbSlot -TObjectData -Tvoid -TImageHeader -TRoomHeader
-TCodeHeader -TResHdr -TBompHeader -TMidiChannelAdl -TGui -TScumm
-TSoundEngine -TPart -TPlayer

svn-id: r3908
2002-04-11 17:19:16 +00:00
James Brown
2e0443e741 Fix Indy3/Loom override bugs. THIS MAY BREAK OTHER GAMES. Please test.
svn-id: r3876
2002-04-05 16:41:02 +00:00
Paweł Kołodziejski
f133cf6f56 Reenable masking detection for Indy3/Zak/Loom - still not correct, I've got no idea how this code actually does the masking.
svn-id: r3853
2002-04-03 17:40:32 +00:00
Vincent Hamm
29f2188c2d Moved the v3 specific version of readIndex
svn-id: r3817
2002-03-25 01:20:05 +00:00
Vincent Hamm
92a19c45ae Fixed pal init
svn-id: r3815
2002-03-24 17:49:47 +00:00
James Brown
7b93625b17 Add a few more uninited variables. Not done yet.
svn-id: r3812
2002-03-24 16:35:17 +00:00
Vincent Hamm
f5741df25c Fixed garbadge in inventory section. Removed unused library in the Makefile
svn-id: r3806
2002-03-24 00:27:00 +00:00
Vincent Hamm
3858266b66 Completly change the way the Scumm object is handled. Now the main execution loop is done INSIDE the Scumm object. Low level system access (like delays, cd tracks,...) are called using the _system object. Changed the insane main loop to use _system calls
svn-id: r3795
2002-03-21 00:40:18 +00:00
Vincent Hamm
fbf9c5b318 Preliminary redesigned of the virtual screen system. Now all the screen buffers are in a single 320*200 buffer, making video subprocess far more easy to do. On glitch remain in inventory's black area
svn-id: r3793
2002-03-20 22:58:41 +00:00
James Brown
718392239c I know it probably doesn't look like much, but this is a start to the reorg - basically I've shuffled the Scumm struct around, and turned it into a Class - labeling and grouping functions that are related.
svn-id: r3792
2002-03-20 17:51:07 +00:00
James Brown
fa9cc1d341 Make some code-execution changes to allow early initilisation of GUI.
svn-id: r3748
2002-03-14 13:57:28 +00:00
James Brown
87ac8ae487 Apply some patches by syke to prevent buffer overruns, etc.
svn-id: r3723
2002-03-10 17:33:04 +00:00
James Brown
5facf1a034 Correct a DOTT bug - and break some saved games again :/
People, remember this is alpha software - things change constantly :)

DOTT is now fully completable again, along with Sam and Max.

svn-id: r3715
2002-03-09 15:07:32 +00:00
James Brown
2f0a07f6b9 Proper fix for Indy3 intro background.
svn-id: r3709
2002-03-09 12:39:13 +00:00
James Brown
393729a5f2 Fix a kind of typo thing.
svn-id: r3707
2002-03-09 12:23:56 +00:00
James Brown
83c0ec5093 Make a slightly less hackier workaround. The virtScreen height check was wrong in the first place..
svn-id: r3706
2002-03-09 12:17:52 +00:00
James Brown
03048d3919 Hacky workaround to make Indy3 intro not display garbage :)
svn-id: r3705
2002-03-09 12:12:54 +00:00
Vincent Hamm
0724869c94 Fixed a few graphic glitchs in zak256
svn-id: r3704
2002-03-09 09:15:34 +00:00
James Brown
6d04ae34bc Remove some polution from my 'play tree'.
svn-id: r3701
2002-03-09 00:59:29 +00:00
James Brown
72518be8f1 Fixed NUM_aCTORS for MI2/Indy4, etc.
Probably broke some saved games again.

svn-id: r3700
2002-03-09 00:56:22 +00:00
Mutwin Kraus
8b17d132db Some changes, need to be done to get the Mac Port running. For example Point is now called ScummPoint, as the name Point is already in use by Apple.
svn-id: r3687
2002-03-08 17:05:09 +00:00
James Brown
c161197117 Yet more cleanups. Remove 'index' (reserved keyword), and remove 'res' shadowing.
svn-id: r3685
2002-03-08 08:42:11 +00:00