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
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
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
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
fa59ce0d9f
Removed the unused sci_get_homedir() function
...
svn-id: r38466
2009-02-18 10:49:17 +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
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
ebff01c463
shat up ARRAYSIZE redefine compiler warnings
...
svn-id: r38444
2009-02-17 20:26:57 +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
57176cdce1
Removed unused file
...
svn-id: r38427
2009-02-17 17:37:01 +00:00
Eugene Sandulenko
87e7f85410
Update headers. scicore/
...
svn-id: r38411
2009-02-17 15:09:09 +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
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
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
Max Horn
a272626210
Replace strncasecmp by scumm_strnicmp
...
svn-id: r38362
2009-02-16 09:53:34 +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
2d0a897d16
Replace strcasecmp with scumm_stricmp.
...
svn-id: r38356
2009-02-16 09:17:49 +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
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
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
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
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
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
Max Horn
a49d29cf6f
cleanup, fixed warnings
...
svn-id: r38282
2009-02-15 19:15:43 +00:00
Willem Jan Palenstijn
8392dd3aab
consts
...
svn-id: r38272
2009-02-15 17:26:59 +00:00
Filippos Karapetis
b27053c71e
Silenced some more warnings
...
svn-id: r38270
2009-02-15 16:59:48 +00:00
Filippos Karapetis
06186502b2
Silenced more warnings
...
svn-id: r38267
2009-02-15 16:45:39 +00:00
Filippos Karapetis
aa3f10b2fd
Fixed compilation under MSVC, and silenced some more warnings
...
svn-id: r38247
2009-02-15 14:52:51 +00:00
Max Horn
9daed50e01
Fixed lots of warnings and errors (on my system) by backporting a patch I had sent the FreeSCI folks some time ago (but apparently it never made it, or only made it to a branch not imported?)
...
svn-id: r38245
2009-02-15 14:46:42 +00:00
Filippos Karapetis
24dc986944
Silenced a ton of warnings, and disabled several unreferenced functions (dead code) - hopefully, compilation hasn't been broken...
...
svn-id: r38243
2009-02-15 14:26:33 +00:00
Paweł Kołodziejski
0724206156
fixed compilation and linking with msvc9
...
svn-id: r38232
2009-02-15 12:29:09 +00:00
Eugene Sandulenko
38087c4f24
Fix compilation. How ugly without templates. Yuck!
...
svn-id: r38228
2009-02-15 11:44:14 +00:00
Eugene Sandulenko
e241843bec
- Remove some unneeded files
...
- Mass rename .c to .cpp
svn-id: r38227
2009-02-15 11:39:07 +00:00
Travis Howell
5e2def9ca5
Fix mingw compilation.
...
svn-id: r38217
2009-02-15 10:21:22 +00:00
Eugene Sandulenko
c399437479
- Remove unneeded files
...
- Make whole thing finally compilable
svn-id: r38214
2009-02-15 10:10:23 +00:00