Commit Graph

402 Commits

Author SHA1 Message Date
Travis Howell
c5abad4dea Switch error back to warning, to fix SCI 1.1 regression.
svn-id: r38648
2009-02-20 23:31:00 +00:00
Paweł Kołodziejski
6e1250fed1 ups
svn-id: r38647
2009-02-20 23:28:25 +00:00
Travis Howell
f6b4c2544b Switch errors back to warnings, to fix SCI 1.1 regressions.
svn-id: r38646
2009-02-20 23:26:30 +00:00
Paweł Kołodziejski
880aba2f43 fixed warning
svn-id: r38644
2009-02-20 23:23:58 +00:00
Filippos Karapetis
80868065e6 Downgraded some errors to warnings and printf's
svn-id: r38642
2009-02-20 23:19:47 +00:00
Filippos Karapetis
65f7ba86ce Reverted #38631 and readded gfxr_interpreter_needs_multicolored_pointers - apparently, it's needed for SCI1.1 support
svn-id: r38641
2009-02-20 23:17:13 +00:00
Paweł Kołodziejski
fc28525969 formating
svn-id: r38640
2009-02-20 23:09:29 +00:00
Matthew Hoops
dc792f2265 Add detection for the SCI christmas cards.
svn-id: r38639
2009-02-20 23:00:27 +00:00
Paweł Kołodziejski
dbb81ab516 formating
svn-id: r38636
2009-02-20 22:32:56 +00:00
Paweł Kołodziejski
037f56f719 formating
svn-id: r38635
2009-02-20 22:29:49 +00:00
Filippos Karapetis
701279fb40 Changed some SCIkdebug() calls to debugC()
svn-id: r38634
2009-02-20 22:21:33 +00:00
Filippos Karapetis
1a9253bc5e Remove unused code (gfxr_interpreter_needs_multicolored_pointers)
svn-id: r38631
2009-02-20 22:19:11 +00:00
Filippos Karapetis
637fa528f6 Changed some non-fatal messages back to warnings
svn-id: r38629
2009-02-20 22:17:14 +00:00
Paweł Kołodziejski
77542e8623 formating
svn-id: r38628
2009-02-20 22:12:48 +00:00
Sven Hesse
a69ec56869 Fixing compilation for me
svn-id: r38627
2009-02-20 21:47:51 +00:00
Paweł Kołodziejski
3ec65a052a remove README, it's pointless
svn-id: r38626
2009-02-20 21:46:49 +00:00
Paweł Kołodziejski
435844c61e formating
svn-id: r38625
2009-02-20 21:38:38 +00:00
Filippos Karapetis
9582e48574 Some initial code for a debug console (still non-working)
svn-id: r38623
2009-02-20 21:26:31 +00:00
Paweł Kołodziejski
8a15a72ec8 formating
svn-id: r38622
2009-02-20 20:55:35 +00:00
Filippos Karapetis
2ddce51a56 Changed more messages to warnings/errors
svn-id: r38621
2009-02-20 20:39:02 +00:00
Paweł Kołodziejski
1419024bd0 formating
svn-id: r38620
2009-02-20 20:33:27 +00:00
Paweł Kołodziejski
75b91c71dd restored formating
svn-id: r38619
2009-02-20 20:31:08 +00:00
Paweł Kołodziejski
61b9086fcf formating
svn-id: r38618
2009-02-20 20:17:57 +00:00
Filippos Karapetis
ac716ad843 Started conversion of debug messages and debug levels to the ScummVM equivalents. Removed the "stubs" and "warnings" debug levels and replaced such kinds of messages with normal warnings
svn-id: r38617
2009-02-20 20:11:12 +00:00
Paweł Kołodziejski
2080166499 formating
svn-id: r38616
2009-02-20 20:01:31 +00:00
Willem Jan Palenstijn
7fdf8021d8 use new instead of malloc for int_hash_map_t
svn-id: r38613
2009-02-20 19:32:27 +00:00
Paweł Kołodziejski
08cd2c8806 formating
svn-id: r38612
2009-02-20 19:08:38 +00:00
Paweł Kołodziejski
947a296d33 formating
svn-id: r38607
2009-02-20 17:23:54 +00:00
Paweł Kołodziejski
b70f3ba603 formating
svn-id: r38605
2009-02-20 17:09:22 +00:00
Paweł Kołodziejski
61231c2a36 formating
svn-id: r38604
2009-02-20 17:05:47 +00:00
Paweł Kołodziejski
ac4fe7a4bc formating
svn-id: r38603
2009-02-20 16:59:05 +00:00
Filippos Karapetis
2f4fc293e7 Used parentheses to indicate operator precedence (I hope I got them right)
svn-id: r38602
2009-02-20 16:34:21 +00:00
Paweł Kołodziejski
75f9d5457a formating
svn-id: r38601
2009-02-20 16:30:22 +00:00
Paweł Kołodziejski
f4719cf79c formating
svn-id: r38600
2009-02-20 16:22:09 +00:00
Paweł Kołodziejski
823d924064 fixed compilation
svn-id: r38599
2009-02-20 16:19:29 +00:00
Paweł Kołodziejski
5066e2c4be formating
svn-id: r38598
2009-02-20 16:18:08 +00:00
Max Horn
bc360ee525 SCI: Started rewriting file handling. Warning: This will likely introduce
regressions, but we just have to start somewhere.
- factored out some common code in engine/kfile.cpp into a separate func
- replaced many uses of chdir, getcwd, sci_init_dir etc. by equivalent
   or better functionality from SearchMan etc.
