Commit Graph
86814 Commits
Author SHA1 Message Date
Max Horn 5188929825 cleanup
svn-id: r42040
2009-07-02 22:05:42 +00:00
Max Horn cea01452a7 fixed indention (and trigger a reconfigure in buildbot)
svn-id: r42039
2009-07-02 21:37:13 +00:00
Max Horn 8aa667e342 Enhanced the quicksearch box in the launcher to match words in the search string individually
svn-id: r42038
2009-07-02 21:16:36 +00:00
Denis Kasak 8bba3e6f10 Added Game::changeRoom() method and Game::_currentRoom.
svn-id: r42036
2009-07-02 20:29:14 +00:00
Denis Kasak cac39d8295 Added rooms and overlays archives.
svn-id: r42035
2009-07-02 19:57:09 +00:00
Denis Kasak 4a4aab83d0 Fixed typo.
svn-id: r42034
2009-07-02 19:54:18 +00:00
Denis Kasak b0334e102f Added struct Room.
svn-id: r42033
2009-07-02 19:47:25 +00:00
Denis Kasak be3c0461d6 DraciEngine now opens and stores pointers to essential archives. Changed code that used those archives to use that instead of opening them manually. Replaced BArchive::operator[] functionality with BArchive::getFile() to prevent ugliness when accessing archives via pointers.
svn-id: r42031
2009-07-02 16:15:32 +00:00
Denis Kasak 936e5f4c5e Merged the info available from _objectStatus with the GameObject struct. Made Game keep a list of all the game's objects. Added Game::getObject() method for fetching a pointer to a particular object. Changed Game::loadObject() to not accept a pointer to a GameObject struct anymore.
svn-id: r42026
2009-07-02 15:08:42 +00:00
Sven Hesse 341d875cea Added support for compressed sample files (patch #2815426 by m_kiewitz)
svn-id: r42020
2009-07-02 12:15:04 +00:00
Denis Kasak 35a677fb08 Added BArchive::clearCache() method for clearing the data cache of opened files.
svn-id: r42019
2009-07-02 10:39:51 +00:00
Denis Kasak fed2281125 Make the meta engine pass the pointer to the detected version and not the whole ADGameDescription table.
svn-id: r42018
2009-07-02 10:31:56 +00:00
Norbert Lange d2003f859b whoops - now its compiling again
svn-id: r42014
2009-07-01 23:16:18 +00:00
Norbert Lange 9f8d9de11d added a skeleton for maxtrax modules. Not much happening yet, just reading and displaying a bit of information for maxtrax file
svn-id: r42013
2009-07-01 23:11:56 +00:00
Max Horn 630501fe43 oops
svn-id: r42012
2009-07-01 20:53:47 +00:00
Max Horn 385421e95b Flag what looks like a bug in the CMS player code -- somebody should verify and fix this properly
svn-id: r42011
2009-07-01 20:51:47 +00:00
Max Horn c4f6295330 Fixed some more warnings observed on buildbot
svn-id: r42010
2009-07-01 20:51:34 +00:00
Max Horn a6b57dc3a9 - Added GCC_PRINTF attribute to several funcs where it makes sense
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings

svn-id: r42009
2009-07-01 20:51:04 +00:00
Lars Persson 62acda5fdb Use MIN with correct template parameter.
svn-id: r42008
2009-07-01 20:11:44 +00:00
Lars Persson 4b850a2c03 Move action inits to engineInit and engineDone callbacks.
svn-id: r42007
2009-07-01 20:02:33 +00:00
Denis Kasak d47ab6ae98 Added empty animation.cpp and animation.h files.
svn-id: r42000
2009-07-01 16:20:47 +00:00
Denis Kasak 58c1591ae0 Added Text::setSpacing() method.
svn-id: r41999
2009-07-01 16:15:06 +00:00
Denis Kasak 1373eeea12 Made Text objects calculate their widths and heights properly.
svn-id: r41998
2009-07-01 16:14:04 +00:00
Denis Kasak 1402a3f5fe Removed declaration of Screen::drawSprite() which is now obsolete.
svn-id: r41997
2009-07-01 16:01:07 +00:00
Denis Kasak cfadb6cc3d Made coordinate specification mandatory when constructing objects of type Sprite and Class. Made transforming from columnwise a default (since it was done most of the time anyway). Changed coordinates to use uint instead of uint16.
svn-id: r41996
2009-07-01 16:00:27 +00:00
Denis Kasak f0fcd7fd8e Modified Sprite, Text and Drawable to handle data hiding properly since they're no longer just C-like struct containers. Implemented getters/setters accordingly and changed existing code that used those classes.
svn-id: r41995
2009-07-01 15:22:36 +00:00
Norbert Lange 7c7ad0d5f1 some Code-Formatting
svn-id: r41994
2009-07-01 15:15:58 +00:00
Matthew Hoops c753e68024 fix compile
svn-id: r41993
2009-07-01 15:11:52 +00:00
Scott Thomas da1f41005c Sync MSVC project files for JPEG addition
svn-id: r41992
2009-07-01 15:10:30 +00:00
Scott Thomas bf18c79ba6 Add JPEG support to 11H for ROQ playback
svn-id: r41991
2009-07-01 15:08:11 +00:00
Scott Thomas f67f820010 Add JPEG support to 16bpp branch (if it breaks or is wrong, clone2727 made me)
svn-id: r41990
2009-07-01 15:06:38 +00:00
Norbert Lange abef70f4e1 Merging in changes from trunk
svn-id: r41989
2009-07-01 14:45:24 +00:00
Norbert Lange 3b94e2488d Added kyra project
removed 1 potentially troublesome assert

svn-id: r41988
2009-07-01 13:25:48 +00:00
Jody Northup 75507138cc Implemented Graphics::PixelFormat Graphics::findCompatibleFormat(Common::List<Graphics::PixelFormat> backend, Common::List<Graphics::PixelFormat> frontend)
svn-id: r41986
2009-07-01 06:33:50 +00:00
Jody Northup f10946545a Allowed for 16, 24, and 32 bit pixel format factory constructors to be used without backend RGB color support
svn-id: r41985
2009-07-01 04:06:13 +00:00
Denis Kasak 4895993588 Added Text::setText() and Text::setColour() methods. Changed demo animation to use them.
svn-id: r41984
2009-07-01 01:43:20 +00:00
Denis Kasak 4c86646db6 Changed intro animation to render text via the new Text class.
svn-id: r41983
2009-07-01 01:25:48 +00:00
Denis Kasak d7f8cbf170 Added text position specification to Text constructor.
svn-id: r41982
2009-07-01 01:18:22 +00:00
Denis Kasak 78d5b96f51 Added Text as a subclass of Drawable. Fixed syntax error in font.cpp
svn-id: r41981
2009-07-01 01:11:48 +00:00
Denis Kasak 49e1a07f27 Added Font::drawString overload that takes in a pointer to a byte buffer and a length instead of a Common::String. Changed the former drawString to be a wrapper for the new one.
svn-id: r41980
2009-07-01 01:02:48 +00:00
Denis Kasak 85a5871873 Added the Drawable abstract base class and made Sprite inherit from it.
svn-id: r41979
2009-06-30 22:31:29 +00:00
Norbert Lange e3a5da7b7e engines/scumm/*: enabled choosing of the colorpalette, by setting RenderMode to EGA the "old" palette will be used
tfmx/tfmxplayer.cpp: removed some unused stuff
sound/mods/tfmx.cpp: emulating the way MI initialises new macro-programms. (Difference might not be audible at all)

svn-id: r41976
2009-06-30 17:41:24 +00:00
Paul Gilbert f9298ff403 Made the music/sfx volume settings actually affect the in-game music/sfx volume
svn-id: r41975
2009-06-30 10:36:50 +00:00
Jordi Vilalta Prat 03b501ee24 Groovie: Converted compile time checks for RGB modes support to runtime checks in order to fallback if the requested PixelFormat isn't available.
svn-id: r41974
2009-06-30 10:25:44 +00:00
Jordi Vilalta Prat 5e9285e8fa Fixed a few formatting bits
svn-id: r41973
2009-06-30 08:25:08 +00:00
Jody Northup 9e1916bcad renamed kTransactionPixelFormatNotSupported to kTransactionFormatNotSupported, retyped all Graphics::PixelFormat * parameters to const Graphics::PixelFormat *, (hopefully) repaired all memory leaks on screen and cursor format changes, provided OSystem::getScreenFormat and OSystem::getSupportedFormats methods for when ENABLE_RGB_COLOR is not set, completely forgot the "commit early, commit often" mantra.
svn-id: r41972
2009-06-30 07:30:57 +00:00
Johannes Schickel b37beb4493 Add some more explanation to Graphics::CursorManager::showMouse and OSystem::showMouse.
svn-id: r41968
2009-06-29 23:23:29 +00:00
Johannes Schickel 267efdc874 Fix invisible mouse cursor, when picking up items.
svn-id: r41967
2009-06-29 23:14:35 +00:00
Denis Kasak 138d17bbab Changed some data members in Draci::GameInfo from uint32 to uint16 (previously I thought that the 'word' type in the original engine was 32 bits). Removed a FIXME concerning struct size mismatch (matches when the previous sentence is taken into account). GameInfo::_numDialogBlocks is now calculated, not read in (it wasn't stored in the data files at all).
svn-id: r41966
2009-06-29 22:27:38 +00:00
Denis Kasak 63aa2b7aaf Account for endianess properly when reading in game variables.
svn-id: r41965
2009-06-29 22:20:30 +00:00