128 Commits

Author SHA1 Message Date
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
Joost Peters
1f1c929cae Fix for bug #921681 - clear _quickSave when exiting cutaways
svn-id: r13376
2004-03-23 23:47:01 +00:00
Nicolas Bacca
52642e4123 Fix #922003 - FOTAQ crash on PocketPC
svn-id: r13372
2004-03-23 20:34:19 +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
bb0ed8bc81 Handle comic book case, enable music toggle and some minor cleanup.
svn-id: r13074
2004-02-27 23:54:13 +00:00
Joost Peters
239275c608 remove outdated TODOs
svn-id: r12658
2004-01-28 13:13:58 +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
Travis Howell
a5f45c0323 Change debug level
svn-id: r12593
2004-01-25 14:21:37 +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
Joost Peters
c78bab1c62 AFAICT this is only used for caching in the original, which we don't care much about - seeing how rarely it's used.
svn-id: r12531
2004-01-20 01:13:07 +00:00
Gregory Montoir
993fba68f1 prevents bank re-loading (cutaways animations)
svn-id: r12524
2004-01-19 21:38:07 +00:00
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
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
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
6dc8407297 cleanup
svn-id: r12318
2004-01-11 14:11:36 +00:00
David Eriksson
aab4e7a011 Correct previous fix :-)
svn-id: r12301
2004-01-10 16:13:21 +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
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
634df6923d renamed some methods and moved some code to Display
svn-id: r12276
2004-01-09 13:36:37 +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
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
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
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
bb77917c7f only call Logic::executeSpecialMove if asm > 0
svn-id: r12023
2003-12-29 21:31:02 +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
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
fef457ed0e get rid of Verb class
svn-id: r11594
2003-12-12 10:33:34 +00:00
Gregory Montoir
c2be8ed45d constructors cleanup
svn-id: r11589
2003-12-11 22:16:35 +00:00
Gregory Montoir
a53d2c99f5 get rid of GameConfig, use ConfigurationManager
svn-id: r11555
2003-12-10 20:13:25 +00:00
Gregory Montoir
ed2baf283e - moved QueenEngine::roomChanged to Logic and enabled call from Cutaway code (this fixes the 2 irons bars being displayed at the end of c39a.cut)
- moved my 'panel being hidden after the head room display' fix
- fix problem in joeCutFacing / joeFacing in cutaway code

svn-id: r11553
2003-12-10 15:36:44 +00:00
Gregory Montoir
d947a6ea77 cleanup, split Cutaway::specialMove() into several methods ; this should allow us minor changes in order to support different/other special moves (demo, interview)
svn-id: r11552
2003-12-10 14:19:04 +00:00
Gregory Montoir
671b98b0cf (temporary) fix for cutaway_41f / command_0x178 graphical glitches
svn-id: r11526
2003-12-07 15:19:00 +00:00
Gregory Montoir
31411c9fc2 minor cleanup, reuse some data from intervie.exe
svn-id: r11519
2003-12-06 13:13:13 +00:00
Gregory Montoir
472045d578 - fix Joe scaling issue when switching from room 51 to 47 (temple)
- add remaining fadein() call in cutaway, pinnacle room is ok now
- add 2 macros to 'clarify' some room tests
- some cleanup

svn-id: r11502
2003-12-05 20:16:32 +00:00
Gregory Montoir
e19909d3e3 cleanup, s/abs/ABS/g
svn-id: r11501
2003-12-05 13:56:07 +00:00
Gregory Montoir
5b83ecbf67 special moves 14, 25, 27, 29, 30, 33
svn-id: r11493
2003-12-04 10:54:43 +00:00
Gregory Montoir
b6c01b8c73 - hard coded cutaway stuff for boat room
- hard coded cutaway and talk oracle stuff
- scale Joe during cutaway when changing rooms
- special moves 20 & 24 (temple room 100)
- special move 15 (valley room 67)
- special move 26 (c69g.CUT)
- (game is now completable up to final fight scene)

svn-id: r11491
2003-12-03 20:53:59 +00:00
Gregory Montoir
62e1d88fef whitespaces/tab
svn-id: r11489
2003-12-03 14:52:05 +00:00
Gregory Montoir
5bfbb9e954 remaining stuff for Azura/Floda
svn-id: r11487
2003-12-03 14:09:37 +00:00