Commit Graph

89 Commits

Author SHA1 Message Date
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
Gregory Montoir
7bd31d615c change sscanf() calls to atoi() to please PalmOS :)
svn-id: r12582
2004-01-23 16:58:13 +00:00
Gregory Montoir
99e3175d54 (slightly) less hackish bounding box code
svn-id: r12576
2004-01-22 22:28:57 +00:00
Gregory Montoir
15a5fd20a3 fix 'conversation options still displayed after hitting esc' bug (noticeable in plane when speaking to Sparky)
svn-id: r12565
2004-01-20 22:35:53 +00:00
Gregory Montoir
99500a0112 - removed noisy warning in talk code
- set _entryObj only if verb is WALK_TO
- changed setConditions code in Command::openOrCloseAssociatedObject to be
  consistent with Command::setConditions ; this isn't like the original, but
  more logical to me.

svn-id: r12441
2004-01-16 20:26:30 +00:00
Gregory Montoir
770d94b607 some assert() calls
svn-id: r12435
2004-01-16 15:51:23 +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
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
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
David Eriksson
5d50f01b2f Text position for talking heads.
svn-id: r12300
2004-01-10 16:03:41 +00:00
David Eriksson
2f82a5c573 Honor speech and subtitle toggles
svn-id: r12298
2004-01-10 15:53:51 +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
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
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
232a709fd4 added a class to manage banks, Queen::Graphics cleanup
svn-id: r12157
2004-01-05 13:40:28 +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
Gregory Montoir
42c5524a02 interview mini-game support
svn-id: r12037
2003-12-30 21:06:22 +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
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
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
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
3174cef127 merged Logic::joeGrab & Logic::joeGrabDirection and removed speed argument as it always equals 0
svn-id: r11582
2003-12-11 13:26:13 +00:00
Gregory Montoir
ae33806802 centralize all State related stuff
svn-id: r11577
2003-12-11 10:03: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
e943ee3785 make Joe say something when trying to speak to a mute object/person
svn-id: r11518
2003-12-06 13:12:52 +00:00
Gregory Montoir
e19909d3e3 cleanup, s/abs/ABS/g
svn-id: r11501
2003-12-05 13:56:07 +00:00
Gregory Montoir
98b5f37143 handle 'talking heads' slighlty differently
svn-id: r11495
2003-12-04 13:21: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
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
2f444d2a07 fix some animation issues
svn-id: r11380
2003-11-26 23:03:21 +00:00
Gregory Montoir
07a9638d77 fix 'anderson replying twice the same sentence before taking off' issue
svn-id: r11362
2003-11-24 19:22:52 +00:00
David Eriksson
0a8c06f17e Play correct sound for initial talk second time we talk to someone.
svn-id: r11304
2003-11-15 21:58:44 +00:00
David Eriksson
b938b63ddf - Talk clean-up
- Make it possible to quit a dialogue

svn-id: r11302
2003-11-15 21:16:01 +00:00
David Eriksson
4f97603c9c Correctly set hasTalkedTo.
svn-id: r11301
2003-11-15 20:04:59 +00:00
Gregory Montoir
308b5de8a6 fix some bugs :
- right-clicking on inventory item doesn't execute default action
- unapplied room light level when Joe enters a room
- updated comment in roomDisplay on palette fading problem
- during dialogue, invalid mouse-overs (added enum for joeWalk flag too)

preparing Journal stuff :
- add a (almost useless) useJournal method to Logic
- removed useless code in Graphics, as it should (and could) be easily re-written in a more OO way

svn-id: r11299
2003-11-15 15:44:50 +00:00
Gregory Montoir
730fd27a19 rewitten fullscreen/panel switching code
svn-id: r11296
2003-11-14 14:35:52 +00:00
Gregory Montoir
2f6a249970 fix 'Skip handing over the comic to Joe' issue
svn-id: r11286
2003-11-13 14:10:15 +00:00
David Eriksson
428ebd6568 Just debug messages and comment stuff
svn-id: r11282
2003-11-13 11:47:04 +00:00