27 Commits

Author SHA1 Message Date
Robert Göffringmann
e9766658b6 this fixes the remaining glitches
svn-id: r12004
2003-12-28 23:24:03 +00:00
Nicolas Bacca
a1831ee4fb Microsoft Compilers : Which part of the standard do you want to break today ?
svn-id: r11866
2003-12-23 00:59:18 +00:00
Robert Göffringmann
e9ff3a1146 fixed some animation bugs
svn-id: r11862
2003-12-22 23:38:23 +00:00
Robert Göffringmann
2df01e0abb fixed screen and music fading
svn-id: r11861
2003-12-22 23:21:28 +00:00
Robert Göffringmann
7fec7cc1ae another change to verticalMask(). this should fix the remaining sprite priority issues
svn-id: r11853
2003-12-22 11:51:27 +00:00
Robert Göffringmann
42cea0975a added fnSetPaletteToFade/fnSetPaletteToCut
svn-id: r11851
2003-12-22 11:23:40 +00:00
Robert Göffringmann
fd4417e6bb changed the way the control panel is started
svn-id: r11844
2003-12-22 01:20:47 +00:00
Robert Göffringmann
6b0fb6585c work around a GCC bug.
svn-id: r11843
2003-12-22 00:34:02 +00:00
Torbjörn Andersson
a5eca2df04 Highlight the correct (I hope!) menu icon during conversation, and do the
cheesy menu fade-in/fade-out.

svn-id: r11831
2003-12-21 17:55:40 +00:00
Robert Göffringmann
6df4db88cd fixed scrolling
svn-id: r11830
2003-12-21 17:45:15 +00:00
Robert Göffringmann
44887cc33d fixed parallax drawing for room 54
svn-id: r11828
2003-12-21 17:34:44 +00:00
Robert Göffringmann
2554ced5e9 fixed crashes after restoring a savegame, added fnSetPaletteToFade and changed speech code to distinguish between CD1 and CD2. (now needs SPEECH1.CLU and SPEECH2.CLU)
svn-id: r11789
2003-12-20 20:20:53 +00:00
Robert Göffringmann
f533de72e4 sprites should now be rendered correctly.
svn-id: r11784
2003-12-20 15:26:44 +00:00
Torbjörn Andersson
8789ca10e3 Modified the calculation of where to draw parallaxes to be more like the
one in Broken Sword II. At least the first room appears to behave like the
original now. (Except for a masking bug, which is almost certainly
unrelated to parallaxes.)

svn-id: r11781
2003-12-20 13:43:40 +00:00
Torbjörn Andersson
456f01b8fd A comment in decompressRLE0() said that the images are vertically flipped,
but I'm not so sure. I've changed the code to assume that they're not, and
this fixes both the drawing of the worker in the background of the first
room, and of the fan at the police station.

svn-id: r11780
2003-12-20 13:35:00 +00:00
Torbjörn Andersson
34433d87bb Changed abs() to ABS(), and changed a sorting function to use SWAP()
svn-id: r11761
2003-12-19 14:16:31 +00:00
Torbjörn Andersson
b179e8f6ec Whitespace changes
svn-id: r11760
2003-12-19 14:07:12 +00:00
Robert Göffringmann
aa6e1ba760 big endian typecasts for FROM_LE_xx
svn-id: r11727
2003-12-18 01:00:42 +00:00
Robert Göffringmann
5d2c2acf90 one more big endian fix
svn-id: r11725
2003-12-18 00:36:42 +00:00
Robert Göffringmann
5fdff2824c fixed text output and logic bug. changed scrolling code.
hey, sword is running really nice already. :)

svn-id: r11703
2003-12-17 07:33:00 +00:00
Robert Göffringmann
34d1751fe4 fixed resMan bug about closing of sections and started adding menu support
svn-id: r11695
2003-12-17 01:47:47 +00:00
Robert Göffringmann
5edaa87d68 fix sprite drawing bugs
svn-id: r11688
2003-12-16 19:31:12 +00:00
Robert Göffringmann
0cf52df651 copied the SwordRouter from the original BS1 sources.
It doesn't fit to our coding guidelines but at least it's working, so please bear with it for now. :)

svn-id: r11687
2003-12-16 18:23:15 +00:00
Jonathan Gray
83e9c59327 compilation fixes
svn-id: r11679
2003-12-16 09:43:08 +00:00
Paweł Kołodziejski
1cf3accb14 there is allready definitions for MIN/MAX
svn-id: r11676
2003-12-16 06:37:12 +00:00
Eugene Sandulenko
a8eae42510 o FreeBSD specifix fix. I am not sure it is applicable to every Unix
svn-id: r11675
2003-12-16 06:20:16 +00:00
Robert Göffringmann
189e08bc79 Broken Sword 1: initial import
svn-id: r11664
2003-12-16 02:10:15 +00:00