Commit Graph

121 Commits

Author SHA1 Message Date
Gregory Montoir
9c317c95c3 sync queen engine with latest OSystem changes
svn-id: r15871
2004-11-23 21:51:30 +00:00
Gregory Montoir
b33f7b4b76 plugged some memory leaks
svn-id: r15591
2004-10-17 19:00:09 +00:00
Gregory Montoir
648b7b1e57 cleanup ; follow the code conventions
svn-id: r15476
2004-10-08 18:43:24 +00:00
Gregory Montoir
e681049e56 merged FRAMES_JOE and FRAMES_JOE_XTRA
svn-id: r15398
2004-10-03 21:34:39 +00:00
Joost Peters
33e613b5c7 Proper fix for bug #884712
svn-id: r12635
2004-01-27 16:56:11 +00:00
Gregory Montoir
ff43b1f8d5 - fixed bug #880415 (only setup bam scene after all _vm->update() calls)
- constness

svn-id: r12564
2004-01-20 21:58:26 +00:00
Gregory Montoir
3c521dc288 rewritten Logic::setupJoeInRoom(), in order to only get objectData(_entryObj) when necessary
svn-id: r12434
2004-01-16 15:03:52 +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
95de2117a2 New save/load code, this *breaks* compatiblity with the previous
savefile format. Use the 'qsc' tool to convert your old files
(http://0x.7fc1.org/fotaq/qsc.[cpp|exe]).

svn-id: r12339
2004-01-12 13:40:02 +00:00
Gregory Montoir
a6d1540d49 turned Logic::useJournal() into a virtual method
svn-id: r12336
2004-01-12 09:40:57 +00:00
Gregory Montoir
6dc8407297 cleanup
svn-id: r12318
2004-01-11 14:11:36 +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
c4e9d55acb minor Logic::initPerson() tweak
svn-id: r12270
2004-01-08 23:28:29 +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
370589dde5 cleanup, xref update
svn-id: r12256
2004-01-08 16:41:03 +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
74829245d9 mostly cleanup :
- 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-08 10:25:18 +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
Gregory Montoir
74e588b854 - minor cleanup in Person/Actor stuff
- 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 20:00:46 +00:00
Gregory Montoir
e90f846df9 - enabled debugger in QueenEngine::errorString
- initialise Cutaway::_personCount* when the Cutaway starts
- minor tweaks in BankManager

svn-id: r12185
2004-01-06 16:53:35 +00:00
Gregory Montoir
ceda8aec02 moved animation stuff to Graphics class
svn-id: r12182
2004-01-06 14:21:50 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
David Eriksson
c21e5d797c At last - credits!
svn-id: r12155
2004-01-05 11:58:20 +00:00
Gregory Montoir
5b97c9308d minor rewrite of some asm funcs
svn-id: r12088
2004-01-02 14:17:42 +00:00
Gregory Montoir
42c5524a02 interview mini-game support
svn-id: r12037
2003-12-30 21:06:22 +00:00
Gregory Montoir
d91b30c933 minor cleanup & add playSong() calls in Logic::handlePinnacleRoom
svn-id: r12031
2003-12-30 10:46:05 +00:00
Gregory Montoir
865797cbee - revise the way special moves are handled (demo and interview don't need a table)
- slighlty modified some asm funcs which could let the game in fast mode
- minor cleanup

svn-id: r12018
2003-12-29 20:17:43 +00:00
Gregory Montoir
df1ba69e4f more 'preparation' for interview and minor tweaks for demo
svn-id: r12016
2003-12-29 16:35:08 +00:00
Gregory Montoir
5bbb3be159 enable alternative introduction
svn-id: r11959
2003-12-27 12:58:26 +00:00
Gregory Montoir
ffbfe8922a new debugging code, using Common::Debugger
svn-id: r11940
2003-12-26 12:58:27 +00:00
Gregory Montoir
33ca6ecfa5 some code to play the 'room background sfx' (equivalent to sfxplay(NULLstr))
svn-id: r11786
2003-12-20 16:54:46 +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
577ea51c10 cleanup
svn-id: r11579
2003-12-11 10:24:27 +00:00
Gregory Montoir
ae33806802 centralize all State related stuff
svn-id: r11577
2003-12-11 10:03:35 +00:00
Gregory Montoir
a53d2c99f5 get rid of GameConfig, use ConfigurationManager
svn-id: r11555
2003-12-10 20:13:25 +00:00
Gregory Montoir
ed2baf283e - moved QueenEngine::roomChanged to Logic and enabled call from Cutaway code (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-10 15:36:44 +00:00
Gregory Montoir
d947a6ea77 cleanup, split Cutaway::specialMove() into several methods ; this should allow us minor changes in order to support different/other special moves (demo, interview)
svn-id: r11552
2003-12-10 14:19:04 +00:00
Gregory Montoir
e19909d3e3 cleanup, s/abs/ABS/g
svn-id: r11501
2003-12-05 13:56:07 +00:00
Gregory Montoir
498260f063 cleanup
svn-id: r11494
2003-12-04 13:21:26 +00:00
Gregory Montoir
b6c01b8c73 - hard coded cutaway stuff for boat room
- 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-03 20:53:59 +00:00
Gregory Montoir
894360920b fix klunk scene glitches
svn-id: r11486
2003-12-03 13:00:56 +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
3befded402 cleanup header includes
svn-id: r11449
2003-12-01 20:48:41 +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