Commit Graph

13421 Commits

Author SHA1 Message Date
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
Travis Howell
8bb99f4571 Fix object names in PCE version of Loom.
svn-id: r45346
2009-10-23 12:50: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
Travis Howell
770fbdcf53 Add opcode difference in PCE version of Loom.
svn-id: r45343
2009-10-23 07:51:08 +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
Travis Howell
4350f7b8c0 Fix objects structure and object scripts in PCE version of Loom.
svn-id: r45335
2009-10-22 11:33:05 +00:00
Filippos Karapetis
512c9cae11 Fixed a crash when selecting menu items
svn-id: r45334
2009-10-22 09:36:46 +00:00
Travis Howell
ebd04d4479 Fix verb display in PCE version of Loom.
svn-id: r45333
2009-10-22 09:13:45 +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
Robert Špalek
819449d099 Implemented GPL2 commands for music.
Debugged everything.

svn-id: r45330
2009-10-22 07:34:43 +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
Robert Špalek
8f75ee9a37 Fix uninitialized channel volumes.
This fixed stopped music after calling the configuration dialog.

svn-id: r45327
2009-10-22 06:41:11 +00:00
Robert Špalek
3903be61e7 Improved music handling:
- reading the volume from the configuration
- error handling of non-existent MIDI files
- pausing/resuming music

unfortunately, sometimes music stops playing or slows down, and my log
messages have so far not helped me to identify why

svn-id: r45326
2009-10-22 06:21:39 +00:00
Robert Špalek
958bc7ba81 Avoid opening and closing BArchive files all the time
svn-id: r45325
2009-10-22 06:05:34 +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
Matthew Hoops
3f3353c520 Update detection of Loom PCE Japanese.
svn-id: r45320
2009-10-22 01:25:23 +00:00
Travis Howell
48e3d9a767 Update detection of PCEngine version of Loom.
svn-id: r45319
2009-10-22 01:07:49 +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
Travis Howell
bb0cee730e Add/remove comments.
svn-id: r45306
2009-10-21 13:21:26 +00:00
Travis Howell
746258f882 Add patch from Tobias, for graphic support (backgrounds/objects) in PCE version of Loom, with minor changes.
svn-id: r45304
2009-10-21 12:59:10 +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
Max Horn
745be029b2 SCUMM: Get rid of 'static int sortArrayOffset' by tweaking ScummEngine_v90he::sortArray
svn-id: r45302
2009-10-21 09:59:18 +00:00
Robert Špalek
8d8b4dc50a Enabled music.
Several TODO's added.

svn-id: r45298
2009-10-21 08:41:57 +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
Matthew Hoops
91dcca89b1 Fix another regression that didn't append data in safeStrcat.
svn-id: r45296
2009-10-21 01:23:05 +00:00
Matthew Hoops
6114381b4c Fix a regression in agiSprintf.
svn-id: r45295
2009-10-21 01:01:23 +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
Torbjörn Andersson
42af771de0 Fixed regression introduced when adding support for looping background sounds.
A.k.a. "I played through the whole game looking for regressions, and missed the
one at the intro cutscene?!"

svn-id: r45290
2009-10-20 20:15:13 +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
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