aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2009-02-26protect the sfx timer with the callbackMutex to fix the race the condition ↵Andre Heider
when restarting or restoring a game. svn-id: r38913
2009-02-26reinit sfx in game_init() when it got deinitialized in game_exit(), this ↵Andre Heider
unmutes the game after a restart. shutdown sfx in game_exit() only if there is no EngineState successor (restored game) since gamestate_restore() already reinitialized it. svn-id: r38912
2009-02-26cleanupMax Horn
svn-id: r38910
2009-02-26SCI: Modified gfx_new_mode to take a Graphics::PixelFormatMax Horn
svn-id: r38909
2009-02-26SCI: Changed 'typedef enum { } NAME' into C++-style 'enum NAME { }'Max Horn
svn-id: r38908
2009-02-26SCI: Turned the crossblit code into a templateMax Horn
svn-id: r38907
2009-02-26SCI: Some nitpick FIXMEs on incorrect opcode number comments ;)Max Horn
svn-id: r38906
2009-02-26SCI: Moved gfx_line.cpp to line.h and turned _gfx_draw_line_buffer into a ↵Max Horn
template svn-id: r38905
2009-02-26SCI: Replaced #define hack to fake subclassing in C by regular C++ subclassingMax Horn
svn-id: r38904
2009-02-26Clarify behaviour of gfxop_get_event().Willem Jan Palenstijn
svn-id: r38900
2009-02-26CleanupFilippos Karapetis
svn-id: r38898
2009-02-26CleanupFilippos Karapetis
svn-id: r38896
2009-02-26Cleanup. Readded FIXMEFilippos Karapetis
svn-id: r38895
2009-02-26cleanupMax Horn
svn-id: r38891
2009-02-25fix read_SegManagerPtr to not read from an uninitialzed pointerAndre Heider
svn-id: r38889
2009-02-25reintroduce game_start_time (removed it in r38701), since the interpreter ↵Andre Heider
can be restarted and it can be retrieved via script function (eg. LSL3 about box) svn-id: r38888
2009-02-25Initial fix for the keypad keys. We still don't know the initial state of ↵Filippos Karapetis
the caps lock etc keys, so an appropriate method will need to be added to OSystem svn-id: r38887
2009-02-25Reverted my wrong commit #38870. Most of the key codes are handled by the ↵Filippos Karapetis
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-25cleanupMax Horn
svn-id: r38885
2009-02-25SCI: Restored ability to warp the mouse cursorMax Horn
svn-id: r38884
2009-02-25SCI: Removed code for software rendered mouse cursorMax Horn
svn-id: r38883
2009-02-25SCI: Added remark that we don't track capslock, numlock, scrlock properlyMax Horn
svn-id: r38882
2009-02-25SCI: Simplify event polling code a little bitMax Horn
svn-id: r38881
2009-02-25Interpret NONBLOCK as PEEK; poll while sleeping.Willem Jan Palenstijn
Also use Common::List for internal event queue. svn-id: r38880
2009-02-25Don't truncate keycode in queued events.Willem Jan Palenstijn
svn-id: r38878
2009-02-25cleanupMax Horn
svn-id: r38874
2009-02-24SCI: Don't #include headers in other headers if a forward declaration of a ↵Max Horn
few types suffices (reduces header interdependencies) svn-id: r38872
2009-02-24fix warningMax Horn
svn-id: r38871
2009-02-24Replaced some of the internal SCI scan codes with the ones from ScummVMFilippos Karapetis
svn-id: r38870
2009-02-24Removed unused resource macrosJordi Vilalta Prat
svn-id: r38869
2009-02-24Process modifier keys (capslock, numlock, scrollock)Filippos Karapetis
svn-id: r38868
2009-02-24SCI: Moved (kernel) debug stuff from tools.cpp to a new file engine/kdebug.cppMax Horn
svn-id: r38867
2009-02-24bring back comments but as TODO commentPaweł Kołodziejski
svn-id: r38866
2009-02-24Removed some non-required struct declarationsJordi Vilalta Prat
svn-id: r38865
2009-02-24Fix a valgrind warning (free -> delete)Jordi Vilalta Prat
svn-id: r38864
2009-02-24remove code related __GNU__XX definesPaweł Kołodziejski
svn-id: r38863
2009-02-24not needed include anymorePaweł Kołodziejski
svn-id: r38862
2009-02-24not needed this includes anymorePaweł Kołodziejski
svn-id: r38857
2009-02-24not needed anymorePaweł Kołodziejski
svn-id: r38856
2009-02-24not needed anymorePaweł Kołodziejski
svn-id: r38855
2009-02-24SCI: Replaced gfxop_usleep by gfxop_sleep (taking millisecs instead of ↵Max Horn
microsecs) svn-id: r38854
2009-02-24SCI: Renamed gfx/gfx_operations.h to gfx/operations.h (matching the source ↵Max Horn
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-24SCI: Removed usec_sleep from gfx_driver_t (call OSystem::delayMillis ↵Max Horn
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-24Fix compilationEugene Sandulenko
svn-id: r38850
2009-02-24state_t to EngineStateWillem Jan Palenstijn
svn-id: r38847
2009-02-24fix typo in parse ruleWillem Jan Palenstijn
svn-id: r38846
2009-02-24substitute all time related functions, removing sci_gettime ↵Andre Heider
sci_get_current_time altogether. svn-id: r38845
2009-02-24fix forward declarations to match the actual onesAndre Heider
svn-id: r38844
2009-02-24oopsEugene Sandulenko
svn-id: r38843
2009-02-24Normalized guard #definesEugene Sandulenko
svn-id: r38842