Max Horn
54a6946eee
cleanup
...
svn-id: r10235
2003-09-13 17:36:53 +00:00
Oliver Kiehl
51703e1014
pack _parallax to be on the safe side
...
svn-id: r10234
2003-09-13 17:36:39 +00:00
Max Horn
5aa69da8ef
convert run lists in the res manager
...
svn-id: r10233
2003-09-13 17:36:31 +00:00
Oliver Kiehl
6d94352f2f
fix speech on BE
...
svn-id: r10229
2003-09-13 14:32:40 +00:00
Max Horn
059781c80a
fix g_header -> header in comments
...
svn-id: r10225
2003-09-13 13:20:28 +00:00
Oliver Kiehl
bd50e9f3d7
some more endian fixes
...
svn-id: r10224
2003-09-13 13:05:52 +00:00
Max Horn
d2e56ed4a2
endian conversion in save/restore code (may not be complete, beware!)
...
svn-id: r10223
2003-09-13 13:04:55 +00:00
Max Horn
49f84b9c41
cleanup
...
svn-id: r10222
2003-09-13 13:02:44 +00:00
Oliver Kiehl
20fe2b83fc
should have been an int32
...
svn-id: r10220
2003-09-13 12:15:13 +00:00
Oliver Kiehl
35e5c73127
endian fix
...
svn-id: r10219
2003-09-13 12:12:11 +00:00
Max Horn
f9c28dca49
cleanup
...
svn-id: r10218
2003-09-13 12:08:17 +00:00
Max Horn
41a17b9da6
let the interpreter use native endianess for variables -> this allows us to get rid of various endian conversions, and also fixs lots of other problems on BE systems. Beware, though, this may impair save game exchange between LE/BE: we'll have to adjust save_rest.cpp to convert to/from LE upon save/load
...
svn-id: r10216
2003-09-13 12:03:29 +00:00
Oliver Kiehl
f6cfd5775e
fix LE bug
...
svn-id: r10215
2003-09-13 11:39:25 +00:00
Oliver Kiehl
adcbedbfde
hack isn't needed anymore
...
svn-id: r10212
2003-09-13 10:31:46 +00:00
Max Horn
a81ea7667b
improved heuristic, fixes crash when clicking on the fence
...
svn-id: r10207
2003-09-13 02:28:17 +00:00
Max Horn
f18b68cb09
wow - now I can walk around in the BS2 demo!
...
svn-id: r10206
2003-09-13 02:11:05 +00:00
Max Horn
a00930fbcb
YAEB
...
svn-id: r10205
2003-09-13 01:59:57 +00:00
Max Horn
403ba92327
cleanup
...
svn-id: r10204
2003-09-13 01:59:11 +00:00
Max Horn
e93964cc4c
yet another endian fix
...
svn-id: r10203
2003-09-13 01:50:11 +00:00
Max Horn
c96ce86cab
<joostp> *Fingolfin does +5 damage to endian bug.
...
svn-id: r10199
2003-09-13 01:06:41 +00:00
Max Horn
01fc842d91
endian fix for walk data
...
svn-id: r10198
2003-09-13 00:19:39 +00:00
Max Horn
4d9296d4c4
cleanup
...
svn-id: r10197
2003-09-12 23:22:45 +00:00
Max Horn
af14b48b4d
cleanup / fix WALK_GRID_FILE case in convertEndian
...
svn-id: r10196
2003-09-12 21:40:44 +00:00
Max Horn
e2b842a85a
move convertEndian around
...
svn-id: r10195
2003-09-12 20:48:28 +00:00
Max Horn
54f284fb3b
No need to have convertEndian member of class resMan
...
svn-id: r10194
2003-09-12 20:46:12 +00:00
Max Horn
2ce7c27f0b
properly fixed parallax layers in BE systems
...
svn-id: r10193
2003-09-12 20:26:54 +00:00
Oliver Kiehl
9dc282f1d5
endian fixes
...
svn-id: r10192
2003-09-12 18:52:53 +00:00
Oliver Kiehl
5b20c4fb91
disable code because it crashes
...
svn-id: r10160
2003-09-10 16:05:26 +00:00
Max Horn
afe56a4aeb
added refCon parameter to timer class
...
svn-id: r10156
2003-09-10 12:43:54 +00:00
Torbjörn Andersson
d5f4297221
HACK: Display instructions during the cutscenes, so that the user won't
...
think ScummVM has hung or something.
svn-id: r10138
2003-09-09 15:54:13 +00:00
Torbjörn Andersson
78afd89698
Reworked the last commit a bit, so that PlaySmacker() doesn't need to know
...
as much about the text handling functions.
svn-id: r10137
2003-09-09 15:17:12 +00:00
Torbjörn Andersson
bc28dac67d
In PlaySmacker(), make sure there really is a text sprite to draw.
...
svn-id: r10136
2003-09-09 15:10:07 +00:00
Torbjörn Andersson
5bf1974a08
Our ServiceWindows() never returns RDERR_APPCLOSED, and we always behave as
...
if we have the focus, so there's no need to check.
svn-id: r10130
2003-09-09 12:45:33 +00:00
Torbjörn Andersson
bb5f479a8c
Added a WaitForFade() function, to replace numerous while-loops scattered
...
througout the code.
svn-id: r10127
2003-09-09 12:14:08 +00:00
Torbjörn Andersson
29607a17ef
Cleanup
...
svn-id: r10126
2003-09-09 11:52:43 +00:00
Torbjörn Andersson
fb6e8dd628
Clarified some comments in PlaySmacker(). At this point it should be fairly
...
trivial to actually play the Smacker voice-overs, but I think the sound
code needs a bit more cleaning up first. (I'm pretty sure it isn't
alignment-safe, and it might not be endian-safe either.)
svn-id: r10123
2003-09-09 07:01:04 +00:00
Torbjörn Andersson
e68176f8c3
Read Smacker voice-overs from the correct file, same way as speech.cpp does
...
svn-id: r10122
2003-09-09 06:54:11 +00:00
Torbjörn Andersson
5396901ec6
Simplified the code to decide whether to use speech1.clu or speech2.clu
...
since res_man.WhichCd() appears to be working now.
svn-id: r10121
2003-09-09 06:49:15 +00:00
Torbjörn Andersson
a6661b2070
Cleanup.
...
svn-id: r10104
2003-09-08 17:44:26 +00:00
Torbjörn Andersson
d0949b7035
Updated comment.
...
svn-id: r10100
2003-09-08 17:24:00 +00:00
Torbjörn Andersson
c2070e28fa
Added some code to display the subtitles for the Smacker movies, when
...
available, since they are separate from the Smacker files themselves.
Next step will be to play the voice-over sounds as well, and to make sure
subtitles settings etc. are taken into account (if they aren't already).
svn-id: r10099
2003-09-08 17:18:38 +00:00
Max Horn
f23a34c9e5
renamed VersionSettings -> TargetSettings and also renamed some of its members; added GameDetector::findTarget; made launcher use that new method; some initial preparations for Plugin code
...
svn-id: r10092
2003-09-08 15:38:34 +00:00
Torbjörn Andersson
0b86100456
Complete rewrite of the in-game dialogs (quit, restart, settings, save and
...
load). The new code is smaller, hopefully a bit easier to read and doesn't
use up all the CPU time.
Of course, it may some new and exciting bugs too. ;-)
svn-id: r10079
2003-09-08 06:38:16 +00:00
Torbjörn Andersson
aff37c083b
Hide the menus when displaying full-screen messages, e.g. error messages
...
from the save/load dialog. (This probably happened automagically in the
original, but we handle screen updates a bit differently now.)
svn-id: r10078
2003-09-08 06:32:37 +00:00
Max Horn
78476c6bd6
more endian fixes
...
svn-id: r10058
2003-09-07 03:18:27 +00:00
Max Horn
2fb59884f1
some endian fixes
...
svn-id: r10056
2003-09-07 01:51:15 +00:00
Max Horn
3aa8454efa
moved the sound ID param in playRaw before volume/pan
...
svn-id: r10023
2003-09-05 22:09:56 +00:00
Torbjörn Andersson
cd9496ab3a
Added FIXME comment about DipMusic().
...
svn-id: r10010
2003-09-05 16:07:03 +00:00
Torbjörn Andersson
7400995094
Cleanup.
...
svn-id: r10009
2003-09-05 15:56:43 +00:00
Torbjörn Andersson
94ec5238c9
This fixes another music-related crash for me. I guess it's our
...
implementation of music fade-out that makes it a bad thing to close the
music cluster file prematurely.
svn-id: r10007
2003-09-05 15:37:51 +00:00