Commit Graph

83 Commits

Author SHA1 Message Date
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
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
e19909d3e3 cleanup, s/abs/ABS/g
svn-id: r11501
2003-12-05 13:56:07 +00:00
Gregory Montoir
498260f063 cleanup
svn-id: r11494
2003-12-04 13:21:26 +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
2592184788 - some Command code refactoring (removed unused code, splitted some methods)
- game is now playable up to floda basement (at least)

svn-id: r11477
2003-12-02 16:49: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
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
7cbb485907 preliminary journal implementation ; this should allow to save/load game state and somewhat configure sound/speech stuff
svn-id: r11370
2003-11-26 13:53:17 +00:00
Joost Peters
f979f185af - Enabled missing calls to _sound->playSong, now it should *really* play all SFX
- Moved sound/music related toggle variables to Sound class
- Changed "Couldn't find file.." warning() to debug(7, ..)

svn-id: r11303
2003-11-15 21:33:04 +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
David Eriksson
ff07a453e3 Make the fix like the original game instead.
svn-id: r11248
2003-11-10 12:32:46 +00:00
Joost Peters
b64c6fcbfc Added (quick-)Saving/Loading
svn-id: r11230
2003-11-09 21:31:18 +00:00
Gregory Montoir
c9feb712bc enable (some of) the original debug passwords
svn-id: r11227
2003-11-09 20:50:03 +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
f243b50215 Start/stop scenes - fixes missing panel.
svn-id: r11205
2003-11-08 11:32:32 +00:00
Gregory Montoir
f4dc977839 add bob parallax stuff for room 74 (carbam)
svn-id: r11197
2003-11-07 16:44:13 +00:00
David Eriksson
3769398474 - Improved talking
- Lots of small fixes

svn-id: r11165
2003-11-06 21:06:01 +00:00
David Eriksson
bd23b7dce0 Do not allow invalid room numbers.
svn-id: r11164
2003-11-06 17:54:59 +00:00
David Eriksson
d3936b616c Validate room number
svn-id: r11162
2003-11-06 15:26:44 +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
b06e50dfa5 preliminary R_MAP implementation
svn-id: r11125
2003-11-04 13:51:36 +00:00
Gregory Montoir
ca9638e4f6 cleanup
svn-id: r11108
2003-11-03 19:52:14 +00:00
Gregory Montoir
c4404baa45 cleanup/remaining Walk cutaway calls
svn-id: r11056
2003-11-02 16:47:31 +00:00
Joost Peters
70a1d43815 add missing inventory functions
svn-id: r11051
2003-11-02 14:49:51 +00:00
Gregory Montoir
885fd48a66 rename Queen::GameSettings to Queen::GameConfig
svn-id: r11031
2003-11-01 20:45:45 +00:00
Gregory Montoir
d1ff236f3c use Command class
svn-id: r11017
2003-10-31 13:47:28 +00:00
Gregory Montoir
d8ffcaf340 new Verb class
svn-id: r11010
2003-10-30 10:56:38 +00:00
Gregory Montoir
24acd21da4 only one RandomSource for the engine
svn-id: r11004
2003-10-29 13:06:10 +00:00
Gregory Montoir
26a873a2e4 more stuff for future Command class
svn-id: r10987
2003-10-27 15:00:25 +00:00
Gregory Montoir
2a139049d6 cleanup, add comments
svn-id: r10977
2003-10-26 13:54:26 +00:00
Gregory Montoir
060300339e add some methods to Logic for future Command class
svn-id: r10965
2003-10-25 20:26:50 +00:00
Gregory Montoir
0b5da13ffe added GameSettings class + FIND_VERB implementation
svn-id: r10960
2003-10-25 09:11:35 +00:00
Gregory Montoir
d2dff9dd8d misc fixes/tweaks
svn-id: r10954
2003-10-24 08:55:13 +00:00
Gregory Montoir
00e2ee13ff move state related methods to specific class + minor changes
svn-id: r10951
2003-10-23 18:46:04 +00:00
Gregory Montoir
2a42fe77bf minor changes for future Command class
svn-id: r10949
2003-10-23 08:09:49 +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
Joost Peters
5bcf5a901e add Sound class + call it from Talk::speakSegment
svn-id: r10933
2003-10-21 12:29:37 +00:00
Gregory Montoir
4e2ffd8d9e WALK, GRAB_JOE, GRAB_DIR, USE_UNDERWEAR, USE_DRESS and USE_CLOTHES implementations
svn-id: r10924
2003-10-21 09:05:16 +00:00
Gregory Montoir
769f033b00 Logic::anim / BobSlot cleanup
svn-id: r10909
2003-10-20 08:34:48 +00:00
Gregory Montoir
e25bda32ec minor cleanup / comments update
svn-id: r10908
2003-10-19 18:52:28 +00:00
David Eriksson
57dc2067c1 Special actions for cdint.cut
svn-id: r10895
2003-10-18 14:01:43 +00:00
David Eriksson
7f6c294a1e Play all intro cutaways (some better than others... :-)
svn-id: r10833
2003-10-16 19:40:29 +00:00