aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore
AgeCommit message (Collapse)Author
2009-02-20Changed more messages to warnings/errorsFilippos Karapetis
svn-id: r38621
2009-02-20Used parentheses to indicate operator precedence (I hope I got them right)Filippos Karapetis
svn-id: r38602
2009-02-20fixed compilationPaweł Kołodziejski
svn-id: r38599
2009-02-20SCI: Started rewriting file handling. Warning: This will likely introduceMax Horn
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-20SCI: Renamed some ResourceManager members, cleanupMax Horn
svn-id: r38596
2009-02-20SCI: Removed unused allow_patches param/memberMax Horn
svn-id: r38595
2009-02-20SCI: Renamed resource_source_t -> ResourceSource; some cleanupMax Horn
svn-id: r38593
2009-02-20SCI: Renamed resource_mgr_t -> ResourceManager; added remark to 'the other ↵Max Horn
resource manager' that it should be renamed to GraphicsManager or so svn-id: r38592
2009-02-19Rewrote the EXE reading routines (the LZEXE compression stuff is still not ↵Filippos Karapetis
completed, and will be implemented in a follow-up commit) svn-id: r38543
2009-02-19Fix SCI 1.1 detection.Travis Howell
svn-id: r38535
2009-02-19- Fix finding versions from exe'sMatthew Hoops
- 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-19scan_file returns 1 if there's a failure, not 0; correct ↵Matthew Hoops
version_detect_from_executable to use that properly svn-id: r38528
2009-02-18Readded the code which reads the version from the original executable to the ↵Filippos Karapetis
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-18cleanupMax Horn
svn-id: r38508
2009-02-18SCI: Added G_DIR_SEPARATOR to scicore/resource.cpp for now (I'll remove it ↵Max Horn
again soon) svn-id: r38498
2009-02-18SCI: Some random cleanupMax Horn
svn-id: r38497
2009-02-18Added FIXME concerning crash when exiting a SCI gameFilippos Karapetis
svn-id: r38472
2009-02-18Removed the unused sci_get_homedir() functionFilippos Karapetis
svn-id: r38466
2009-02-18Removed the unused queue code and memfrob() definitionFilippos Karapetis
svn-id: r38464
2009-02-18Removed the unused memtest, memdup and sci_memdup functionsFilippos Karapetis
svn-id: r38463
2009-02-18Remove the huffmake Perl tool, and the unused hufftree.* filesFilippos Karapetis
svn-id: r38461
2009-02-18We no longer verify the SCI version number against the original executables, ↵Filippos Karapetis
so remove the exe file reader code svn-id: r38460
2009-02-18Moved game version checking to ScummVM's detector and removed the FreeSCI ↵Filippos Karapetis
version checking routines svn-id: r38458
2009-02-17don't attempt display resource type name if it's out of array, so it give ↵Paweł Kołodziejski
access violation svn-id: r38449
2009-02-17shat up ARRAYSIZE redefine compiler warningsPaweł Kołodziejski
svn-id: r38444
2009-02-17Revert changed I accidentally commited *sigh*Max Horn
svn-id: r38435
2009-02-17SCI: Moved sfx_pcm_urat_t from include/sfx_pcm.h to sfx/mixer.hMax Horn
svn-id: r38434
2009-02-17Removed unused fileMax Horn
svn-id: r38427
2009-02-17Update headers. scicore/Eugene Sandulenko
svn-id: r38411
2009-02-17Replaced sci_free() with free() - it's OK to free a NULL pointer, so the ↵Filippos Karapetis
checking that sci_free() performed is not necessary svn-id: r38406
2009-02-17current versions of BEOS no longer support snooze according to Begasus on IRCWillem Jan Palenstijn
svn-id: r38397
2009-02-16Removed a lot of unused and compiler-specific debug code. Note that for ↵Filippos Karapetis
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-16Removed unused code and definesFilippos Karapetis
svn-id: r38385
2009-02-16Replace strncasecmp by scumm_strnicmpMax Horn
svn-id: r38362
2009-02-16SCI: Committed stuff I forgot in my last commit; changed int_hash_map_t to a ↵Max Horn
C++ class svn-id: r38360
2009-02-16Replace strcasecmp with scumm_stricmp.Travis Howell
svn-id: r38356
2009-02-16Reimplemented reg_t_hashmap using Common::HashMapMax Horn
svn-id: r38340
2009-02-16Fix win32 compile of SCI engine.Travis Howell
svn-id: r38337
2009-02-16SCI: cleanupMax Horn
svn-id: r38335
2009-02-16SCI: Removed some unused filesMax Horn
svn-id: r38334
2009-02-16SCI: Moved old_objects.* to tools, as it is only used by ↵Max Horn
tools/scriptdump.cpp, as far as I can tell svn-id: r38333
2009-02-15SCI: Run astyle to make the code be more compliant with our Code Formatting ↵Max Horn
Guidelines: scicore dir svn-id: r38318
2009-02-15SCI: Got rid of a nasty hack where class, delete, new were re#defined ↵Max Horn
because FreeSCI used these C++ keywords for variable names svn-id: r38312
2009-02-15SCI: Changed _WIN32 -> WIN32; _DREAMCAST -> __DC__; removed _DOS stuffMax Horn
svn-id: r38305
2009-02-15Better (?) fix for scicore/tools.cpp -- don't add Win32 specific code in a ↵Max Horn
section of code which is supposed to only be used on Windows anyway... :) svn-id: r38302
2009-02-15Removed unused codeMax Horn
svn-id: r38301
2009-02-15temporarily re-include fnmatch to fix compilation and case-insensitive matchingWillem Jan Palenstijn
svn-id: r38300
2009-02-15retreive->retrieveWillem Jan Palenstijn
svn-id: r38296
2009-02-15cleanup, fixed warningsMax Horn
svn-id: r38282
2009-02-15constsWillem Jan Palenstijn
svn-id: r38272