aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2009-10-11Implemented some advanced savegame functionality - loading and deleting ↵Filippos Karapetis
savegames from the GMM is now possible, and new saved games will also have thumbnails. Saving from the GMM creates corrupted saved games, so it has been disabled for now svn-id: r44930
2009-10-11SCI/newgui: list control implementedMartin Kiewitz
svn-id: r44929
2009-10-11SCI: Relax GetAngle() signature for KQ6.Walter van Niftrik
svn-id: r44928
2009-10-11SCI: Implement CoordPri() with two args.Walter van Niftrik
svn-id: r44927
2009-10-11rename shadow varJoost Peters
svn-id: r44926
2009-10-11SCI: kDrawControl for list and textedit controls also using gui classMartin Kiewitz
svn-id: r44925
2009-10-11fix new[]/delete mismatchJoost Peters
svn-id: r44924
2009-10-11Print warning, when the number of colors in a palette file exceed the number ↵Johannes Schickel
of colors in the target palette on load. svn-id: r44922
2009-10-11More work on the Object classFilippos Karapetis
svn-id: r44921
2009-10-11Hopefully avoiding an assert in the MSVC debug CRT library when entering an ↵Johannes Schickel
umlaut in the launcher. It's a bad idea to cast a parameter to the "is*" functions from ctype.h to "char", since "char" might be signed and the "is*" functions are defined to only accept input which fits "unsigned char" or equals EOF. In this concrete example the value of "state.ascii" is > 0x7F, thus becomes negative after the cast to "char", which violates the parameter rules of "isprint". Sadly it seems this is not the only place in our code, which does pass a possibly signed parameter to an "is*" function. We might either want to change all code to only pass an unsigned char value, change the code to do parameter validation or fix it in another way. svn-id: r44920
2009-10-11Revert commits r44912 and r44905, seems like the original FM-Towns/PC98 ↵Johannes Schickel
games did only allow ASCII input, thus they didn't use the SJIS font in the save/load menus. svn-id: r44916
2009-10-11Fixed compilation with the current GUIFilippos Karapetis
svn-id: r44914
2009-10-11SCI: made kEditControl use SciGui class, not currently implemented in newguiMartin Kiewitz
svn-id: r44913
2009-10-11Fix text input font for LoL PC98.Johannes Schickel
svn-id: r44912
2009-10-11Fix regression introduced with r44907.Johannes Schickel
svn-id: r44911
2009-10-11Add support for 8x16 chars in the FM-Towns font ROM code.Johannes Schickel
svn-id: r44910
2009-10-11Removed unused variable.Torbjörn Andersson
svn-id: r44909
2009-10-11SCI/newgui: SciGuiPicture now also supports mirroring of cel-dataMartin Kiewitz
svn-id: r44908
2009-10-11Cleanup.Johannes Schickel
svn-id: r44907
2009-10-11Cleanup.Johannes Schickel
svn-id: r44906
2009-10-11Fix FM-Towns/PC98 menu code.Johannes Schickel
svn-id: r44905