aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2009-10-10Started rewriting the Object struct into a classFilippos Karapetis
svn-id: r44878
2009-10-10SCI: Fixed bug in new Message() codeWalter van Niftrik
svn-id: r44873
2009-10-10SCI: Fix warningsWillem Jan Palenstijn
svn-id: r44869
2009-10-10Fixed loading again - a regression from commit #44803Filippos Karapetis
svn-id: r44868
2009-10-10Merged _k_base_setter() inside kBaseSetter()Filippos Karapetis
svn-id: r44866
2009-10-10Replaced make_reg(0, -1) with SIGNAL_REG and fixed a warning (MessageRecord ↵Filippos Karapetis
is a struct) svn-id: r44865
2009-10-10SCI: kMessage() rewriteWalter van Niftrik
svn-id: r44860
2009-10-09Removed the unused _flags variable from EngineStateFilippos Karapetis
svn-id: r44857
2009-10-09Removed the wrong code for kGetTime case 1 in some SCI0 games - that case ↵Filippos Karapetis
has always remained the same in all SCI versions. Added a warning in case we got some other case than 0 or 1 in SCI0 games svn-id: r44855
2009-10-09Some const correctness changes; cleanupMax Horn
svn-id: r44850
2009-10-09SCI/newgui: calling process_sound_events now directly within kAnimate(), ↵Martin Kiewitz
fixes hanging scripts (e.g. sq3 exiting pod, kq1 getting killed) svn-id: r44843
2009-10-09SCI: drawMenuBar/clearMenuBar now using gui class, currently unimplemented ↵Martin Kiewitz
in newgui, but so wont get affected by oldgui switching to visualScreen anymore (e.g. qfg2) svn-id: r44837
2009-10-09Moved actor movement detection in state.cpp, together with the other ↵Filippos Karapetis
detections and rewrote it to work in a similar fashion to the other detections svn-id: r44836
2009-10-09SCI: kgraphics.cpp cleanup (no code changes)Martin Kiewitz
svn-id: r44835
2009-10-09SCI/newgui: kCanBeHere partially implemented, little correctionsMartin Kiewitz
svn-id: r44832
2009-10-09Oops...Filippos Karapetis
svn-id: r44830
2009-10-09Fixed an issue when examining callk calls in the new graphics functions ↵Filippos Karapetis
detection routine svn-id: r44829
2009-10-09Finished the automatic detection of the graphics functions used in SCI0 ↵Filippos Karapetis
games. Also, introduced a new helper function to detect the offset of a ret call inside a script, with possible uses in other script detection routines svn-id: r44828
2009-10-09SCI/newgui: support for priority bands, kCoordPri kPriCoord implemented, ↵Martin Kiewitz
priority band picture support also added svn-id: r44825
2009-10-08SCI: Turn reconstruct_scripts into SegManager::reconstructScriptsMax Horn
svn-id: r44806
2009-10-08SCI: Remove outdated commentWillem Jan Palenstijn
svn-id: r44805
2009-10-08SCI: Removed obsolete stringfrags codeMax Horn
svn-id: r44803
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
2009-10-08SCI: Removed SegManager::getDescriptionMax Horn
svn-id: r44795
2009-10-08Introduce a new struct TimeDate, replacing struct tm in client code. May ↵Max Horn
lead to compilation issues in ports, which should be trivial to fix, though svn-id: r44793
2009-10-08Started rewriting the check for the graphics functions type (still not ↵Filippos Karapetis
finished) svn-id: r44787
2009-10-08Restore the engine state stored within SciGui during loading once more, ↵Filippos Karapetis
since it gets replaced during loading. Fixes loading (a regression from #44730) svn-id: r44771
2009-10-08Removed the unused game_time variable, and fixed the incorrect calculation ↵Filippos Karapetis
of start_game_time when restoring a game svn-id: r44770
2009-10-07SCI: Turn lookup_node & lookup_list into SegManager::lookupNode & ↵Max Horn
SegManager::lookupList svn-id: r44769
2009-10-07SCI: Fix warning, cleanupMax Horn
svn-id: r44764
2009-10-07- Cleaned up the cursor codeFilippos Karapetis
- Renamed gui -> _gui in EngineState, for consistency - Added a reference to SciGuiCursor in EngineState, to be used by current code - Renamed setCursorHide -> hideCursor, setCursorShow -> showCursor - Moved the cursor zone limiting code inside SciGuiCursor. This code is currently not functioning, as we need to call refreshPosition() before each updateScreen() call to limit the cursor position. svn-id: r44760
2009-10-07SCI: kDrawPic / had an error in previous revisionMartin Kiewitz
svn-id: r44759
2009-10-07SCI: changed kDrawPic to use oldGfxFuncs()Martin Kiewitz
svn-id: r44757
2009-10-07SCI/newgui: kDrawPic cleanup, addToFlag inverse detection currently not ↵Martin Kiewitz
working needs fixing svn-id: r44756
2009-10-07SCI: set default EGA palette to 0, if no parameter is actually given us. ↵Martin Kiewitz
Fixes lsl2, kq4, sq3, etc. svn-id: r44743
2009-10-07Fixed a potential buffer overflow in kFormat, which occurs in the "About" ↵Filippos Karapetis
screen in KQ4 svn-id: r44738
2009-10-07SCI/newgui: kSetCursor (show, hide, pos, shape) implementedMartin Kiewitz
svn-id: r44734
2009-10-07SCI: SciGuiCursor class added, cleanup, OSystem removed from SciGui constructorMartin Kiewitz
svn-id: r44730
2009-10-07SCI: removed r44595, sierra sci really does behave like Common::Rect, no ↵Martin Kiewitz
need for +1 svn-id: r44725
2009-10-06- Fixed kGetTime() againFilippos Karapetis
- Removed the odd way of calculating elapsed time in SciGui(). We got _system->getMillis() for that purpose - Replaced the code in SciGui::wait() with the one in SciGui32::wait (which works fine, and is correct). The code in SciGui() was not polling for events while waiting, either svn-id: r44712
2009-10-06SCI: Minor cleanupWillem Jan Palenstijn
svn-id: r44706
2009-10-06SCI/newgui: kHiLite supportMartin Kiewitz
svn-id: r44701
2009-10-05SCI/newgui: changed the way dithering works on ega games, also default value ↵Martin Kiewitz
change for kDrawStatus svn-id: r44679
2009-10-05SCI: kDrawStatus changed, dont call gui if no text receivedMartin Kiewitz
svn-id: r44674
2009-10-05SCI: kDrawStatus now calls s->gui->drawStatus with NULL if no text givenMartin Kiewitz
svn-id: r44673
2009-10-05Fixed crash when starting games with the stable GUIFilippos Karapetis
svn-id: r44671
2009-10-05SVN/newgui: kDrawStatus implementedMartin Kiewitz
svn-id: r44670
2009-10-05Moved the cursor movement code in the GUIFilippos Karapetis
svn-id: r44664
2009-10-05Lines are no longer treated as fake rectangles and are shown correctly againFilippos Karapetis
svn-id: r44663
2009-10-05SCI/newgui: kDrawControl on icon implementedMartin Kiewitz
svn-id: r44658