aboutsummaryrefslogtreecommitdiff
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-26Updated the MSVC project files of the SCI and parallaction enginesFilippos Karapetis
svn-id: r38911
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-26Added filter to preserve needed Animation across location switch.Nicola Mettifogo
svn-id: r38903
2009-02-26changeLocation now uses the internal variable _newLocationName instead of an ↵Nicola Mettifogo
input parameter. svn-id: r38902
2009-02-26Commit patch #2641592 "Wrong type promotion for SharedPtr" with a slight ↵Johannes Schickel
formatting change. svn-id: r38901
2009-02-26Clarify behaviour of gfxop_get_event().Willem Jan Palenstijn
svn-id: r38900
2009-02-26Fix regression introduced with r38890, where the mouse cursor was redrawn ↵Johannes Schickel
every updateScreen call. svn-id: r38899
2009-02-26CleanupFilippos Karapetis
svn-id: r38898
2009-02-26Removed null*Ptr dummy objects, using SharedPtr's reset method to null ↵Nicola Mettifogo
pointers instead. svn-id: r38897
2009-02-26CleanupFilippos Karapetis
svn-id: r38896
2009-02-26Cleanup. Readded FIXMEFilippos Karapetis
svn-id: r38895
2009-02-26Merged walk code for NS, and simplified handling.Nicola Mettifogo
svn-id: r38894
2009-02-26Fixed crashes and leaks when quitting BRA from menu and splash screen.Nicola Mettifogo
svn-id: r38893
2009-02-26Cleanup of CommandExec and ProgramExec, and pushed down dependencies from ↵Nicola Mettifogo
exec.h. svn-id: r38892
2009-02-26cleanupMax Horn
svn-id: r38891
2009-02-26- Fix cursor drawing bug on (cursor) palette changeJohannes Schickel
- 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-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-25* Rebased Parallaction_br to inherit from Parallaction instead of ↵Nicola Mettifogo
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-25Updated all for(;;) loops to use prefix increment on iterators.Nicola Mettifogo
svn-id: r38876
2009-02-25Fixed segfault when quitting BRA.Nicola Mettifogo
svn-id: r38875
2009-02-25cleanupMax Horn
svn-id: r38874
2009-02-24updatePaweł Kołodziejski
svn-id: r38873
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