Commit Graph

2775 Commits

Author SHA1 Message Date
Nicola Mettifogo
80edc8504c a little bit of fiddling to expose similarities between routines
svn-id: r25723
2007-02-19 14:06:47 +00:00
Eugene Sandulenko
bbc50471bb Fix compilation
svn-id: r25722
2007-02-19 13:46:44 +00:00
Nicola Mettifogo
0f3ebbd3b3 table routines merged with common engine code
svn-id: r25721
2007-02-19 13:07:18 +00:00
Nicola Mettifogo
2f7388d78a oops forgot to update make module
svn-id: r25720
2007-02-19 12:55:51 +00:00
Nicola Mettifogo
745d814caa renamed file to follow common convention
svn-id: r25719
2007-02-19 12:54:58 +00:00
Nicola Mettifogo
1121fe4948 moved specialised parsing routines in parser.cpp, so code can be refactored more easily
svn-id: r25718
2007-02-19 12:53:59 +00:00
Nicola Mettifogo
85a0a02996 fixed bad implementation
svn-id: r25717
2007-02-19 11:36:31 +00:00
Travis Howell
abd20d59fa Move SCUMM version checks for settings up monst.er.sou file, to higher level.
svn-id: r25716
2007-02-19 09:46:45 +00:00
Nicola Mettifogo
402e364852 fixed engine bug preventing savegames from being consistent with the actual game status. The workaround code comes from BRA.
svn-id: r25715
2007-02-19 09:31:43 +00:00
Nicola Mettifogo
880f449a2d fixed regression bug preventing user from interacting with many items, notably not allowing combining items from the inventory
svn-id: r25714
2007-02-19 09:25:11 +00:00
Stuart George
edd8774836 AGI: Removed detection sums for DDP. DDP uses an unsupporeted agi engine 2.01, all DDP versions are booter disks and thus 'hacks' and is buggy under any agi version other than 2.01 (2.272 and 2.089 dont work correctly). This will also stop bug reports coming in for DDP
svn-id: r25711
2007-02-19 00:03:14 +00:00
Gregory Montoir
18cab2cc65 added basic support for playing FOTAQ amiga modules files (rjp1) instead of MIDI (code is currently #ifdef'ed out).
svn-id: r25707
2007-02-18 21:46:40 +00:00
Max Horn
e9f9792f2d Fix for bug #1660560 (MANIAC: Meteor faces wrong way during intro)
svn-id: r25705
2007-02-18 21:07:00 +00:00
Max Horn
348b72e107 Improved (I hope) the 'Unknown MD5' messages in our detectors a little bit
svn-id: r25695
2007-02-18 18:07:32 +00:00
Chris Apers
619d8e87f1 French keyboard is 'azerty' not 'awert'
svn-id: r25693
2007-02-18 17:53:44 +00:00
Torbjörn Andersson
da442dd2fb Fixed bug #1662774 ("SCUMM: Textual verb glitch"). It was a regression caused
by an earlier cleanup.

svn-id: r25689
2007-02-18 16:01:55 +00:00
Chris Apers
5a32e4f6e2 Bad hack to make thsi engine run on PalmOS
svn-id: r25686
2007-02-18 14:00:55 +00:00
Sven Hesse
d892020505 Repaired loading
svn-id: r25685
2007-02-18 12:26:56 +00:00
Chris Apers
227d83ea6e Bad hack to make this engine works on PalmOS (compiler still seems to hate some global objects)
svn-id: r25684
2007-02-18 12:21:25 +00:00
Nicola Mettifogo
cd75d9bfdb fixed broken savegames with duplicate items
svn-id: r25681
2007-02-18 10:57:11 +00:00
Nicola Mettifogo
06c354c236 replaced magic number with kFlagsVisited where needed
svn-id: r25680
2007-02-18 10:56:45 +00:00
Nicola Mettifogo
3dd23c5d9a found and commented gross hack in the original engine
svn-id: r25679
2007-02-18 10:32:15 +00:00
Nicola Mettifogo
d4e5daa5b5 change in debug level
svn-id: r25678
2007-02-18 10:31:29 +00:00
Nicola Mettifogo
bc17ef29f9 set the size of savegame name to the same length for both saving and loading
svn-id: r25677
2007-02-18 09:56:28 +00:00
Nicola Mettifogo
6452e60727 enforced use of MAKE_INVENTORY_ID
svn-id: r25676
2007-02-18 09:36:47 +00:00
Nicola Mettifogo
d0da566633 fixed broken sprintf formats in saving routines
svn-id: r25675
2007-02-18 09:35:50 +00:00
Nicola Mettifogo
eb30be5f10 new special debug levels
svn-id: r25674
2007-02-18 09:33:53 +00:00
Nicola Mettifogo
b096586a22 fixes last broken commit
svn-id: r25673
2007-02-18 09:29:54 +00:00
Nicola Mettifogo
03099ec1ca more big-endianness fixes
svn-id: r25672
2007-02-18 09:26:20 +00:00
Torbjörn Andersson
1a6361038e Committed my fix for bug #1662549 ("SCUMM: MIDI music is broken"). Apparently,
'len' is now one less than it used to in sysexHandler_Scumm(). Let's hope I
changed all the cases that needed changing, and nothing else...

svn-id: r25671
2007-02-18 09:10:50 +00:00
Nicola Mettifogo
4e6e57eb53 adjusted wrong comment
svn-id: r25670
2007-02-18 08:45:22 +00:00
Max Horn
5fc65f2230 cleanup
svn-id: r25668
2007-02-18 01:05:27 +00:00
Nicola Mettifogo
be878d60db fixed regression bug causing labels not to be aligned properly when near the right border
svn-id: r25665
2007-02-17 21:19:55 +00:00
Nicola Mettifogo
b1a63e8a16 changed mapChar to use unsigned (byte) instead of char, to avoid possible sign issues
svn-id: r25664
2007-02-17 20:54:25 +00:00
Nicola Mettifogo
33d04d5aa4 changed CNV loading code to be endian-safe
svn-id: r25663
2007-02-17 20:50:50 +00:00
Max Horn
b777c09ac0 Removed some dead code, updated a warning message
svn-id: r25662
2007-02-17 20:38:27 +00:00
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