Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-30 | - Adapt parts of the Draci code to match our code formatting guidelines | Johannes Schickel | |
- Remove use of tabs for formatting, now in nearly all cases tabs are only used for indentation - Use "uint" instead of "unsigned int" in the whole engine for consistency's sake - Strip some trailing tabs and leading whitespaces svn-id: r44478 | |||
2009-09-30 | Converted _color_equals() into respective equality operators within the ↵ | Filippos Karapetis | |
gfx_color_t structure svn-id: r44477 | |||
2009-09-30 | * Added secondary inventories for BRA. | Nicola Mettifogo | |
* Added comments where code must be added/updated to support multiple inventories. svn-id: r44476 | |||
2009-09-30 | Provide only the data that is strictly needed when creating a new Inventory. | Nicola Mettifogo | |
svn-id: r44475 | |||
2009-09-30 | Implemented the map room, entered when 'm' is pressed. | Robert Špalek | |
svn-id: r44474 | |||
2009-09-30 | SCI: Add callk stackframe directly in run_vm | Willem Jan Palenstijn | |
svn-id: r44473 | |||
2009-09-29 | Playtoons - implement some functions related to hotspot texts | Arnaud Boutonné | |
Fascination - initial version of several 'Fascination Window' functions, proper naming of most of fascination OPCODEDRAW and OPCODEGOB functions svn-id: r44472 | |||
2009-09-29 | Fixed Valgrind warnings about invalid memory access. Hopefully without breaking | Torbjörn Andersson | |
anything, but modifying a data structure while traversing it can be a bit tricky... svn-id: r44469 | |||
2009-09-29 | Gob - Silence a Valgrind warning by initializing a variable | Arnaud Boutonné | |
svn-id: r44467 | |||
2009-09-29 | Added a FIXME comment for the removed functionality in the script debugger | Filippos Karapetis | |
svn-id: r44466 | |||
2009-09-29 | Remove unused variable. | Johannes Schickel | |
svn-id: r44464 | |||
2009-09-29 | Add 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-29 | Oops - don't attempt to print the sought kernel function name when its empty | Filippos 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-29 | Fixed bug #2868938 | Benjamin Haisch | |
svn-id: r44459 | |||
2009-09-29 | QFG3 clears clones with underbits set, so disable the warning for this behavior | Filippos Karapetis | |
svn-id: r44458 | |||
2009-09-29 | Rewrite 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-29 | Clean up and unify positioning dragon's animations | Robert Špalek | |
svn-id: r44456 | |||
2009-09-29 | draci: | 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-28 | draci: Inverted a logical check to make it more obvious. | Denis Kasak | |
svn-id: r44454 | |||
2009-09-28 | draci: 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-28 | Made AnimationManager::sortAnimations() do multiple passes, if necessary, ↵ | Denis Kasak | |
and added some animation debug info. svn-id: r44452 | |||
2009-09-28 | Fix for bug #2868581 "KYRA1: Invisible Brandon". | Johannes Schickel | |
svn-id: r44450 | |||
2009-09-28 | SCI: 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-28 | SCI: 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-28 | Fix a memory leak | Robert Špalek | |
svn-id: r44447 | |||
2009-09-28 | Script workaround for partially off-screen text in DW1 GRA | Paul Gilbert | |
svn-id: r44445 | |||
2009-09-28 | Added topString to the list of static selectors, for commit #44429 | Filippos Karapetis | |
svn-id: r44443 | |||
2009-09-28 | Fixed clipping-related bug (bug #2826036) | Benjamin Haisch | |
svn-id: r44439 | |||
2009-09-28 | Added const's to getPalette() and several uses of getObject() | Robert Špalek | |
svn-id: r44434 | |||
2009-09-28 | Make getFile() return a const pointer and clean-up all uses of it. | Robert Špalek | |
svn-id: r44433 | |||
2009-09-28 | get rid of static Common::String's | Robert Špalek | |
svn-id: r44432 | |||
2009-09-28 | get rid of static Common::String's | Robert Špalek | |
svn-id: r44431 | |||
2009-09-27 | Fix rounding coordinates at the edge of the screen. | Robert Špalek | |
svn-id: r44430 | |||
2009-09-27 | SCI: Fix scrolling in SCI1 list controls. | Walter van Niftrik | |
svn-id: r44429 | |||
2009-09-27 | SCI: Remove directory prefix added by QfG3's char import | Willem Jan Palenstijn | |
svn-id: r44423 | |||
2009-09-27 | Reduce code duplication when cleaning animations | Robert Špalek | |
svn-id: r44422 | |||
2009-09-27 | SCI: 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-27 | Improved 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-27 | Simplify kFormat slightly | Max Horn | |
svn-id: r44417 | |||
2009-09-27 | TINSEL: cleanup | Max Horn | |
svn-id: r44416 | |||
2009-09-27 | Fix renumbering of animation indexes | Robert Špalek | |
svn-id: r44414 | |||
2009-09-27 | Remove memory leak in animation manager. Get rid of 1 non-const reference ↵ | Robert Špalek | |
parameter. svn-id: r44413 | |||
2009-09-27 | SCI: Add workaround for file mask used by QfG3 | Willem Jan Palenstijn | |
svn-id: r44411 | |||
2009-09-27 | SCI: turn assert into warning, as it used in QfG2 char import | Willem Jan Palenstijn | |
svn-id: r44400 | |||
2009-09-27 | added missing sound | Vladimir Menshakov | |
svn-id: r44399 | |||
2009-09-27 | SCI: Fix crash when opening menu's | Willem Jan Palenstijn | |
svn-id: r44398 | |||
2009-09-27 | SCI: clear strcpy's dest string if src is invalid. | Willem Jan Palenstijn | |
This fixes moving the plank at the start of KQ6 in Text mode. svn-id: r44397 | |||
2009-09-27 | SCI: change segment offsets in reg segments to be in half reg_t. | Willem Jan Palenstijn | |
This makes offsets in raw and reg segments consistent, which fixes string addressing in savegame dialogs. svn-id: r44396 | |||
2009-09-27 | SCI: clean up kStrAt | Willem Jan Palenstijn | |
svn-id: r44394 |