- replaced many uses of sci_open and sci_fopen by using Common::File
   and Common::Stream
- C++ified some stuff
- simplified ResourceSource a bit (loosing some unused functionality)

svn-id: r38597
2009-02-20 16:03:50 +00:00
Max Horn
e736b7fa62 SCI: Renamed some ResourceManager members, cleanup
svn-id: r38596
2009-02-20 15:55:59 +00:00
Max Horn
617c63c1ed SCI: Removed unused allow_patches param/member
svn-id: r38595
2009-02-20 15:47:37 +00:00
Max Horn
7422e98f8f SCI: Added TODO suggestion to change the vm opcode switch/case to an opcode table with methods for each opcode (helps to separate code and deal with changed opcode numbering in other SCI versions)
svn-id: r38594
2009-02-20 15:44:22 +00:00
Max Horn
f78f2aeafc SCI: Renamed resource_source_t -> ResourceSource; some cleanup
svn-id: r38593
2009-02-20 15:41:58 +00:00
Max Horn
a2aba2f18e SCI: Renamed resource_mgr_t -> ResourceManager; added remark to 'the other resource manager' that it should be renamed to GraphicsManager or so
svn-id: r38592
2009-02-20 15:24:22 +00:00
Max Horn
c3ffac5e62 SCI: Removed unused file
svn-id: r38591
2009-02-20 15:20:48 +00:00
Jordi Vilalta Prat
20d0395b69 - Moved SciEngine code to sci.cpp
- Fill the platform on fallback detection
- Report unparseable version strings
- Map known non-numeric version strings to their numeric counterparts
- Fix a crash caused by uninitialized LZEXE data

svn-id: r38589
2009-02-20 14:45:28 +00:00
Travis Howell
0155a1d0b4 Enable Eco Quest again.
svn-id: r38580
2009-02-20 04:23:18 +00:00
Travis Howell
9e340004ff Update comments.
svn-id: r38579
2009-02-20 04:16:08 +00:00
Travis Howell
3ec4194924 Ooops, remove excess zero.
svn-id: r38577
2009-02-20 04:02:50 +00:00
Travis Howell
77e2cfb138 Add another English DOS version of The Island of Dr. Brain
svn-id: r38576
2009-02-20 04:02:02 +00:00
Travis Howell
422ebda3ba Add change from Quietust, to fix MSVC 7.1 compile.
svn-id: r38574
2009-02-20 03:46:00 +00:00
Travis Howell
2b214ed5bc Avoid conflicting targets for King's Quest 4.
svn-id: r38573
2009-02-20 03:33:58 +00:00
Matthew Hoops
10f9f18b3a Add entries for some SCI demos
svn-id: r38572
2009-02-20 01:48:25 +00:00
Filippos Karapetis
45d3382c9a We only got 1 mixer - removed the unneeded file mixers.cpp
svn-id: r38569
2009-02-20 00:31:22 +00:00
Matthew Hoops
034f63f095 Re-enable some more Amiga entries.
svn-id: r38568
2009-02-20 00:27:27 +00:00
Filippos Karapetis
58854c6acb Updated some versions in the detector
svn-id: r38567
2009-02-20 00:17:56 +00:00
Matthew Hoops
f0aa58da1f - Do not break after finding an executable in SCI fallback detection, as we may not have found the resource files yet.
- Re-enabled codename iceman amiga and fix amiga fallback detection.

