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
Travis Howell
030236fe62
Add new object
...
svn-id: r11777
2003-12-20 09:20:14 +00:00
Robert Göffringmann
da3eed35b5
forgot these. :)
...
svn-id: r11776
2003-12-20 09:18:43 +00:00
Robert Göffringmann
59654b1719
added SwordControl (the control panel). Not yet finished.
...
svn-id: r11775
2003-12-20 09:12:54 +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
Torbjörn Andersson
a3310a5de9
Make sure that playSample() gets a pointer to the original QueueElement
...
instead of a copy of it. Otherwise the sound engine will never notice when
a sample finishes playing since it's looking at the wrong sound handle.
For whatever reason, this also seems to fix the "game crashes occasionally
on startup with completely useless stack trace" bug for me. The crash was
easily repeatable in Valgrind for me, but the messages it produced were
just as unhelpful as the stack trace. These messages are also gone now.
svn-id: r11757
2003-12-19 06:51:32 +00:00
Max Horn
0cddca5f43
unregister the premix proc when you go away
...
svn-id: r11755
2003-12-19 01:08:30 +00:00
Robert Göffringmann
ee2c8b2ddb
fix mouse cursor animations
...
svn-id: r11748
2003-12-18 14:38:17 +00:00
Robert Göffringmann
501b7d687a
fixed endian bug in animDriver()
...
svn-id: r11747
2003-12-18 14:16:08 +00:00
Robert Göffringmann
a74f8eb717
endian conversion for music system
...
svn-id: r11746
2003-12-18 13:17:33 +00:00
Robert Göffringmann
461abf1b9e
another big endian
...
svn-id: r11745
2003-12-18 12:52:04 +00:00
Robert Göffringmann
65583e28da
SwordText big endian fixes
...
svn-id: r11744
2003-12-18 12:45:40 +00:00
Robert Göffringmann
312abd7486
endian fix for router.
...
svn-id: r11743
2003-12-18 12:15:59 +00:00
Jonathan Gray
1a4ede14c6
pack WalkData struct to fix some endian issues
...
svn-id: r11732
2003-12-18 08:28:14 +00:00
Robert Göffringmann
127e5ce5f9
changed endian conversion for compact data
...
svn-id: r11728
2003-12-18 01:15:15 +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
8b0ab95580
fixed stupid palette bugs
...
svn-id: r11724
2003-12-18 00:31:37 +00:00
Robert Göffringmann
b5dde7b3f9
changed fnEnterSection to fix crash at startup.
...
svn-id: r11722
2003-12-17 23:49:26 +00:00
Jonathan Gray
f7f97d7ebb
add the rest of the boot params
...
svn-id: r11721
2003-12-17 23:41:14 +00:00
Jonathan Gray
9b70f6d922
add boot params for ireland, everyone's favourite puzzle can be found via 24
...
svn-id: r11715
2003-12-17 15:27:41 +00:00
Torbjörn Andersson
f704b12eeb
Enable subtitles if the "subtitles" option is set in the config manager.
...
svn-id: r11714
2003-12-17 14:36:52 +00:00
Jonathan Gray
56b831293d
add all of the paris boot params, 80 in particular is quite useful as it activates all sections of the map including the ability to travel outside of paris
...
svn-id: r11713
2003-12-17 14:33:34 +00:00
Jonathan Gray
6d1fba28d5
initial boot param support, will do the rest of the bootparams next
...
svn-id: r11712
2003-12-17 11:54:48 +00:00
Robert Göffringmann
215c8e3fc6
big endian fix
...
svn-id: r11710
2003-12-17 11:39:19 +00:00
Robert Göffringmann
eeb15c0433
big endian fix
...
svn-id: r11709
2003-12-17 11:23:12 +00:00
Robert Göffringmann
9f8b022fd4
big endian fix
...
svn-id: r11708
2003-12-17 11:11:03 +00:00
Oliver Kiehl
f926ae108c
enable music
...
svn-id: r11706
2003-12-17 09:17:59 +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
7f5df14e7d
menu, sound and mouse fixes.
...
svn-id: r11701
2003-12-17 05:16:37 +00:00
Max Horn
4da0b08b90
fixed warning
...
svn-id: r11698
2003-12-17 02:19:03 +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
Max Horn
d1c9caa127
fix various warnings; whatTarget()'s paramters shadowed member vars, but it can just b e turned into a pure function (sidenote: the chaotic mix of spaces and tabs in router.cpp doesn't help readability :-)
...
svn-id: r11693
2003-12-17 01:18:03 +00:00
Max Horn
b4f33afb85
simplified game detection code etc.
...
svn-id: r11692
2003-12-17 01:17:12 +00:00
Robert Göffringmann
166ba1b385
fix speech animations
...
svn-id: r11690
2003-12-16 19:55:59 +00:00
Robert Göffringmann
082120ef65
fix speech logic bug (policeman scene works now...)
...
svn-id: r11689
2003-12-16 19:50:18 +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
Max Horn
0c681181b8
fix compilation on BE systems
...
svn-id: r11685
2003-12-16 14:59:29 +00:00
Travis Howell
0e8a1b7278
Look in MUSIC folder, not MUSIC1, there should be no conflicting music files.
...
svn-id: r11683
2003-12-16 10:41:59 +00:00
Jonathan Gray
5937b16988
check speech subdirectory for speech.clu as well
...
svn-id: r11682
2003-12-16 10:30:41 +00:00
Jonathan Gray
298d008def
use specified language setting instead of hardcoding german
...
svn-id: r11681
2003-12-16 10:08:27 +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
Travis Howell
48735af676
ignore deps
...
svn-id: r11672
2003-12-16 05:19:33 +00:00
Robert Göffringmann
e2843f3e07
revert one of kirben's changes
...
svn-id: r11669
2003-12-16 05:02:34 +00:00