395 Commits

Author SHA1 Message Date
Max Horn
9defe4fc18 Removed XOR encoding stuff from File class; instead the new Scumm::XORFile class provides this functionality now
svn-id: r13597
2004-04-17 16:29:03 +00:00
Max Horn
17fe0497f5 Renamed StringTab::backup to StringTab::_default, as that describes better what it does
svn-id: r13476
2004-04-05 23:54:58 +00:00
Max Horn
781809ee2b pedantic const correction
svn-id: r13467
2004-04-05 00:24:26 +00:00
Max Horn
a4e424a4fe got rid of _msgPtrToAdd; slightly improved error checking in addMessageToStack()
svn-id: r13454
2004-04-04 00:29:13 +00:00
Max Horn
6aa6b49ed5 cleanup StringTab stuff
svn-id: r13448
2004-04-03 19:41:31 +00:00
Max Horn
4a41973804 Got rid of _transText
svn-id: r13442
2004-04-02 21:56:27 +00:00
Max Horn
a16a86d90f simplify code by integrating a call to translateText() into addMessageToStack(); improved translateText() further
svn-id: r13438
2004-04-02 21:42:42 +00:00
Jonathan Gray
f12fbe1723 clean up FMUS handling, fix not being able to enable sound debug messages
svn-id: r13425
2004-03-29 11:02:45 +00:00
Max Horn
a06c097408 rename displayError() to displayMessage(); fix slightly incorrect usage of that method
svn-id: r13402
2004-03-28 13:28:44 +00:00
Travis Howell
07770f58e9 Alter some HE games settings
svn-id: r13369
2004-03-23 01:59:02 +00:00
Max Horn
6a1532772a Revamped COMI/DIG speech decoding (this my cause regressions, watch out). Goal was to streamline code logic, and get rid of a FIXME
svn-id: r13347
2004-03-19 23:19:57 +00:00
Max Horn
c3c1dc176f addMessageToStack doesn't have to return anything anymore
svn-id: r13346
2004-03-19 19:40:34 +00:00
Max Horn
faa12496e4 Fix for bug #893254 (MI1VGA: Changes in object names are not saved); this may introduce regressions, please report them (overall, this is a neat patch, it removes so many ugly hacks :-)
svn-id: r13325
2004-03-17 01:50:15 +00:00
Max Horn
af96fecb5d turn illegal SCUMM var access into an error
svn-id: r13302
2004-03-15 03:36:18 +00:00
Max Horn
e2617f90a1 disambiguate the two talkingActor() methods (one was a getter, one a setter -- reflect that in the name)
svn-id: r13301
2004-03-15 03:33:08 +00:00
Max Horn
ac11c62312 clearMsgQueue now just is a synonym for stopTalk -> remove it
svn-id: r13300
2004-03-15 03:24:29 +00:00
Max Horn
e1b25fb721 After the refactoring it's clearly that _messagePtr can be removed. Hooray, yet another obscure global 'parameter' gone :-)
svn-id: r13299
2004-03-15 03:22:36 +00:00
Max Horn
ba5aa37dcc refactor use of _messagePtr -> instead of using it as an implicit parameter for various methods, pass its value explicitly to those methods. Note: this *should* be just a code transformation, with no change to the program logic - unless I messed up once again <sigh>
svn-id: r13298
2004-03-15 03:09:48 +00:00
Max Horn
782dabbcd3 ...and mor. Next big thing should be to document the overlay stuff, but that'll have to wait till after I slept :-)
svn-id: r13295
2004-03-15 02:21:04 +00:00
Travis Howell
5a3b17de54 Add better check for HE resource differences.
Move stringLen to HE7.

svn-id: r13130
2004-03-02 01:20:18 +00:00
Eugene Sandulenko
3ca5007779 Introduced new platform GF_WINDOWS. Used for HE games. GF_PC is DOS
svn-id: r13128
2004-03-02 00:37:23 +00:00
Eugene Sandulenko
dd3683f7e7 Implemented some HE specific opcodes
Added some HE GIDs

