Commit graph

100 commits

Author SHA1 Message Date
Max Horn
dc60238196 renamed fadeToBlackEffect to fadeOut; renamed screenEffect to fadeIn; implemented oldRoomEffect (fixes room transitions in MonkeyVGA and Indy3)
svn-id: r4536
2002-07-13 14:07:37 +00:00
Max Horn
99bd8afcd4 indent run
svn-id: r4481
2002-07-07 20:32:26 +00:00
James Brown
3bdb376afd Start of (non-functional) Simon2dos support.
Implement the holy (sic) cursor.

svn-id: r4436
2002-06-29 10:28:43 +00:00
Vincent Hamm
a88b78fc37 Fixed the gost animation background reset. Made a little tweak to draw the gui in vertical rooms (not 100% working)
svn-id: r4435
2002-06-27 14:10:56 +00:00
Max Horn
d35eed21f1 more Actor class cleanup; renamed unkRoomFunc4 to palManipulate and added an icky, wrong implementation for it - yes this is complete nonsense but I'll try to replace it with the right thing RSN :-)
svn-id: r4404
2002-06-04 23:32:53 +00:00
Max Horn
b58baf3560 cleaned up var names in darkenPalette a bit, making it easier to understand
svn-id: r4401
2002-06-03 21:51:11 +00:00
Max Horn
0620c9d66a removed some debug output I left in accidentally in my last checkin; removed some uses of g_scumm (see Endy, I promised I'd do it <g>); removed getSideOfLine(); some clean up
svn-id: r4378
2002-05-23 21:22:08 +00:00
Max Horn
1ba002766e renamed unkScreenEffect7 to transitionEffect; added some comments, renamed vars etc.; fixed typoe in screen_eff7_table1 which caused effects 2&3 to be completly messed up
svn-id: r4375
2002-05-22 22:36:58 +00:00
James Brown
055f505533 Fix Zaks money. This may break Loom, I made the check fairly generic.
svn-id: r4369
2002-05-22 12:10:37 +00:00
Max Horn
db9cdefa40 fixed #557874 Cursor Offset - hotspot of default cursor was off by one
svn-id: r4357
2002-05-19 12:51:06 +00:00
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