aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-02-27Fix code formattingEugene Sandulenko
svn-id: r38930
2009-02-27updatePaweł Kołodziejski
svn-id: r38929
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-27Changing the visibility of the mouse means it has to be redrawn. At least, thisTorbjörn Andersson
fixes a regression in Broken Sword 1 when using one inventory object on another (if the cursor is partly beneath the inventory bar) for me. svn-id: r38926
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-27Overhaul to the README:Max Horn
* Added a quick start section * Reduced indention for many lists, to use screen space better * Rewrapped most sections to a column limit of 72 chars (not enforced strictly, though, tried to make a compromise between readability, uniformity, good looks and common sense ;) * Corrected/added a few minor things svn-id: r38924
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-26Updated the MSVC project files of the SCI engineFilippos Karapetis
svn-id: r38917
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-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