svn-id: r13126
2004-03-02 00:21:02 +00:00
Travis Howell
10f95809ab Rename a few opcodes
svn-id: r13011
2004-02-24 00:43:01 +00:00
Eugene Sandulenko
f878140895 o Add GID_FBEARPACK, previously for target fbpack GID_FBEAR was used, but there
were fbear-specific modifications which didn't apply to it. Hence another GID.
o seekFile and tellFile are enabled

svn-id: r13001
2004-02-23 02:07:56 +00:00
Travis Howell
42028e984f Enable and use VAR_VOICE_MODE
svn-id: r12979
2004-02-22 03:08:18 +00:00
Travis Howell
f1b5b8fa24 Variable should be checked at this point.
svn-id: r12942
2004-02-20 15:04:51 +00:00
Eugene Sandulenko
cab9b2f34a INSANE debug output now can be turned ot in debug console
svn-id: r12926
2004-02-18 05:20:47 +00:00
Max Horn
7038f2f6cf Fix for bug #882083 (COMI: CD change cancel button)
svn-id: r12744
2004-02-05 22:39:13 +00:00
Max Horn
9fe1aaa921 renamed _saveLoadCompatible to _saveTemporaryState; make use of requestLoad/requestSave
svn-id: r12691
2004-01-31 22:12:35 +00:00
Max Horn
32a58b3603 get rid of ScummEngine::_insaneState (I think we should eventually stop calling processKbd() from inside smush and replace it with special code there)
svn-id: r12589
2004-01-25 12:20:59 +00:00
Max Horn
923adce456 fix endian bug when dealing with ArrayHeader's; added a hack to permit save games broken due to this to still work; moved the whole 'Array' stuff into ScummEngine_v6
svn-id: r12521
2004-01-19 20:27:31 +00:00
Max Horn
8e89f7d060 moved the sam&max inventory hack into o6_setOwner
svn-id: r12520
2004-01-19 20:23:27 +00:00
Max Horn
bcf8052341 forgot to remove this :-)
svn-id: r12519
2004-01-19 20:14:29 +00:00
Max Horn
e8164dfb70 moved some V6-only scumm vars to ScummEngine_v6
svn-id: r12517
2004-01-19 19:47:47 +00:00
Travis Howell
9a8aac9e63 Only needed for V1 Maniac.
svn-id: r12431
2004-01-16 10:51:48 +00:00
James Brown
ac5b7036c2 Fix for bug #862263 - Maniac actors never stop talking. I know this could probably be neater :)
svn-id: r12430
2004-01-16 10:45:56 +00:00
Travis Howell
1fa4231c47 Remove INSANE define.
svn-id: r12363
2004-01-14 01:41:44 +00:00
Max Horn
7237b6a2ec changed the name of the former removeObjectFromRoom yet again, to markObjectRectAsDirty - that describes its functionality more accurately, I hope :-)
svn-id: r12326
2004-01-11 20:42:40 +00:00
Max Horn
0712cb95af renamed removeObjectFromRoom to forceObjectRedraw
svn-id: r12325
2004-01-11 20:15:05 +00:00
James Brown
c4528ac022 More conversion to debug channels
svn-id: r12293
2004-01-10 11:01:47 +00:00
James Brown
1778b01d76 Start of debug channel support. TODO: Move this to the common Debugger system?
svn-id: r12289
2004-01-10 05:20:15 +00:00
Paweł Kołodziejski
7ab3348329 added lipSync code
svn-id: r12284
2004-01-09 22:10:32 +00:00
Max Horn
04b002bbaa move the charset mask to the charset renderer class; some other related changes
svn-id: r12263
2004-01-08 21:21:40 +00:00
Max Horn
ebecf1dbaa unify _vm / _scumm usage
svn-id: r12262
2004-01-08 20:37:26 +00:00
Max Horn
d1a80a659b cleanup
svn-id: r12259
2004-01-08 17:41:11 +00:00
Max Horn
c2b7531c56 cleanup
svn-id: r12258
2004-01-08 17:30:36 +00:00
Max Horn
6222d6e643 more cleanup
svn-id: r12234
2004-01-08 03:24:41 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
a469559d13 added Actor::getElevation and Actor::setElevation; cleaned up costume API a bit; some minor cleanup/tweaks
svn-id: r12160
2004-01-05 16:19:14 +00:00
Max Horn
1081c789a2 cleanup
svn-id: r12139
2004-01-04 14:49:14 +00:00