Commit Graph

20199 Commits

Author SHA1 Message Date
Max Horn
d0f6b3c0dc Using stat and fopen is not portable (writing to a Common::File isn't either, but at least it doesn't force porters to #define fopen to work around it)
svn-id: r25661
2007-02-17 20:37:57 +00:00
Max Horn
b8aeefaffb Added finalize() method to Common::OutSaveFile (which by default just flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing)
svn-id: r25660
2007-02-17 18:55:51 +00:00
Max Horn
7d5d6c2f91 Speed up the Player_NES code quite a bit (still is rather slow without compiler optimizations on my 1.5Ghz PowerBook G4, but at least it's not unbearably slow anymore, and with -O2 it's running smoothly)
svn-id: r25659
2007-02-17 18:52:21 +00:00
Max Horn
f027e2f562 OOified Player_NES code; revamped the code in GetSample slightly (to avoid overflows, an expensive multiplication and an even more expensive division)
svn-id: r25658
2007-02-17 16:59:06 +00:00
Max Horn
3270885bc1 Fix for bug #1660550 (MANIACNES: Graphics glitch on intro screen)
svn-id: r25657
2007-02-17 16:56:54 +00:00
Torbjörn Andersson
24a36cbb3f Changed spaces to tabs again.
svn-id: r25656
2007-02-17 16:06:34 +00:00
Nicola Mettifogo
e29ddfe156 more conventional termination handling. Event loops are going to get merged soon, so there are FIXME remainders around there.
svn-id: r25655
2007-02-17 15:57:49 +00:00
Torbjörn Andersson
f33da9e412 Some indentation and format changes. Mostly replacing spaces with tabs.
svn-id: r25654
2007-02-17 15:37:49 +00:00
Nicola Mettifogo
9ab2ca5bc7 changed some debug levels
svn-id: r25653
2007-02-17 13:39:22 +00:00
Nicola Mettifogo
5e38eab640 fixed regression bug caused by ZoneTypeData being declared as a struct instead of an union. Should have taken care of this when the switch was actually made...
svn-id: r25652
2007-02-17 10:58:54 +00:00
Sven Hesse
5df29654fc - Added a warning when o1_checkData()/o2_checkData() can't find the file it's supposed to check
- Fixed the actor drawn over the background glitch in Bargon Attack
- Plugged some leaks

svn-id: r25651
2007-02-17 09:56:09 +00:00
Torbjörn Andersson
546758a086 Only set up the Kyra 1 triggers for Kyra 1, not Kyra 2.
svn-id: r25650
2007-02-17 08:06:21 +00:00
Torbjörn Andersson
809a3bc293 Applied cyx's patch #1659302 ("KYRA: VQA player code cleanup/reduce") with the
minimal change suggested in the tracker.

svn-id: r25649
2007-02-17 07:49:12 +00:00
Paul Gilbert
6e0c500bc1 Added line to ensure the current room number field variable is kept up to date
svn-id: r25648
2007-02-17 03:42:43 +00:00
Paul Gilbert
c4cbf9dc92 Added some asserts to setSupportData method to ensure the passed variables are valid
svn-id: r25647
2007-02-17 03:41:41 +00:00
Gregory Montoir
f1f88c43c0 cleanup
svn-id: r25646
2007-02-17 01:33:47 +00:00
Gregory Montoir
441ea2bdb1 cleanup
svn-id: r25645
2007-02-17 01:24:50 +00:00
Travis Howell
dadaf08b29 Reduce amount of attempts to open various speech filenames.
svn-id: r25644
2007-02-17 01:23:52 +00:00
Max Horn
7b7c27bc0c SCUMM: Fix opening of *.tlk files
svn-id: r25643
2007-02-17 01:21:00 +00:00
Gregory Montoir
369474bec6 get rid of bitCount table (count occurences of bit 0 directly in the main loop)
svn-id: r25642
2007-02-17 01:20:41 +00:00
Torbjörn Andersson
7949a067e1 Removed extra tabs.
svn-id: r25640
2007-02-17 00:54:32 +00:00
Paul Gilbert
409657cc15 Added animation handler for Catriona (woman in Smithy)
svn-id: r25638
2007-02-16 23:17:00 +00:00
Max Horn
81d3a69546 Patch #1661770 (README: typo fixes, consistency)
svn-id: r25636
2007-02-16 20:29:49 +00:00
Torbjörn Andersson
16e7a12878 Some very obvious cleanups.
svn-id: r25635
2007-02-16 17:13:29 +00:00
Johannes Schickel
940e89d00e Added support for Kyrandia 2 ADL files.
svn-id: r25634
2007-02-16 16:57:59 +00:00
Max Horn
d849f4762c a 20ms second delay should be ample time for a GM system ON
svn-id: r25633
2007-02-16 16:34:02 +00:00
Travis Howell
e3594a6839 Add support for using soundtrack from the Simon the Sorcerer 1 - Music Enhancement Project.
svn-id: r25632
2007-02-16 13:55:01 +00:00
Max Horn
cfc3d0a8ed AGOS: Send GM System Enable/On upon startup
svn-id: r25631
2007-02-16 13:41:38 +00:00
Max Horn
4db72c8762 Unified how we deal with (and how we generate) MIDI sysex messages -- in particular, we now always do so w/o framing the message (documented this with a Doxygen comment in the MidiDriver class)
svn-id: r25630
2007-02-16 13:30:41 +00:00
Max Horn
96162c14ea Ugh -- these internal iMuse structs were supposed to be packed, but never were explicitly markes as such. Doing that now (might break old savegames on some ports :/)
svn-id: r25629
2007-02-16 12:34:30 +00:00
Max Horn
b8bd502c57 Added Stuart George to the credits
svn-id: r25626
2007-02-16 11:14:32 +00:00
Travis Howell
8f0a3e8961 Fix cursor palette regression in Simon the Sorcerer 1.
svn-id: r25625
2007-02-16 10:36:33 +00:00
Travis Howell
3aaf15938d Fix cursor palette regression in Simon the Sorcerer 1.
svn-id: r25624
2007-02-16 10:33:37 +00:00
Max Horn
cce2617f24 Added details on brazilian comi/dig (once more from the forums)
svn-id: r25623
2007-02-16 09:28:22 +00:00
Paul Gilbert
5bd19f022a Added sub-option to hotspot command to allow the activation or deactivation of hotspots
svn-id: r25622
2007-02-16 04:50:42 +00:00
Paul Gilbert
75c74574e8 Bugfix to pathfinder that resulted in some characters bouncing between two rooms
svn-id: r25621
2007-02-16 04:49:15 +00:00
Paul Gilbert
97bb233663 Revised previously committed guard to comply to ScummVM coding standard
svn-id: r25620
2007-02-16 03:49:34 +00:00
Travis Howell
8bef04f94a Add Quietust's patch, to fix graphical glitch in MM NES with scrolling and objects.
svn-id: r25619
2007-02-16 02:26:42 +00:00
Travis Howell
f8c2886481 Add MSVC71 project file update from Quietust.
svn-id: r25618
2007-02-16 02:25:16 +00:00
Neil Millstone
45ed48a860 Changes made for 0.9.1a beta2 release backported to trunk
svn-id: r25617
2007-02-15 23:23:03 +00:00
Max Horn
26a3ad56e5 Added italian LANGUAGE.TAB/.BND details (thanks to Glorfindel in forum thread 3445)
svn-id: r25616
2007-02-15 23:12:33 +00:00
Sven Hesse
15043066f2 - Changed the speaker stuff again
- Added the spanish gob2 version from bug report #1659884

svn-id: r25615
2007-02-15 22:07:44 +00:00
Nicola Mettifogo
e3e76b59b6 fixed a bug in the original engine causing memory-protected systems to occasionally crash
svn-id: r25614
2007-02-15 21:43:56 +00:00
Nicola Mettifogo
22c7239796 fixed warning pointed out by _Q
svn-id: r25613
2007-02-15 21:42:57 +00:00
Willem Jan Palenstijn
5e93000a75 fix compile error
svn-id: r25612
2007-02-15 20:24:03 +00:00
Max Horn
dc5ef8425b Introduced V12_X_SHIFT / V12_Y_SHIFT
svn-id: r25611
2007-02-15 18:12:29 +00:00
Paweł Kołodziejski
310e275a79 not need this hack as smush player is no longer on another thread
svn-id: r25610
2007-02-15 17:53:59 +00:00
Torbjörn Andersson
9ad0fdda96 Clear _pauseTime in seekSan(). Hopefully, this will fix the problem with
pausing during the bike fight scenes in Full Throttle that was reported on the
forum earlier today.

svn-id: r25609
2007-02-15 17:26:08 +00:00
Johannes Schickel
8ff936a8f6 Mentioned Kyrandia 1 FM-Towns support in the NEWS file.
svn-id: r25608
2007-02-15 14:03:10 +00:00
Max Horn
8afb83884a cleanup
svn-id: r25606
2007-02-15 13:27:36 +00:00