Commit Graph
4076 Commits
Author SHA1 Message Date
Max Horn b5df97ad2b SCI: Moved kernel.h and kdebug.h from include/ to engine/; untangled header deps some more
svn-id: r38833
2009-02-24 05:51:55 +00:00
Max Horn 1e4db221e5 SCI: Moved engines/sci/include/sci_memory.h and engines/sci/scicore/sci_memory.cpp into engines/sci/; moved macros from the header into the source file
svn-id: r38832
2009-02-24 05:39:10 +00:00
Max Horn 47bc0d7879 SCI: Last batch of pathfinding cleanup
svn-id: r38831
2009-02-24 05:30:45 +00:00
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 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
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 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
Jordi Vilalta Prat 81c6da5658 SCI: Fix saving/loading (regression introduced in r38767)
svn-id: r38799
2009-02-23 00:14:51 +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
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
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
Filippos Karapetis fcf5e87de6 - Made ResourceManager accessible from _vm
- Replaced c_version by its corresponding ScummVM equivalent command

svn-id: r38775
2009-02-22 01:33:16 +00:00
Filippos Karapetis a46a2d9c92 Fixed compilation under Windows
svn-id: r38770
2009-02-22 00:38:39 +00:00
Jordi Vilalta Prat 817fde6cdd SCI: Convert the segment manager into a class
svn-id: r38767
2009-02-21 23:27:24 +00:00
Willem Jan Palenstijn b18ccb755a multiply before dividing to improve timer resolution
svn-id: r38765
2009-02-21 23:16:03 +00:00
Max Horn 7a12a67ce8 SCI: Moved aatree.* files together into engine/
svn-id: r38763
2009-02-21 22:54:15 +00:00
Max Horn 6f13850161 SCI: Moved include/menubar.h -> gfx/menubar.h, untangled headers some more
svn-id: r38761
2009-02-21 22:50:35 +00:00
Max Horn d6e397233f SCI: More cleanup
svn-id: r38758
2009-02-21 22:40:58 +00:00
Max Horn 8430b662a9 SCI: Changed typedef struct -> struct
svn-id: r38752
2009-02-21 22:06:42 +00:00
Max Horn dbafa5c456 SCI: Removed c_sleep console command (what was/is the idea behind that one, anyway?)
svn-id: r38748
2009-02-21 21:22:50 +00:00
Max Horn 6288e0456f SCI: Removed setjmp code
svn-id: r38747
2009-02-21 21:22:07 +00:00
Max Horn ff17899d8e SCI: Got rid of include/scitypes.h
svn-id: r38746
2009-02-21 21:16:41 +00:00
Max Horn 041869ed36 SCI: Untangling #include dependencies a bit
svn-id: r38740
2009-02-21 19:54:15 +00:00
Eugene Sandulenko c6e27ebfcd Fix compilation by implicit including of sys/stat.h
svn-id: r38736
2009-02-21 19:35:30 +00:00
Max Horn eb37789f6f SCI: Renamed include/gfx_*.h to gfx/gfx_*.h and likewise for sfx header files
svn-id: r38735
2009-02-21 19:33:01 +00:00
Max Horn 6f022278e6 SCI: Removed unused header
svn-id: r38729
2009-02-21 19:06:34 +00:00
Max Horn c5e00f3de2 SCI: More cleanup
svn-id: r38725
2009-02-21 19:01:32 +00:00
Filippos Karapetis 9260fd38b8 Fixed compilation under MSVC
svn-id: r38723
2009-02-21 18:56:17 +00:00
Filippos Karapetis 9036c0fee0 Renamed SCI's console to sciconsole (MSVC has problems with files with the same name under different directories). ScummVM's console can be enabled correctly under MSVC now
svn-id: r38722
2009-02-21 18:46:03 +00:00
Max Horn 9f2c0dcc6f SCI: Tons of cleanup
svn-id: r38721
2009-02-21 18:39:53 +00:00
Max Horn 0d41ca8d38 SCI: Moved scicore/tools.cpp to tools.cpp, and include/resource.h to tools.h
svn-id: r38720
2009-02-21 18:28:38 +00:00
Filippos Karapetis 6acf734ab8 Oops
svn-id: r38717
2009-02-21 18:17:08 +00:00
Filippos Karapetis 426def4f44 Turned back all fprintf/exit(1) bits into error()
svn-id: r38716
2009-02-21 18:16:17 +00:00
Filippos Karapetis 3cd9706c63 Now that we've placed everything under the Sci namespace, the Sci:: bits can be removed
svn-id: r38714
2009-02-21 18:12:02 +00:00
Andre Heider e514d9780a use OSystem::getMillis() for last_wait_time and get rid of game_start_time
svn-id: r38701
2009-02-21 15:40:14 +00:00
Willem Jan Palenstijn 34f90ac043 revert large parts of r38621. error() is for fatal errors and does not return. warning() is not for debugging status messages.
svn-id: r38696
2009-02-21 14:11:41 +00:00
Travis Howell 7ce7993c30 Remove excess \n.
svn-id: r38695
2009-02-21 13:19:44 +00:00