aboutsummaryrefslogtreecommitdiff
path: root/queen/logic.cpp
AgeCommit message (Collapse)Author
2003-12-29cleanupGregory Montoir
svn-id: r12024
2003-12-29only call Logic::executeSpecialMove if asm > 0Gregory Montoir
svn-id: r12023
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 & use BobSlot::curPos() when possibleGregory Montoir
svn-id: r12020
2003-12-29- revise the way special moves are handled (demo and interview don't need a ↵Gregory Montoir
table) - slighlty modified some asm funcs which could let the game in fast mode - minor cleanup svn-id: r12018
2003-12-29more 'preparation' for interview and minor tweaks for demoGregory Montoir
svn-id: r12016
2003-12-28cleanup Resource class a bit :Gregory Montoir
- re-use some methods to read the resource table (normal / compressed) - removed _gameVersion member as we can do without it (and is mostly useless in case of a compressed data file) ; now, we use the 'JAS version string' as it is sufficient to detect if the game is a floppy version / demo etc. - const'ness - tweaked checkJASVersion() for interview mini game removed (useless) dirty hack in Logic::changeRoom() to setup initial scene in demos (pclogo.cut doesn't exist at all !) svn-id: r11998
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-27enable alternative introductionGregory Montoir
svn-id: r11959
2003-12-26enable original screen blankersGregory Montoir
svn-id: r11944
2003-12-26new debugging code, using Common::DebuggerGregory Montoir
svn-id: r11940
2003-12-20some code to play the 'room background sfx' (equivalent to sfxplay(NULLstr))Gregory Montoir
svn-id: r11786
2003-12-19put all 'bam' related stuff in a class and allow load/save during a 'bam' sceneGregory Montoir
svn-id: r11759
2003-12-15clear command text in pinnacle room when there is no valid place under the ↵Gregory Montoir
cursor svn-id: r11652
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-11cleanupGregory Montoir
svn-id: r11579
2003-12-11centralize all State related stuffGregory Montoir
svn-id: r11577
2003-12-10oopsGregory Montoir
svn-id: r11556
2003-12-10get rid of GameConfig, use ConfigurationManagerGregory Montoir
svn-id: r11555
2003-12-10- moved QueenEngine::roomChanged to Logic and enabled call from Cutaway code ↵Gregory Montoir
(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-10cleanup, split Cutaway::specialMove() into several methods ; this should ↵Gregory Montoir
allow us minor changes in order to support different/other special moves (demo, interview) svn-id: r11552
2003-12-06- handle person bank number hack slighlty differently (fix it when loading, ↵Gregory Montoir
not in personSetData) - remove some useless checks as there are no invalid bob numbers in actor data - minor cleanups in Area svn-id: r11520
2003-12-05- fix Joe scaling issue when switching from room 51 to 47 (temple)Gregory Montoir
- add remaining fadein() call in cutaway, pinnacle room is ok now - add 2 macros to 'clarify' some room tests - some cleanup svn-id: r11502
2003-12-05cleanup, s/abs/ABS/gGregory Montoir
svn-id: r11501
2003-12-04cleanupGregory Montoir
svn-id: r11494
2003-12-03- hard coded cutaway stuff for boat roomGregory Montoir
- 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-03fix klunk scene glitchesGregory Montoir
svn-id: r11486
2003-12-03new room/gamestate constantsGregory Montoir
svn-id: r11483
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-12-01cleanup header includesGregory Montoir
svn-id: r11449
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-26oopsGregory Montoir
svn-id: r11381
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-16fix 'wrong Joe position when switching from hotel basement to lobby' issueGregory Montoir
svn-id: r11313
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
2003-11-15- Talk clean-upDavid Eriksson
- Make it possible to quit a dialogue svn-id: r11302