Commit Graph

416 Commits

Author SHA1 Message Date
Gregory Montoir
74e588b854 - minor cleanup in Person/Actor stuff
- minor tweak in Graphics::bobSetText()
from previous commit (message was erroneous) :
- moved config stuff to QueenEngine
- added 3 Logic subclasses to handle the specific parts of each game version (demo, intv...)

svn-id: r12195
2004-01-06 20:00:46 +00:00
Gregory Montoir
e90f846df9 - enabled debugger in QueenEngine::errorString
- initialise Cutaway::_personCount* when the Cutaway starts
- minor tweaks in BankManager

svn-id: r12185
2004-01-06 16:53:35 +00:00
Gregory Montoir
ceda8aec02 moved animation stuff to Graphics class
svn-id: r12182
2004-01-06 14:21:50 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Gregory Montoir
d62d44d29c simplified room switching code a bit
svn-id: r12165
2004-01-06 09:29:33 +00:00
Gregory Montoir
5e413ceb5c - enabled debugger in QueenEngine::errorString
- initialise Cutaway::_personCount* when the Cutaway starts
- minor tweaks in BankManager

svn-id: r12163
2004-01-05 20:46:37 +00:00
Gregory Montoir
232a709fd4 added a class to manage banks, Queen::Graphics cleanup
svn-id: r12157
2004-01-05 13:40:28 +00:00
David Eriksson
c21e5d797c At last - credits!
svn-id: r12155
2004-01-05 11:58:20 +00:00
Gregory Montoir
143b5bea80 - added code to only redraw changed blocks in order to avoid full screen refresh
- minor code cleanup in Graphics/Display

svn-id: r12147
2004-01-04 20:25:21 +00:00
Max Horn
d1e6c6059e renamed global var _debugLevel to g_debugLevel; let Engine constructor init it (this way all engines get it for free, allows further cleanup); removed some useless/duplicate member vars in SwordEngine
svn-id: r12134
2004-01-04 14:00:58 +00:00
Joost Peters
7cc9727916 respond to 'alter'-type overrides
svn-id: r12126
2004-01-04 03:37:12 +00:00
Joost Peters
5f85df5ed6 Allow queen to use adlib driver as well (that was surprisingly easy :))
svn-id: r12100
2004-01-03 02:08:04 +00:00
Gregory Montoir
8bd9ce2949 - added missing MOVE_SPEAK code (only CHEF.DOG seems to use that)
- clear Talk::_dialogueTree[0] to avoid problems when accessing oldLevel / level 0

