Matthew Hoops
55e0efeb8f
Add support for CD Audio in Jones in the Fast Lane CD and KQ6 CD.
...
svn-id: r45367
2009-10-25 03:26:20 +00:00
Filippos Karapetis
452ae8a576
Cleanup
...
svn-id: r45366
2009-10-25 02:36:51 +00:00
Martin Kiewitz
701caea8d7
SCI: kAddToPic - abort when list is null reference (fixes qfg1 saved game loading on some screens)
...
svn-id: r45351
2009-10-23 20:41:59 +00:00
Filippos Karapetis
f0c4290287
Reset the graphics input after reconstructing game scripts. This fixes savegame loading in KQ4
...
svn-id: r45350
2009-10-23 20:10:51 +00:00
Martin Kiewitz
9c9181eed6
SCI: speed throttler moved to kGameIsRestarting for all games. Also made the delay shorter. sq3 now seems to work fine, kq1 also has animations and lsl5 mud wrestling is also working correctly.
...
svn-id: r45345
2009-10-23 11:25:48 +00:00
Martin Kiewitz
8e6291f7bb
SCI: kGameIsRestarting - implemented speed throttler in here for sci0/sci01 games, test only!
...
svn-id: r45342
2009-10-22 21:30:30 +00:00
Martin Kiewitz
12cdcea516
SCI: kAnimate disable throttler for SCI0 and SCI01 games cause of issues in at least kq1. temporary solution only!
...
svn-id: r45341
2009-10-22 21:19:03 +00:00
Filippos Karapetis
42068f5853
Cleanup
...
svn-id: r45337
2009-10-22 15:12:54 +00:00
Filippos Karapetis
512c9cae11
Fixed a crash when selecting menu items
...
svn-id: r45334
2009-10-22 09:36:46 +00:00
Filippos Karapetis
93517e7649
Applied a modified version of patch #2881486 - "Add volume changing to SCI"
...
svn-id: r45329
2009-10-22 07:18:37 +00:00
Filippos Karapetis
89febd360f
Cleanup
...
svn-id: r45323
2009-10-22 05:42:14 +00:00
Filippos Karapetis
1f4ad52c61
Moved the view loop counting code in the new GUI
...
svn-id: r45322
2009-10-22 05:41:50 +00:00
Filippos Karapetis
033910c6af
Removed the accidental inclusion of deprecated code for LSL5 - this has been superseded by commit 45297
...
svn-id: r45311
2009-10-21 19:23:37 +00:00
Filippos Karapetis
b105d690e3
- Removed kShow() and the related code it uses - it's a debugging function, and we have the same functionality in the debug console
...
- Merged the view signal flags from kernel.h and gui_animate.h, and named them appropriately. Also, updated the notes next to them, cause some were incorrectly marked as not used in our engine
- Added a note about a hack used in the old GUI in the view signal flags
- Moved the control state flags inside gui_helpers.h
svn-id: r45310
2009-10-21 19:19:03 +00:00
Filippos Karapetis
1e4e76af0f
Fixed self-intersecting pathfinding polygons in SQ1, room 66. This addresses the issue where Roger is able to walk anywhere on screen. However, there is still a separate issue in that room, which makes him stay stuck in one direction (like he's "moonwalking") and it only occurs in the new GUI
...
svn-id: r45307
2009-10-21 14:13:08 +00:00
Max Horn
1e8883dccc
SCI: Fix warning, and reformat a multi-line comment
...
svn-id: r45303
2009-10-21 10:00:08 +00:00
Filippos Karapetis
9785eca16b
Fixed the bug where ego would not walk properly after he's swapped in LSL5 (from Larry to Patti and vice versa)
...
svn-id: r45297
2009-10-21 08:28:39 +00:00
Martin Kiewitz
f2c6950983
SCI: kPalVary - pause
...
svn-id: r45292
2009-10-20 20:57:08 +00:00
Martin Kiewitz
35071a25b4
SCI: kPalVary basic
...
svn-id: r45287
2009-10-20 19:56:37 +00:00
Max Horn
4f69e0a753
SCI: Fix for _vocab_free_empty_rule_list
...
svn-id: r45278
2009-10-20 19:10:51 +00:00
Martin Kiewitz
1e1172af49
SCI/newgui: Changed kPalette(animate) and implemented setFlags/unsetFlags
...
svn-id: r45277
2009-10-20 18:45:46 +00:00
Max Horn
a60836c5ee
SCI: Fix _vocab_add_rule by re-adding the 'if' statement I accidentally removed in rev 45263
...
svn-id: r45275
2009-10-20 16:55:12 +00:00
Martin Kiewitz
907134076d
SCI/newgui: kPalette/animate - accidentally changed speed to uint16 in prev. revision although its signed
...
svn-id: r45274
2009-10-20 16:18:29 +00:00
Martin Kiewitz
361977e7ed
SCI/newgui: kPalette cleanup, preparing for sq5 paletteAnimate support
...
svn-id: r45273
2009-10-20 16:11:31 +00:00
Filippos Karapetis
55dd109653
Changed kAvoidPath() to always avoid screen edges, after talking with waltervn. Also, formatted the comments of the dijkstra() function
...
svn-id: r45272
2009-10-20 14:43:44 +00:00
Max Horn
255349b262
SCI: Fix for _vocab_add_rule (term was not being inited)
...
svn-id: r45263
2009-10-20 11:14:22 +00:00
Max Horn
86b81c8eb6
SCI: Fix warning about double being silently converted to int
...
svn-id: r45262
2009-10-20 11:14:04 +00:00
Filippos Karapetis
a88aa2f45f
- Fixed the pathfinding issue for LSL5 room 640, where Patti walks off-screen (we still need a proper way of detecting this, though...)
...
- Made warnings where invalid pointers are dereferenced more precise
svn-id: r45257
2009-10-20 10:08:28 +00:00
Max Horn
ebff7dbb1a
SCI: Oopify ParseRule/ParseRuleList stuff a bit more
...
svn-id: r45254
2009-10-19 22:15:10 +00:00
Max Horn
02837a3229
SCI: Cleanup the grammar/vocab code: Move defs from vocabulary.h to grammar.cpp where possible, turn comments into doxygen format etc.
...
svn-id: r45253
2009-10-19 22:13:51 +00:00
Martin Kiewitz
bf4cf09eec
SCI: kRandom behaviour fixed, fixes lsl5 patty random door code
...
svn-id: r45250
2009-10-19 19:38:42 +00:00
Filippos Karapetis
a4704352e4
Changed mapPointer() to accept a Common::Rect, thus removing the reference to gfx_widgets.h
...
svn-id: r45242
2009-10-19 09:56:11 +00:00
Martin Kiewitz
2f9d24f932
SCI: kDrawCel priority is signed
...
svn-id: r45239
2009-10-18 20:34:37 +00:00
Martin Kiewitz
c6d2086815
SCI: kDoSound typo fixed
...
svn-id: r45238
2009-10-18 20:33:02 +00:00
Martin Kiewitz
cdcd465a95
SCI: kDoSound doesnt reset nodePtr on fade anymore, fixes lsl5 endless music loop at patti exam scene
...
svn-id: r45237
2009-10-18 20:30:31 +00:00
Max Horn
9e64255bd1
SCI: Rename game_obj to _gameObj
...
svn-id: r45235
2009-10-18 19:43:27 +00:00
Max Horn
f3ab3051d8
SCI: Make the implicit segMan param to GET_SEL32(V) and PUT_SEL32(V) explicit
...
svn-id: r45234
2009-10-18 19:42:56 +00:00
Matthew Hoops
c8853f0cc0
Move the SeqDecoder to the Sci namespace, it makes more sense than Graphics because it's only used in Sci.
...
svn-id: r45230
2009-10-18 18:47:53 +00:00
Martin Kiewitz
2ab93510d3
SCI: cleanup text alignment
...
svn-id: r45224
2009-10-18 15:38:49 +00:00
Walter van Niftrik
b7b32cfe26
SCI: AvoidPath: skip polygons without vertices
...
svn-id: r45223
2009-10-18 14:35:36 +00:00
Filippos Karapetis
f5b7f85593
Removed unused references to operations.h
...
svn-id: r45217
2009-10-18 10:50:07 +00:00
Filippos Karapetis
a10929594d
Re-enabled the speed throttler for SCI1.1 games again, as disabling it makes CPU load spike up in some of them (e.g. LSL6). Added a workaround for the Sierra logo scene in QFG3, too
...
svn-id: r45215
2009-10-18 10:40:36 +00:00
Filippos Karapetis
6d5f1e4403
Added a sanity check in kStrAt()
...
svn-id: r45213
2009-10-18 10:39:10 +00:00
Filippos Karapetis
6dc95abcfa
Limited the speed throttler in kAnimate to work on SCI0-SCI1. SCI1.1 games seem to work fine without it, and disabling it removes the very long delay at the Sierra logo in QFG3
...
svn-id: r45211
2009-10-18 10:21:53 +00:00
Martin Kiewitz
b1c35d548d
SCI: kStrAt added fixme comment
...
svn-id: r45203
2009-10-17 21:22:27 +00:00
Willem Jan Palenstijn
a74fd21847
SCI: Fix delete/free mismatches
...
svn-id: r45196
2009-10-17 17:59:09 +00:00
Martin Kiewitz
b32cf088e2
SCI: kAnimate comment added about qfg3
...
svn-id: r45189
2009-10-17 14:45:05 +00:00
Filippos Karapetis
e4c23834dd
Moved sci_ffs() inside iterator.cpp, the only place where it's actually used, and removed tools.*. Also, removed all the unused includes to tools.h from several places
...
svn-id: r45176
2009-10-16 23:29:00 +00:00
Martin Kiewitz
2ada85b6cc
SCI: kAnimate now delays the first few calls less, otherwise sq3 will remove details graphicwise. Walter please check, if this creates a regression with lsl3.
...
svn-id: r45173
2009-10-16 18:46:18 +00:00
Filippos Karapetis
1d679723c3
Hide the mouse cursor when showing a video
...
svn-id: r45171
2009-10-16 18:16:23 +00:00