Commit graph

102 commits

Author SHA1 Message Date
Gregory Montoir
79f235ef26 minor cleanup
svn-id: r14484
2004-08-06 11:28:33 +00:00
Gregory Montoir
4fef6d8972 fix for bug #928549.
Animations on objects/persons setup by cutaways can still be played after the end of the cutscene. (the only ?) one room in which this is reproducable is the first time you talk to the Oracle (first c44, then c47).

As a Cutaway object is created for each cutscene, the _cutAnim member should be moved to an more "persistant" object.
Otherwise we're reading data from free'd memory...

svn-id: r13488
2004-04-06 20:15:19 +00:00
Gregory Montoir
da0c6e41d3 minor cleanup
svn-id: r13340
2004-03-18 21:53:49 +00:00
Chris Apers
6e1200dc67 Added PalmOS support
svn-id: r13336
2004-03-17 14:10:51 +00:00
Gregory Montoir
ec5f7b87c6 cleanup (removed irrevelant comments and useless XXX'ed code)
svn-id: r13214
2004-03-07 10:46:02 +00:00
Joost Peters
6e50033d07 I am an idiot.
Better fix for bug #899881 (Sounds played when sound turned off) - I forgot I added the isSpeech flag a while back. :)

svn-id: r12976
2004-02-21 20:50:56 +00:00
Joost Peters
0301ccc8a8 Fix for bug #899881 (Sounds played when sound turned off)
svn-id: r12975
2004-02-21 20:20:35 +00:00
Gregory Montoir
356bed1de9 Fixed arrow dialogue glitches (partial display) in non-english versions. This was due to a (wrong) blitting order of the bobs, arrows are now the last ones.
svn-id: r12959
2004-02-21 08:52:25 +00:00
Joost Peters
bf0d58fe89 Applied patch #896726 (reversed hebrew text) and reduced overhead a little by introducing an _isReversed boolean
svn-id: r12860
2004-02-13 22:33:21 +00:00
Joost Peters
33e613b5c7 Proper fix for bug #884712
svn-id: r12635
2004-01-27 16:56:11 +00:00
Joost Peters
0d974b9daa Seperate SFX and Speech.
this fixes the 'pauses' in the car-chase scene and other scene which use
speech and sfx simultaneously.

svn-id: r12599
2004-01-25 22:10:23 +00:00
Gregory Montoir
7bd31d615c change sscanf() calls to atoi() to please PalmOS :)
svn-id: r12582
2004-01-23 16:58:13 +00:00
Gregory Montoir
82e005fe5a use BobSlot::clear instead of Graphics::clearBob
svn-id: r12580
2004-01-23 10:34:57 +00:00
Gregory Montoir
99e3175d54 (slightly) less hackish bounding box code
svn-id: r12576
2004-01-22 22:28:57 +00:00
Gregory Montoir
ff43b1f8d5 - fixed bug #880415 (only setup bam scene after all _vm->update() calls)
- constness

svn-id: r12564
2004-01-20 21:58:26 +00:00
Gregory Montoir
392940e7dd re-use BobFrame
svn-id: r12526
2004-01-19 21:47:20 +00:00
Paweł Kołodziejski
afa3ceb07f fix warning
svn-id: r12500
2004-01-18 20:29:00 +00:00
Gregory Montoir
391f4e92e5 reset _lastSoundIndex in car animation too
svn-id: r12409
2004-01-15 13:08:24 +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
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
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
3be8219bd9 cleanup
svn-id: r12312
2004-01-10 22:31:41 +00:00
Gregory Montoir
3d1c883970 workaround for final room sound issues
svn-id: r12302
2004-01-10 16:23:34 +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
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
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
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
Gregory Montoir
c7965a7a04 minor rewrite of screenblanker code
svn-id: r12086
2004-01-02 14:15:45 +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
bd23a44f49 cleanup & follow code conventions
svn-id: r12019
2003-12-29 20:18:31 +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
33ca6ecfa5 some code to play the 'room background sfx' (equivalent to sfxplay(NULLstr))
svn-id: r11786
2003-12-20 16:54:46 +00:00
Gregory Montoir
b7a5d97207 put all 'bam' related stuff in a class and allow load/save during a 'bam' scene
svn-id: r11759
2003-12-19 09:22:20 +00:00
Gregory Montoir
c2be8ed45d constructors cleanup
svn-id: r11589
2003-12-11 22:16:35 +00:00
Gregory Montoir
894360920b fix klunk scene glitches
svn-id: r11486
2003-12-03 13:00:56 +00:00
Gregory Montoir
3ccce8da35 new room/gamestate constants
svn-id: r11483
2003-12-03 10:32:12 +00:00
Gregory Montoir
1706fefb6e cleanup
svn-id: r11453
2003-12-01 22:36:39 +00:00