Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-15 | Added const to reference parameters of Font::drawString() and ↵ | Denis Kasak | |
Font::getStringWidth(). svn-id: r41530 | |||
2009-06-15 | Converted default font colours from static members of Font to constants. ↵ | Denis Kasak | |
Moved the initializer list of the Font constructor to the constructor body (for readability). svn-id: r41529 | |||
2009-06-14 | Removed superfluous return from the Sprite constructor. | Denis Kasak | |
svn-id: r41525 | |||
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 | Whitespce fixes | Eugene Sandulenko | |
svn-id: r41514 | |||
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 | Reworded DraciFont docs (with regards to mentioning ASCII). | Denis Kasak | |
svn-id: r41511 | |||
2009-06-14 | Removed superfluous checks for NULL in DraciFont::freeFont(). | Denis Kasak | |
svn-id: r41510 | |||
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 | Fixed evaluation of GPL mathematical expressions. The evaluator now checks ↵ | Denis Kasak | |
that, at the end of the evaluation, the stack only contains one value (i.e. the result of the expression). svn-id: r41477 | |||
2009-06-12 | Replaced a magic number with a proper constant. | Denis Kasak | |
svn-id: r41476 | |||
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 | Made DraciFont::drawString() take a String reference instead of a copy. | Denis Kasak | |
svn-id: r41472 | |||
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-12 | Made the DraciFont::freeFont() method safe to call in any circumstance by ↵ | Denis Kasak | |
making it check for NULL pointers itself to prevent double free / corruption. This also fixes a potential bug in the destructor. svn-id: r41469 | |||
2009-06-12 | Properly documented everything (including the new DraciFont class). ↵ | Denis Kasak | |
Reshuffled some old comments. svn-id: r41467 | |||
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-11 | Added support for the new GUI options. | Denis Kasak | |
svn-id: r41442 | |||
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-10 | Backport debugCN() as it is needed for Draci engine | Eugene Sandulenko | |
svn-id: r41422 | |||
2009-06-10 | Made handleMathExpression() properly handle mathematical expressions inside ↵ | Denis Kasak | |
GPL bytecode (instead of just searching for the ending byte). The actual callbacks still need to be implemented. svn-id: r41415 | |||
2009-06-10 | Redesigned the GPL2 disassembler to improve readability. It now does a ↵ | Denis Kasak | |
linear search in a table of commands (instead of having a giant switch) when searching for the correct bytecode command. svn-id: r41414 | |||
2009-06-09 | Enable Draci engine by default | Eugene Sandulenko | |
svn-id: r41394 | |||
2009-06-08 | Adding Draci Historie engine skeleton (engine stub, BAR archiver, ↵ | Denis Kasak | |
rudimentary GPL disassembler) svn-id: r41390 | |||
2009-06-08 | Convert FWRenderer and OSRenderer to use Cine::Palette. | Kari Salminen | |
Also fix some bugs that came up in testing of Cine::Palette. svn-id: r41386 | |||
2009-06-08 | Virtual Keyboard: Add some quick changes to the virtual keyboard to activate ↵ | John Willis | |
submit and cancel events from the default lowercase keyboards. This makes it possible to cancel and submit without having to call Common::KEYCODE_F7 again. Sorry for the nasty (temp) graphics. svn-id: r41385 | |||
2009-06-08 | - Cleanup | Johannes Schickel | |
- Fix regression in Kyra1 outro svn-id: r41384 | |||
2009-06-08 | Cleanup. | Johannes Schickel | |
svn-id: r41381 | |||
2009-06-08 | sword1: slight cleanup of psx related sound code and comments | Fabio Battaglia | |
svn-id: r41380 | |||
2009-06-08 | Fix out of bounds memory access in Screen::drawShape. | Johannes Schickel | |
svn-id: r41379 | |||
2009-06-08 | Virtual Keyboard: Fix slight error in earlier commit (failed to rename the ↵ | John Willis | |
XML to match the keyboard pack name). svn-id: r41376 | |||
2009-06-08 | Spacing. | Travis Howell | |
svn-id: r41375 | |||
2009-06-08 | Add more Polish font data for The Feeble Files. | Travis Howell | |
svn-id: r41374 | |||
2009-06-08 | Virtual Keyboard: Move vkeybd.zip into packs folder and rename default ↵ | John Willis | |
keyboard pack to vkeybd_default(.zip) with updates to default-events.cpp. Also update vkeybdpack.py to use zlib compression if Python zlib is found. Update GP2X and GP2XWiz bundle files to get new vkeybd_default.zip. svn-id: r41373 | |||
2009-06-08 | Add Polish font data for The Feeble Files. | Travis Howell | |
svn-id: r41372 | |||
2009-06-08 | sword1: add Broken Sword PSX demo support | Fabio Battaglia | |
svn-id: r41369 | |||
2009-06-08 | SCI: Cleanup | Walter van Niftrik | |
svn-id: r41368 | |||
2009-06-08 | Replaced GFXWARN with warning and GFXDEBUG with debugC | Filippos Karapetis | |
svn-id: r41367 | |||
2009-06-08 | Virtual Keyboard: Add source files for the default keyboard pack seperate ↵ | John Willis | |
from ZIP archive (makes it easier to version the packs vkeybd.xml and track fixes) and add script to build keyboard pack(s) ZIP's from source files (based on /gui/themes/scummtheme.py). svn-id: r41366 | |||
2009-06-08 | Update details for the Polish version of The Feeble Files. | Travis Howell | |
svn-id: r41365 | |||
2009-06-08 | Moved some more debug commands to ScummVM's console | Filippos Karapetis | |
svn-id: r41364 | |||
2009-06-08 | Virtual Keyboard: Fix default keyboard pack to return correct events for ↵ | John Willis | |
ENTER and !. svn-id: r41363 | |||
2009-06-08 | - Fix Screen_v2::wsaFrameAnimationStep, now the MR album and LoL intro demo ↵ | Johannes Schickel | |
WSAs will be correctly played - Made album page change in MR a bit slower, so it's visible at least svn-id: r41362 |