Commit Graph

2070 Commits

Author SHA1 Message Date
Martin Kiewitz
c45efbe9ab SCI/newgui: dont react on paletteSet when playing an EGA game (fixes Xmas card EGA)
svn-id: r45363
2009-10-24 19:47:53 +00:00
Martin Kiewitz
8551e6cfe3 SCI/newgui: support for EGA mapping in SCI1 games, fixes qfg2 character selection
svn-id: r45362
2009-10-24 19:29:06 +00:00
Willem Jan Palenstijn
4a3ebce699 SCI: Restore accumulator after executing send from debugger
svn-id: r45360
2009-10-24 13:26:12 +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
bed7206ee3 SCI/newgui: fixed EGA palette code in SciGuiPicture so that palettes 1+ get applied correctly (fixes qfg1 nighttime)
svn-id: r45348
2009-10-23 19:08:32 +00:00
Martin Kiewitz
8fa9f9b0ee SCI/newgui: Priority band (old gfx) now gets correctly initialized, fixes kq4 intro logo
svn-id: r45347
2009-10-23 18:05:14 +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
Martin Kiewitz
4095d92a5e SCI/newgui: make cursor left work in textedit control. some wip changes, because i need to backlevel
svn-id: r45340
2009-10-22 21:04:45 +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
8f0e47e671 Fixed signed/unsigned issues with the property() function of the Adlib driver
svn-id: r45332
2009-10-22 08:55:54 +00:00
Filippos Karapetis
a1c23f4487 Added the rest of the detection entries from bug report #2612718 and removed some extra whitespace
svn-id: r45331
2009-10-22 08:46:34 +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
Martin Kiewitz
e3d03ce22b SCI/newgui: kAnimate added comment about fastCast
svn-id: r45315
2009-10-21 21:07:21 +00:00
Martin Kiewitz
fd9a062452 SCI/newgui: kAnimate - fastCast change (again)
svn-id: r45314
2009-10-21 20:57:42 +00:00
Filippos Karapetis
8f8af8a19b Make the check for global variable 84 inside SciGuiAnimate::invoke() simpler and faster
svn-id: r45313
2009-10-21 20:25:05 +00:00
Filippos Karapetis
4f58d91309 Fixed animations in LSL1VGA again
svn-id: r45312
2009-10-21 20:10:23 +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
Martin Kiewitz
95cefe311c SCI/newgui: kAnimate - now reads out signal again in .dispose loop, just in case. Currently there is no issue known.
svn-id: r45309
2009-10-21 15:23:05 +00:00
Martin Kiewitz
c9e618b6a5 SCI/newgui: updating flags separately to fix issue in sq1 (almost at the end) where wilco will go michael jackson otherwise
svn-id: r45308
2009-10-21 15:12:10 +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
257d086aa1 SCI/newgui: palVary logic as comments (work in progress)
svn-id: r45293
2009-10-20 21:25:50 +00:00
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