svn-id: r12093
2004-01-02 20:05:18 +00:00
Joost Peters
539002e23a spelling mistake
svn-id: r12090
2004-01-02 14:26:39 +00:00
Joost Peters
e5ba3b172e Tell adlib people they won't hear music
svn-id: r12089
2004-01-02 14:21:14 +00:00
Gregory Montoir
5b97c9308d minor rewrite of some asm funcs
svn-id: r12088
2004-01-02 14:17:42 +00:00
Gregory Montoir
5cc0191417 some debugger commands for bobs
svn-id: r12087
2004-01-02 14:17:25 +00:00
Gregory Montoir
c7965a7a04 minor rewrite of screenblanker code
svn-id: r12086
2004-01-02 14:15:45 +00:00
Gregory Montoir
1194bc9d5e use compressed data file instead of original one if both are available
svn-id: r12059
2003-12-31 16:15:46 +00:00
Torbjörn Andersson
edf6386a65 There's that incomprehensible MinGW GCC warning again!
svn-id: r12050
2003-12-31 12:53:43 +00:00
Gregory Montoir
49c67f4d20 acessing _numGraphics'th element of GraphicData array is safe
svn-id: r12046
2003-12-30 23:32:51 +00:00
Gregory Montoir
80b4510da1 remove hack from original code, this was apparently only needed for SELECT_VERB (from what I understood, bob 16 was supposed to highlight the current selected verb ; but the original doesn't use it at all)
svn-id: r12041
2003-12-30 22:01:16 +00:00
Gregory Montoir
42c5524a02 interview mini-game support
svn-id: r12037
2003-12-30 21:06:22 +00:00
Gregory Montoir
d91b30c933 minor cleanup & add playSong() calls in Logic::handlePinnacleRoom
svn-id: r12031
2003-12-30 10:46:05 +00:00
Gregory Montoir
0ea94e63a7 cleanup
svn-id: r12024
2003-12-29 21:51:50 +00:00
Gregory Montoir
bb77917c7f only call Logic::executeSpecialMove if asm > 0
svn-id: r12023
2003-12-29 21:31:02 +00:00
Gregory Montoir
0dd61a56b4 invalidate previous dynalum value on re-init (this fixes room <-> journal issues)
svn-id: r12022
2003-12-29 21:15:01 +00:00
Joost Peters
5d9b72ad7d mass debuglevel change for less verbosity (0 -> 6)
importance/relevance has to be decided on an individual basis, if needed, later on

svn-id: r12021
2003-12-29 21:05:33 +00:00
Gregory Montoir
84c18f4bf1 cleanup & use BobSlot::curPos() when possible
svn-id: r12020
2003-12-29 20:51:28 +00:00
Gregory Montoir
bd23a44f49 cleanup & follow code conventions
svn-id: r12019
2003-12-29 20:18:31 +00:00
Gregory Montoir
865797cbee - revise the way special moves are handled (demo and interview don't need a table)
- slighlty modified some asm funcs which could let the game in fast mode
- minor cleanup

svn-id: r12018
2003-12-29 20:17:43 +00:00
Gregory Montoir
df1ba69e4f more 'preparation' for interview and minor tweaks for demo
svn-id: r12016
2003-12-29 16:35:08 +00:00
Gregory Montoir
cf7adca772 fix for 'Klunk sentence repeated 2 times' bug (noticeable in french talkie version)
svn-id: r12015
2003-12-29 16:33:03 +00:00
Joost Peters
9e78d9e14e Demo uses different file for music (and disable it for now)
svn-id: r12011
2003-12-29 15:50:17 +00:00
Gregory Montoir
14cfaf8852 - hack to read patched .dog files (french & italian versions) from game data path instead of data file
- cleanup Resource a bit (add an accessor for ResourceEntry in order to avoid multiple calls to resourceIndex)

svn-id: r12006
2003-12-29 13:18:24 +00:00
Gregory Montoir
2548df9cf8 cleanup
svn-id: r12003
2003-12-28 21:18:03 +00:00
Gregory Montoir
67159d4539 cleanup Resource class a bit :
- re-use some methods to read the resource table (normal / compressed)
- removed _gameVersion member as we can do without it (and is mostly
  useless in case of a compressed data file) ; now, we use the
  'JAS version string' as it is sufficient to detect if the game is
  a floppy version / demo etc.
- const'ness
- tweaked checkJASVersion() for interview mini game

removed (useless) dirty hack in Logic::changeRoom() to setup initial
scene in demos (pclogo.cut doesn't exist at all !)

svn-id: r11998
2003-12-28 15:29:05 +00:00
Joost Peters
e76c4c9ebe Need to call this as well to properly stop music
svn-id: r11989
2003-12-28 03:56:13 +00:00
Joost Peters
dbe01121eb Improved music code a bit. still has 'hanging notes' when stopping music, though.
svn-id: r11988
2003-12-28 03:31:05 +00:00
Joost Peters
dd7fc9f8ef Cope with song '0' (old savegames used to use this 'dummy' value)
svn-id: r11986
2003-12-28 01:47:37 +00:00
Joost Peters
effc207b69 - added 'song' debugger command
- restore music after loading game
- fix for bug in Roland Floda Corridor music
- added LE struct reading methods (and renamed the old BE ones) for future compatibility with original DOS savegames

svn-id: r11985
2003-12-28 01:17:29 +00:00
Gregory Montoir
5bbb3be159 enable alternative introduction
svn-id: r11959
2003-12-27 12:58:26 +00:00
Gregory Montoir
749b5d4ca5 cleanup
svn-id: r11946
2003-12-26 15:36:28 +00:00
Gregory Montoir
5da05a84cb oops
svn-id: r11945
2003-12-26 14:52:07 +00:00
Gregory Montoir
e05e079116 enable original screen blankers
svn-id: r11944
2003-12-26 14:49:49 +00:00
Gregory Montoir
ffbfe8922a new debugging code, using Common::Debugger
svn-id: r11940
2003-12-26 12:58:27 +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
e9269257f3 turned PlayingSoundHandle into an 'opaque' (well not really :-) data type, mainly because people kept (accidentally and sometimes on purpose :-) misusing them
svn-id: r11881
2003-12-24 00:25:18 +00:00
Marcus Comstedt
72788c1eab stdafx.h first, please.
svn-id: r11820
2003-12-21 16:17:27 +00:00
Max Horn
e439eb5129 added convenience SoundMixer::playVorbis variant which calls through to playSfxSound_Vorbis; made scumm/queen engines use it
svn-id: r11812
2003-12-21 15:47:52 +00:00