Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-02-12 | JANITORIAL: Remove duplicate #include's | Ori Avtalion | |
svn-id: r55889 | |||
2011-02-09 | AUDIO: Rename sound/ dir to audio/ | Max Horn | |
svn-id: r55850 | |||
2011-02-08 | PARALLACTION: Avoid hiding overloaded virtual methods. | Nicola Mettifogo | |
svn-id: r55820 | |||
2011-02-07 | ALL: Fix whitespaces / indention | Max Horn | |
svn-id: r55818 | |||
2011-02-07 | GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTarget | Max Horn | |
This avoids hiding an overloaded virtual method, which in turn can cause weird bugs (see also the next commit). svn-id: r55815 | |||
2011-02-07 | COMMON: OSystem now has a PaletteManager | Max Horn | |
svn-id: r55806 | |||
2011-02-06 | PARALLACTION: update MIDI driver commands description for BRA. | Nicola Mettifogo | |
svn-id: r55792 | |||
2011-01-29 | PARALLACTION: Use CursorMan to control cursor instead of backend functions. | Nicola Mettifogo | |
svn-id: r55611 | |||
2011-01-29 | PARALLACTION: Cleanup dialogue code. | Nicola Mettifogo | |
Shorten long lines to increase readability. svn-id: r55610 | |||
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 | 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-25 | PARALLACTION: Removal of unecessary returns and whitespace fixes to saveload.* | David Turner | |
svn-id: r55510 | |||
2011-01-24 | PARALLACTION: Improve safety of PathBuffer::getValue(). | David Turner | |
This will now avoid invalid memory reads and instead emit warnings if it is called with values outside of the expected data buffer or on a NULL buffer. svn-id: r55492 | |||
2011-01-21 | PARALLACTION: Minor Whitespace fixup in walk.cpp | David Turner | |
svn-id: r55392 | |||
2011-01-21 | PARALLACTION: Fix Un-initialized Memory Errors and Leaks in Nippon Safes ↵ | David Turner | |
Amiga Demo. These were found using Valgrind. svn-id: r55369 | |||
2011-01-18 | PARALLACTION: Fix Big Red Adventure Walking To Stop On Path Build Failure. | David Turner | |
Walking now works correctly, with no valgrind issues, lockups or assertions. svn-id: r55281 | |||
2011-01-17 | PARALLACTION: Minor Whitespace and code complexity reduction in walk.* | David Turner | |
svn-id: r55280 | |||
2011-01-17 | PARALLACTION: Some Improvements To Big Red Adventure Walk Code. | David Turner | |
* Renamed and retyped "int _fieldC" to "bool _stillWalkingTowardsNode" to aid readability and clarity of code. Thanks to fuzzie for naming. * Added assertion to prevent use of invalid memory as reported by Valgrind when walk point p is constructed from an empty list. * Added code to stop walk if buildPath fails, though this causes an assertion instead currently. svn-id: r55279 | |||
2011-01-14 | PARALLACTION: Add debug console command "showmouse". | David Turner | |
This command forces the mouse state to Enabled and Visible. This is intended to help playtesting in Big Red Adventure, which has an issue currently with the mouse pointer getting stuck in the hidden state in some cases. svn-id: r55234 | |||
2011-01-14 | PARALLACTION: Fix Valgrind Error on Engine Exit. | David Turner | |
The automatic destruction of engine member "_char" of type Character at end of the destructor causes an invalid read in the destruction of the AnimationPtr which is a SharedPtr. To stop this happening, the SharedPtr is reset() prior to the destruction of Gfx, so it's dependencies on Gfx are still present. This will affect Nippon Safes as well as Big Red Adventure, but is unlikely to cause any issues and it is likely this exists in NS as well. Thanks to fuzzie for this code. svn-id: r55233 | |||
2011-01-13 | PARALLACTION: Fix for DoorData Memory Leak in Big Red Adventure. | David Turner | |
svn-id: r55232 | |||
2011-01-13 | PARALLACTION: Fixed Limit Values in Big Red Adventure Walker Code. | David Turner | |
This corrects the Valgrind invalid reads associated with the IS_PATH_CLEAR() check reading beyond the data buffer and probably improves the pathfinding behaviour. Thanks to fuzzie for suggesting this patch. svn-id: r55231 | |||
2011-01-13 | PARALLACTION: Close Memory Leak in Big Red Adventure Subtitles. | David Turner | |
svn-id: r55229 | |||
2011-01-13 | PARALLACTION: Close Memory Leak in Big Red Adventure MIDI Playback. | David Turner | |
svn-id: r55226 | |||
2011-01-13 | PARALLACTION: Close Memory Leak in Big Red Adventure When Changing Location. | David Turner | |
svn-id: r55225 | |||
2011-01-13 | PARALLACTION: Fix for Valgrind Uninitialized Error in Big Red Adventure Walk ↵ | David Turner | |
Code. svn-id: r55221 | |||
2011-01-13 | PARALLACTION: Fix Valgrind Error When Displaying Location Balloons In Big ↵ | David Turner | |
Red Adventure. svn-id: r55220 | |||
2011-01-07 | PARALLACTION: keep music playing during the intro (fix bug #2879791). | Nicola Mettifogo | |
svn-id: r55148 | |||
2011-01-07 | PARALLACTION: fix music playback (bug #2879793). | Nicola Mettifogo | |
* Do not restart character theme is already playing. * Play the correct tune in the night club. * Do not play muisc in the location meant to be silent. svn-id: r55147 | |||
2011-01-07 | PARALLACTION: remove code duplication in NS sound code. | Nicola Mettifogo | |
svn-id: r55146 | |||
2011-01-02 | JANITORIAL: Suppress some useless includes | Arnaud Boutonné | |
svn-id: r55091 | |||
2010-12-12 | PARALLACTION: do not skip commands on Examine zones if there is no text to ↵ | Nicola Mettifogo | |
show. This fixes bug #3135782. svn-id: r54882 | |||
2010-12-12 | PARALLACTION: parse command lists for kNoneType zones, even if defined after ↵ | Nicola Mettifogo | |
TYPE markers. This fixes bug #3131769. svn-id: r54879 | |||
2010-12-07 | DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engine | Max Horn | |
svn-id: r54815 | |||
2010-11-19 | COMMON: Split common/stream.h into several headers | Max Horn | |
svn-id: r54385 | |||
2010-11-16 | GUI: Move major widgets to new directory gui/widgets | Max Horn | |
Also renamed the source/header files, now they are more closely aligned to how we rename most other source files svn-id: r54264 | |||
2010-11-01 | ENGINES: Replace many printfs by warning/debug/debugN | Max Horn | |
svn-id: r54031 | |||
2010-11-01 | COMMON: Rename String::printf() to String::format() | Max Horn | |
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004 | |||
2010-10-23 | ALL: Fix indention (whitespaces -> tabs) | Max Horn | |
svn-id: r53738 | |||
2010-10-22 | Update BRA demo startup code to use the part/location handling code from ↵ | Nicola Mettifogo | |
r50042. Patch #3089932 by fuzzie. svn-id: r53702 | |||
2010-10-22 | Initialize variable in NS gui code (was crashing a demo). Patch #3089932 by ↵ | Nicola Mettifogo | |
fuzzie. svn-id: r53701 | |||
2010-10-15 | ENGINES: Enhance namespace comments a bit | Max Horn | |
svn-id: r53484 |