Commit Graph

13378 Commits

Author SHA1 Message Date
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
2df38ec61e LURE: Turn HotspotTickHandlers into a proper class; convert static vars in various of its methods to member vars
svn-id: r45285
2009-10-20 19:51:57 +00:00
Max Horn
6d9cb7ab14 SWORD2: Turned static vars in Logic::fnISpeak into member vars of class Logic
svn-id: r45284
2009-10-20 19:51:32 +00:00
Max Horn
91ba886e01 TINSEL: Move Common::List instances mouseButtons & keypresses into TinselEngine.
Global C++ objects are not portable, as their constructors / destructors may
never be called.

svn-id: r45283
2009-10-20 19:12:54 +00:00
Max Horn
c5c12130f5 SWORD2: Resolve FIXME about weird static var 'k' in Router::smoothCheck
svn-id: r45282
2009-10-20 19:12:31 +00:00
Max Horn
774eefe688 SWORD2: Resolve FIXME about static var 'left' in Router::slidyWalkAnimator
svn-id: r45281
2009-10-20 19:12:08 +00:00
Max Horn
b935f0119a SWORD1: Resolve FIXME about weird static var 'left' in Router::slidyWalkAnimator
svn-id: r45280
2009-10-20 19:11:46 +00:00
Max Horn
08fb97ee59 SWORD1: Resolve FIXME about weird static var 'k' in Router::smoothCheck
svn-id: r45279
2009-10-20 19:11:22 +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
Florian Kagerer
1fb02d2c4b LOL/PC-98: fixed glitch in text displayer
svn-id: r45276
2009-10-20 18:34:12 +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
8870b5dbbf TINSEL: Fix apparent bug (?) in the support for the 5 flags version(s)
svn-id: r45271
2009-10-20 14:07:27 +00:00
Max Horn
774183ddce TINSEL: Make lots of stuff in dialogs.cpp static
svn-id: r45270
2009-10-20 14:06:40 +00:00
Max Horn
00822d5661 TINSEL: Move BMV player code into a new BMVPlayer class
svn-id: r45269
2009-10-20 14:06:17 +00:00
Max Horn
5b514a9bd1 TINSEL: Start cleanup BMV code
svn-id: r45268
2009-10-20 14:05:35 +00:00
Max Horn
95c572c8b9 AGI: Cleanup AgiEngine::agiSprintf
svn-id: r45267
2009-10-20 12:23:21 +00:00
Max Horn
66fae7bc8a AGI: Change g_useChorus to SoundMgr::_useChorus, and add FIXME comment about it always being true (so maybe it can be removed?)
svn-id: r45266
2009-10-20 12:22:30 +00:00
Max Horn
5ce23633e2 AGI: Oopify LZW decoder
svn-id: r45265
2009-10-20 12:21:43 +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
Max Horn
3a1495f247 AGI: Make scancodeTable const
svn-id: r45261
2009-10-20 11:13:42 +00:00
Max Horn
3fe7363d40 AGI: cleanup GfxMgr::testButton
svn-id: r45260
2009-10-20 11:13:22 +00:00
Max Horn
50435d6bae AGI: Turn g_tickTimer & g_mouse into members of class AgiEngine resp. AgiBase
svn-id: r45259
2009-10-20 11:13:00 +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
c0f6657797 AGI: cleanup
svn-id: r45256
2009-10-19 22:52:01 +00:00
Max Horn
03953bf292 AGI: Remove some global vars
svn-id: r45255
2009-10-19 22:51:37 +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
Florian Kagerer
557f32cdb1 LOL/PC-98: match vaelan's cube behaviour with original code
svn-id: r45252
2009-10-19 21:27:39 +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
Johannes Schickel
2824e302ba Move LOL sub engine enabled check inside the KYRA check.
svn-id: r45246
2009-10-19 16:06:32 +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
Torbjörn Andersson
22116b488e Fixed cppcheck warning.
svn-id: r45241
2009-10-19 04:19: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