Max Horn
64e0a16a6d
adding an assert (better paranoid than letting a null pointer slip thru)
...
svn-id: r9207
2003-07-28 00:33:05 +00:00
Max Horn
0d209fecb6
fix return values in getObjectOrActorXY; turned unsafe derefActorSafe call into derefActor (return value of derefActorSafe was used w/o checking it for 0)
...
svn-id: r9206
2003-07-28 00:04:20 +00:00
Max Horn
ff988094be
init walkdata (fix for bug #770306 ); move Actor::Actor constructor from header to source file
...
svn-id: r9205
2003-07-27 23:45:43 +00:00
Max Horn
77c8eec439
oops this was never meant to be removed
...
svn-id: r9203
2003-07-27 23:30:28 +00:00
Max Horn
7e54a2f569
fix inventory scrolling V1/V2 games (there were problems with an odd inventory count)
...
svn-id: r9201
2003-07-27 17:33:28 +00:00
Paweł Kołodziejski
80cbf90a9d
some cleanup
...
svn-id: r9198
2003-07-27 12:25:56 +00:00
Max Horn
ce29c4c295
fixed setActorCostume for COMI; fixees bug #754421 and hopefully also the issue described in patch #696033
...
svn-id: r9191
2003-07-25 18:07:42 +00:00
Max Horn
791efd853a
lots of mixer changes: replaced _volumeTable by _globalVolume (applying volume after resampling is more accurate); made more member vars of SoundMixer protected (and thus added some new getter methods); added (untested) support for a second (stereo) channel when playing MP3
...
svn-id: r9184
2003-07-25 01:19:14 +00:00
Max Horn
b15277e5ed
oops, wanted to move talkFrequency initialisation, but only re-moved it, and didn't add it in its new place. bad me!
...
svn-id: r9182
2003-07-24 23:33:43 +00:00
Max Horn
becd70d243
cleanup: encapsulate some more members of class Actor, and rename newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy)
...
svn-id: r9175
2003-07-24 17:44:00 +00:00
Torbjörn Andersson
9db2d93614
Slight cleanup of previous commit.
...
svn-id: r9147
2003-07-23 14:36:18 +00:00
Torbjörn Andersson
e66bdf91b9
Allow the sentence line to be 40 printable characters long. The verb part
...
is padded with '@', which should not be counted.
svn-id: r9146
2003-07-23 14:33:57 +00:00
Travis Howell
2b0e1b7000
Small correction for mac loom
...
svn-id: r9143
2003-07-23 05:36:08 +00:00
Travis Howell
fc5080bfb2
Ooops that should not have been commmited
...
svn-id: r9142
2003-07-23 05:18:47 +00:00
Travis Howell
13dae9b394
fm towns cd audio fix from Hibernatus
...
svn-id: r9141
2003-07-23 05:17:21 +00:00
Max Horn
b43125cd36
fix for bug #775839 ; unified the various Indy3 checks (this gets annoying, maybe we can merge the three GIDs after 0.5.0; any difference could be handled via _feature flags (e.g. added a GF_TOWNS flag)
...
svn-id: r9137
2003-07-22 22:33:34 +00:00
Max Horn
2becb78d86
fix for bug #762593 (ZAK256: Audio CD not handled properly)
...
svn-id: r9135
2003-07-22 22:14:14 +00:00
Torbjörn Andersson
3b033956aa
Changed "SCALLING" to "SCALING".
...
svn-id: r9134
2003-07-22 20:53:01 +00:00
Max Horn
9bd7cdbce0
so it's not the endFrame, but the duration (in frames), after all! grmbl, took me long enough to figure this out, now I can fix up system.h, and then decide whom I can blame for this mess (yeah I know I renamed everything to endFrame in here, but it was named incorrectly in many other places already... ah well, at least now we know :-)
...
svn-id: r9130
2003-07-22 20:27:54 +00:00
Max Horn
dce17ed7ac
fix for bug #775420 ; also properly implemented the 'box matrix truncated' workaround
...
svn-id: r9129
2003-07-22 19:01:38 +00:00
Max Horn
655759a70d
fix for bug #775640
...
svn-id: r9128
2003-07-22 16:34:52 +00:00
Max Horn
bda0a18eee
made about dialog global (so that it can be used from the launcher and from sky/simon; also added our copyright to it
...
svn-id: r9122
2003-07-22 16:05:51 +00:00
Max Horn
a62e49d0d4
added a FIXME
...
svn-id: r9121
2003-07-22 16:05:40 +00:00
Max Horn
2cee32864a
fix spanish prepositions, see bug #772277 . And BTW, does anybody know when and where the 'on/mit/sur/su/en' preposition is actually used?
...
svn-id: r9116
2003-07-22 01:14:09 +00:00
Max Horn
1ba7012969
fix for bug #770704
...
svn-id: r9115
2003-07-22 01:03:10 +00:00
Nicolas Bacca
d79ae6f1f2
Fix for #775275 : debugger support on WinCE
...
svn-id: r9114
2003-07-21 22:30:15 +00:00
Max Horn
9b02cb4cce
fixing bug #774783 for the VGA version, too - and I bet the FmTowns version will need this fix, too
...
svn-id: r9112
2003-07-21 22:11:33 +00:00
Max Horn
743ad2aaa6
really fix #774783 in IndyEGA (while the value '1' is not strictly correct, and in IndyVGA it is 0, and 0 is the logical value - this *has* to be 1 (and 1 is what the original returns, too, due to a bug)
...
svn-id: r9111
2003-07-21 22:08:39 +00:00
Max Horn
0a334bf269
Fix for bug #770690 and bug #774783
...
svn-id: r9110
2003-07-21 21:59:07 +00:00
Max Horn
0b1b753797
added getResourceSize method
...
svn-id: r9109
2003-07-21 21:28:47 +00:00
Paweł Kołodziejski
ec2b0cca04
improved stampObject opcode for FT mine field, still layers? problem
...
svn-id: r9099
2003-07-20 21:01:06 +00:00
Paweł Kołodziejski
25dbf529ab
some changes for stampObject opcode to be more similiar dissassembly
...
svn-id: r9098
2003-07-20 20:42:58 +00:00
Paweł Kołodziejski
e25be8327a
fixed regression caused by me
...
svn-id: r9097
2003-07-20 19:50:32 +00:00
Paweł Kołodziejski
b54dee99a5
fixed warnings
...
svn-id: r9096
2003-07-20 19:19:45 +00:00
Travis Howell
43ba55e308
Revert my bad code
...
svn-id: r9094
2003-07-20 16:02:17 +00:00
Max Horn
a6afa09161
fix for bug #758542
...
svn-id: r9088
2003-07-20 01:09:42 +00:00
Max Horn
7e92048a6b
typo
...
svn-id: r9086
2003-07-20 01:00:16 +00:00
Max Horn
c7958d8d8b
merged checkKeyHit/convertKeysToClicks/getKeyInput into processKbd - their separation served no purpose but made it much harder to understand the code. Also, this opens up possibilities to cleanup the code
...
svn-id: r9085
2003-07-20 00:02:24 +00:00
Paweł Kołodziejski
2056a62f98
moved up code for v1 setActorPalette func
...
svn-id: r9084
2003-07-19 20:10:40 +00:00
Max Horn
2fbf782c05
moved some functions out of scummvm.cpp into more appropriate files; rearranged stuff inside scummvm.cpp to be grouped a bit more logical
...
svn-id: r9083
2003-07-19 18:18:01 +00:00
Paweł Kołodziejski
d516f3467c
updated opcode "Actor Set Color" in o2_ActorSet func, it's based on dissassembly, why it was "i = 3" ?
...
svn-id: r9082
2003-07-19 16:10:15 +00:00
Travis Howell
d3f303bb46
Small update to Amogs sfx support for indy3/loom, patch #771355
...
svn-id: r9081
2003-07-19 16:07:33 +00:00
Paweł Kołodziejski
2d48186c03
added vc7 files and fixed warnings. vc6 is no longer supported by me
...
svn-id: r9077
2003-07-19 14:26:25 +00:00
Max Horn
8db98ac1d9
typo
...
svn-id: r9075
2003-07-19 11:49:05 +00:00
James Brown
be4446f945
Ignore me, I'm a carrot.
...
svn-id: r9073
2003-07-19 07:43:13 +00:00
James Brown
b295340912
Restore size hack properly
...
svn-id: r9072
2003-07-19 07:42:01 +00:00
Travis Howell
e4b598fb5d
Change back to warning
...
svn-id: r9071
2003-07-19 07:32:26 +00:00
Travis Howell
b887fd708e
Another fix from Hibernatus
...
svn-id: r9070
2003-07-19 04:32:35 +00:00
Travis Howell
fdb79e01cc
More fix from Hibernatus
...
svn-id: r9069
2003-07-19 03:54:33 +00:00
Jochen Hoenicke
077b643ea0
Fix recursive calls of object scripts. In V2 for each object two script
...
can be active at the same time: One 253 script and one normal script.
We misuse the recursive flag to mark 253 scripts. When starting a 253
script we stop a script that has recursive flag set and when starting
a normal script we stop the script that doesn't.
svn-id: r9068
2003-07-18 18:55:04 +00:00