Commit Graph

71 Commits

Author SHA1 Message Date
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
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
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Gregory Montoir
5e413ceb5c - enabled debugger in QueenEngine::errorString
- initialise Cutaway::_personCount* when the Cutaway starts
- minor tweaks in BankManager

svn-id: r12163
2004-01-05 20:46:37 +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
Max Horn
d1e6c6059e renamed global var _debugLevel to g_debugLevel; let Engine constructor init it (this way all engines get it for free, allows further cleanup); removed some useless/duplicate member vars in SwordEngine
svn-id: r12134
2004-01-04 14:00:58 +00:00
Joost Peters
5f85df5ed6 Allow queen to use adlib driver as well (that was surprisingly easy :))
svn-id: r12100
2004-01-03 02:08:04 +00:00
Joost Peters
e5ba3b172e Tell adlib people they won't hear music
svn-id: r12089
2004-01-02 14:21:14 +00:00
Gregory Montoir
bd23a44f49 cleanup & follow code conventions
svn-id: r12019
2003-12-29 20:18:31 +00:00
Gregory Montoir
ffbfe8922a new debugging code, using Common::Debugger
svn-id: r11940
2003-12-26 12:58:27 +00:00
Max Horn
859a9c0129 o Added SoundMixer::isReady()
o Removed SoundMixer::bindToSystem()
o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady()

svn-id: r11893
2003-12-24 17:42:22 +00:00
Max Horn
f19f73eb50 Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)
svn-id: r11811
2003-12-21 15:29:52 +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
Joost Peters
1de28a2931 Initial (Roland) Music support; a lot of stuff is still missing and/or incomplete.
svn-id: r11621
2003-12-14 00:33:21 +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
Max Horn
35b62c294d removed GameSettings::detectname and GameSettings::midi; renamed GameSettings::gameName to name; added temporary experimental MD5 hack
svn-id: r11603
2003-12-13 00:20:01 +00:00
Max Horn
8f5c14aebe get rid of queencomp target (rather simply always check for both queen.1 and queen.1c); this allows some code simplification and gets rid of the last access to detector->_game in queen
svn-id: r11599
2003-12-12 15:29:58 +00:00
Gregory Montoir
c2be8ed45d constructors cleanup
svn-id: r11589
2003-12-11 22:16: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
191e7ae621 oops
svn-id: r11554
2003-12-10 15:37:57 +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
402b700a13 removed unused stuff
svn-id: r11484
2003-12-03 10:33:01 +00:00
Gregory Montoir
3befded402 cleanup header includes
svn-id: r11449
2003-12-01 20:48:41 +00:00
Max Horn
72eb8ccb89 Patch #847464: Remove spurious semicolons
svn-id: r11445
2003-12-01 09:58:55 +00:00
Gregory Montoir
577aad5edd cleanup
svn-id: r11438
2003-11-30 20:41:02 +00:00
Gregory Montoir
952f11fabc forget to update this
svn-id: r11300
2003-11-15 15:55:43 +00:00
David Eriksson
df34f99ef9 Fix needed for demos too.
svn-id: r11284
2003-11-13 12:27:48 +00:00
David Eriksson
ae75f49b46 Use constant for pinnacle room number.
svn-id: r11276
2003-11-13 08:18:52 +00:00
Gregory Montoir
d5a28b43de fix some bugs :
- 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-12 10:50:05 +00:00
Gregory Montoir
98d4b4cb31 hack for special french character
svn-id: r11250
2003-11-10 15:45:53 +00:00
David Eriksson
ff07a453e3 Make the fix like the original game instead.
svn-id: r11248
2003-11-10 12:32:46 +00:00
Max Horn
e34f2b8b33 cut down on unnecessary GameDetector references
svn-id: r11239
2003-11-10 01:04:12 +00:00
Joost Peters
b264f836fb Enable intro again
svn-id: r11234
2003-11-09 23:49:39 +00:00
Joost Peters
b64c6fcbfc Added (quick-)Saving/Loading
svn-id: r11230
2003-11-09 21:31:18 +00:00
Paweł Kołodziejski
8f130401a1 cleanup whitespaces
svn-id: r11224
2003-11-08 23:45:45 +00:00
David Eriksson
9e7402e14b Enable pinnacle room
svn-id: r11216
2003-11-08 21:02:25 +00:00
David Eriksson
3769398474 - Improved talking
- Lots of small fixes

svn-id: r11165
2003-11-06 21:06:01 +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
6a6644bac8 fix demo crash after introduction
svn-id: r11131
2003-11-04 19:51:31 +00:00
Gregory Montoir
f71d4e4df8 display PCGames splash screen for demo version
svn-id: r11127
2003-11-04 14:43:53 +00:00
Joost Peters
c4d5445b00 Add partial roomname enum
svn-id: r11085
2003-11-03 03:42:20 +00:00
David Eriksson
3ca74e5d4a Enable keys for panel commands.
svn-id: r11063
2003-11-02 20:42:36 +00:00
Gregory Montoir
561d4c09d8 use input->delay instead of system->delay
svn-id: r11035
2003-11-01 21:20:36 +00:00
Gregory Montoir
d1ff236f3c use Command class
svn-id: r11017
2003-10-31 13:47:28 +00:00
Max Horn
53db0a8a07 cleanup: removed version/id from GameSettings
svn-id: r10995
2003-10-28 17:07:25 +00:00
Torbjörn Andersson
dc2dd831e9 Only free _logic once.
svn-id: r10955
2003-10-24 15:29:52 +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
Joost Peters
5bcf5a901e add Sound class + call it from Talk::speakSegment
svn-id: r10933
2003-10-21 12:29:37 +00:00