Commit Graph

9181 Commits

Author SHA1 Message Date
Paweł Kołodziejski
91ee9a3eb8 not needed this includes anymore
svn-id: r38857
2009-02-24 21:13:32 +00:00
Paweł Kołodziejski
859477c968 not needed anymore
svn-id: r38856
2009-02-24 20:55:43 +00:00
Paweł Kołodziejski
9bb135ac25 not needed anymore
svn-id: r38855
2009-02-24 20:52:18 +00:00
Max Horn
7d2a2ece38 SCI: Replaced gfxop_usleep by gfxop_sleep (taking millisecs instead of microsecs)
svn-id: r38854
2009-02-24 20:50:09 +00:00
Max Horn
0be30cdc5d SCI: Renamed gfx/gfx_operations.h to gfx/operations.h (matching the source file); moved include/sci_widgets.h to gfx/ (matching location of source file); renamed gfx/widgets.cpp to gfx/gfx_widgets.cpp (matching the header)
svn-id: r38852
2009-02-24 20:39:34 +00:00
Max Horn
220270586c SCI: Removed usec_sleep from gfx_driver_t (call OSystem::delayMillis directly instead); added remarks that busy-waiting like this with delayMillis is maybe not the best way, and that gfx_driver_t should be either removed or turned into a class
svn-id: r38851
2009-02-24 20:33:31 +00:00
Eugene Sandulenko
241340a07e Fix compilation
svn-id: r38850
2009-02-24 20:11:10 +00:00
Willem Jan Palenstijn
e29c334601 state_t to EngineState
svn-id: r38847
2009-02-24 18:47:53 +00:00
Willem Jan Palenstijn
b4cf9e5a26 fix typo in parse rule
svn-id: r38846
2009-02-24 18:47:13 +00:00
Andre Heider
357299c570 substitute all time related functions, removing sci_gettime sci_get_current_time altogether.
svn-id: r38845
2009-02-24 18:31:05 +00:00
Andre Heider
3082586230 fix forward declarations to match the actual ones
svn-id: r38844
2009-02-24 18:21:12 +00:00
Eugene Sandulenko
c9f245a840 oops
svn-id: r38843
2009-02-24 15:40:19 +00:00
Eugene Sandulenko
a27285f117 Normalized guard #defines
svn-id: r38842
2009-02-24 15:33:40 +00:00
Nicola Mettifogo
b3d2429b04 Fixed shadowed name.
svn-id: r38841
2009-02-24 15:21:53 +00:00
Johannes Schickel
cda5d6989b Fix some warnings.
svn-id: r38840
2009-02-24 15:14:15 +00:00
Walter van Niftrik
8dab4eb461 SCI: call updateScreen after every copyRectToScreen; removed internal front visual buffer
svn-id: r38839
2009-02-24 12:01:28 +00:00
Nicola Mettifogo
6334125d1c Implemented follower support, except that:
* follower is forgotten when location changes (see freeLocation)
* the final walking frame is screwed

svn-id: r38838
2009-02-24 11:20:45 +00:00
Nicola Mettifogo
5dff53a2fa Added preliminary code for following walker support in BRA.
svn-id: r38837
2009-02-24 09:18:20 +00:00
Nicola Mettifogo
659c9fb901 Changed interface to walk code, to better handle the differences between games. Moreover:
* merged PathBuilder_BR into PathWalker_BR
* implemented checkTrap routine for BRA

svn-id: r38836
2009-02-24 08:42:46 +00:00
Max Horn
d19ba951e8 SCI: Moved sciconsole.h and sys_strings.h to the dirs their *.cpp counterparts are in
svn-id: r38835
2009-02-24 06:00:10 +00:00
Max Horn
7105df20fa SCI: Moved vm.h from include to engine
svn-id: r38834
2009-02-24 05:56:26 +00:00
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
62126681f3 SCI: Removed unused header file event.h
svn-id: r38825
2009-02-24 03:43:44 +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