Commit Graph

31 Commits

Author SHA1 Message Date
Kari Salminen
f5b2e69522 Fix Operation Stealth's 2nd arcade sequence's revolving doors.
- Now the doors actually do revolve when before they didn't.
- The fix was to alias the 9th background with the collision
  page directly when loading collision page data. This way
  changes written to the 9th background go to the collision
  page and vice versa (And there were changes in the labyrinth).
- Also converted _bgTable from a pure array to a Common::Array

svn-id: r41453
2009-06-11 18:32:35 +00:00
Kari Salminen
b7dce00942 Fix for bug #2057656: FW: Assert during demo (regression).
Future Wars's Amiga demo is trying to load collision data files
'L8_MK.NEO' and 'L23_MK.NEO' that aren't supplied with the demo.
Previous code crashed when a file couldn't be found,
now it gives a warning instead.

svn-id: r34036
2008-08-19 13:05:38 +00:00
Kari Salminen
a10753e2a1 Renamed page3Raw to collisionPage so it's more apparent what it does.
svn-id: r33669
2008-08-06 20:54:38 +00:00
Kari Salminen
add07fceaa Added loading of temporary Operation Stealth savegames. Needs testing!
- Music related settings and adBgVar0 & adBgVar1 aren't loaded currently.
Modified resetEngine to also reset more of the Operation Stealth specific variables.
Added getter for background scrolling value.
Changed additional background indices 1 & 2 from byte to uint16.
Made savegame loading functions return !in.ioFailed() as return value instead of true as previously.

svn-id: r33379
2008-07-28 16:02:40 +00:00
Eugene Sandulenko
f2d72d9473 Patch #1969189: "CinE renderer rewrite"
svn-id: r32257
2008-05-24 22:11:41 +00:00
Eugene Sandulenko
57a9ef3a8f Patch #1941066: "CinE sprite overlay rewrite" courtsey of next_ghost
svn-id: r31651
2008-04-21 20:51:17 +00:00
Eugene Sandulenko
732774fd8d Patch #1913862: "CinE Script system"
svn-id: r31444
2008-04-07 20:24:40 +00:00
Filippos Karapetis
8b7f3fae35 Cleanup
svn-id: r29844
2007-12-13 12:33:31 +00:00
Gregory Montoir
a94fada0ae - minor screen fix for OS
- added new debug channel for sound
- updated 2 opcodes comments

svn-id: r29790
2007-12-09 13:41:59 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Torbjörn Andersson
059ba7326c Fixed some Valgrind warnings (overlapping source and destination in strcpy()).
svn-id: r27207
2007-06-08 19:29:48 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Gregory Montoir
137140b7e9 removed some resource related memory leaks
svn-id: r27007
2007-05-29 21:06:07 +00:00
Gregory Montoir
3afd0d9557 removed 4 unused offscreen buffers ; also changed several 64k buffers to be dynamically allocated.
svn-id: r26879
2007-05-19 21:12:10 +00:00
Eugene Sandulenko
95749148cf Add proper game detection to CinE engine.
svn-id: r24320
2006-10-15 01:06:44 +00:00
Torbjörn Andersson
985215a04a As far as I can tell, there's no longer any reason for PartBuffer and AnimData
to be packed, so I've removed the packing and added the 'refresh' field to
AnimData instead of having it as a separate array.

On the other hand, animHeaderStruct and animHeader2Struct *should* have been
packed, but weren't. I've changed they way they are initialised so that the
packing should no longer matter for them either.

svn-id: r22651
2006-05-26 09:36:41 +00:00
Torbjörn Andersson
15cc2e628d Small cleanup.
svn-id: r21655
2006-04-07 01:04:09 +00:00
Torbjörn Andersson
0f3aeb09ed Fixed another "worked in cinE, broken in ScummVM" bug that made it impossible
to interact with the objects in the second room. We were passing the wrong
pointer to gfxConvertSpriteToRaw() in loadCt(), causing page3Raw (which I
believe is an "image" mapping screen coordinates to objects) to be wrong.

svn-id: r21646
2006-04-06 20:57:58 +00:00
Max Horn
8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Eugene Sandulenko
0b35672f78 uint8 -> byte
svn-id: r21414
2006-03-23 03:45:52 +00:00
Eugene Sandulenko
fced8df162 Got rid of ASSERT and ASSERT_PTR defines
svn-id: r21412
2006-03-23 03:17:47 +00:00
Gregory Montoir
61a5fb7064 - added defines to handle the different mouse cursors
- revised the way NUM_MAX_PARTDATA and NUM_MAX_ANIMDATA are used
- renamed some variables
- constify'ed function arguments
- minor cleanup

svn-id: r21338
2006-03-16 20:29:07 +00:00
Gregory Montoir
8476b7a94f minor cleanup.
svn-id: r21189
2006-03-09 23:02:29 +00:00
Eugene Sandulenko
76a4bf9e77 Eliminate flip_support.cpp file.
svn-id: r21045
2006-03-03 19:38:17 +00:00
Gregory Montoir
0364eeed5c cleanup (endianess fixes, fixed partBufferStruct structure)
svn-id: r20881
2006-02-25 18:16:40 +00:00
Max Horn
a30f829773 Some more cine header cleanup
svn-id: r20859
2006-02-25 01:18:01 +00:00
Max Horn
275344a931 Reducing the header dependencies in cine a bit more
svn-id: r20857
2006-02-25 01:01:27 +00:00
Max Horn
2fc23c85da Moved cine engine into namespace Cine
svn-id: r20851
2006-02-25 00:26:14 +00:00
Paweł Kołodziejski
e31b271760 formating code
svn-id: r20835
2006-02-23 18:47:28 +00:00
Travis Howell
3fe8c971f2 Cleanup to remove duplicate type defines
svn-id: r20821
2006-02-23 09:12:21 +00:00
Eugene Sandulenko
71c170bb13 Initial version of Cinematique engine evo 1.
svn-id: r20813
2006-02-22 22:40:53 +00:00