aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-10-01Fixed event handling. ValGrind fixups.Robert Špalek
My yesterday's fix on handling 1 event per call caused the game to be unbearably slow on Linux. The old way was much faster. I have solved too fast a succession of mouse button down and up by not clearing the mouse flag when the button goes up instead. Fixed a memory leak and uninitialized variable after my refactoring of game location changes; found by ValGrind. svn-id: r44525
2009-10-01T7G: Proper fix for #2847539 - remove ambiguity in multi-byte script reads.Scott Thomas
svn-id: r44524
2009-10-01Rewrote weird-looking code, which might lead to undefined behavior, ↵Filippos Karapetis
according to GNU svn-id: r44523
2009-10-01Fixed bug #2847539, by resetting the optimization options for the release ↵Filippos Karapetis
version to the default ones svn-id: r44521
2009-10-01Fix Common::String::printf in MSVCWillem Jan Palenstijn
svn-id: r44520
2009-10-01Removed the STRICT_SEND, STRICT_READ and ASSERT_ARITHMETIC definesFilippos Karapetis
svn-id: r44519
2009-10-01Fix a regression in the first part of the intro (gitches when the paper and ↵Arnaud Boutonné
the rat are moving). svn-id: r44518
2009-10-01Reworked of code line in changeExtension that was giving a cppcheck warningPaul Gilbert
svn-id: r44517
2009-10-01Fixed some potential memory leaks, reported by salty-horseFilippos Karapetis
svn-id: r44516
2009-10-01Replaced delete operator with delete[]Paul Gilbert
svn-id: r44514
2009-10-01SCI: Add some fixmes noted by salty-horse.Willem Jan Palenstijn
svn-id: r44513
2009-10-01Fix free/delete/delete[] mismatches. Patch by salty-horseWillem Jan Palenstijn
svn-id: r44512
2009-10-01- Removed the toggle for "weak" validations, as there are cases where they ↵Filippos Karapetis
fail (e.g. in Longbow), so there is no point in having strict validations - Removed the invalid toggle from kernel signatures - we now never error out on invalid object references, but throw a warning instead - Simplified determine_reg_type() svn-id: r44511
2009-10-01SCI: Remove outdated debugging hack.Willem Jan Palenstijn
In the past, a negative selector value was used to identify a callk stack frame. Currently a type of EXEC_STACK_TYPE_KERNEL already does that. svn-id: r44510
2009-10-01Clean up room changing code and support returning from the map.Robert Špalek
Completely changed the interface, removing unused methods and attributes, renaming other ones to reflect what they do, and moving some methods into the private section. Code changing the location, originally scattered over many pieces of code, has been unified into one place. Remember the previous room when entering the map so that one can return there. Also, the event handler processes one event at a time, preventing lost clicks on touchpads. svn-id: r44508
2009-09-30Removed an old (and now obsolete) workaround for KQ5Filippos Karapetis
svn-id: r44507
2009-09-30Fixed the warning message shown when dummy functions are invokedFilippos Karapetis
svn-id: r44506
2009-09-30Added a new special reg_t, SIGNAL_REG, for signaling when an error occurs ↵Filippos Karapetis
(usually), or to signal success in some special occasions svn-id: r44505
2009-09-30Fascination - Suppress some warningsArnaud Boutonné
svn-id: r44504
2009-09-30Changed the list sanity checks to return warnings instead of errors in case ↵Filippos Karapetis
of failure - apparently, this can occur in some games, e.g. Longbow and QFG1 svn-id: r44503
2009-09-30- Removed some leftover 16/32bpp color code, as we're always using palette ↵Filippos Karapetis
mode now - Simplified the mouse cursor manipulation code svn-id: r44502
2009-09-30LOL/PC-98: - fixed TIM dialogue button text colorsFlorian Kagerer
- fixed menu text alignment svn-id: r44501
2009-09-30oopsMax Horn
svn-id: r44500
2009-09-30Fix 2 ValGrind warnings.Robert Špalek
svn-id: r44499
2009-09-30LOL/PC-98: - fix spell effect colorsFlorian Kagerer
- fix some font color glitches svn-id: r44498
2009-09-30SCI: Make kFile error messages slightly more verboseWillem Jan Palenstijn
svn-id: r44497
2009-09-30Fascination - Fix a regression in intro (fix of R42171)Arnaud Boutonné
svn-id: r44496
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