Commit Graph
86814 Commits
Author SHA1 Message Date
Nicola Mettifogo b76ad3dc4f changeLocation now uses the internal variable _newLocationName instead of an input parameter.
svn-id: r38902
2009-02-26 14:42:03 +00:00
Johannes Schickel 868b589af6 Commit patch #2641592 "Wrong type promotion for SharedPtr" with a slight formatting change.
svn-id: r38901
2009-02-26 13:54:21 +00:00
Willem Jan Palenstijn 1377a4b64c Clarify behaviour of gfxop_get_event().
svn-id: r38900
2009-02-26 12:10:11 +00:00
Johannes Schickel d262d7773a Fix regression introduced with r38890, where the mouse cursor was redrawn every updateScreen call.
svn-id: r38899
2009-02-26 11:32:02 +00:00
Filippos Karapetis 387fcd101d Cleanup
svn-id: r38898
2009-02-26 10:44:25 +00:00
Nicola Mettifogo 88efc8603e Removed null*Ptr dummy objects, using SharedPtr's reset method to null pointers instead.
svn-id: r38897
2009-02-26 10:44:01 +00:00
Filippos Karapetis 2fbf626d09 Cleanup
svn-id: r38896
2009-02-26 10:31:48 +00:00
Filippos Karapetis 6f939ff6c8 Cleanup. Readded FIXME
svn-id: r38895
2009-02-26 09:44:06 +00:00
Nicola Mettifogo 76283e3f73 Merged walk code for NS, and simplified handling.
svn-id: r38894
2009-02-26 09:42:08 +00:00
Nicola Mettifogo 3efffe511b Fixed crashes and leaks when quitting BRA from menu and splash screen.
svn-id: r38893
2009-02-26 09:12:29 +00:00
Nicola Mettifogo d5d006bb30 Cleanup of CommandExec and ProgramExec, and pushed down dependencies from exec.h.
svn-id: r38892
2009-02-26 06:16:35 +00:00
Max Horn 5093167fde cleanup
svn-id: r38891
2009-02-26 02:21:55 +00:00
Johannes Schickel 28d1fdcf24 - Fix cursor drawing bug on (cursor) palette change
- Fix cursor drawing when it was hidden before and no dirty rects are present
- Diese und die folgenden Zeilen werden ignoriert --

M    sdl/graphics.cpp

svn-id: r38890
2009-02-26 02:04:30 +00:00
Andre Heider 522063b28c fix read_SegManagerPtr to not read from an uninitialzed pointer
svn-id: r38889
2009-02-25 23:50:16 +00:00
Andre Heider 9af7fba681 reintroduce game_start_time (removed it in r38701), since the interpreter can be restarted and it can be retrieved via script function (eg. LSL3 about box)
svn-id: r38888
2009-02-25 21:43:57 +00:00
Filippos Karapetis 1786ecabbf Initial fix for the keypad keys. We still don't know the initial state of the caps lock etc keys, so an appropriate method will need to be added to OSystem
svn-id: r38887
2009-02-25 20:40:05 +00:00
Filippos Karapetis 71ae2d3aba Reverted my wrong commit #38870. Most of the key codes are handled by the engine itself, however there are cases where they are handled by the game scripts, e.g. in save/load dialogs. The arrow keys in the save/load dialogs should work properly again. The numpad keys still look to be broken by some other commit
svn-id: r38886
2009-02-25 19:52:17 +00:00
Max Horn c199c6c6c4 cleanup
svn-id: r38885
2009-02-25 19:30:11 +00:00
Max Horn b990add13e SCI: Restored ability to warp the mouse cursor
svn-id: r38884
2009-02-25 19:28:46 +00:00
Max Horn ec26d4f24b SCI: Removed code for software rendered mouse cursor
svn-id: r38883
2009-02-25 19:28:20 +00:00
Max Horn 71a07c7c9f SCI: Added remark that we don't track capslock, numlock, scrlock properly
svn-id: r38882
2009-02-25 19:05:54 +00:00
Max Horn 3a000f3d84 SCI: Simplify event polling code a little bit
svn-id: r38881
2009-02-25 18:59:00 +00:00
Willem Jan Palenstijn 9ed544679a Interpret NONBLOCK as PEEK; poll while sleeping.
Also use Common::List for internal event queue.

