Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-29 | PARALLACTION: Cleanup dialogue code. | Nicola Mettifogo | |
Shorten long lines to increase readability. svn-id: r55610 | |||
2011-01-29 | GOB: Remove unnecessary semicolon | Torbjörn Andersson | |
svn-id: r55609 | |||
2011-01-29 | PARALLACTION: Add default case to silence GCC warning. | Torbjörn Andersson | |
Not that I understand exactly what this function does, but since it's a piece of debug code I figure I don't really have to. svn-id: r55608 | |||
2011-01-29 | PARALLACTION: Cleanup dialogue code. | Nicola Mettifogo | |
Turned 'no answer selected' into a constant. svn-id: r55607 | |||
2011-01-29 | PARALLACTION: Cleanup dialogue code. | Nicola Mettifogo | |
Hide mood and balloon winding extraction into Question and Answer objects. svn-id: r55606 | |||
2011-01-29 | PARALLACTION: Simplify text comparisons in dialogue code. | Nicola Mettifogo | |
Encapsulate text comparison into string owners and removed some ugly double negative logic. svn-id: r55605 | |||
2011-01-29 | PARALLACTION: Clarify strategy for choosing (answer) dialogue paths. | Nicola Mettifogo | |
svn-id: r55604 | |||
2011-01-29 | PARALLACTION: Don't show 'null' answers in dialogues. | Nicola Mettifogo | |
Skip a 'runanswer' state when the text of the only answer available is 'null'. svn-id: r55603 | |||
2011-01-29 | PARALLACTION: Improve dialogue debug output. | Nicola Mettifogo | |
Print out the current question or the available answers when debug level is 9. svn-id: r55602 | |||
2011-01-29 | PARALLACTION: encapsulate dialogue state changes to aid debugging. | Nicola Mettifogo | |
svn-id: r55601 | |||
2011-01-28 | SWORD25: Removed a lot of debug/unimplemented/unused functions | Filippos Karapetis | |
svn-id: r55600 | |||
2011-01-28 | HUGO: Add a function to display exit hotspots in God Mode | Arnaud Boutonné | |
svn-id: r55599 | |||
2011-01-28 | SWORD25: Marked several unused LUA callbacks as dummy functions. Some cleanup. | Filippos Karapetis | |
svn-id: r55597 | |||
2011-01-28 | SWORD25: Removed some now unused variables | Filippos Karapetis | |
svn-id: r55596 | |||
2011-01-28 | SWORD25: Removed some more unused/unimplemented debug code | Filippos Karapetis | |
svn-id: r55595 | |||
2011-01-28 | SWORD25: Resources are now cleaned up correctly | Filippos Karapetis | |
The original checked the total amount of memory occupied by all resources. This has been changed to a maximum number of simultaneous resources instead, so the game resources are no longer leaked. Also disabled the unused or debug functions getUsedMemory(), setMaxMemoryUsage(), setMaxMemoryUsage(), isLogCacheMiss(), setLogCacheMiss(). Performed some cleanup on code related to the above. svn-id: r55594 | |||
2011-01-28 | SWORD25: Disabled the mechanism which precaches all of the game's resources ↵ | Filippos Karapetis | |
on startup. This reduced the initial memory used by 100MB for me, though the game keeps allocating new resources in each scene without deleting them, because of the missing functionality in getUsedMemory(). This change also slightly reduces the loading time on game startup. svn-id: r55593 | |||
2011-01-28 | PARALLACTION: Flexible monologues in BRA (patch #3021740 by fuzzie) | Nicola Mettifogo | |
Some dialogue answers are set to the literal 'null', which is used in NS to simulate a fixed monologue ('null' instructs the engine to jump to the first entry in the list of available questions, which is always made of a single item in this case). BRA has flexible monologues that depend on the game state, so this patch goes and checks all the available branches before picking the correct one. svn-id: r55591 | |||
2011-01-28 | Replaced char* with Common::String in balloon code. | Nicola Mettifogo | |
svn-id: r55590 | |||
2011-01-28 | SCUMM: Fix bug #3167036 - BluesBirthday: Crash in the demo. | Travis Howell | |
svn-id: r55589 | |||
2011-01-28 | Patch #3149416: Support for linking with "as-needed" | Max Horn | |
svn-id: r55588 | |||
2011-01-28 | GRAPHICS: Make JPEG::getComponent error out if component was not found | Max Horn | |
svn-id: r55587 | |||
2011-01-28 | GRAPHICS: Turn sqrt(2) and cosine values into constants ;) | Max Horn | |
svn-id: r55586 | |||
2011-01-28 | GRAPHICS: Rename JPEG::_str to _stream | Max Horn | |
We use _str to denote strings almost everywhere, so this was a bit confusing. Another alternative would be to use _s. svn-id: r55585 | |||
2011-01-28 | MOHAWK: Removed direct OSystem Quit calls from Myst Mohawk Interpreter. | David Turner | |
This avoids the same issue that caused leakage in other engines. svn-id: r55584 | |||
2011-01-28 | DRASCULA: Fixed Code to allow Quit/RTL Function and avoid Memory Leakage. | David Turner | |
A memory leakage was traced down to a failure to call the engine destructor. This was due to the engine directly calling OSystem quit() i.e. _system->quit(), rather than just allowing engine::run() to return. Have removed this code and implemented the changes required to allow graceful Quit/RTL to occur. svn-id: r55583 | |||
2011-01-28 | COMMON: Fixed memory leakage in unarj readHeader(). | David Turner | |
This manifested in Drascula. svn-id: r55582 | |||
2011-01-28 | DRASCULA: Remove unecessary destructor from ArchiveMan. | David Turner | |
svn-id: r55581 | |||
2011-01-28 | DRASCULA: Fix for Duplicate Registering of Archive. | David Turner | |
A warning occurs that the archive, Packet.001 has been added twice. This is due to a hack to get the detector priority listing correct. This fix prevents this causing a multiple add of the same archive. svn-id: r55580 | |||
2011-01-28 | DRASCULA: Fix minor cut and paste error in Console "room" command. | David Turner | |
svn-id: r55579 | |||
2011-01-28 | DRASCULA: Fix uninitialized reads of mouse position variables. | David Turner | |
svn-id: r55578 | |||
2011-01-27 | MOHAWK: Implement Stoneship chest puzzle | Bastien Bouclet | |
svn-id: r55577 | |||
2011-01-27 | MOHAWK: Allow videos to be paused individually | Bastien Bouclet | |
svn-id: r55576 | |||
2011-01-27 | GOB: Only draw text when coordinates are within the surface | Sven Hesse | |
svn-id: r55575 | |||
2011-01-27 | GOB: Stop drawing a letter on surface boundaries | Sven Hesse | |
svn-id: r55574 | |||
2011-01-27 | GOB: Add Pixel::isValid() and ConstPixel::isValid() | Sven Hesse | |
svn-id: r55573 | |||
2011-01-27 | HUGO: Fixed crash when an incorrect hugo.dat file is found | Filippos Karapetis | |
svn-id: r55572 | |||
2011-01-27 | GOB: Add sanity checks to Pixel and ConstPixel | Sven Hesse | |
svn-id: r55571 | |||
2011-01-27 | MOHAWK: Add detection for the LB sampler | Matthew Hoops | |
svn-id: r55570 | |||
2011-01-27 | HUGO: Handle mouse 'UP' events instead of 'DOWN'. | Arnaud Boutonné | |
This fixes the multiple clicks on object + message reported by D.Gray svn-id: r55569 | |||
2011-01-27 | TOON: Check for the state of modifier keys (control/alt/shift) when handling ↵ | Filippos Karapetis | |
game hotkeys Fixes bug #3166522 at engine level (fix 2/2) svn-id: r55568 | |||
2011-01-27 | SDL: Don't send key up events for special keys that are handled by ↵ | Filippos Karapetis | |
handleKeyDown() Fixes bug #3166522 at the SDL level (fix 1/2) svn-id: r55567 | |||
2011-01-27 | DRASCULA: Fix Memory Leak in drascula.dat Loading. | David Turner | |
svn-id: r55566 | |||
2011-01-27 | GOB: Implement backuping of sprites, sounds, fonts in totSub | Sven Hesse | |
svn-id: r55565 | |||
2011-01-27 | GOB: Add SoundDesc::swap() | Sven Hesse | |
svn-id: r55564 | |||
2011-01-27 | GOB: Add o7_draw0x59 stub | Sven Hesse | |
svn-id: r55563 | |||
2011-01-27 | GOB: Some Addy gameflow stubs | Sven Hesse | |
svn-id: r55562 | |||
2011-01-27 | SCI: Set the printLang and parseLang selectors again when restarting, if ↵ | Filippos Karapetis | |
necessary. This sets the language again correctly to the language selected in the launcher when restarting multilingual games. svn-id: r55561 | |||
2011-01-27 | DRASCULA: Fix Memory Leaks in Rooms Table. | David Turner | |
Minor whitespace fixes as well. svn-id: r55560 | |||
2011-01-27 | AGOS: Fix Memory Leaks in Feeble Files. | David Turner | |
Found with Valgrind. svn-id: r55559 |