Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-15 | Submitting changes to DraciEngine::go() mentioned in the last commit but ↵ | Denis Kasak | |
omitted by accident. Removed superfluous BArchive::closeArchive() calls. svn-id: r41552 | |||
2009-06-15 | Added support for DFW format archives. Rewrote some BArchive methods to be ↵ | Denis Kasak | |
able to seamlessly handle both BAR and DFW archives. Modified the BAFile struct to support both types of files. Tested it by enabling the mouse in the event loop (the cursor was stored in a DFW file). Added and rewrote docs to reflect the changes. svn-id: r41533 | |||
2009-06-14 | Added a Font _font variable to the engine instance. Fixed font colour ↵ | Denis Kasak | |
handling by replacing the appropriate colours before drawing. Added Font::setColour() method for changing the current font colour. Added include guards to draci/font.h. Moved kFontBig and kFontSmall constants to draci/font.cpp to prevent redefinition errors. svn-id: r41524 | |||
2009-06-14 | Renamed DraciFont class to Font to be more consistent with the rest of the ↵ | Denis Kasak | |
classes and other engines. svn-id: r41523 | |||
2009-06-14 | Changed DraciFont API to accept const Strings when loading fonts and added ↵ | Denis Kasak | |
constants for font types. svn-id: r41522 | |||
2009-06-14 | Replaced a call to getEventManager() with Engine::_eventMan. | Denis Kasak | |
svn-id: r41518 | |||
2009-06-14 | Replace hackish getch() with proper event loop at end of the demo. | Eugene Sandulenko | |
svn-id: r41513 | |||
2009-06-14 | Designate hack according to our conventions | Eugene Sandulenko | |
svn-id: r41512 | |||
2009-06-14 | Added a Sprite class for handling sprites in the Draci format transparently. ↵ | Denis Kasak | |
Modified the test animation to use it. svn-id: r41509 | |||
2009-06-12 | Made DraciFont::drawString() return early if the string is too long to fit ↵ | Denis Kasak | |
on the screen. svn-id: r41475 | |||
2009-06-12 | Removed overflow/underflow checks from DraciFont::drawChar(). Instead, we ↵ | Denis Kasak | |
now calculate the number of pixels that can be drawn without overflowing beforehand. Also added asserts to catch any negative value passed for the coordinates. svn-id: r41471 | |||
2009-06-11 | Implemented font handling via the DraciFont class. Reprogrammed the test ↵ | Denis Kasak | |
animation to use the original game fonts. Removed the old drawString() hack. svn-id: r41454 | |||
2009-06-10 | Removed special-casing for the colour black as it's no longer needed. | Denis Kasak | |
svn-id: r41440 | |||
2009-06-10 | Shifted the palette one bit to the left aft toemake the dragon animation ↵ | Denis Kasak | |
brighter. svn-id: r41439 | |||
2009-06-10 | Code formatting | Denis Kasak | |
svn-id: r41438 | |||
2009-06-10 | Added an additional debuglevel "archiver" to facilitate displaying debug ↵ | Denis Kasak | |
info from the BAR archiver. Also adjusted numeric debug levels. svn-id: r41436 | |||
2009-06-08 | Adding Draci Historie engine skeleton (engine stub, BAR archiver, ↵ | Denis Kasak | |
rudimentary GPL disassembler) svn-id: r41390 |