Travis Howell
fce2762f29
Add some missing code
...
svn-id: r13990
2004-06-21 02:33:23 +00:00
Paweł Kołodziejski
8b789937c6
changed check to _insaneRunning
...
svn-id: r13986
2004-06-20 21:01:32 +00:00
Eugene Sandulenko
4f8cb1d514
7.0+ HE games have additional indexes. So read it.
...
svn-id: r13945
2004-06-07 00:26:08 +00:00
Eugene Sandulenko
6be8956d2c
Phase 2 of switching HE to use _heversion. Now unneeded GID's are
...
eliminated.
svn-id: r13927
2004-06-03 01:28:22 +00:00
Eugene Sandulenko
2a34b9d5a1
Phase 1 of move to _heversion use.
...
svn-id: r13926
2004-06-03 00:55:40 +00:00
Eugene Sandulenko
50b39e3095
Added separate HE versioning.
...
svn-id: r13907
2004-05-31 08:24:05 +00:00
Nicolas Bacca
72b01684a7
Remove unnecessary WinCE tweaks
...
svn-id: r13901
2004-05-30 13:03:35 +00:00
Paweł Kołodziejski
f90a2a30c2
locking resource sounds while using them to prevent expire
...
svn-id: r13640
2004-04-26 19:22:27 +00:00
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
Max Horn
b8a260c967
removed setFeatures (not needed anymore)
...
svn-id: r12132
2004-01-04 13:46:53 +00:00
Max Horn
bceb48f5e0
renamed updateDirtyRect to markRectAsDirty (because that's what it really does); used virtual screen id constants in more places
...
svn-id: r12122
2004-01-03 22:45:23 +00:00
Max Horn
105895da46
cleanup
...
svn-id: r12121
2004-01-03 22:21:56 +00:00
Max Horn
22248a548f
removed unused param in initScreens
...
svn-id: r12119
2004-01-03 21:26:44 +00:00
Travis Howell
d8f657adc0
Add correct solution for drawObjectQue[] overflow in lawn mower mini games of puttputt
...
svn-id: r12027
2003-12-30 06:24:47 +00:00
Travis Howell
55e02b5b54
Give HE games their own IDs.
...
Add hack to allow puttputt to work for now.
Increase _drawObjectQue[] for law mower mini game in puttputt
svn-id: r12026
2003-12-30 05:39:57 +00:00
Max Horn
17c189d1f9
get rid of _noSubtitles, use ConfigManager directly instead; clean up some IMuseDigital oddities
...
svn-id: r11966
2003-12-27 15:22:59 +00:00
Max Horn
eeb5418504
more robust resource saving; also save resources with idx 0; renamed Serializer::saveWord/loadWord to saveUint16/loadUint16
...
svn-id: r11955
2003-12-27 00:10:20 +00:00
Max Horn
e3e6bb3191
got rid of those _maxFOO macros, replaced them by access to the equivalent _numFOO variables
...
svn-id: r11953
2003-12-26 23:11:35 +00:00
Max Horn
01c4fd955c
Fix pause mode during video/smush playback
...
svn-id: r11899
2003-12-25 02:55:00 +00:00
Max Horn
859a9c0129
o Added SoundMixer::isReady()
...
o Removed SoundMixer::bindToSystem()
o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady()
svn-id: r11893
2003-12-24 17:42:22 +00:00
Max Horn
2be2cb6d3e
The rewritten Timer class actually allows us to get rid of several evil hacks in the SMUSH code (which were previously needed to avoid various race conditions/crashes/hangups)
...
svn-id: r11833
2003-12-21 18:36:20 +00:00
Max Horn
3364949c82
Patch #861716 : palManipulateInit for V6 games (I modified the patch a bit)
...
svn-id: r11718
2003-12-17 17:12:09 +00:00
Max Horn
5e000ec43f
Let's spell it out: c-o-d-e r-e-u-s-e :-)
...
svn-id: r11640
2003-12-14 20:36:37 +00:00
Travis Howell
2556f9b77a
Always confirm restart
...
svn-id: r11635
2003-12-14 15:04:05 +00:00
Travis Howell
3d6461d30f
Add option to enable copy protection in SCUMM games, which ScummVM disable it by default.
...
svn-id: r11571
2003-12-11 06:08:43 +00:00
Eugene Sandulenko
578d2efa77
Preliminary support for FT INSANE is added. To enable the code define
...
INSANE in config.h. But only non-interactive parts work and there is no
insane scene skip. Only one choice during those scenes is Ctrl+X.
svn-id: r11507
2003-12-06 05:47:24 +00:00
Travis Howell
83bf2e2593
Add keyboard support for derby in FT and cannon battle in COMI, patch #853099
...
svn-id: r11496
2003-12-05 00:02:01 +00:00
Max Horn
d099759279
game targets can now have a base filename different from the target name; misc tweaks
...
svn-id: r11417
2003-11-28 22:29:56 +00:00
Jonathan Gray
151a2dcc44
revert use of GF_DEMO in Humongous games fixing several problems
...
svn-id: r11345
2003-11-18 10:16:49 +00:00
Travis Howell
a35ce0f5ae
Add PC game feature flag, to match others.
...
svn-id: r11344
2003-11-18 09:44:58 +00:00
Paweł Kołodziejski
185395ca36
replaced demo GIDs wth GF_DEMO
...
svn-id: r11326
2003-11-17 21:16:43 +00:00
Paweł Kołodziejski
25414d0f2d
added comi and dig demo
...
svn-id: r11324
2003-11-17 19:07:45 +00:00
Paweł Kołodziejski
8272b46b12
added music hacks for cmi demo, please test it
...
svn-id: r11323
2003-11-17 18:59:26 +00:00
Travis Howell
313a912af2
*** empty log message ***
...
svn-id: r11281
2003-11-13 10:51:02 +00:00
Max Horn
22c22d1e81
added namespace GUI
...
svn-id: r11255
2003-11-10 23:40:48 +00:00
Max Horn
3456b6f50b
remade the in-game GUI/menu
...
svn-id: r11119
2003-11-03 23:26:13 +00:00
Max Horn
b27a871f87
turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
...
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
53db0a8a07
cleanup: removed version/id from GameSettings
...
svn-id: r10995
2003-10-28 17:07:25 +00:00
Max Horn
d581c99ab5
cleanup
...
svn-id: r10982
2003-10-26 19:16:59 +00:00
Max Horn
012450de73
added tag2str helper function
...
svn-id: r10866
2003-10-17 16:28:29 +00:00
Max Horn
5acafb15c2
cleanup; got rid of Gdi::_palette_mod in favor of Gdi::_roomPalette
...
svn-id: r10778
2003-10-13 12:56:53 +00:00
Max Horn
31ba12c800
some more target<->game cleanup
...
svn-id: r10769
2003-10-12 19:10:17 +00:00
Max Horn
fafb90ddb5
code simplification
...
svn-id: r10762
2003-10-12 17:33:29 +00:00
Max Horn
1ebb7cce53
removed obsolete
...
svn-id: r10645
2003-10-06 19:21:18 +00:00
Max Horn
0954fc1dac
cleanup
...
svn-id: r10620
2003-10-05 17:32:38 +00:00
Max Horn
d4734bd4f2
use namespace Common a bit more; don't zero the RNG in scumm (else the seed gets reset); remove obsolete 256 color blending code
...
svn-id: r10592
2003-10-04 11:50:21 +00:00
Max Horn
d7660a2662
introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
...
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
e6819e42cf
added getMusicTimer() to class MusicEngine; this allows some nice code cleanup; also added an error() invocation to find out if certain code is still needed
...
svn-id: r10556
2003-10-03 01:07:35 +00:00
Max Horn
3f55f2669d
renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
...
svn-id: r10549
2003-10-02 22:42:03 +00:00
Max Horn
0e645f88ae
renamed namespace ScummVM to Common
...
svn-id: r10544
2003-10-02 17:43:02 +00:00
Jamieson Christian
db798a3e7d
Fix for Bug [815851] DOTT: MT-32 MIDI priority
...
Favor 'ROL ' resources over 'GMD ' if
--native-mt32 is selected.
svn-id: r10537
2003-10-02 14:37:40 +00:00