74 Commits

Author SHA1 Message Date
Gregory Montoir
8f6ae7973e patch #910779 (with minor tweaks), fotaq hebrew support :
- reversed button captions in journal
- reversed command text in pinnacle room
- reverse order of lines in dialogue chooser

thanks Ori Avtalion !

svn-id: r13447
2004-04-03 17:58:58 +00:00
Gregory Montoir
e8dde78b9d prevent journal from reappearing when F1 is pressed more than once
svn-id: r13272
2004-03-14 13:26:01 +00:00
Gregory Montoir
911f77637a fixed inventory scrolling using keyboard
svn-id: r13265
2004-03-14 00:53:24 +00:00
Gregory Montoir
ec5f7b87c6 cleanup (removed irrevelant comments and useless XXX'ed code)
svn-id: r13214
2004-03-07 10:46:02 +00:00
Gregory Montoir
56102a1d02 forgot to change that, too
svn-id: r13086
2004-02-28 09:02:43 +00:00
Gregory Montoir
bc0199a3f1 dropped the 'always' verb feature, as it is more confusing than useful
svn-id: r13084
2004-02-28 08:52:53 +00:00
Joost Peters
bf0d58fe89 Applied patch #896726 (reversed hebrew text) and reduced overhead a little by introducing an _isReversed boolean
svn-id: r12860
2004-02-13 22:33:21 +00:00
Gregory Montoir
46f25d440f use BobSlot::clear instead of Graphics::clearBob
svn-id: r12578
2004-01-23 10:27:30 +00:00
Gregory Montoir
2d7f1b9d0f clear user input before entering Journal (no more load problems occuring when journal is started as joe is about to do sthg)
svn-id: r12568
2004-01-21 22:04:39 +00:00
Gregory Montoir
05c71be222 redundant check
svn-id: r12442
2004-01-16 20:48:08 +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
899843443f it seems entryObj can be <0, check for it
svn-id: r12433
2004-01-16 14:15:44 +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
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