aboutsummaryrefslogtreecommitdiff
path: root/queen/logic.cpp
AgeCommit message (Collapse)Author
2004-02-01init _joe.walk (valgrind warning)Joost Peters
svn-id: r12701
2004-01-27Proper fix for bug #884712Joost Peters
svn-id: r12635
2004-01-25Seperate SFX and Speech.Joost Peters
this fixes the 'pauses' in the car-chase scene and other scene which use speech and sfx simultaneously. svn-id: r12599
2004-01-22(slightly) less hackish bounding box codeGregory Montoir
svn-id: r12576
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-20- fixed bug #880415 (only setup bam scene after all _vm->update() calls)Gregory Montoir
- constness svn-id: r12564
2004-01-19*temporary* fix for LineReader to handle files not terminated by an empty ↵Gregory Montoir
string (*.crd) svn-id: r12527
2004-01-16some assert() callsGregory Montoir
svn-id: r12435
2004-01-16rewritten Logic::setupJoeInRoom(), in order to only get ↵Gregory Montoir
objectData(_entryObj) when necessary svn-id: r12434
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-12New save/load code, this *breaks* compatiblity with the previousGregory Montoir
savefile format. Use the 'qsc' tool to convert your old files (http://0x.7fc1.org/fotaq/qsc.[cpp|exe]). svn-id: r12339
2004-01-12oopsGregory Montoir
svn-id: r12337
2004-01-12turned Logic::useJournal() into a virtual methodGregory Montoir
svn-id: r12336
2004-01-12fixes compilation for our *cough* favourite *cough**cough* compiler: MSVC!Joost Peters
svn-id: r12331
2004-01-11minor display code changesGregory Montoir
svn-id: r12323
2004-01-11cleanupGregory Montoir
svn-id: r12318
2004-01-11- stop voice when skipping dialogueJoost Peters
- scroll 4 inventory items when right-clicking svn-id: r12314
2004-01-09renamed some methods and moved some code to DisplayGregory Montoir
svn-id: r12276
2004-01-08minor Logic::initPerson() tweakGregory Montoir
svn-id: r12270
2004-01-08moved the remaining 'graphics' stuff from Logic to GraphicsGregory Montoir
svn-id: r12266
2004-01-08cleanup, xref updateGregory Montoir
svn-id: r12256
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-08mostly cleanup :Gregory Montoir
- moved main update() method to QueenEngine - merged update() & checkPlayer() - added a method in Logic class to handle the CUTAWAY_SPECIAL stuff - Journal remembers last seen page - no need to call loadPanel() to restore panel palette, use palSetPanel() instead svn-id: r12240
2004-01-07- moved some Person/Anim code to GraphicsGregory Montoir
- some renaming svn-id: r12218
2004-01-06- minor cleanup in Person/Actor stuffGregory Montoir
- minor tweak in Graphics::bobSetText() from previous commit (message was erroneous) : - moved config stuff to QueenEngine - added 3 Logic subclasses to handle the specific parts of each game version (demo, intv...) svn-id: r12195
2004-01-06- enabled debugger in QueenEngine::errorStringGregory Montoir
- initialise Cutaway::_personCount* when the Cutaway starts - minor tweaks in BankManager svn-id: r12185
2004-01-06moved animation stuff to Graphics classGregory Montoir
svn-id: r12182
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-06simplified room switching code a bitGregory Montoir
svn-id: r12165
2004-01-05added a class to manage banks, Queen::Graphics cleanupGregory Montoir
svn-id: r12157
2004-01-05At last - credits!David Eriksson
svn-id: r12155
2004-01-04- added code to only redraw changed blocks in order to avoid full screen refreshGregory Montoir
- minor code cleanup in Graphics/Display svn-id: r12147
2004-01-02minor rewrite of some asm funcsGregory Montoir
svn-id: r12088
2003-12-30acessing _numGraphics'th element of GraphicData array is safeGregory Montoir
svn-id: r12046
2003-12-30interview mini-game supportGregory Montoir
svn-id: r12037
2003-12-30minor cleanup & add playSong() calls in Logic::handlePinnacleRoomGregory Montoir
svn-id: r12031
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