Commit Graph

455 Commits

Author SHA1 Message Date
Gregory Montoir
968436767c got rid of timer stuff to handle display sync
svn-id: r12416
2004-01-15 21:07:17 +00:00
Gregory Montoir
391f4e92e5 reset _lastSoundIndex in car animation too
svn-id: r12409
2004-01-15 13:08:24 +00:00
Gregory Montoir
b1141ae717 bumped Cutaway::_personFace array size, as during intro Cutaway::_personFaceCount max value is 12
svn-id: r12388
2004-01-14 15:51:54 +00:00
Gregory Montoir
6c78f2a6b8 - tweaked a bit walking functions to make persons stop walking when a cutaway is canceled
- removed unpack to bob frame 2 (as it is never used)
- changed some error() calls to assert()
- minor cleanups

svn-id: r12385
2004-01-14 14:34:05 +00:00
Gregory Montoir
b218cb93fe cleanup
svn-id: r12378
2004-01-14 10:40:25 +00:00
Gregory Montoir
2f85714c60 - wrong sentence was spoken when Joe was trying to 'pick up' a person
- clear command before switching rooms
- clear texts at the end of cutaway (fix minor glitch in interview intro)

svn-id: r12361
2004-01-13 14:43:13 +00:00
Gregory Montoir
95de2117a2 New save/load code, this *breaks* compatiblity with the previous
savefile format. Use the 'qsc' tool to convert your old files
(http://0x.7fc1.org/fotaq/qsc.[cpp|exe]).

svn-id: r12339
2004-01-12 13:40:02 +00:00
Gregory Montoir
bbf32c0076 oops
svn-id: r12337
2004-01-12 09:43:06 +00:00
Gregory Montoir
a6d1540d49 turned Logic::useJournal() into a virtual method
svn-id: r12336
2004-01-12 09:40:57 +00:00
Joost Peters
14eeb574d3 fixes compilation for our *cough* favourite *cough**cough* compiler: MSVC!
svn-id: r12331
2004-01-12 00:34:27 +00:00
Gregory Montoir
df985747e1 minor display code changes
svn-id: r12323
2004-01-11 17:20:29 +00:00
Gregory Montoir
6dc8407297 cleanup
svn-id: r12318
2004-01-11 14:11:36 +00:00
Gregory Montoir
f2874733b0 tweaked a bit dirty blocks display code, this fixes the minor glitch in interview intro
svn-id: r12317
2004-01-11 14:08:07 +00:00
Joost Peters
9cd7d79596 - stop voice when skipping dialogue
- scroll 4 inventory items when right-clicking

svn-id: r12314
2004-01-11 01:36:00 +00:00
Gregory Montoir
3be8219bd9 cleanup
svn-id: r12312
2004-01-10 22:31:41 +00:00
Gregory Montoir
5616955701 new Talk::splitOption() code (same value for text margins, word width is computed without the ending space char)
svn-id: r12310
2004-01-10 21:56:47 +00:00
Gregory Montoir
3e8a551d8b removed old hack to prevent speaking sentence 0
svn-id: r12308
2004-01-10 20:33:05 +00:00
Gregory Montoir
40651928dc removed some debug() calls
svn-id: r12307
2004-01-10 19:59:11 +00:00
Gregory Montoir
615e0df8da enabled arrows in dialogue (non english versions)
svn-id: r12306
2004-01-10 19:55:54 +00:00
Joost Peters
3589c2f776 added stopSfx() method
svn-id: r12305
2004-01-10 17:46:26 +00:00
David Eriksson
72d54f173e Never mind.
svn-id: r12304
2004-01-10 16:54:00 +00:00
Gregory Montoir
3d1c883970 workaround for final room sound issues
svn-id: r12302
2004-01-10 16:23:34 +00:00
David Eriksson
aab4e7a011 Correct previous fix :-)
svn-id: r12301
2004-01-10 16:13:21 +00:00
David Eriksson
5d50f01b2f Text position for talking heads.
svn-id: r12300
2004-01-10 16:03:41 +00:00
David Eriksson
c27915b46d Correct comment
svn-id: r12299
2004-01-10 16:03:08 +00:00
David Eriksson
2f82a5c573 Honor speech and subtitle toggles
svn-id: r12298
2004-01-10 15:53:51 +00:00
David Eriksson
102cf0254a - Honor speech and subtitle toggles
- Make text stay on screen longer

svn-id: r12297
2004-01-10 15:52:00 +00:00
David Eriksson
c13a04f570 - Must have either subtitles or speech
- Should not be possible to disable text on non-CD-ROM versions

svn-id: r12296
2004-01-10 15:48:13 +00:00
David Eriksson
f2e8f65cb0 Add test for CD-ROM version
svn-id: r12295
2004-01-10 15:46:02 +00:00
Gregory Montoir
9439e09e45 this should fix :
- minor sound glitch in room 50 (temple zombies)
- panel undisplayed at the end of cutaway c62c
- wrong dirty blocks in room 76
- Cutaway::_cutAnim is now a 21x30 elements array. This is needed for cutaway c69g, where we setup
  frames for bob num 20 (the original game uses the same value)
- Credits::_list is now a 18 elements array (that's what credits2.crd need)

svn-id: r12294
2004-01-10 12:56:07 +00:00
Gregory Montoir
657333aaf0 fix mouse pointer glitch occuring when exiting Debugger
svn-id: r12281
2004-01-09 15:14:15 +00:00
Gregory Montoir
634df6923d renamed some methods and moved some code to Display
svn-id: r12276
2004-01-09 13:36:37 +00:00
Gregory Montoir
c4e9d55acb minor Logic::initPerson() tweak
svn-id: r12270
2004-01-08 23:28:29 +00:00
Gregory Montoir
1b1ce1faf7 moved the remaining 'graphics' stuff from Logic to Graphics
svn-id: r12266
2004-01-08 22:46:42 +00:00
Gregory Montoir
370589dde5 cleanup, xref update
svn-id: r12256
2004-01-08 16:41:03 +00:00
Gregory Montoir
85f8b442f2 - new Grid class to handle all zones / areas stuff
- adapted Logic/Walk code to use it

svn-id: r12250
2004-01-08 14:10:32 +00:00
Gregory Montoir
74829245d9 mostly cleanup :
- moved main update() method to QueenEngine
- merged update() & checkPlayer()
- added a method in Logic class to handle the CUTAWAY_SPECIAL stuff
- Journal remembers last seen page
- no need to call loadPanel() to restore panel palette, use palSetPanel() instead

svn-id: r12240
2004-01-08 10:25:18 +00:00
Gregory Montoir
c46d2f0530 fix 'panel still displayed during dialogue' bug (this was noticeable when trying to bypass the floda receptionist)
svn-id: r12219
2004-01-07 15:46:45 +00:00
Gregory Montoir
272eb21287 - moved some Person/Anim code to Graphics
- some renaming

svn-id: r12218
2004-01-07 15:45:24 +00:00
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