aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-04-21Implementation and declartion in intern.h differed. Changed so both is using ↵Lars Persson
the same datatype. svn-id: r22074
2006-04-19Fix ASM HQ routines, because RGBtoYUV and LUT16to32 are on heap now.Eugene Sandulenko
svn-id: r22041
2006-04-17Make use of triple-interpolation function in SuperEagel (should save a few ↵Max Horn
cycles... not that it really matters :) svn-id: r21985
2006-04-17Replace interpolate32 calls by interpolate16 calls (as we only work on ↵Max Horn
single pixels here currently) svn-id: r21983
2006-04-17Simple optimizationMax Horn
svn-id: r21982
2006-04-17Renamed and merge some of the pixel interpolation functions (the names still ↵Max Horn
could be better) svn-id: r21981
2006-04-17Allocate LUT/YUV tables on the heapMax Horn
svn-id: r21971
2006-04-17Modify InitLUT to make use of ColorMasks, making it easier to add support ↵Max Horn
for other color modes eventually. This also fixes the computation of LUT16to32 which so far always assumed 565 mode. svn-id: r21970
2006-04-17Fixed (A)RGBToColor templatesMax Horn
svn-id: r21969
2006-04-17Since we define alpha value 255 to mean 'opaque', or T::kAlphaMask into the ↵Max Horn
result of RGBToColor svn-id: r21968
2006-04-17Add color conversion functions based on ColorMasks, to demonstrate how this ↵Max Horn
would work svn-id: r21967
2006-04-17Moved ColorMasks to their own new header graphics/colormasks.h, so that both ↵Max Horn
the scalers and the GUI code can access them. Also added (untested) entries for 1555, 444, 888 and 8888 modes svn-id: r21966
2006-04-17cleanupMax Horn
svn-id: r21964
2006-04-17Removed my Altivec version of the hqx blitters, since it (a) didn't work ↵Max Horn
with newer GCC versions, (b) speed was improved on some systems, but actually slower on others, and (c) even on my old 400 Mhz G4 hqx is fast enough w/o it svn-id: r21961
2006-04-16- Moves Graphics::loadFont to Graphics::NewFont::loadFontJohannes Schickel
- adds code for caching of fonts (just for Graphics::NewFont) - implements cache using in the modern theme for custom fonts - adds cache file for current normal font in the theme zip file svn-id: r21952
2006-04-15cleanupMax Horn
svn-id: r21921
2006-04-14- implements .bdf font loader based on convbdf (sure could have some clean up)Johannes Schickel
- adds three different font styles to the themes (normal, bold (default one), italic) - implements code for specifing the font files in the theme config ('fontfile_normal','fontfile_bold' and 'fontfile_italic' in the 'extra' section) - changes EditTextWidget to use the normal font (has some minor aligment problems with the caret now, though) - extends the FontManager (new functions: getFontByName, assignFontToName, removeFontName) - adds the font style constans to the builtin constants for the evaluator) svn-id: r21868
2006-04-14Changed File::open to take a Common::String as file name parameterMax Horn
svn-id: r21867
2006-04-14Use const keyword to help compiler optimize codeMax Horn
svn-id: r21866
2006-04-04Don't use HAVE_CONFIG_H / config.h directly, use scummsys.h insteadMax Horn
svn-id: r21605
2006-04-02With this change, backends are now responsible for instantiating their ↵Max Horn
OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently) svn-id: r21557
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-15* 'make bundle' now copies the default theme files into the bundle.Oystein Eftevaag
* Common::File will now look inside the application bundle on MacOS X for a file if it can't find it anywhere else (so it'll find default-theme.ini and .zip) * Cleaned up some #ifs. svn-id: r21308
2006-03-14Adds support for building on Intel Macs, using a modifiedOystein Eftevaag
version of patch 1448395 by Aubin and some of my own changes. Notably: * Two elements of a struct in backends/midi/quicktime.cpp needed to be forced to BE. * NASM set to build Mach-O binaries * configure now checks for Altivec support on Darwin hosts, instead of assuming it. Altivec support can also be disabled (not 100% sure if t his is actually needed, but might be handy for crosscompiling). * The aliasing of the symbols contained in the .asm files done on Windows were also needed on MacOS. Note that while the asm code is properly compiled and linked in, HQ2/3x support will still not work properly on Intel macs if NASM is enabled. svn-id: r21280
2006-03-06Fixed compilation, this could be used with all systems (?)Chris Apers
svn-id: r21112
2006-03-04define int types for msvc to allow compile mpeg2 library. msvc does not ↵Paweł Kołodziejski
fully conform C99 svn-id: r21073
2006-02-25Fix bug #1436178 (ALL: int8_t in graphics/animation in conflict with ISO99 C)Max Horn
svn-id: r20877
2006-02-20Moved fonts to a new dir graphics/fontsMax Horn
svn-id: r20800
2006-02-20Fixing up my previous commit: finished moving common/scaler* to graphicsMax Horn
svn-id: r20798
2006-02-20Moved common/scaler* to graphics/Max Horn
svn-id: r20797
2006-02-12Reduced data duplication in module.mk files; added module.mk files for null ↵Max Horn
and x11 backends; added engines/module.mk svn-id: r20584
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20519
2006-02-07Removed .cvsignore filesMax Horn
svn-id: r20424
2006-02-03fixes allow compile with emsvc4 againPaweł Kołodziejski
svn-id: r20355
2006-01-31Oops again. Don't beat me hard for plugging in 8800+ glyphs font insteadEugene Sandulenko
of 130-glyphs one :) svn-id: r20327
2006-01-31oops. Forgot about our small backends.Eugene Sandulenko
svn-id: r20326
2006-01-31Plug in better font. Unfortunately we can't use Arial12 which Krest put onEugene Sandulenko
his mock-ups due to license restrictions, i.e. Microsoft prohibits any reverse engineering and modifications of it and we need to convert it into raster font. Fortunately there are free fonts in the wild. I tried Bitstream Vera, but it looked too wide, or crappy if horizontal resolution was altered. Next try was Adobe Helvetica from X.org. Only requirement is to verbose copyright notice and disclaimer. However we will need both bold (provided) and normal wieghts of font in new GUI for use in text inputs. This is work to do. svn-id: r20325
2006-01-27 - adds the new gui renderer also a new implementation for the classic guiJohannes Schickel
- adds a ImageMan and ImageDec class for loading and managing image files - adds a loader for zip files which is used by the new theme and the image manager - changes the widgets to use the new gui code - changes the scumm dialogs to use the new gui code - fixes a #include problem in the sky debugger with the new gui code To use the new gui copy gui/themes/default-theme.zip to your extrapath. If the theme zip can not be found the gui will fallback to the classic theme. If you want to change the gui styles use "gui_theme=classic" for the classic theme and "gui_theme=default-theme" for the new theme. Thanks to eriktorbjorn for testing and help with the new theme and to sev for reviewing this patch. svn-id: r20227
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-11-27Patch #1341626: "New GP32 port"Eugene Sandulenko
svn-id: r19710
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-08PalmOS : very bad hack to fix global constructor problem with ARMChris Apers
svn-id: r18970
2005-09-03Change PalmOS identChris Apers
svn-id: r18748
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-07-29fix chunk sizeAndrew Kurushin
svn-id: r18590
2005-07-29Simple ILBM images reader.Eugene Sandulenko
svn-id: r18588
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-06-21Patches needed to build for SYMBIAN32 WINS/GCC added.Lars Persson
Test built for Symbian and run on P910i without any major problems. Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA). svn-id: r18430
2005-06-20Added virtual destructor, to silence a few more GCC 4 warningsMax Horn
svn-id: r18419