2190 Commits

Author SHA1 Message Date
Martin Kiewitz
f2c6950983 SCI: kPalVary - pause
svn-id: r45292
2009-10-20 20:57:08 +00:00
Martin Kiewitz
9e864ff95b SCI/newgui: textedit control also changed to draw text like sierra sci
svn-id: r45289
2009-10-20 20:12:50 +00:00
Martin Kiewitz
d7ce8440ba SCI/newgui: Listbox control now draws text up one pixel, so that it matches sierra sci
svn-id: r45288
2009-10-20 20:08:33 +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
Martin Kiewitz
53e08b32e8 SCI/newgui: kDisplay fixed so text centering will work correctly (based on sierra sci disassembly) - fixes kq5 credits, lb2 intro selection
svn-id: r45264
2009-10-20 12:00:37 +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
7b8bc76453 SCI/newgui: old cursor uses now hardcoded white, fixes cursor color changing in lsl5
svn-id: r45251
2009-10-19 19:58:10 +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
Martin Kiewitz
86c8bb6bbf SCI/newgui: SciGuiPicture - fix drawing of mirrored embedded cel-data in vectordata (fixes lsl5 scene)
svn-id: r45249
2009-10-19 18:06:33 +00:00
Martin Kiewitz
9e8473de8a SCI/newgui: kAnimate comment changed on fastCast
svn-id: r45245
2009-10-19 14:40:48 +00:00
Filippos Karapetis
c1e7191bc9 Made the check for global var 84 more generic (checking for the fastCast object)
svn-id: r45244
2009-10-19 14:33:48 +00:00
Martin Kiewitz
4ac5e35125 SCI/newgui: kAnimate support for globalVar 84 in kq5 to fix cels drawn into talking boxes
svn-id: r45243
2009-10-19 13:26:13 +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
Max Horn
2bbf708dea Introduced new type Common::DisposeAfterUse::Flag
svn-id: r45233
2009-10-18 19:41:59 +00:00
Martin Kiewitz
64861f1e40 SCI/newgui: kDisplay fixme comment added for kq5 credits
svn-id: r45232
2009-10-18 19:29:50 +00:00
Filippos Karapetis
32810a30b5 Mark an old change made for SQ4 in updateMultiSong() in rev. #39347 as a workaround
svn-id: r45231
2009-10-18 19:07:22 +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
Johannes Schickel
4b06d7be8b Remove unused variable.
svn-id: r45225
2009-10-18 16:44:14 +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
Martin Kiewitz
dc1637b6fb SCI/newgui: Window manager cleanup
svn-id: r45222
2009-10-18 13:47:42 +00:00
Martin Kiewitz
0fd3a2f842 SCI/newgui: listbox now finally working correctly
svn-id: r45220
2009-10-18 12:44:51 +00:00
Martin Kiewitz
783198941e SCI/newgui: Transitions workaround for lsl6 (till we find out what lsl6 sierra sci really does), fixes menu not drawn to screen
svn-id: r45218
2009-10-18 11:44:17 +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
Martin Kiewitz
cdf6ea603f SCI/newgui: kDrawStatus now does BitsShow() a little earlier, so rect wont get messed up by oldPort (fixes status bar in qfg1ega, etc.)
svn-id: r45214
2009-10-18 10:39:50 +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
Filippos Karapetis
7fed4643e2 Removed the obsolete and bitrotted testing code for the old SCI GUI
svn-id: r45206
2009-10-17 22:00:33 +00:00
Filippos Karapetis
3f3a166e66 Removed obsolete/resolved FIXME
svn-id: r45205
2009-10-17 21:56:40 +00:00
Willem Jan Palenstijn
bc8cf7e98d SCI: Add FIXME
svn-id: r45204
2009-10-17 21:54:44 +00:00
Martin Kiewitz
b1c35d548d SCI: kStrAt added fixme comment
svn-id: r45203
2009-10-17 21:22:27 +00:00
Martin Kiewitz
0af29fa746 SCI/newgui: kDisplay restoreUnder completed
svn-id: r45202
2009-10-17 21:11:56 +00:00
Martin Kiewitz
d807d259b9 SCI/newgui: SciGuiAnimate::updateScreen() completed
svn-id: r45201
2009-10-17 20:42:19 +00:00
Martin Kiewitz
b66d989554 SCI/newgui: setup default transition, also dont setup transition if no transition-number was given by caller
svn-id: r45199
2009-10-17 19:46:27 +00:00