aboutsummaryrefslogtreecommitdiff
path: root/queen/logic.cpp
AgeCommit message (Collapse)Author
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
2003-11-15fix some bugs :Gregory Montoir
- 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-14fix 'wrong background when talking to Faye inside the plane' issueGregory Montoir
svn-id: r11297
2003-11-14rewitten fullscreen/panel switching codeGregory Montoir
svn-id: r11296
2003-11-13According to the original source code, the journal has a different ID inDavid Eriksson
the demos, but when actually running the demos I get a banana instead of a journal... so let's use the same ID as in the real game. svn-id: r11285
2003-11-13fix amazon/shower issue outside templeGregory Montoir
svn-id: r11280
2003-11-13fix some bugs :Gregory Montoir
- grayed panel disappearing during cutaway - canceling joe walk before switching to another room svn-id: r11277
2003-11-12fix some bugs :Gregory Montoir
- 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-10fix some bugs :Gregory Montoir
- bettle not disappearing when caught - wrong Joe position when switching rooms - bellboy dispappearing after spoken to him (partially fixed) svn-id: r11249
2003-11-10Return mouse cursor and panel after cutaway.David Eriksson
svn-id: r11247
2003-11-09fix small leakJoost Peters
svn-id: r11231
2003-11-09Added (quick-)Saving/LoadingJoost Peters
svn-id: r11230
2003-11-09enable (some of) the original debug passwordsGregory Montoir
svn-id: r11227
2003-11-09Moved _talkSelected to Logic.David Eriksson
svn-id: r11226
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11224
2003-11-08fix bad animation string at amazon entrance roomGregory Montoir
svn-id: r11222
2003-11-08fix dufflebag problemGregory Montoir
svn-id: r11208
2003-11-08Start/stop scenes - fixes missing panel.David Eriksson
svn-id: r11205