Commit Graph

39 Commits

Author SHA1 Message Date
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
45d8b3b002 Rewrote the way strings are extracting from the datafiles, now it should be 'alignment safe'. Maybe it will fix bugs #923570 and #1013886, too.
svn-id: r14734
2004-08-24 16:31:46 +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
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
b1141ae717 bumped Cutaway::_personFace array size, as during intro Cutaway::_personFaceCount max value is 12
svn-id: r12388
2004-01-14 15:51:54 +00:00
Gregory Montoir
9439e09e45 this should fix :
- minor sound glitch in room 50 (temple zombies)
- panel undisplayed at the end of cutaway c62c
- wrong dirty blocks in room 76
- Cutaway::_cutAnim is now a 21x30 elements array. This is needed for cutaway c69g, where we setup
  frames for bob num 20 (the original game uses the same value)
- Credits::_list is now a 18 elements array (that's what credits2.crd need)

svn-id: r12294
2004-01-10 12:56:07 +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
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Gregory Montoir
c2be8ed45d constructors cleanup
svn-id: r11589
2003-12-11 22:16:35 +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
3befded402 cleanup header includes
svn-id: r11449
2003-12-01 20:48:41 +00:00
David Eriksson
2a71ac0dc8 Minor fixes.
svn-id: r11185
2003-11-07 10:57:21 +00:00
David Eriksson
9282408794 Bug fix for non-quittable cutaways.
svn-id: r11166
2003-11-06 21:15:35 +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
d1ff236f3c use Command class
svn-id: r11017
2003-10-31 13:47:28 +00:00
David Eriksson
7772adbe1e Make it possible to quit cutaways!
svn-id: r10952
2003-10-23 18:50:47 +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
3bd08fd482 - Add some missing speech
- Disable debug messages

svn-id: r10936
2003-10-21 13:18:02 +00:00
Joost Peters
5bcf5a901e add Sound class + call it from Talk::speakSegment
svn-id: r10933
2003-10-21 12:29:37 +00:00
David Eriksson
1744ba3441 - Better handling of complex animations
- Special action: scale title

svn-id: r10932
2003-10-21 12:13:56 +00:00
David Eriksson
b7f01db3f7 Added scaling of objects in cutaways.
svn-id: r10904
2003-10-19 11:41:24 +00:00
David Eriksson
3e1e888c07 - currentImage stuff
- create correct voice file prefix

svn-id: r10903
2003-10-19 11:01:23 +00:00
David Eriksson
d2e65e35e9 Handle cutaway text.
svn-id: r10892
2003-10-18 12:48:05 +00:00
David Eriksson
de37ee0c3e - Fix some cutaway crashes
- Implement more cutaway animation

svn-id: r10890
2003-10-18 11:46:52 +00:00
David Eriksson
65883950d8 Make the aeroplane fly (and Joe too... I wonder what he smoked.)
svn-id: r10889
2003-10-18 10:58:10 +00:00
Jamieson Christian
1f941c822c Make enums public. Fixes MSVC erros with enum usage in member structs
svn-id: r10870
2003-10-17 16:42:10 +00:00
David Eriksson
233e33cf78 - Use Logic::roomRefreshObject() in Cutaway
- Fix tiny bugs in Logic::roomRefreshObject()

svn-id: r10812
2003-10-15 10:01:54 +00:00
David Eriksson
83bf2f0e17 - Make Cutaway use Walk object from Logic
- Added talkSpeed to Logic
- Some more Talk code

svn-id: r10810
2003-10-15 09:23:05 +00:00
David Eriksson
a1dfb5863e Working nicely with personMove disabled!
svn-id: r10798
2003-10-14 12:37:07 +00:00
David Eriksson
ba281b251a - Integrate with Joost's and Gregory's latest implementations.
- Implement more...

svn-id: r10771
2003-10-12 19:16:48 +00:00
David Eriksson
1f9497cb1f Get Graphics object as parameter too.
svn-id: r10719
2003-10-10 13:01:14 +00:00
David Eriksson
c001e4357b - Add Talk class and begin to use it from Cutaway class
- Move getString() helper function to Talk class

svn-id: r10654
2003-10-07 03:58:44 +00:00
Joost Peters
36ed0b1d3c renamed classes (we have our own namespace now) + fixed segfault in logic
svn-id: r10618
2003-10-05 16:07:07 +00:00
Max Horn
8fb8ea48ec namespace Queen
svn-id: r10575
2003-10-03 19:47:41 +00:00
David Eriksson
4a19ca4e34 Use struct and not array for objectData.
svn-id: r10565
2003-10-03 12:55:11 +00:00
David Eriksson
27db410dfa Quite a bit more implemented on cutaway.
svn-id: r10536
2003-10-02 11:07:43 +00:00
David Eriksson
3e437e4f32 Added initial version of QueenCutaway class.
svn-id: r10526
2003-10-01 17:57:09 +00:00