Commit Graph

67 Commits

Author SHA1 Message Date
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
David Eriksson
d655603005 Small talk fixes.
There is some bug with the body action.

svn-id: r11279
2003-11-13 09:51:49 +00:00
Gregory Montoir
9d89fe2b49 fix the skipped initial talk to floda receptionist
svn-id: r11270
2003-11-12 21:22:14 +00:00
Gregory Montoir
d5a28b43de fix some bugs :
- panel not grayed when playing a cutaway
- command text still displayed when playing a cutaway
- panel drawing glitch on pinnacle room exit
- text color on the dialogue choices not updated

svn-id: r11267
2003-11-12 10:50:05 +00:00
Gregory Montoir
72d9199022 fix some bugs :
- bettle not disappearing when caught
- wrong Joe position when switching rooms
- bellboy dispappearing after spoken to him (partially fixed)

svn-id: r11249
2003-11-10 14:06:55 +00:00
David Eriksson
79f84425dd Moved _talkSelected to Logic.
svn-id: r11226
2003-11-09 14:16:46 +00:00
Paweł Kołodziejski
8f130401a1 cleanup whitespaces
svn-id: r11224
2003-11-08 23:45:45 +00:00
David Eriksson
0908b794ec Show mouse cursor in dialogue.
svn-id: r11215
2003-11-08 21:00:11 +00:00
David Eriksson
e9eb92e201 Small fixes.
svn-id: r11189
2003-11-07 14:05:45 +00:00
Joost Peters
709c326276 Don't try to speak NULL strings, this fixes atleast 1 crash. (looking out the hotel window)
svn-id: r11173
2003-11-07 00:54:41 +00:00
David Eriksson
3769398474 - Improved talking
- Lots of small fixes

svn-id: r11165
2003-11-06 21:06:01 +00:00
David Eriksson
c524a58197 The more I implement, the more I need to implement.
- More cutaway code
- More dialogue code
Hint: Let the last intro cutaway finish if you don't want Joe to get stuck.

svn-id: r11160
2003-11-06 08:44:33 +00:00
Gregory Montoir
d8ffcaf340 new Verb class
svn-id: r11010
2003-10-30 10:56:38 +00:00
David Eriksson
5813950a83 A commit that has it all:
- Bug fixes
- Refactoring
- New code

svn-id: r11007
2003-10-29 21:04:12 +00:00
Gregory Montoir
24acd21da4 only one RandomSource for the engine
svn-id: r11004
2003-10-29 13:06:10 +00:00
Joost Peters
e02fe63f2e added loadFileMalloc() method
svn-id: r10988
2003-10-28 12:42:35 +00:00
Joost Peters
6fc0cd7913 whatever
svn-id: r10959
2003-10-25 01:11:14 +00:00
David Eriksson
7772adbe1e Make it possible to quit cutaways!
svn-id: r10952
2003-10-23 18:50:47 +00:00
David Eriksson
ad98347eb0 Initial version of the Input class. Some things still missing.
svn-id: r10944
2003-10-23 06:44:35 +00:00
David Eriksson
3cff930d8f Disable debug message
svn-id: r10935
2003-10-21 13:17:11 +00:00
Joost Peters
5bcf5a901e add Sound class + call it from Talk::speakSegment
svn-id: r10933
2003-10-21 12:29:37 +00:00
David Eriksson
7897eeac10 Do it right this time.
svn-id: r10906
2003-10-19 11:55:55 +00:00
David Eriksson
e3d236def0 Probably play right voice at the right time now.
svn-id: r10905
2003-10-19 11:51:41 +00:00