aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-10-12SCI: kCelHigh / kCelWide got broken with last revision, now fixedMartin Kiewitz
svn-id: r44987
2009-10-12SCI: now allowing calling celWide and celHigh with only 2 parameters (done ↵Martin Kiewitz
by eco quest 1 when entering menu) svn-id: r44986
2009-10-12SCI: kGraph cleanupMartin Kiewitz
svn-id: r44985
2009-10-12SCI: kGraph now fixes up coordinates before constructing a rect (invalid ↵Martin Kiewitz
rects are given to us by castle of dr. brain right at the 2nd screen when entering left door) svn-id: r44984
2009-10-12SCI: re-enable accidentally commented update callWillem Jan Palenstijn
svn-id: r44983
2009-10-12Reverted the Common::String::printf() related commits, as the function works ↵Filippos Karapetis
fine now under MSVC svn-id: r44982
2009-10-12Add unit test for bug fixed by r44979Willem Jan Palenstijn
svn-id: r44980
2009-10-12Fix broken size in Common::String::printf output in MSVCWillem Jan Palenstijn
svn-id: r44979
2009-10-12SCI: Fix warnings, cleanupMax Horn
svn-id: r44978
2009-10-12SCI/newgui: kGraph RedrawBox (ReAnimate) is now using class calling ↵Martin Kiewitz
(functionality not yet implemented) svn-id: r44976
2009-10-12SCI/newgui: kDrawControl (icon) now also calls BitsShow()Martin Kiewitz
svn-id: r44975
2009-10-12SCI/newgui: priority band initialization fixMartin Kiewitz
svn-id: r44974
2009-10-12Got rid of _baseTable and _baseDisplayTableFilippos Karapetis
svn-id: r44973
2009-10-12Fixed a warning message under MSVC... seems like Common::String::printf does ↵Filippos Karapetis
not work correctly when used on an empty string svn-id: r44972
2009-10-12SCI/newgui: typo fixed in SciGuiPictureMartin Kiewitz
svn-id: r44970
2009-10-12Move the line drawing code to SciGuiScreen()Filippos Karapetis
svn-id: r44969
2009-10-12SCI/newgui: implemented kPicNotValidMartin Kiewitz
svn-id: r44968
2009-10-12SCI/newgui: change in windowMgr, so that removed windows will get restored ↵Martin Kiewitz
in any case (ReAnimate currently not implemented yet) svn-id: r44967
2009-10-12SCI/newgui: kGraph updateBox implemented, cleaned up usage of BitsShow() ↵Martin Kiewitz
still not perfect (e.g. kq5 cutscene information box) svn-id: r44966
2009-10-12Dragon looks into the requested direction.Robert Špalek
Parsing _lookDir and _useDir, and passing it all the way around to walkHero(). Also, added playHeroAnimation() to reduce code duplication. svn-id: r44965
2009-10-12Implemented GPL commands JustTalk and JustStay.Robert Špalek
The basic commands are done. It remains to implement handling music (after we play it at all), fading palette, and controlling the quick-hero and speed-text flags (after I find out what they do). Now the dragon switches between talking and staying during dialogs. However, the left/right direction doesn't work yet, because we don't respect _lookDir and _useDir yet. svn-id: r44964
2009-10-12Fixed funcActPhase()Robert Špalek
svn-id: r44963
2009-10-12Fix indexing of the dragon's animations.Robert Špalek
After inspection, I assert that it isn't true that the _anim array needs to be sorted. In fact, sorting ruins the ordering of the dragon's animations, which corresponds to enum Movement. After fixing this, let the dragon have a rest instead of constantly walking down. svn-id: r44962
2009-10-12Reduced huge code duplication by introducing Game::stopObjectAnimations()Robert Špalek
svn-id: r44961
2009-10-12Disambiguated _anims.Robert Špalek
It's both a pointer to an AnimationManager and list of animation ID's fo each object. The latter renamed to _anim so that I can easily search for them. Also, fixed the bug promised in the previous commit. svn-id: r44960
2009-10-11Reduced code duplication and fixed one deletion bug.Robert Špalek
svn-id: r44959
2009-10-11Implemented a few more harmless GPL2 commandsRobert Špalek
svn-id: r44958
2009-10-11Loading and caching sound samples in memory.Robert Špalek
The sounds are not played yet, but the infrastructure is getting ready. svn-id: r44957
2009-10-11sword1: fix one gcc warning about comparison between signed and unsignedFabio Battaglia
svn-id: r44955
2009-10-11Added support for sound archives.Robert Špalek
We initialize them in the DraciEngine constructor, but don't play any sounds yet. Checked that it works for all existing sound files (required several work-arounds against unspoken specification). When copying the interface from barchive.h, I decided to remove some const's from there, because getFile() wasn't really behaving like const. Removed some static Common::String instances. svn-id: r44953
2009-10-11Updated the modern theme logo with a darker shadowJordi Vilalta Prat
svn-id: r44952
2009-10-11sword1: fix psx demo startupFabio Battaglia
svn-id: r44951
2009-10-11Show a warning when a selector vocabulary can't be found and a static ↵Filippos Karapetis
vocabulary is used svn-id: r44950
2009-10-11Removed unused variable.Torbjörn Andersson
svn-id: r44949
2009-10-11SCI/newgui: support for textedit control (mouse support not yet implemented)Martin Kiewitz
svn-id: r44948
2009-10-11LOL/PC-98: fix decoration shape drawingFlorian Kagerer
svn-id: r44947
2009-10-11LOL/PC-98: cleanupFlorian Kagerer
svn-id: r44946
2009-10-11fix compilationJoost Peters
svn-id: r44945
2009-10-11Use BitsShow() for partial screen updatesFilippos Karapetis
svn-id: r44944
2009-10-11KYRA: fix sjis dialgue text displayFlorian Kagerer
svn-id: r44943
2009-10-11LOL/PC-98: fix outro musicFlorian Kagerer
svn-id: r44941
2009-10-11The _variables array is sized from syncArray, so there's no need to store ↵Filippos Karapetis
its size in the savegame svn-id: r44940
2009-10-11Added kSetPort case with 4 parameters (used in the ending of LSL6)Filippos Karapetis
svn-id: r44938
2009-10-11Fill box routines do not translate the fill box coordinatesFilippos Karapetis
svn-id: r44937
2009-10-11LOL/PC-98: fix king richard healing sequenceFlorian Kagerer
svn-id: r44936
2009-10-11Optimized some screen updates in the new GUI to only update the changed ↵Filippos Karapetis
rectangle, instead of the whole screen svn-id: r44935
2009-10-11Reset the EngineState pointer in the SciGuiGfx class when loading. Fixes ↵Filippos Karapetis
loading with the new GUI svn-id: r44934
2009-10-11Stop passing the engine state to SciGuiWindowMgrFilippos Karapetis
svn-id: r44933
2009-10-11Stop passing all of the engine state to SciGuiPictureFilippos Karapetis
svn-id: r44932
2009-10-11Fixed a warning, ironically inside a warning().Torbjörn Andersson
svn-id: r44931