svn-id: r38566
2009-02-19 23:01:04 +00:00
Matthew Hoops
cf559f631b Re-enable some entries which I have verified (or Kirben verified in some earlier commits). Also, remove the printf's from the fallback detection code; it would appear when detecting non-SCI games, which is not the intended effect.
svn-id: r38565
2009-02-19 22:02:22 +00:00
Paweł Kołodziejski
65f92d6525 formating
svn-id: r38564
2009-02-19 20:50:55 +00:00
Willem Jan Palenstijn
09c3883612 don't give up scanning files after one potential executable (such as sierra.ico...)
svn-id: r38563
2009-02-19 20:47:06 +00:00
Willem Jan Palenstijn
2595783e9f Function call order in expressions isn't well-defined. Also fix missing shift and moved some comments.
svn-id: r38562
2009-02-19 20:20:14 +00:00
Joost Peters
51f0a3bf7e enable Larry 3 DOS English. The MD5s match and its sciv.exe has 0.000.572
svn-id: r38561
2009-02-19 19:03:41 +00:00
Paweł Kołodziejski
427196cde4 formating
svn-id: r38560
2009-02-19 18:52:00 +00:00
Filippos Karapetis
680684c66f The current list in the detector is not really useful. We need the SCI version used for each variant of every SCI game. Therefore, all the detection entries have been disabled, apart from the few versions which I have and was able to verify the SCI version used. Please, specify the SCI version in disabled entries and re-enable them.
This was done to prevent issues with incorrect game entries in the future, as game entries with incorrect SCI versions won't work correctly

svn-id: r38559
2009-02-19 18:45:09 +00:00
Paweł Kołodziejski
7beba8edc9 formating
svn-id: r38558
2009-02-19 18:40:03 +00:00
Paweł Kołodziejski
c6e9e3d9bc formating
svn-id: r38557
2009-02-19 18:33:43 +00:00
Paweł Kołodziejski
ade3c8f565 formating
svn-id: r38556
2009-02-19 18:11:05 +00:00
Paweł Kołodziejski
4e052e4d1c formating
svn-id: r38555
2009-02-19 18:08:44 +00:00
Paweł Kołodziejski
352802bba6 formating
svn-id: r38554
2009-02-19 18:02:51 +00:00
Filippos Karapetis
6a0ffca914 Used the LZEXE unpacker from the teenagent engine. The SCI version detector now works with LZEXE packed executables too
svn-id: r38553
2009-02-19 17:40:55 +00:00
Joost Peters
af7ecbf060 use READ_BE_UINT32() function to read a 32-bit Big Endian value.
svn-id: r38551
2009-02-19 16:17:08 +00:00
Filippos Karapetis
1bbc8cf5e8 Corrected erroneous use of MKID_BE
svn-id: r38550
2009-02-19 14:47:30 +00:00
Filippos Karapetis
9ac6dbf9eb Fixed version checking for unpacked executable files, and updated the SCI version for an entry for PQ2
svn-id: r38549
2009-02-19 14:40:24 +00:00
Sven Hesse
3abc4c8842 MKID_BE() does not work that way. Moreover, it even fails to compile on my 64bit system because of "loss of precision".
svn-id: r38548
2009-02-19 13:54:50 +00:00
Travis Howell
f134763553 Add patch #2611827 - Add English versions of Laura Bow/2.
svn-id: r38547
2009-02-19 13:51:45 +00:00
Travis Howell
b433a18bcf Add patch #2616093 - Add/update Quest for Glory 4 details.
svn-id: r38546
2009-02-19 13:44:10 +00:00
Travis Howell
6fdf95e9b8 Add patch #2615978 - Fix SCI version for Eco Quest.
svn-id: r38545
2009-02-19 13:36:38 +00:00
Filippos Karapetis
6f4a8dedbe Rewrote the EXE reading routines (the LZEXE compression stuff is still not completed, and will be implemented in a follow-up commit)
svn-id: r38543
2009-02-19 12:42:32 +00:00
Paweł Kołodziejski
2f2f262062 formating
svn-id: r38538
2009-02-19 08:44:53 +00:00
Paweł Kołodziejski
8ca98d41a2 formating
svn-id: r38537
2009-02-19 08:43:28 +00:00
Travis Howell
0ac0749810 Fix SCI 1.1 detection.
svn-id: r38535
2009-02-19 04:16:20 +00:00
Travis Howell
3d78df8d63 Update SCI version for Space Quest 4(Amiga).
svn-id: r38534
2009-02-19 04:14:16 +00:00
Travis Howell
bc6f48472a Update SCI version for Leisure Suit Larry 2 (Amiga).
svn-id: r38533
2009-02-19 03:12:04 +00:00
Travis Howell
b595d2815b Update SCI version for Kings Quest 4 (Amiga).
svn-id: r38532
2009-02-19 03:05:35 +00:00
Matthew Hoops
a427d11c27 Fix kq4 start (it was using the wrong version).
svn-id: r38531
2009-02-19 02:26:09 +00:00
Matthew Hoops
ee16e35bb6 - Fix finding versions from exe's
- Fix fallback detection
- Make getVersion() return an int instead of a uint16 which makes the version lose precision and the "major" version can get lost.

