aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-09-30SCI: Some palette code cleanupMax Horn
svn-id: r44494
2009-09-30Remove trailing whitespacesMax Horn
svn-id: r44493
2009-09-30SCI: Replace magic '-42' by an enumMax Horn
svn-id: r44492
2009-09-30Fixed a crash in KQ1SCI, when the user types something wrong - the game ↵Filippos Karapetis
tries to open a file with an empty file name, and an odd file mode svn-id: r44491
2009-09-30Fixed regression in r44417, found by waltervn. The score in KQ1SCI should be ↵Filippos Karapetis
diplayed correctly again svn-id: r44490
2009-09-30Got rid of old workaround, which was only needed because our SJIS font did ↵Johannes Schickel
not feature any ASCII chars. svn-id: r44489
2009-09-30Adapt KYRA engine to use the ASCII and half-width katakana support of the ↵Johannes Schickel
SJIS font. (required for LoL PC98) svn-id: r44488
2009-09-30Cleanup: got rid of Screen::ShadeType.Johannes Schickel
svn-id: r44487
2009-09-30Implemented support for drawing 8x16 chars from our custom SJIS font.Johannes Schickel
svn-id: r44486
2009-09-30Simplified inventory handling (too much information hiding will kill you).Nicola Mettifogo
svn-id: r44485
2009-09-30Fixed a crash when starting KQ1SCIFilippos Karapetis
svn-id: r44484
2009-09-30Update SJIS code to read SJIS.FNT version 2 data (no support for drawing ↵Johannes Schickel
ASCII and half-width katakana glyphs yet). svn-id: r44483
2009-09-30- Moved the list of synonyms and parser nodes inside the vocabulary classFilippos Karapetis
- Added a convenience member inside the EngineState struct to access the instance of the Vocabulary class svn-id: r44481
2009-09-30Check readline+termcap if linking with readline failedWillem Jan Palenstijn
svn-id: r44480
2009-09-30fix bug #2869491: "PSP make problem after 44348"Joost Peters
svn-id: r44479
2009-09-30- Adapt parts of the Draci code to match our code formatting guidelinesJohannes 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-30Converted _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-30Provide only the data that is strictly needed when creating a new Inventory.Nicola Mettifogo
svn-id: r44475
2009-09-30Implemented the map room, entered when 'm' is pressed.Robert Špalek
svn-id: r44474
2009-09-30SCI: Add callk stackframe directly in run_vmWillem Jan Palenstijn
svn-id: r44473
2009-09-29Playtoons - implement some functions related to hotspot textsArnaud Boutonné
Fascination - initial version of several 'Fascination Window' functions, proper naming of most of fascination OPCODEDRAW and OPCODEGOB functions svn-id: r44472
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