Commit Graph

29395 Commits

Author SHA1 Message Date
Max Horn
325d2ec66b SCI: More pathfinding cleanup
svn-id: r38830
2009-02-24 05:23:42 +00:00
Max Horn
8c9bd00b51 SCI: Replaced vertex list used for dijkstra algo by Common::List; got rid of include/list.h
svn-id: r38829
2009-02-24 05:07:15 +00:00
Max Horn
735701983c SCI: Rewrote parts of the pathfinding code to use Common::List; also renamed some types
svn-id: r38828
2009-02-24 04:56:35 +00:00
Max Horn
82e0b20613 SCI: Turned circular list code into a small class
svn-id: r38827
2009-02-24 04:30:41 +00:00
Max Horn
3a8dd2b467 SCI: cleanup
svn-id: r38826
2009-02-24 04:01:53 +00:00
Max Horn
62126681f3 SCI: Removed unused header file event.h
svn-id: r38825
2009-02-24 03:43:44 +00:00
Max Horn
d7b3c04588 Moved FSDirectory implementation from common/archive.cpp to common/fs.cpp
svn-id: r38824
2009-02-24 03:22:34 +00:00
Max Horn
35e3364675 SCI: Renamed int_hashmap to IntMapper, and added docs that explain that this is *not* a hashmap (at least not a plain hashmap)
svn-id: r38823
2009-02-24 02:59:50 +00:00
Willem Jan Palenstijn
6c3a758cf6 SCI: translate cursor's palette to global palette
svn-id: r38822
2009-02-23 23:49:11 +00:00
Willem Jan Palenstijn
4dca30cfe9 reinstate line drawing for xfact/yfact > 1
svn-id: r38821
2009-02-23 22:36:39 +00:00
Willem Jan Palenstijn
25738df2d3 SCI: reinstate pointer scaling for xfact/yfact
svn-id: r38820
2009-02-23 22:36:19 +00:00
Lars Persson
90c12b3b3c Must intialize _keysDialog to NULL
svn-id: r38819
2009-02-23 22:09:06 +00:00
Florian Kagerer
837ca0683e LOL: - some more work on the interface (you can now click on the banners and windows) and some bug fixes
svn-id: r38818
2009-02-23 20:17:53 +00:00
Nicola Mettifogo
e3afa772e2 Cleanup.
svn-id: r38817
2009-02-23 12:17:25 +00:00
Nicola Mettifogo
9bef5a0cfc Rewrote the sarcophagus puzzle in Nippon Safes, since I finally understood how it was implemented in the original!
svn-id: r38816
2009-02-23 11:55:25 +00:00
Nicola Mettifogo
edaf382d2f * Refactored drawAnimations to be more easily extensible when adding game-specific features.
* Added a new zonesToUpdate list to keep track of movable zones.

