Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-23 | ANALYSIS: Add static casts to is* functions | Littleboy | |
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx | |||
2011-06-20 | ALL: Remove trailing whitespaces | Max Horn | |
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//' | |||
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-01-13 | PARALLACTION: Fix for DoorData Memory Leak in Big Red Adventure. | David Turner | |
svn-id: r55232 | |||
2010-06-13 | Added 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-05-19 | Add a parser for HEAR zones in BRA, and handle the relative MUSIC command. ↵ | Nicola Mettifogo | |
Patch 3003382 by fuzzie, with enhancements. svn-id: r49105 | |||
2009-07-26 | Moved parser functions arrays to file scope, as they were tripping up the ↵ | Nicola Mettifogo | |
obsolete gcc used for the BeOS/Haiku port. If anybody can work out a better solution please apply it, because this makes me sick. svn-id: r42793 | |||
2009-05-31 | The error() and warning() functions add ! and newline automatically. (I didn't | Torbjörn Andersson | |
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061 | |||
2009-04-03 | Moved background and character loading code from LocationParser_br to the ↵ | Nicola Mettifogo | |
engine for BRA. svn-id: r39814 | |||
2009-04-03 | PARALLACTION: Fix silly Mingw 'shadowed declaration' warnings | Max Horn | |
svn-id: r39809 | |||
2009-03-29 | Implemented IFCHAR command. This makes part 3 of BRA completely explorable. | Nicola Mettifogo | |
svn-id: r39742 | |||
2009-03-29 | (Re)link bounding animations after location has been completely parsed. This ↵ | Nicola Mettifogo | |
avoids problems due to forward references. svn-id: r39740 | |||
2009-03-29 | Merged CommandData into Command. | Nicola Mettifogo | |
svn-id: r39732 | |||
2009-03-23 | Refactored the zone type parsers. | Nicola Mettifogo | |
svn-id: r39650 | |||
2009-03-23 | Turned ZoneTypes into a regular numeric id (no more a bitfield). | Nicola Mettifogo | |
svn-id: r39648 | |||
2009-03-23 | Merged GetData, HearData, SpeakData, PathData, ExamineData, MergeData into ↵ | Nicola Mettifogo | |
TypeData struct. This simplifies life a bit especially in the parsers. svn-id: r39645 | |||
2009-03-23 | Pushed down dependencies from parser.h | Nicola Mettifogo | |
svn-id: r39636 | |||
2009-03-23 | Implemented all variants of IF script instruction. Program class has been ↵ | Nicola Mettifogo | |
changed to store an Array of instruction instead of a List, so that references to instructions are integers. svn-id: r39631 | |||
2009-03-18 | Postpone loading of mask and path data on BRA. This fixed locations in which ↵ | Nicola Mettifogo | |
mask and path are defined before the screen bitmap. svn-id: r39512 | |||
2009-03-14 | Added midi support to BRA. So far music starts, but related script commands ↵ | Nicola Mettifogo | |
haven't been implemented yet. svn-id: r39397 | |||
2009-03-02 | Initialize and save zones flags and follower position when a location switch ↵ | Nicola Mettifogo | |
occurs. svn-id: r39064 | |||
2009-02-27 | The engine has now to build the drawing list for the graphic department, ↵ | Nicola Mettifogo | |
instead of setting visibility flags; the new field _prog has been added to GfxObj to help sorting the list. The outcome is that cleaning up unused resources on location switches is now easier to manage, and less error prone. svn-id: r38928 | |||
2009-02-26 | Removed null*Ptr dummy objects, using SharedPtr's reset method to null ↵ | Nicola Mettifogo | |
pointers instead. svn-id: r38897 | |||
2009-02-25 | Updated all for(;;) loops to use prefix increment on iterators. | Nicola Mettifogo | |
svn-id: r38876 | |||
2009-02-24 | Implemented follower support, except that: | Nicola Mettifogo | |
* follower is forgotten when location changes (see freeLocation) * the final walking frame is screwed svn-id: r38838 | |||
2009-02-23 | Cleanup. | Nicola Mettifogo | |
svn-id: r38817 | |||
2009-02-03 | Fixed support for walking zones in BRA: | Nicola Mettifogo | |
* patches are not applied if the zone is not visible when loading * when applying a patch, always overwrite the existing data instead of OR'ing svn-id: r36209 | |||
2009-01-12 | Fixed regression from revision 35765. Mask and path patches were destroyed ↵ | Nicola Mettifogo | |
before getting a chance to be used. svn-id: r35835 | |||
2009-01-07 | Extended PathBuffer to support BRA. | Nicola Mettifogo | |
svn-id: r35766 | |||
2009-01-07 | * moved more mask management to BackgroundInfo | Nicola Mettifogo | |
* simplified mask management for client code * reduced the clutter into graphics.h by moving the implementations of BackgroundInfo, MaskBuffer and PathBuffer to graphics.cpp * preparation for the full implementation of BRA's PathBuffer svn-id: r35765 | |||
2009-01-04 | Implemented counters in BRA. Only valid answer options are shown, and ↵ | Nicola Mettifogo | |
counter calculations in scripts are performed. svn-id: r35723 | |||
2009-01-03 | Dropped the script preprocessor introduced to fix the broken scripts. The ↵ | Nicola Mettifogo | |
parser has evolved in the meantime and can deal with it accordingly. svn-id: r35700 | |||
2008-12-20 | Moved mask creation/handling to Gfx. | Nicola Mettifogo | |
svn-id: r35447 | |||
2008-12-17 | Reduced code duplication when manipulating Animations, and cleanup. | Nicola Mettifogo | |
svn-id: r35408 | |||
2008-12-14 | Removed some unused code. | Nicola Mettifogo | |
svn-id: r35357 | |||
2008-11-08 | * cleanup | Nicola Mettifogo | |
* moved find routines from Parallaction to Location svn-id: r34940 | |||
2008-08-22 | Fixed error in parsing. | Nicola Mettifogo | |
svn-id: r34093 | |||
2008-08-15 | Implemented raster operation for masks and postponed blitting of zones after ↵ | Nicola Mettifogo | |
everything in the location has been loaded. This fixes the remaining problems with animations not being masked by items. svn-id: r33903 | |||
2008-08-15 | Added routines to load and handle item masks: animation are now correctly ↵ | Nicola Mettifogo | |
hidden when they are behind any object. The masks of items that are not explicitly activated (even if visible) still are handled (e.g. the crown in the museum is not visible in the foreground). svn-id: r33900 | |||
2008-08-15 | Updated layer calculation: animations are now hidden properly by background ↵ | Nicola Mettifogo | |
elements (but not items yet). svn-id: r33894 | |||
2008-08-15 | Made coordinates and frame number protected into Zone and Animation, and ↵ | Nicola Mettifogo | |
changed client code to use get/set. This will allow various simplifications (e.g. when calculating Z), and is a step towards correct handling of interactive zones of Zone/Animation in BRA. svn-id: r33892 | |||
2008-08-15 | Made scripts access Animation fields via accessors and mutators, instead of ↵ | Nicola Mettifogo | |
using raw pointers. svn-id: r33891 | |||
2008-08-15 | Disabled lip syncing code in BRA, since I couldn't find any scripts actually ↵ | Nicola Mettifogo | |
using it. Some warnings have been added as a sentinel. svn-id: r33890 | |||
2008-08-15 | Simplified handling of script variables (especially locals). | Nicola Mettifogo | |
svn-id: r33889 | |||
2008-08-02 | Fixed issues detected by DrMcCoy's obnoxious compiler. ;) | Nicola Mettifogo | |
svn-id: r33511 | |||
2008-08-02 | * Added a preprocessor to deal with the crappy location scripts in BRA. | Nicola Mettifogo | |
* Added some comments on how the parser and related code should be changed to make things smoother. svn-id: r33509 | |||
2008-07-31 | * Removed references to the current _backgroundInfo from parser code. | Nicola Mettifogo | |
* Re-enabled masks (in BRA DOS). svn-id: r33474 | |||
2008-07-31 | Made changing of background more flexible, in that the engine can now ↵ | Nicola Mettifogo | |
configure its BackgroundInfo before passing it to Gfx. svn-id: r33469 | |||
2008-07-31 | Changed Gfx::_backgroundInfo to be a pointer. This temporarily kills all ↵ | Nicola Mettifogo | |
z-buffering. svn-id: r33468 |