aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2009-02-27The engine has now to build the drawing list for the graphic department, ↵Nicola Mettifogo
instead of setting visibility flags; the new field _prog has been added to GfxObj to help sorting the list. The outcome is that cleaning up unused resources on location switches is now easier to manage, and less error prone. svn-id: r38928
2009-02-27Improved debugger output.Nicola Mettifogo
svn-id: r38927
2009-02-27Committed patch #2606844 ("Fix crash when using BS1 without portuguese data").Torbjörn Andersson
Admittedly, I'm not really that familiar with BS1 resource management, but as far as I can tell the patch just adds sanity checking, so it shouldn't hurt. svn-id: r38925
2009-02-27Committed a slightly updated patch #2602772 ("Patches for BS1 bug ID #1977094")Torbjörn Andersson
to replace some missing subtitles with hard-coded ones. svn-id: r38923
2009-02-27SCI: Remove empty include/ dirMax Horn
svn-id: r38922
2009-02-27SCI: Renamed include/engine.h to engine/state.h; added a corresponding .cpp ↵Max Horn
file with the EngineState constructor svn-id: r38921
2009-02-27SCI: Moved almost all files from include/ to other dirs; only ↵Max Horn
include/engine.h remains svn-id: r38920
2009-02-27SCI: Commited file handling revamp, work in progressMax Horn
svn-id: r38919
2009-02-26Reset successor variable after use.Willem Jan Palenstijn
This fixes a crash in SQ3 after reloading followed by restarting. svn-id: r38918
2009-02-26- Removed engine/sys_strings.*Filippos Karapetis
- Renamed sys_string_t -> SystemString, sys_strings_t -> SystemStrings svn-id: r38916
2009-02-26start out with an empty array of file handles, so the Enginestates matches ↵Andre Heider
between startup and restart. really check its size before accessing it (fixes LSL3 restart) svn-id: r38915
2009-02-26fix graphics regression in Iceman caused by r38909Willem Jan Palenstijn
svn-id: r38914
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-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-26Clarify behaviour of gfxop_get_event().Willem Jan Palenstijn
svn-id: r38900
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-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-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