aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-09-29Fixed Valgrind warnings about invalid memory access. Hopefully without breakingTorbjörn Andersson
anything, but modifying a data structure while traversing it can be a bit tricky... svn-id: r44469
2009-09-29Gob - Silence a Valgrind warning by initializing a variable Arnaud Boutonné
svn-id: r44467
2009-09-29Added a FIXME comment for the removed functionality in the script debuggerFilippos Karapetis
svn-id: r44466
2009-09-29Remove unused variable.Johannes Schickel
svn-id: r44464
2009-09-29Add newline after "Available debug channels" in Cmd_Debug, now all debug ↵Johannes Schickel
channels will be listed in separate lines. svn-id: r44463
2009-09-29Oops - don't attempt to print the sought kernel function name when its emptyFilippos Karapetis
svn-id: r44462
2009-09-29- Changed the unimplemented debug SCI kernel functions (InspectObj, ↵Filippos Karapetis
ShowSends, ShowObjs, ShowFree, StackUsage and Profiler) to be dummy functions - we have our own debugger, and don't use these functions for debugging - Removed the function number parameter from all kernel functions, as it's no longer needed, and removed the FAKE_FUNCT_NR hack - Removed kUnknown() and kStub() - Dummy/unknown kernel functions are no longer invoked, and a warning is shown instead, with the paremeters passed to them Note: there is an evil hack used for debugging scripts in invoke_selector(), which probably no longer works now svn-id: r44461
2009-09-29Fixed bug #2868938Benjamin Haisch
svn-id: r44459
2009-09-29QFG3 clears clones with underbits set, so disable the warning for this behaviorFilippos Karapetis
svn-id: r44458
2009-09-29Rewrite from scratch drawReScaled() and cropping now works well.Robert Špalek
I left draw() as is for now, although it could also be similarly simplified. Also, one could easily completely get rid of columnIndices[], but I was too tired for the time being. svn-id: r44457
2009-09-29Clean up and unify positioning dragon's animationsRobert Špalek
svn-id: r44456
2009-09-29draci:Denis Kasak
* Added const to some methods of Game. * Removed some code cruft from Game::walkHero() (duplicate calculations and variables). * Fixed small bug which prevented talking text from being centered above the dragon. svn-id: r44455
2009-09-28draci: Inverted a logical check to make it more obvious.Denis Kasak
svn-id: r44454
2009-09-28draci: Added methods Game::positionAnimAsHero(), Game::getHeroX() and ↵Denis Kasak
Game::getHeroY() and implemented correct positioning of all dragon animations. Fixed exiting the inventory by right-clicking outside it. svn-id: r44453
2009-09-28Made AnimationManager::sortAnimations() do multiple passes, if necessary, ↵Denis Kasak
and added some animation debug info. svn-id: r44452
2009-09-28Fix for bug #2868581 "KYRA1: Invisible Brandon".Johannes Schickel
svn-id: r44450
2009-09-28SCI: Remove unsafe unmarkDeleted function.Willem Jan Palenstijn
It did not undo all effects of a script being deleted (specifically its superclasses remain unlocked), causing an inconsistent state. Also removed EcoQuest CD hack that worked around a specific instance of this problem. svn-id: r44449
2009-09-28SCI: When merging palettes, map all unused colours to index 0.Willem Jan Palenstijn
This fixes the boots/belt of the hero sprite in QfG3 character generation. svn-id: r44448
2009-09-28Fix a memory leakRobert Špalek
svn-id: r44447
2009-09-28Script workaround for partially off-screen text in DW1 GRAPaul Gilbert
svn-id: r44445
2009-09-28Removed the svn:executable property on non-executablesAndre Heider
svn-id: r44444
2009-09-28Added topString to the list of static selectors, for commit #44429Filippos Karapetis
svn-id: r44443
2009-09-28Fixed whitespace failAndre Heider
svn-id: r44442
2009-09-28Fix WinCE build errorAndre Heider
svn-id: r44441
2009-09-28Fixed clipping-related bug (bug #2826036)Benjamin Haisch
svn-id: r44439
2009-09-28revert previous fixKostas Nakos
svn-id: r44438
2009-09-28overload newer incarnation of setmousecursorKostas Nakos
svn-id: r44437
2009-09-281) fix scaler selection for vga games on vga (or higher) devices. 2) fix a ↵Kostas Nakos
crash during startup svn-id: r44435
2009-09-28Added const's to getPalette() and several uses of getObject()Robert Špalek
svn-id: r44434
2009-09-28Make getFile() return a const pointer and clean-up all uses of it.Robert Špalek
svn-id: r44433
2009-09-28get rid of static Common::String'sRobert Špalek
svn-id: r44432
2009-09-28get rid of static Common::String'sRobert Špalek
svn-id: r44431
2009-09-27Fix rounding coordinates at the edge of the screen.Robert Špalek
svn-id: r44430
2009-09-27SCI: Fix scrolling in SCI1 list controls.Walter van Niftrik
svn-id: r44429
2009-09-27Removed Mac OS X QuickTime MIDI backend. It breaks on OS X 10.6, and it's ↵Max Horn
not as good as the CoreAudio backend anyway svn-id: r44428
2009-09-27Fix CoreAudio MIDI backend on Mac OS X 10.6Max Horn
svn-id: r44427
2009-09-27Backported NDS changes from 1.0.0 branch to trunkMax Horn
svn-id: r44426
2009-09-27SCI: Remove directory prefix added by QfG3's char importWillem Jan Palenstijn
svn-id: r44423
2009-09-27Reduce code duplication when cleaning animationsRobert Špalek
svn-id: r44422
2009-09-27SCI: Adjust isValidOffset to match changes from r44396,Willem Jan Palenstijn
and make maxSize report the valid space starting at offset. svn-id: r44421
2009-09-27Improved the interface of Sprite and Animation concerning relative ↵Robert Špalek
coordinates and scaling. It is no longer needed to modify the underlying animations when drawing them on the screen or testing pixels in them. Read access is enough, because the displacement of the object is passed as a parameter. Added some more const's where they logically belong. svn-id: r44419
2009-09-27reduce display list size - we only use a fraction of it.Joost Peters
svn-id: r44418
2009-09-27Simplify kFormat slightlyMax Horn
svn-id: r44417
2009-09-27TINSEL: cleanupMax Horn
svn-id: r44416
2009-09-27Fix renumbering of animation indexesRobert Špalek
svn-id: r44414
2009-09-27Remove memory leak in animation manager. Get rid of 1 non-const reference ↵Robert Špalek
parameter. svn-id: r44413
2009-09-27Properly return values on functions with non-void return types.Andre Heider
svn-id: r44412
2009-09-27SCI: Add workaround for file mask used by QfG3Willem Jan Palenstijn
svn-id: r44411
2009-09-27Fixed compilation of the NDS port.Andre Heider
svn-id: r44410
2009-09-27make -> $(MAKE)Andre Heider
svn-id: r44409