Commit Graph

74 Commits

Author SHA1 Message Date
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Gregory Montoir
a44e824815 added some comments and re-indented some parts of code
svn-id: r16394
2004-12-31 00:25:18 +00:00
Gregory Montoir
648b7b1e57 cleanup ; follow the code conventions
svn-id: r15476
2004-10-08 18:43:24 +00:00
Gregory Montoir
4fef6d8972 fix for bug #928549.
Animations on objects/persons setup by cutaways can still be played after the end of the cutscene. (the only ?) one room in which this is reproducable is the first time you talk to the Oracle (first c44, then c47).

As a Cutaway object is created for each cutscene, the _cutAnim member should be moved to an more "persistant" object.
Otherwise we're reading data from free'd memory...

svn-id: r13488
2004-04-06 20:15:19 +00:00
Chris Apers
6e1200dc67 Added PalmOS support
svn-id: r13336
2004-03-17 14:10:51 +00:00
Gregory Montoir
ec5f7b87c6 cleanup (removed irrevelant comments and useless XXX'ed code)
svn-id: r13214
2004-03-07 10:46:02 +00:00
Gregory Montoir
356bed1de9 Fixed arrow dialogue glitches (partial display) in non-english versions. This was due to a (wrong) blitting order of the bobs, arrows are now the last ones.
svn-id: r12959
2004-02-21 08:52:25 +00:00
Gregory Montoir
82e005fe5a use BobSlot::clear instead of Graphics::clearBob
svn-id: r12580
2004-01-23 10:34:57 +00:00
Gregory Montoir
99e3175d54 (slightly) less hackish bounding box code
svn-id: r12576
2004-01-22 22:28:57 +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
392940e7dd re-use BobFrame
svn-id: r12526
2004-01-19 21:47:20 +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
6dc8407297 cleanup
svn-id: r12318
2004-01-11 14:11:36 +00:00
Gregory Montoir
3d1c883970 workaround for final room sound issues
svn-id: r12302
2004-01-10 16:23:34 +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
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
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
Gregory Montoir
d62d44d29c simplified room switching code a bit
svn-id: r12165
2004-01-06 09:29:33 +00:00
Gregory Montoir
232a709fd4 added a class to manage banks, Queen::Graphics cleanup
svn-id: r12157
2004-01-05 13:40:28 +00:00
Gregory Montoir
143b5bea80 - added code to only redraw changed blocks in order to avoid full screen refresh
- minor code cleanup in Graphics/Display

svn-id: r12147
2004-01-04 20:25:21 +00:00
Gregory Montoir
b7a5d97207 put all 'bam' related stuff in a class and allow load/save during a 'bam' scene
svn-id: r11759
2003-12-19 09:22:20 +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
894360920b fix klunk scene glitches
svn-id: r11486
2003-12-03 13:00:56 +00:00
Gregory Montoir
1706fefb6e cleanup
svn-id: r11453
2003-12-01 22:36:39 +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
Gregory Montoir
2f444d2a07 fix some animation issues
svn-id: r11380
2003-11-26 23:03:21 +00:00
Gregory Montoir
ddc2e736fb use enum instead of define (purely cosmetic)
svn-id: r11374
2003-11-26 20:41:54 +00:00
Gregory Montoir
f0f0b0143b fix 'chasing car disappearing for a frame' issue
svn-id: r11320
2003-11-17 09:19:36 +00:00
Gregory Montoir
308b5de8a6 fix some bugs :
- 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-15 15:44:50 +00:00
Gregory Montoir
f4dc977839 add bob parallax stuff for room 74 (carbam)
svn-id: r11197
2003-11-07 16:44:13 +00:00
David Eriksson
c524a58197 The more I implement, the more I need to implement.
- More cutaway code
- More dialogue code
Hint: Let the last intro cutaway finish if you don't want Joe to get stuck.

svn-id: r11160
2003-11-06 08:44:33 +00:00
Gregory Montoir
885fd48a66 rename Queen::GameSettings to Queen::GameConfig
svn-id: r11031
2003-11-01 20:45:45 +00:00
Gregory Montoir
b24bb81695 cleanup Graphics / populate BobSlot
svn-id: r10961
2003-10-25 09:12:18 +00:00
David Eriksson
ad98347eb0 Initial version of the Input class. Some things still missing.
svn-id: r10944
2003-10-23 06:44:35 +00:00
David Eriksson
4e5a40f013 Correct string animation.
svn-id: r10931
2003-10-21 12:07:33 +00:00
Gregory Montoir
78f8733180 fix missing thugs & Hugh during intro + smoother scrolling + flashspecial (sm37)
svn-id: r10914
2003-10-20 12:30:34 +00:00
Gregory Montoir
769f033b00 Logic::anim / BobSlot cleanup
svn-id: r10909
2003-10-20 08:34:48 +00:00
Gregory Montoir
e25bda32ec minor cleanup / comments update
svn-id: r10908
2003-10-19 18:52:28 +00:00
Gregory Montoir
26aa6c9087 fix truck intro problem
svn-id: r10901
2003-10-18 19:40:11 +00:00
Gregory Montoir
eadf6356d3 fix bob clipping errors
svn-id: r10899
2003-10-18 17:12:50 +00:00
David Eriksson
2a5c965283 Improved the 'special moves' for intro cutaway (but the thugs must be
hiding behind some crate...)

svn-id: r10897
2003-10-18 16:19:36 +00:00