svn-id: r38880
2009-02-25 18:23:28 +00:00
Willem Jan Palenstijn 98a7ba4ec3 Don't truncate keycode in queued events.
svn-id: r38878
2009-02-25 17:36:38 +00:00
Nicola Mettifogo 301e9d73d1 * Rebased Parallaction_br to inherit from Parallaction instead of Parallaction_ns
* Same as above for CommandExec_br and ProgramExec_br
This should finally kill most issues with destruction, at the cost of some code duplication.

svn-id: r38877
2009-02-25 09:15:53 +00:00
Nicola Mettifogo 93666ef53c Updated all for(;;) loops to use prefix increment on iterators.
svn-id: r38876
2009-02-25 08:53:58 +00:00
Nicola Mettifogo 8ba9e804a8 Fixed segfault when quitting BRA.
svn-id: r38875
2009-02-25 03:52:16 +00:00
Max Horn 8280089d28 cleanup
svn-id: r38874
2009-02-25 02:05:43 +00:00
Paweł Kołodziejski 04588b1fa2 update
svn-id: r38873
2009-02-24 23:19:52 +00:00
Max Horn e5a7b99cee SCI: Don't #include headers in other headers if a forward declaration of a few types suffices (reduces header interdependencies)
svn-id: r38872
2009-02-24 23:16:42 +00:00
Max Horn 4f8e9511a1 fix warning
svn-id: r38871
2009-02-24 23:15:49 +00:00
Filippos Karapetis 5618a81cff Replaced some of the internal SCI scan codes with the ones from ScummVM
svn-id: r38870
2009-02-24 22:58:44 +00:00
Jordi Vilalta Prat 936e807ef3 Removed unused resource macros
svn-id: r38869
2009-02-24 22:51:19 +00:00
Filippos Karapetis 1dff55f901 Process modifier keys (capslock, numlock, scrollock)
svn-id: r38868
2009-02-24 22:48:39 +00:00
Max Horn 595c655766 SCI: Moved (kernel) debug stuff from tools.cpp to a new file engine/kdebug.cpp
svn-id: r38867
2009-02-24 22:41:58 +00:00
Paweł Kołodziejski e7b0c975d9 bring back comments but as TODO comment
svn-id: r38866
2009-02-24 22:40:54 +00:00
Jordi Vilalta Prat a9dfa2575a Removed some non-required struct declarations
svn-id: r38865
2009-02-24 22:33:39 +00:00
Jordi Vilalta Prat 9784c2dac1 Fix a valgrind warning (free -> delete)
svn-id: r38864
2009-02-24 22:25:39 +00:00
Paweł Kołodziejski c2c02ceffd remove code related __GNU__XX defines
svn-id: r38863
2009-02-24 22:24:58 +00:00
Paweł Kołodziejski 64ca675b51 not needed include anymore
svn-id: r38862
2009-02-24 22:01:10 +00:00
Max Horn c102e30e73 SDL: Tweak the way the mouse is drawn/erased, so that it is not erase and drawn again if nothing changed
svn-id: r38861
2009-02-24 21:43:07 +00:00
Max Horn 6eef86ef4c Fix my wrong comment on OSystem::updateScreen(). Now it is hopefully correct
svn-id: r38860
2009-02-24 21:22:04 +00:00
Max Horn d3b715817d Add some remarks on OSystem::updateScreen() properties
svn-id: r38859
2009-02-24 21:15:23 +00:00
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
Paweł Kołodziejski 7d5e45fa83 update
svn-id: r38853
2009-02-24 20:49:52 +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