svn-id: r38529
2009-02-19 02:04:31 +00:00
Matthew Hoops
5778350053 scan_file returns 1 if there's a failure, not 0; correct version_detect_from_executable to use that properly
svn-id: r38528
2009-02-19 00:59:34 +00:00
Paweł Kołodziejski
288445abb2 formating
svn-id: r38512
2009-02-18 22:46:01 +00:00
Paweł Kołodziejski
b500162ea9 formating
svn-id: r38511
2009-02-18 22:41:57 +00:00
Filippos Karapetis
7e5dba8940 Readded the code which reads the version from the original executable to the fallback detector (still very hackish...). This is probably the only known way currently to determine the version used by each game variant and add appropriate game flags
svn-id: r38509
2009-02-18 22:20:28 +00:00
Max Horn
7d73e8ccc4 cleanup
svn-id: r38508
2009-02-18 22:07:15 +00:00
Paweł Kołodziejski
3e32b0a791 remove not used includes
svn-id: r38506
2009-02-18 21:57:15 +00:00
Filippos Karapetis
2af3529b1b Added initial implementation of the fallback detector for unknown versions (version detection from the original executable will be readded and displayed in this part)
svn-id: r38505
2009-02-18 21:05:05 +00:00
Filippos Karapetis
a501d4dca0 Added methods to get information for the detected game version
svn-id: r38502
2009-02-18 20:08:49 +00:00
Max Horn
d059f38cf2 SCI: Moved util.h to the sci tools, as old_objects.* is the only code using (and requiring) it
svn-id: r38501
2009-02-18 20:03:32 +00:00
Paweł Kołodziejski
57f78e5c0c update README
svn-id: r38500
2009-02-18 19:45:34 +00:00
Paweł Kołodziejski
dd30cc6382 remove dreamcast mixer platform code - no use for scummvm
svn-id: r38499
2009-02-18 19:35:35 +00:00
Max Horn
4493c757b5 SCI: Added G_DIR_SEPARATOR to scicore/resource.cpp for now (I'll remove it again soon)
svn-id: r38498
2009-02-18 19:19:29 +00:00
Max Horn
766783b493 SCI: Some random cleanup
svn-id: r38497
2009-02-18 19:14:40 +00:00
Paweł Kołodziejski
c01b069b91 missed to remove code from latest removal
svn-id: r38496
2009-02-18 19:12:13 +00:00
Paweł Kołodziejski
c13afb4fe6 remove not used code
svn-id: r38495
2009-02-18 19:10:17 +00:00
Johannes Schickel
70e3670f02 Fixed warnings.
svn-id: r38494
2009-02-18 18:03:52 +00:00
Filippos Karapetis
7dfb902019 Updated the savegame.cfsml file to remove unused functions and generated the appropriate .cpp file using the cfsml tool
svn-id: r38493
2009-02-18 17:57:57 +00:00
Eugene Sandulenko
fd0d88f27f Fix makefile
svn-id: r38487
2009-02-18 15:07:19 +00:00
Eugene Sandulenko
802f28b963 move cfsml.pl to the tools/ directory
svn-id: r38486
2009-02-18 15:06:24 +00:00
Eugene Sandulenko
8dc171afa9 restore removed files
svn-id: r38485
2009-02-18 15:05:00 +00:00
Eugene Sandulenko
af3eb953b2 Adding the files properly. Part1
svn-id: r38483
2009-02-18 14:57:03 +00:00
Max Horn
88bb21f9e1 Removed unused file
svn-id: r38482
2009-02-18 14:49:24 +00:00
Filippos Karapetis
4c406e69ee Added missing file savegame.cfsml (hopefully, compilation should REALLY be fixed now, sorry again...)
svn-id: r38481
2009-02-18 14:28:32 +00:00
Filippos Karapetis
9658836f5d Reverting commits which moved cfsml.pl and said.y, part 2
Hopefully, compilation should be fixed again

svn-id: r38479
2009-02-18 14:08:21 +00:00
Filippos Karapetis
d16311f8bb Removed some unused GFX driver capability code and flags
svn-id: r38473
2009-02-18 12:26:37 +00:00
Filippos Karapetis
0d82e05bb6 Added FIXME concerning crash when exiting a SCI game
svn-id: r38472
2009-02-18 12:09:11 +00:00
Filippos Karapetis
1b81383dcb Removed files which are not part of the SCI engine (will be moved to /tools, together with the others)
svn-id: r38468
2009-02-18 11:14:05 +00:00
Filippos Karapetis
1db017a6c2 Removed the cfsml.pl tool from the SCI engine (eventually, it should go to /tools, together with the other ones...)
svn-id: r38467
2009-02-18 11:03:44 +00:00
Filippos Karapetis
fa59ce0d9f Removed the unused sci_get_homedir() function
svn-id: r38466
2009-02-18 10:49:17 +00:00
Filippos Karapetis
1ccedde91a Disabled unused functions
svn-id: r38465
2009-02-18 10:37:22 +00:00
Filippos Karapetis
5d931adb70 Removed the unused queue code and memfrob() definition
svn-id: r38464
2009-02-18 10:28:16 +00:00
Filippos Karapetis
95cc0493b3 Removed the unused memtest, memdup and sci_memdup functions
svn-id: r38463
2009-02-18 10:20:48 +00:00
Filippos Karapetis
ce885af5ca Remove the huffmake Perl tool, and the unused hufftree.* files
svn-id: r38461
2009-02-18 10:10:24 +00:00
Filippos Karapetis
526ad1d1d0 We no longer verify the SCI version number against the original executables, so remove the exe file reader code
svn-id: r38460
2009-02-18 10:07:55 +00:00
Filippos Karapetis
056a13f710 Moved game version checking to ScummVM's detector and removed the FreeSCI version checking routines
svn-id: r38458
2009-02-18 09:09:37 +00:00
Travis Howell
f0a0f3f609 Add a few more German versions, and resort via platform.
svn-id: r38454
2009-02-18 03:58:55 +00:00
Travis Howell
650eeec576 Add Italian versions of several games.
svn-id: r38453
2009-02-18 03:42:44 +00:00
Filippos Karapetis
143a539ee3 Cleanup
svn-id: r38452
2009-02-17 23:12:29 +00:00
Filippos Karapetis
53ef1bd4fd Removed already implemented graphic capability flags, and used CLIP inside scummvm_draw_line() to clean up the code a bit
svn-id: r38451
2009-02-17 22:53:09 +00:00
Paweł Kołodziejski
83656cc9ad don't attempt display resource type name if it's out of array, so it give access violation
svn-id: r38449
2009-02-17 21:18:11 +00:00
Paweł Kołodziejski
4a241753c4 fixed compiler warning about potentialy uninitialized variable
svn-id: r38446
2009-02-17 20:43:37 +00:00
Paweł Kołodziejski
4fcbc4f712 fixed unsigned/signed comparisons warnings
svn-id: r38445
2009-02-17 20:34:19 +00:00
Paweł Kołodziejski
ebff01c463 shat up ARRAYSIZE redefine compiler warnings
svn-id: r38444
2009-02-17 20:26:57 +00:00
Filippos Karapetis
e28439bebc point_t -> Common::Point
svn-id: r38437
2009-02-17 19:15:37 +00:00
Max Horn
a113102d52 SCI: removed unused code
svn-id: r38436
2009-02-17 18:21:46 +00:00
Max Horn
e77e56bec1 Revert changed I accidentally commited *sigh*
svn-id: r38435
2009-02-17 18:21:27 +00:00
Max Horn
471f630c2e SCI: Moved sfx_pcm_urat_t from include/sfx_pcm.h to sfx/mixer.h
svn-id: r38434
2009-02-17 18:17:01 +00:00
Max Horn
f245cf55b8 SCI: Merged main_ into SciEngine::go()
svn-id: r38433
2009-02-17 18:16:48 +00:00
Max Horn
cd8f4c5ae2 SCI: Silence 'check always true' warnings with a trick (temporary, that code needs to be revised anyway)
svn-id: r38432
2009-02-17 18:16:41 +00:00
Max Horn
515dfac64c SCI: -Wno-variadic-macros not needed anymore
svn-id: r38431
2009-02-17 18:16:31 +00:00
Max Horn
57176cdce1 Removed unused file
svn-id: r38427
2009-02-17 17:37:01 +00:00
Eugene Sandulenko
d53b66b352 Setting SVN keywords property. rest
svn-id: r38423
2009-02-17 15:59:52 +00:00
Sven Hesse
2ef866690d Fixing compilation for me
svn-id: r38421
2009-02-17 15:54:15 +00:00
Walter van Niftrik
409f47516f SCI: ran astyle
svn-id: r38419
2009-02-17 15:46:00 +00:00
Johannes Schickel
e676bec0b8 Remove dead/leftover code.
svn-id: r38416
2009-02-17 15:27:31 +00:00
Eugene Sandulenko
2a68f8c1cb Remove unneeded files
svn-id: r38414
2009-02-17 15:21:38 +00:00
Eugene Sandulenko
3e0519e4ee Update headers. rest
svn-id: r38413
2009-02-17 15:20:21 +00:00
Eugene Sandulenko
76024785fe Update headers. gfx/
svn-id: r38412
2009-02-17 15:17:01 +00:00
Eugene Sandulenko
87e7f85410 Update headers. scicore/
svn-id: r38411
2009-02-17 15:09:09 +00:00
Eugene Sandulenko
b0abacf7cd Update headers. sfx/
svn-id: r38410
2009-02-17 15:07:44 +00:00
Eugene Sandulenko
c0dbe787d5 Update headers. includes/
svn-id: r38409
2009-02-17 15:05:16 +00:00
Eugene Sandulenko
22a009d3c6 Update headers. engine/
svn-id: r38408
2009-02-17 15:02:16 +00:00
Walter van Niftrik
9ae02c978c SCI: Added a bounds check on the index when setting palette.
svn-id: r38407
2009-02-17 14:13:42 +00:00
Filippos Karapetis
d39d83e525 Replaced sci_free() with free() - it's OK to free a NULL pointer, so the checking that sci_free() performed is not necessary
svn-id: r38406
2009-02-17 13:51:52 +00:00
Filippos Karapetis
d6b5855800 Removed more directories which are not part of the SCI engine - again, the code and documentation can be referenced from /vendor/freesci/glutton/src/sfx
svn-id: r38404
2009-02-17 10:33:16 +00:00
Filippos Karapetis
7f8f0e96f7 Removed directory which is not part of the SCI engine - the code can be referenced from /vendor/freesci/glutton/src/sfx/mt32_GM_mapping
svn-id: r38403
2009-02-17 10:25:26 +00:00
Filippos Karapetis
963af0ab02 Removed dead/unused code
svn-id: r38400
2009-02-17 09:53:27 +00:00
Willem Jan Palenstijn
0443c5fe9e current versions of BEOS no longer support snooze according to Begasus on IRC
svn-id: r38397
2009-02-17 09:15:29 +00:00
Filippos Karapetis
ffc07febeb Removed unused SFX code
svn-id: r38396
2009-02-17 09:15:17 +00:00
Filippos Karapetis
0e33a56478 Removed unused code
svn-id: r38394
2009-02-17 08:55:48 +00:00
Lars Persson
4f436e311d Remove functions not used, and thus the dependency on isblank.
svn-id: r38393
2009-02-17 07:41:40 +00:00
Filippos Karapetis
a3adca29f2 Removed a lot of unused and compiler-specific debug code. Note that for MSVC, the corresponding checks are enabled by default in the debug build, so there's no need to set them again programmatically. Also, removed the "codebugging" related code
svn-id: r38387
2009-02-16 23:28:24 +00:00
Filippos Karapetis
6ec40aa9f6 Removed unused code and defines
svn-id: r38385
2009-02-16 22:45:23 +00:00
Lars Persson
2a38e8fcde isblank is not available on all platforms. Needs to be handled in a different way.
svn-id: r38376
2009-02-16 18:40:36 +00:00
Lars Persson
6dbd7e21eb Use MIN with correct template <int>
svn-id: r38375
2009-02-16 18:37:28 +00:00
Jordi Vilalta Prat
c8a3a05a5d SCI: Changed pcm_device and timer "driver" functionality to use directly the ScummVM modules
svn-id: r38373
2009-02-16 16:23:48 +00:00
Matthew Hoops
39ea68173a Add detection for the Shivers demo and split the Torin's Passage entry into multiple as their main data files are the same.
svn-id: r38370
2009-02-16 15:35:35 +00:00
Travis Howell
74b654e9b5 Add German versions of several games.
svn-id: r38369
2009-02-16 14:15:14 +00:00
Filippos Karapetis
4fdd92c610 Fixed compilation
svn-id: r38364
2009-02-16 10:52:45 +00:00
Max Horn
a272626210 Replace strncasecmp by scumm_strnicmp
svn-id: r38362
2009-02-16 09:53:34 +00:00
Travis Howell
954aa46b8a SCUMMVM define no longer required.
svn-id: r38361
2009-02-16 09:44:00 +00:00
Max Horn
ee92dbbe41 SCI: Committed stuff I forgot in my last commit; changed int_hash_map_t to a C++ class
svn-id: r38360
2009-02-16 09:40:25 +00:00
Travis Howell
42cb3a55d9 Replace strcasecmp with scumm_stricmp.
svn-id: r38359
2009-02-16 09:29:07 +00:00
Max Horn
0e3692dbc7 SCI: Moved seg_manager.*, int_hashmap.* to sci/engine (they are only used there); merged hashmap and int_hashmap
svn-id: r38358
2009-02-16 09:23:58 +00:00
Willem Jan Palenstijn
56894d00ef replace one more instance of strcasecmp by scumm_stricmp
svn-id: r38357
2009-02-16 09:21:36 +00:00
Travis Howell
2d0a897d16 Replace strcasecmp with scumm_stricmp.
svn-id: r38356
2009-02-16 09:17:49 +00:00
Paweł Kołodziejski
2a7d22702c initialize palette buffers (compiler warning)
svn-id: r38351
2009-02-16 07:17:36 +00:00
Paweł Kołodziejski
36d7495577 fixed compilation
svn-id: r38350
2009-02-16 07:06:12 +00:00
Jordi Vilalta Prat
75a4540791 Revert r38254 as pointed by waltervn (SCI1 games work again)
svn-id: r38349
2009-02-16 07:02:11 +00:00
Max Horn
6af056c89d Reimplemented reg_t_hashmap using Common::HashMap
svn-id: r38340
2009-02-16 01:58:30 +00:00
Travis Howell
0a621d89ae Fix win32 compile of SCI engine.
svn-id: r38337
2009-02-16 00:43:18 +00:00
Max Horn
74132ed71a SCI: cleanup
svn-id: r38336
2009-02-16 00:35:22 +00:00
Max Horn
ddaa25cf29 SCI: cleanup
svn-id: r38335
2009-02-16 00:34:40 +00:00
Max Horn
ffa7f53377 SCI: Removed some unused files
svn-id: r38334
2009-02-16 00:17:27 +00:00
Max Horn
7ecb41027c SCI: Moved old_objects.* to tools, as it is only used by tools/scriptdump.cpp, as far as I can tell
svn-id: r38333
2009-02-16 00:16:58 +00:00
Max Horn
87bfde321f Fixed more warnings
svn-id: r38332
2009-02-15 23:59:29 +00:00
Max Horn
033ade4f5c Fixed more warnings (and at least one case of uninited data)
svn-id: r38331
2009-02-15 23:49:42 +00:00
Max Horn
296686e812 SCI: Header cleanup (avoid #include <> where possible)
svn-id: r38330
2009-02-15 23:39:31 +00:00
Max Horn
f3ab80b4e8 SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: rest
svn-id: r38325
2009-02-15 22:43:13 +00:00
Matthew Hoops
43093c2d80 Mark kq1sci as "SCI Remake" instead of "VGA Remake". It's not in VGA ;)
svn-id: r38324
2009-02-15 22:42:09 +00:00
Max Horn
29611bc7ea SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: sfx dir
svn-id: r38322
2009-02-15 22:34:41 +00:00
Max Horn
921e6ff5cf SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: gfx dir
svn-id: r38321
2009-02-15 22:33:36 +00:00
Max Horn
78e0d055ea SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: include dir
svn-id: r38319
2009-02-15 22:32:57 +00:00
Max Horn
5ecfecd3bc SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: scicore dir
svn-id: r38318
2009-02-15 22:28:50 +00:00
Max Horn
57434d955f SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: engine dir
svn-id: r38317
2009-02-15 22:28:12 +00:00
Max Horn
4eff1002f9 SCI: Got rid of a nasty hack where class, delete, new were re#defined because FreeSCI used these C++ keywords for variable names
svn-id: r38312
2009-02-15 22:01:09 +00:00
Oystein Eftevaag
7a72318a12 Compile fix for OS X
svn-id: r38309
2009-02-15 21:57:51 +00:00
Filippos Karapetis
6ffc8e4aea Silenced another warning (disabled an empty switch statement)
svn-id: r38308
2009-02-15 21:39:59 +00:00
Willem Jan Palenstijn
3e3f4e450f close sound when exiting
svn-id: r38307
2009-02-15 21:39:17 +00:00
Max Horn
e90eed4ff3 SCI: Changed _WIN32 -> WIN32; _DREAMCAST -> __DC__; removed _DOS stuff
svn-id: r38305
2009-02-15 21:27:42 +00:00
Max Horn
e29d90be3e SCI: Fixed more warnings
svn-id: r38303
2009-02-15 21:12:21 +00:00
Max Horn
0641af5d1c Better (?) fix for scicore/tools.cpp -- don't add Win32 specific code in a section of code which is supposed to only be used on Windows anyway... :)
svn-id: r38302
2009-02-15 21:11:25 +00:00
Max Horn
8e056b3092 Removed unused code
svn-id: r38301
2009-02-15 21:04:32 +00:00
Willem Jan Palenstijn
5c63409d3e temporarily re-include fnmatch to fix compilation and case-insensitive matching
svn-id: r38300
2009-02-15 20:54:20 +00:00
Willem Jan Palenstijn
b484e82821 retreive->retrieve
svn-id: r38296
2009-02-15 20:40:49 +00:00
Paweł Kołodziejski
78282ea586 remove defines from msvc project files
svn-id: r38286
2009-02-15 20:15:24 +00:00