Gregory Montoir
8b2f43f2bd
re-enable keyboard commands
...
svn-id: r11641
2003-12-14 21:39:52 +00:00
Gregory Montoir
e1c21c2d8c
don't call Command::changeObjectState() on items
...
svn-id: r11639
2003-12-14 20:24:29 +00:00
Gregory Montoir
cbcca65d06
add check before accessing ObjectData (only for safety)
...
svn-id: r11634
2003-12-14 14:47:00 +00:00
Gregory Montoir
32d044d302
some refactoring in Command code (removed/commented unused code, renamed some methods)
...
svn-id: r11619
2003-12-13 20:05:28 +00:00
Gregory Montoir
c3c55a457c
cleanup
...
svn-id: r11600
2003-12-12 20:26:20 +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
38c4321f59
cleanup
...
svn-id: r11588
2003-12-11 21:04:02 +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
31411c9fc2
minor cleanup, reuse some data from intervie.exe
...
svn-id: r11519
2003-12-06 13:13:13 +00:00
Gregory Montoir
07ba3cfabc
fix problem in opening/closing doors
...
svn-id: r11485
2003-12-03 10:33:14 +00:00
Gregory Montoir
a15fa0302a
fix a potiental journal issue
...
svn-id: r11478
2003-12-02 19:58:31 +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
03e70632b2
fix bug in command code, letting a failed command being executed
...
svn-id: r11452
2003-12-01 22:16:31 +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
a297899508
clear current command *in* Command class (not logic)
...
svn-id: r11376
2003-11-26 21:08:36 +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
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
Gregory Montoir
5c04293c93
fix 'gorilla becoming invisible' issue (this was due to the missing CLEAR_COMMAND call in SPEAK/TALK ; for now, added a Command::clear before each 'sensible' Talk::* call)
...
svn-id: r11352
2003-11-20 09:38:54 +00:00
Torbjörn Andersson
ab066c41e0
Fixed warning
...
svn-id: r11308
2003-11-16 14:12:53 +00:00
Gregory Montoir
587f2d7177
fix song playafter/playbefore type issue
...
svn-id: r11307
2003-11-16 11:17:35 +00:00
Gregory Montoir
74d8b6ef28
fix some bugs :
...
- Joe being unable to grab oil during carbam scene (walking bug, when dest_pt == orig_pt)
- wrong Joe facing direction when opening plane door
updated handlePinnacleRoom() comment
svn-id: r11306
2003-11-16 10:47:31 +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
ef1595b2a9
fix a problem in talk/command interaction (maybe that also fix the floda receptionist crash...)
...
svn-id: r11287
2003-11-13 16:17:11 +00:00
Gregory Montoir
35cdf26ba6
fix some bugs :
...
- grayed panel disappearing during cutaway
- canceling joe walk before switching to another room
svn-id: r11277
2003-11-13 09:30:49 +00:00
David Eriksson
6e8d22db35
Clear command text before talking.
...
svn-id: r11274
2003-11-13 08:17:40 +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
Paweł Kołodziejski
8f130401a1
cleanup whitespaces
...
svn-id: r11224
2003-11-08 23:45:45 +00:00
Gregory Montoir
31b5146528
fix dufflebag problem
...
svn-id: r11208
2003-11-08 16:36:54 +00:00
David Eriksson
3769398474
- Improved talking
...
- Lots of small fixes
svn-id: r11165
2003-11-06 21:06:01 +00:00
David Eriksson
0f98be649b
Clean-up
...
svn-id: r11161
2003-11-06 08:53:09 +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
85c409dce9
minor changes
...
svn-id: r11147
2003-11-05 10:09:54 +00:00
Gregory Montoir
b06e50dfa5
preliminary R_MAP implementation
...
svn-id: r11125
2003-11-04 13:51:36 +00:00
Gregory Montoir
d85757987e
oops
...
svn-id: r11111
2003-11-03 20:48:27 +00:00
Gregory Montoir
ca9638e4f6
cleanup
...
svn-id: r11108
2003-11-03 19:52:14 +00:00
Gregory Montoir
ac47dbeee8
cleanup / enable cutaway calls
...
svn-id: r11090
2003-11-03 14:47:22 +00:00
Gregory Montoir
3ed8601f64
fix locking verb crash
...
svn-id: r11054
2003-11-02 16:46:12 +00:00
Gregory Montoir
23188d5188
initial version of Command class
...
svn-id: r11016
2003-10-31 13:46:45 +00:00