aboutsummaryrefslogtreecommitdiff
path: root/queen/command.cpp
AgeCommit message (Collapse)Author
2004-01-23use BobSlot::clear instead of Graphics::clearBobGregory Montoir
svn-id: r12578
2004-01-21clear user input before entering Journal (no more load problems occuring ↵Gregory Montoir
when journal is started as joe is about to do sthg) svn-id: r12568
2004-01-16redundant checkGregory Montoir
svn-id: r12442
2004-01-16- removed noisy warning in talk codeGregory Montoir
- 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-16some assert() callsGregory Montoir
svn-id: r12435
2004-01-16it seems entryObj can be <0, check for itGregory Montoir
svn-id: r12433
2004-01-14- tweaked a bit walking functions to make persons stop walking when a ↵Gregory Montoir
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-14cleanupGregory Montoir
svn-id: r12378
2004-01-13- wrong sentence was spoken when Joe was trying to 'pick up' a personGregory Montoir
- clear command before switching rooms - clear texts at the end of cutaway (fix minor glitch in interview intro) svn-id: r12361
2004-01-11cleanupGregory Montoir
svn-id: r12318
2004-01-10cleanupGregory Montoir
svn-id: r12312
2004-01-10this should fix :Gregory Montoir
- 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-09renamed some methods and moved some code to DisplayGregory Montoir
svn-id: r12276
2004-01-08moved the remaining 'graphics' stuff from Logic to GraphicsGregory Montoir
svn-id: r12266
2004-01-08- new Grid class to handle all zones / areas stuffGregory Montoir
- adapted Logic/Walk code to use it svn-id: r12250
2004-01-07- moved some Person/Anim code to GraphicsGregory Montoir
- some renaming svn-id: r12218
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-30interview mini-game supportGregory Montoir
svn-id: r12037
2003-12-29mass debuglevel change for less verbosity (0 -> 6)Joost Peters
importance/relevance has to be decided on an individual basis, if needed, later on svn-id: r12021
2003-12-29cleanup & follow code conventionsGregory Montoir
svn-id: r12019
2003-12-28cleanupGregory Montoir
svn-id: r12003
2003-12-28- added 'song' debugger commandJoost Peters
- 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-15cleanupGregory Montoir
svn-id: r11651
2003-12-14re-enable keyboard commandsGregory Montoir
svn-id: r11641
2003-12-14don't call Command::changeObjectState() on itemsGregory Montoir
svn-id: r11639
2003-12-14add check before accessing ObjectData (only for safety)Gregory Montoir
svn-id: r11634
2003-12-13some refactoring in Command code (removed/commented unused code, renamed ↵Gregory Montoir
some methods) svn-id: r11619
2003-12-12cleanupGregory Montoir
svn-id: r11600
2003-12-12get rid of Verb classGregory Montoir
svn-id: r11594
2003-12-11constructors cleanupGregory Montoir
svn-id: r11589
2003-12-11cleanupGregory Montoir
svn-id: r11588
2003-12-11merged Logic::joeGrab & Logic::joeGrabDirection and removed speed argument ↵Gregory Montoir
as it always equals 0 svn-id: r11582
2003-12-11centralize all State related stuffGregory Montoir
svn-id: r11577
2003-12-06minor cleanup, reuse some data from intervie.exeGregory Montoir
svn-id: r11519
2003-12-03fix problem in opening/closing doorsGregory Montoir
svn-id: r11485
2003-12-02fix a potiental journal issueGregory Montoir
svn-id: r11478
2003-12-02- some Command code refactoring (removed unused code, splitted some methods)Gregory Montoir
- game is now playable up to floda basement (at least) svn-id: r11477
2003-12-01fix bug in command code, letting a failed command being executedGregory Montoir
svn-id: r11452
2003-11-30cleanupGregory Montoir
svn-id: r11438
2003-11-27- speak correct sentence when object is not usableGregory Montoir
- some hardcoded stuff for rooms 69 & 108 - handle CUTJOEF svn-id: r11383
2003-11-26fix some animation issuesGregory Montoir
svn-id: r11380
2003-11-26add a wrapper for Talk::speak in Logic that clears current commandGregory Montoir
svn-id: r11379
2003-11-26clear current command *in* Command class (not logic)Gregory Montoir
svn-id: r11376
2003-11-26rename some methods (purely cosmetic) and fix some walking problems when ↵Gregory Montoir
closing Journal screen svn-id: r11373
2003-11-26preliminary journal implementation ; this should allow to save/load game ↵Gregory Montoir
state and somewhat configure sound/speech stuff svn-id: r11370
2003-11-20fix 'gorilla becoming invisible' issue (this was due to the missing ↵Gregory Montoir
CLEAR_COMMAND call in SPEAK/TALK ; for now, added a Command::clear before each 'sensible' Talk::* call) svn-id: r11352
2003-11-16Fixed warningTorbjörn Andersson
svn-id: r11308
2003-11-16fix song playafter/playbefore type issueGregory Montoir
svn-id: r11307
2003-11-16fix some bugs :Gregory Montoir
- 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-15- Enabled missing calls to _sound->playSong, now it should *really* play all SFXJoost Peters
- Moved sound/music related toggle variables to Sound class - Changed "Couldn't find file.." warning() to debug(7, ..) svn-id: r11303