svn-id: r38815
2009-02-23 11:50:10 +00:00
Filippos Karapetis
e7fd931afa Replaced lineColor2 with Graphics::drawLine
svn-id: r38813
2009-02-23 09:39:09 +00:00
Filippos Karapetis
5e1ab5be9b Replaced get_uint_16() with READ_LE_UINT16()
svn-id: r38812
2009-02-23 09:03:12 +00:00
Max Horn
376e4f86d6 SCI: cleanup
svn-id: r38811
2009-02-23 04:48:29 +00:00
Max Horn
c21e6c382d SCI: Moved file specific stuff from tools.h & tools.cpp to kfile.cpp
svn-id: r38810
2009-02-23 04:37:35 +00:00
Max Horn
152ed65c50 SCI: Don't chdir to the gamepath anymore
svn-id: r38809
2009-02-23 04:36:40 +00:00
Max Horn
094c3264a0 SCI: Added some demos (they don't work, so disabled for now. Would be way cool if all demos worked, for testing)
svn-id: r38808
2009-02-23 04:35:06 +00:00
Max Horn
2413a5690e SCI: Got rid of resource_dir & work_dir (temporarily disabled f_open_mirrored for that)
svn-id: r38807
2009-02-23 04:31:11 +00:00
Max Horn
6147bd3ed9 SCI: Merged kDeviceInfo_Win32 & kDeviceInfo_Unix; added lots of debug calls to the file I/O code, to make it possible to analyze usage patterns; some cleanup
svn-id: r38806
2009-02-23 03:51:22 +00:00
Max Horn
9744fc615c SCI: Changed selector name table to a Common::StringList
svn-id: r38805
2009-02-23 03:04:52 +00:00
Max Horn
327f5c9f77 SCI: Simplified code for selector lookup map generation a bit; got rid of an unused var
svn-id: r38804
2009-02-23 02:17:26 +00:00
Walter van Niftrik
ce7377ff5b SCI: Fix incorrect usage of struct tm in date function of kGetTime
svn-id: r38803
2009-02-23 01:59:04 +00:00
Filippos Karapetis
c327ed3faf Updated the MSVC project files for the SCI engine
svn-id: r38802
2009-02-23 01:01:28 +00:00
Filippos Karapetis
0c8d8b20d9 Updated comment
svn-id: r38801
2009-02-23 00:40:59 +00:00
Filippos Karapetis
db343c7287 Removed unused antialiasing code (plus, we do antialiasing at the OSystem graphics backend)
svn-id: r38800
2009-02-23 00:39:00 +00:00
Jordi Vilalta Prat
81c6da5658 SCI: Fix saving/loading (regression introduced in r38767)
svn-id: r38799
2009-02-23 00:14:51 +00:00
Jordi Vilalta Prat
506e49b123 Don't generate extra whitespaces (forgot to commit it before)
svn-id: r38798
2009-02-23 00:10:36 +00:00
Matthew Hoops
5cc8d71cac Ms. Astro Chicken! (aka Add detection for Ms. Astro Chicken)
svn-id: r38797
2009-02-22 23:32:28 +00:00
Willem Jan Palenstijn
a5a29a44e9 Check for end of file more often while reading CFSML
svn-id: r38796
2009-02-22 22:07:30 +00:00
Max Horn
4c1349e0f4 SCI: Fix what looks like a bug in the save/load system (?)
svn-id: r38795
2009-02-22 21:41:00 +00:00
Max Horn
1687a5e8d0 SCI: Rewrite the way file handles are managed
svn-id: r38794
2009-02-22 21:38:46 +00:00
Max Horn
4a6d6e8988 SCI: Moved the code which iterates over the current dir into a small class
svn-id: r38793
2009-02-22 20:48:42 +00:00
Filippos Karapetis
fa16c9d386 The two hardcoded fonts, 5x8 and 6x10 were used for FreeSCI's debugger and game menu, so they can be safely removed now
svn-id: r38792
2009-02-22 20:06:25 +00:00
Max Horn
8997a45773 SCI: Replaced two uses of sci_fopen by Common::File; moved is_print_str() to the only spot it is used
svn-id: r38791
2009-02-22 19:45:53 +00:00
Matthew Hoops
a5e6684151 Re-enable kq1 SCI Amiga and Mixed Up Mother Goose SCI Amiga.
svn-id: r38789
2009-02-22 18:31:40 +00:00
Matthew Hoops
20eb924bb1 Add Cascade Quest and the SCI Companion Template (fan games)
svn-id: r38788
2009-02-22 17:54:38 +00:00
Max Horn
9b45dd2849 Modified FSDirectory::lookupCache to return a FSNode *pointer*, so that we can distinguish between lookup failures and invalid cache entries. Also changed SearchSet::createReadStreamForMember to not use hasFile anymore, based on the assumption that any Archive::createReadStreamForMember implementation has to verify whether the member name is valid anyway (clarified the doxygen docs accordingly)
svn-id: r38787
2009-02-22 16:48:02 +00:00
Max Horn
c397b37bfb Modified ZipArchive::createReadStreamForMember to check whether the zip archive contains a file with the given name
svn-id: r38786
2009-02-22 16:27:48 +00:00
Matthew Hoops
8fb7fd0681 Add detection entries for the SCI Fangames.
svn-id: r38785
2009-02-22 14:40:56 +00:00
Sven Hesse
462ef2c78c Clipping the rendering to the output surface.
This should fix the crash in the Italian version of Woodruff (#1981031 - "Crash after dancing at Puh-Let Party!!")

svn-id: r38784
2009-02-22 14:04:07 +00:00
Jordi Vilalta Prat
b5ce8d9320 Whitespace cleanup
svn-id: r38783
2009-02-22 13:11:43 +00:00
Jordi Vilalta Prat
ac409a2ab7 SCI: Converted "segment interfaces" into classes
svn-id: r38782
2009-02-22 12:18:22 +00:00
Andre Heider
7d21acd18b replace sci_gettime in gfx/
svn-id: r38781
2009-02-22 10:20:45 +00:00
Max Horn
f6de07921e Changed Common::File and FSDirectory to invoke FSNode::exists a few times less, reducing overhead
svn-id: r38780
2009-02-22 04:40:10 +00:00
Max Horn
d9a98ddc21 SCI: cleanup
svn-id: r38779
2009-02-22 04:22:53 +00:00