aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
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
2009-03-24SCI: Changed some char* into Common::StringMax Horn
svn-id: r39663
2009-03-24SCI: Only pass the pointerpos to Menubar::mapPointer, not the full gfx_state_tMax Horn
svn-id: r39662
2009-03-24SCI: C++ify menu codeMax Horn
svn-id: r39659
2009-03-23CleanupFilippos Karapetis
svn-id: r39633
2009-03-23SCI: some avoidpath cleanupWalter van Niftrik
svn-id: r39630
2009-03-23- Moved palette initialization inside the graphics resource managerFilippos Karapetis
- The static palette is no longer needlessly referenced directly outside the graphics resource manager - Moved the SCI interpreter version inside the graphics resource manager, instead of gfx_state_t svn-id: r39626
2009-03-22Further objectification of the graphics resource managerFilippos Karapetis
svn-id: r39621
2009-03-22SCI: Renamed Vertex::entries::cle_next -> Vertex::_next, analog for ↵Max Horn
cle_prev. Replace code for reversing a circular list by a new method CircularVertexList::reverse() svn-id: r39613
2009-03-22SCI: Some cleanup; avoid taking square root unnecessarilyMax Horn
svn-id: r39612
2009-03-22SCI: Fix warningsMax Horn
svn-id: r39606
2009-03-20SCI: cleanupMax Horn
svn-id: r39578
2009-03-20silenced some warningsMax Horn
svn-id: r39566
2009-03-19SCI: converted aatree into a classWalter van Niftrik
svn-id: r39544
2009-03-18Changed abs_rect_t to Common::RectFilippos Karapetis
svn-id: r39518
2009-03-17Further objectification of the graphics resource managerFilippos Karapetis
svn-id: r39499
2009-03-17Started objectifying the graphics resource manager (refer to patch #2689887)Filippos Karapetis
svn-id: r39492
2009-03-17SCI: Added TODO: Merge SegInterface and MemObject? And some cleanupMax Horn
svn-id: r39485
2009-03-17SCI: Got rid of various SegManager::free_* methodsMax Horn
svn-id: r39484
2009-03-17Renamed some defines:Filippos Karapetis
- FREESCI_CURRENT_SAVEGAME_VERSION, FREESCI_MINIMUM_SAVEGAME_VERSION -> CURRENT_SAVEGAME_VERSION, MINIMUM_SAVEGAME_VERSION (saved games are not compatible with FreeSCI's ones anymore) - _K_VIEW_SIG_FLAG_FREESCI_STOPUPD -> _K_VIEW_SIG_FLAG_STOPUPD (like the rest of the flags) - Removed FREESCI_KFUNCT_GLUTTON (unused) svn-id: r39478
2009-03-17Removed the "About FreeSCI" menu as discussed in -devel, now that the ↵Filippos Karapetis
FreeSCI contributors have been moved to the AUTHORS file svn-id: r39476
2009-03-16Replaced "xl" with "width" and "y1" with "height" in places where rectangles ↵Filippos Karapetis
are used svn-id: r39435
2009-03-15SCI: Rewrote the save/load code, see also patch #2687400.Max Horn
The new format is incompatible with the old one, and is still subject to some further changes. Also, regressions are quite possible, so watch out. Finally, the new code still contains some TODOs and FIXMEs. Several of these will be more or less automatically resolved once other code gets C++ified. svn-id: r39430
2009-03-15SCI: Indention changes, changed 'songlib_t' params to 'const songlib_t &'Max Horn
svn-id: r39429
2009-03-14cleaning up after myself again *sigh*Max Horn
svn-id: r39382
2009-03-14SCI: Fixed warningMax Horn
svn-id: r39381
2009-03-14SCI: Removed more dead codeMax Horn
svn-id: r39379
2009-03-14Removed two empty switch statements to silence an MSVC warningFilippos Karapetis
svn-id: r39376
2009-03-14Changed the "internal" variable inside gfxr_pic_t to priorityTable (cause ↵Filippos Karapetis
that's what it is), and changed its type to int * to avoid unneeded casts svn-id: r39375
2009-03-13SCI: cleanupMax Horn
svn-id: r39371