Commit Graph
60 Commits
Author SHA1 Message Date
Gregory Montoir b218cb93fe cleanup
svn-id: r12378
2004-01-14 10:40:25 +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
Gregory Montoir 3be8219bd9 cleanup
svn-id: r12312
2004-01-10 22:31:41 +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 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 272eb21287 - moved some Person/Anim code to Graphics
- some renaming

svn-id: r12218
2004-01-07 15:45:24 +00:00
Max Horn 033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +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 bd23a44f49 cleanup & follow code conventions
svn-id: r12019
2003-12-29 20:18:31 +00:00
Gregory Montoir 2548df9cf8 cleanup
svn-id: r12003
2003-12-28 21:18:03 +00:00
Joost Peters effc207b69 - added 'song' debugger command
- restore music after loading game
- fix for bug in Roland Floda Corridor music
- added LE struct reading methods (and renamed the old BE ones) for future compatibility with original DOS savegames

svn-id: r11985
2003-12-28 01:17:29 +00:00
Gregory Montoir eb090ed5a6 cleanup
svn-id: r11651
2003-12-15 12:59:43 +00:00
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