119 Commits

Author SHA1 Message Date
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
Gregory Montoir
894360920b fix klunk scene glitches
svn-id: r11486
2003-12-03 13:00:56 +00:00
Gregory Montoir
3befded402 cleanup header includes
svn-id: r11449
2003-12-01 20:48:41 +00:00
Gregory Montoir
577aad5edd cleanup
svn-id: r11438
2003-11-30 20:41:02 +00:00
Gregory Montoir
9c6e5ce50a - speak correct sentence when object is not usable
- some hardcoded stuff for rooms 69 & 108
- handle CUTJOEF

svn-id: r11383
2003-11-27 13:49:00 +00:00
Gregory Montoir
2f444d2a07 fix some animation issues
svn-id: r11380
2003-11-26 23:03:21 +00:00
Gregory Montoir
28ac3d653d add a wrapper for Talk::speak in Logic that clears current command
svn-id: r11379
2003-11-26 21:46:29 +00:00
Gregory Montoir
871c4f8342 rename some methods (purely cosmetic) and fix some walking problems when closing Journal screen
svn-id: r11373
2003-11-26 20:40:43 +00:00
Gregory Montoir
1b77e5c41f fix some demo-related bugs :
- lola disappearing under the shower
- wrong frame used when Joe uses the sheet rope (changed some conditions to match the ones in the original source)

the english demo versions (PCGames & normal) seem now to be completable without any graphical glitches ; only the sound/music and 'end message' are missing

svn-id: r11325
2003-11-17 19:55:17 +00:00
Gregory Montoir
eed9a5d9ce restart person animations at the end of a cutaway (this enables Sparky to animate again after giving Joe his file)
svn-id: r11322
2003-11-17 13:31:00 +00:00