aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
AgeCommit message (Collapse)Author
2010-11-16GUI: Move major widgets to new directory gui/widgetsMax 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-01ENGINES: Replace many printfs by warning/debug/debugNMax Horn
svn-id: r54031
2010-11-01COMMON: 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-23ALL: Fix indention (whitespaces -> tabs)Max Horn
svn-id: r53738
2010-10-22Update BRA demo startup code to use the part/location handling code from ↵Nicola Mettifogo
r50042. Patch #3089932 by fuzzie. svn-id: r53702
2010-10-22Initialize variable in NS gui code (was crashing a demo). Patch #3089932 by ↵Nicola Mettifogo
fuzzie. svn-id: r53701
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-10-11PARALLACTION: Fix out of bounds access.Johannes Schickel
This is a partial commit of patch #3085298 "overflows in agi and parallaction". svn-id: r53146
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-09-06PARALLACTION: Use a char array for static data instead of String.Johannes Schickel
svn-id: r52610
2010-07-17DEBUGGER: Simplify how our console debugger works / is usedMax Horn
* Remove _isAttached member var and isAttached method * Engines now always call the onFrame method; whether it does something is decided by the debugger class resp. its subclasses * Make detach() protected instead of private, so that subclasses can invoke it * Remove _detach_now member var (call detach() instead). * Rename _frame_countdown to _frameCountdown and properly document it. * Add more doxygen comments * Cleanup svn-id: r50963
2010-06-27Prevent execution of the STOP script command when its Zone does not exist. ↵Nicola Mettifogo
Patch #3021744 by fuzzie with some comments. svn-id: r50363
2010-06-25AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵Florian Kagerer
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-19Cleanup.Nicola Mettifogo
Got rid of the legacy "location.part" string handling in BRA. svn-id: r50042
2010-06-19Cleanup some more state when switching part in BRA.Nicola Mettifogo
svn-id: r50041
2010-06-19Use the new _nextPart member switching part from the menu in BRA.Nicola Mettifogo
svn-id: r50040
2010-06-19Implemented PART command for BRA, largely based on patch #3005434 by fuzzie.Nicola Mettifogo
svn-id: r50039
2010-06-19Guarded the command execution suspension for NS demo (this was due in r38662 ↵Nicola Mettifogo
- see bug #2619824). svn-id: r50038
2010-06-19Save the context of a suspended list before resuming the execution, so that ↵Nicola Mettifogo
it can safely be suspended again. Patch 3004652 by fuzzie. svn-id: r50037
2010-06-15AdvancedDetector: Add new parameter directoryGlobs.Eugene Sandulenko
Without this parameter mass detection gave tons of false alarms. Use globbing for narrowing down the depth search. svn-id: r49788
2010-06-14Extended advancedDetector with depth parameter.Eugene Sandulenko
Now AD can search nested directories. By default it is turned off, but there is new parameter to ADParameters struct. Usually value of 2 is good enough for all purposes. svn-id: r49653
2010-06-13Added a parser for kZoneNone zones/animations in BRA.Nicola Mettifogo
The only thing it does is parsing a possible command list, which is enough to support the script bug in "scende2". See ticket #3005384. svn-id: r49628
2010-06-13When closing inventory, do not force input back to game-mode if commands ↵Nicola Mettifogo
need otherwise. svn-id: r49623
2010-06-13Fixed clipping when drawing sprites at small scale factors (this fixes the ↵Nicola Mettifogo
balloon scene). svn-id: r49621
2010-06-13Support for vertical scrolling. Patch 3005933 by fuzzie.Nicola Mettifogo
svn-id: r49620
2010-06-13Keep the balloon from getting stuck in an infinite loop when floating near ↵Nicola Mettifogo
the borders of the screen. See the detailed explanation in walk.cpp. svn-id: r49619
2010-06-13Improved debug output of BRA walk code.Nicola Mettifogo
svn-id: r49618
2010-06-04Ensure that zones/animations always get the same index number.Nicola Mettifogo
When a zone/animation is skipped by the parser because already loaded, the index is now increased. This does not affect NS, since indexes are only used for scene sorting there, but is relevant for BRA, where indexes need to be coherent across location changes. Patch #3004008 by fuzzie. svn-id: r49428
2010-05-24Fix warningEugene Sandulenko
svn-id: r49192
2010-05-22Cleanup (removed more Parallaction::getGameType() calls).Nicola Mettifogo
svn-id: r49147
2010-05-22Cleanup (removed many Parallaction::getGameType() calls).Nicola Mettifogo
svn-id: r49146
2010-05-22Finish implementation of hitZone and related functions as from the original ↵Nicola Mettifogo
code. svn-id: r49145
2010-05-22Apply patch 3004687 by fuzzie: allow usage of merge zones.Nicola Mettifogo
svn-id: r49144
2010-05-22Apply patch 3005433 by fuzzie: new 'toggleglobalflags' command for the debugger.Nicola Mettifogo
svn-id: r49141
2010-05-22Apply patch 3004991 by fuzzie: don't try and run dialogues for SPEAK zones ↵Nicola Mettifogo
without dialogue, but run the command list anyway. svn-id: r49140
2010-05-22Make sure a dialogue is valid before entering dialogue mode.Nicola Mettifogo
svn-id: r49139
2010-05-22Use the kZoneYourself flag to check zones for self-use in BRA. See patch ↵Nicola Mettifogo
3003626. svn-id: r49138
2010-05-22Do not make the character walk towards the zone clicked upon by the user if ↵Nicola Mettifogo
it is marked for self-use. See patch 3003626. svn-id: r49137
2010-05-22Added descriptions for kFlagsSelfuse and kFlagsYourself. See patch 3003626.Nicola Mettifogo
svn-id: r49136
2010-05-22Make sure hitZone always gets absolute game coordinates. Based on the patch ↵Nicola Mettifogo
3004658 by fuzzie. svn-id: r49135
2010-05-21Fix loading of MSC files on big-endian systems. Patch 3004367 by fuzzie.Nicola Mettifogo
svn-id: r49128
2010-05-21Added a new valid EOL character for scripts. Patch 3004990 by fuzzie.Nicola Mettifogo
svn-id: r49127
2010-05-19Add a parser for HEAR zones in BRA, and handle the relative MUSIC command. ↵Nicola Mettifogo
Patch 3003382 by fuzzie, with enhancements. svn-id: r49105
2010-05-19Do not try and run dialogues when there is no dialogue defined in a SPEAK ↵Nicola Mettifogo
zone. Patch 3003382 by fuzzie. svn-id: r49103
2010-05-18Fix missing dialogue index.Willem Jan Palenstijn
This is the BR case of the NS fix in r45053. Patch by fuzzie@fuzzie.org . svn-id: r49072
2010-05-12Changed the last global objects to class members.Nicola Mettifogo
svn-id: r49011
2010-05-04Reduce indirect header dependencies furtherMax Horn
svn-id: r48936
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935