aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2009-04-23WIP code for kGetMessage (tested with Eco Quest 1). Currently, it doesn't ↵Filippos Karapetis
always work for some reason... svn-id: r40092
2009-04-22SCI: Slim down struct SciKernelFunctionMax Horn
svn-id: r40081
2009-04-22SCI: Changed kfunct_table to a Common::ArrayMax Horn
svn-id: r40080
2009-04-22SCI: Changed knames (kernel function name table) to Common::StringListMax Horn
svn-id: r40078
2009-04-21- Fixed some of the GUI graphical glitches in SCI1 games (e.g. the inventory ↵Filippos Karapetis
screen in several SCI1 games and the menus in PQ3). It's still not right, but it's better than nothing - Removed the confusing ADD_TO_CURRENT_BG_WIDGETS and ADD_TO_CURRENT_FG_WIDGETS defines, which had the same functionality svn-id: r40058
2009-04-21Restored the ability to change the active port bound, by moving it inside ↵Filippos Karapetis
gfx_state_t (it makes much more sense for it to be there, instead of inside user-defined settings). Placed notes inside gfxr_draw_pic01() and gfxr_draw_pic11() for the usage of the current titlebar size in there svn-id: r40057
2009-04-20SCI: Renamed global array 'formats' to the slightly more descriptive ↵Max Horn
g_opcode_formats svn-id: r40031
2009-04-20SCI: Moved list of kernel func declarations to header file, where it belongsMax Horn
svn-id: r40030
2009-04-18Disable MSVC warning in autogenerated codeWillem Jan Palenstijn
svn-id: r40005
2009-04-18Retreive -> retrieveWillem Jan Palenstijn
svn-id: r39996
2009-04-11SCI: Renamed bp_flag -> breakpointFlag; replaced global send_calls_allocated ↵Max Horn
& send_calls vars by a local Common::Stack instance svn-id: r39930
2009-04-09SCI: Clarify hack in kgraphics.cpp based on what lars wrote on scummvm-develMax Horn
svn-id: r39905
2009-04-07SCI: Swapped x and y parameters of IsItSkip. Added IsItSkip to kernel table.Walter van Niftrik
svn-id: r39894
2009-04-06Fixed an issue with the password screen in LSL5 and kStrAt(). The game ↵Filippos Karapetis
password, saved in file memory.drv (which can either exist in the game directory, or is created in the saves folder by ScummVM) is now working correctly, and the game can be started. Note that it's NOT currently possible not to set a password (you'll get the password screen anyway the next time, and it won't work). svn-id: r39876
2009-04-06SCI: Made said_parse_spec static, regenerated said.cpp from said.yMax Horn
svn-id: r39870
2009-04-05SCI: Replaced AATree by Common::List in AvoidPath. AATree does not help whenWalter van Niftrik
the input size is this small. svn-id: r39855
2009-04-03Removed leftover chrono-related code (refer to commit #37721 for the changes ↵Filippos Karapetis
to kgraphics.cpp) svn-id: r39820
2009-04-03Removed the non-working Chrono port code, after discussing with LarsFilippos Karapetis
svn-id: r39819
2009-04-03SCI: Fix warning on OSXMax Horn
svn-id: r39810
2009-04-03Some more FreeSCI <-> SCI changesFilippos Karapetis
svn-id: r39808
2009-04-03Changed some references from "FreeSCI" to "SCI" or "ScummVM"Filippos Karapetis
svn-id: r39807
2009-04-02Applied fingolfin's suggestion to remove the roundf() implementation and ↵Filippos Karapetis
make the code in that bit simpler and more readable (since points are always positive) svn-id: r39802
2009-04-02Disable some (quite chatty) debug output - the savegme system looks stable ↵Filippos Karapetis
enough svn-id: r39801
2009-04-02pic_port_bounds was only set from command-line parameters it seems, so it's ↵Filippos Karapetis
safe to put it together with the rest of the options svn-id: r39800
2009-04-02Fixed compilation under MSVC by implementing roundf()Filippos Karapetis
svn-id: r39799
2009-04-02SCI: AvoidPath cleanup.Walter van Niftrik
svn-id: r39798
2009-04-02SCI: Avoidpath cleanup.Walter van Niftrik
svn-id: r39797
2009-04-01- Wrapped all the code for custom graphics options around a ↵Filippos Karapetis
CUSTOM_GRAPHICS_OPTIONS define. Most of these options don't work in 256-color mode, plus there is currently no way to actually set/change them somehow (other than modifying the code) - Added a FIXME for the abuse of the pic_port_bounds graphics option - it's actually set by the game itself in kSetPort() - Added some test code for setting palette intensity in KPalette() (currently disabled) svn-id: r39794
2009-03-30Disabled some unused codeFilippos Karapetis
svn-id: r39765
2009-03-30Wrapped all the still WIP SCI32-specific code around appropriate ifdef ↵Filippos Karapetis
blocks. SCI32 has fundamental differences from previous SCI versions (e.g. direct point addressing is no longer possible), most of SCI32 games use SVGA resolutions and currently a lot of SCI32 specific code is missing (like, for example, the newer string and array handling functions, the widget system etc). This has been done in the same manner as in the SCUMM and SAGA engines. svn-id: r39750
2009-03-29SCI: Merge static palette into global palette at startupWillem Jan Palenstijn
svn-id: r39747
2009-03-29Added stubs for the missing palette effects in kPalette()Filippos Karapetis
svn-id: r39744
2009-03-29Added a stub for the palette fadeout/fadein effect, so that we remember it's ↵Filippos Karapetis
currently missing svn-id: r39743
2009-03-29Fixed the colors of the widgets in KQ5's options menuFilippos Karapetis
svn-id: r39737
2009-03-29Fixed the colors of the window frames in KQ5Filippos Karapetis
svn-id: r39734
2009-03-29Eco Quest 1 continues after the intro nowFilippos Karapetis
svn-id: r39731
2009-03-27SCI: AvoidPath workaround for intersecting polygons in Longbow, room 210.Walter van Niftrik
svn-id: r39714
2009-03-26Added a note about the potential invalid rectangles created when drawing linesFilippos Karapetis
svn-id: r39704
2009-03-25Merged sciw_select_item() and sciw_unselect_item()Filippos Karapetis
svn-id: r39689
2009-03-25- Renamed gfx/sci_widgets.* to gfx/gfx_gui.*, as these files contain GUI ↵Filippos Karapetis
elements mostly, like windows and status bars - Moved kWindowAutoRestore from gfx_widgets.h to gfx_gui.h svn-id: r39687
2009-03-25Changed some flags to enumsFilippos Karapetis
svn-id: r39685
2009-03-25revert yesterday's change -- apparently this different behavior was intentional.Joost Peters
svn-id: r39683
2009-03-25SCI: AvoidPath cleanup.Walter van Niftrik
svn-id: r39680
2009-03-24SCI: build fix.Walter van Niftrik
svn-id: r39675
2009-03-24SCI: Added workaround for broken polygon in LSL1 room 350.Walter van Niftrik
svn-id: r39674
2009-03-24Fix smaller error introduced in r39671 refactoring (this check used to be ↵Joost Peters
"res == 0"). Thanks to syke for spotting it. svn-id: r39673
2009-03-24SCI: Rewrote vocabulary code to use a Common::HashMap<String,ResultWord>Max Horn
svn-id: r39671
2009-03-24SCI: Changed vocab_tokenize_string to not 'return' the list it generates, ↵Max Horn
but rather pass a reference to an existing list to it (this is a bit more efficient, and allows us to return an error value) svn-id: r39670
2009-03-24SCI: Turned synonyms list into a Common::ListMax Horn
svn-id: r39669
2009-03-24SCI: Added workaround for duplicate polygons being passed to kAvoidPath.Walter van Niftrik
svn-id: r39668