Commit Graph
86814 Commits
Author SHA1 Message Date
Max Horn 340705c138 Allocate LUT/YUV tables on the heap
svn-id: r21971
2006-04-17 11:16:11 +00:00
Max Horn 35a2fc4028 Modify InitLUT to make use of ColorMasks, making it easier to add support for other color modes eventually. This also fixes the computation of LUT16to32 which so far always assumed 565 mode.
svn-id: r21970
2006-04-17 11:11:07 +00:00
Max Horn 2732ed3dce Fixed (A)RGBToColor templates
svn-id: r21969
2006-04-17 11:09:21 +00:00
Max Horn d7944e839b Since we define alpha value 255 to mean 'opaque', or T::kAlphaMask into the result of RGBToColor
svn-id: r21968
2006-04-17 10:44:02 +00:00
Max Horn fe9f60e219 Add color conversion functions based on ColorMasks, to demonstrate how this would work
svn-id: r21967
2006-04-17 10:41:18 +00:00
Max Horn ea85e8c986 Moved ColorMasks to their own new header graphics/colormasks.h, so that both 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-17 10:22:05 +00:00
Max Horn bbac9e43ee Actually, 3-4 alpha bits are fine, too :)
svn-id: r21965
2006-04-17 09:45:18 +00:00
Max Horn d27396d51d cleanup
svn-id: r21964
2006-04-17 09:35:42 +00:00
Max Horn 4683b427ee Clarify that kFeatureOverlaySupportsAlpha should only be set if at least a few bits of alpha are present
svn-id: r21963
2006-04-17 09:31:13 +00:00
Max Horn eb60d6abfe Document how the alpha color component is to be interpreted
svn-id: r21962
2006-04-17 09:23:51 +00:00
Max Horn de250812e5 Removed my Altivec version of the hqx blitters, since it (a) didn't work 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-17 08:38:26 +00:00
Travis Howell 092893a16d Minor cleanup
svn-id: r21960
2006-04-17 05:01:29 +00:00
Travis Howell 5b3f73f27c Intergrate the DXA player for Amiga/Macintosh verisons of FF, from cyx
svn-id: r21959
2006-04-17 04:02:48 +00:00
Travis Howell 2c5874e925 Handle unsigned variableArray reads better in FF, fixes more missing subroutines
svn-id: r21958
2006-04-17 01:31:02 +00:00
Travis Howell 3497bab17c Fix box selection after vertical scrolling in FF
svn-id: r21957
2006-04-17 01:04:08 +00:00
Travis Howell 30645d5e05 Only allocate scale buffer when using FF
svn-id: r21956
2006-04-17 00:35:38 +00:00
Travis Howell 632185fb7e Fix vertical scrolling
svn-id: r21955
2006-04-17 00:34:21 +00:00
Johannes Schickel e7716748ba Should fix wrong thumbnail colors after a screen change, which changed bpp.
svn-id: r21954
2006-04-16 20:41:40 +00:00
Johannes Schickel b99632831f This should fix wrong colors of the scummvm logo in the new theme after screen change.
svn-id: r21953
2006-04-16 20:33:52 +00:00
Johannes Schickel e9cbf5fcbd - Moves Graphics::loadFont to Graphics::NewFont::loadFont
- 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-16 19:54:39 +00:00
Max Horn 74edd90aba Fix for bug #1471383: Instead of overloading ConfigManager::set, we now have new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch)
svn-id: r21951
2006-04-16 19:23:14 +00:00
Eugene Sandulenko 08b9cd7922 Remove redundant code. soundfont is taken care in OptionsDialog::open() now.
svn-id: r21950
2006-04-16 18:32:28 +00:00
Eugene Sandulenko 9de4b02b5c Patch #1469722: "Game-specific SoundFont configuration broken"
svn-id: r21949
2006-04-16 18:17:53 +00:00
Torbjörn Andersson d2efa9fc65 The backend is responsible for making its own copy of the mouse cursor, so FF
can use the original data, instead of leaking memory every time the
drawMousePointer() function is called (several times per second).

svn-id: r21948
2006-04-16 17:53:37 +00:00
Torbjörn Andersson 75e851777b The File class automatically tries adding "." to a filename if the file cannot
be found, so there's no need for the Simon engine to do it. (Though the game
detector still does at the moment.)

svn-id: r21947
2006-04-16 16:56:11 +00:00
Joost Peters d5909ee122 some cleanup
svn-id: r21946
2006-04-16 14:40:12 +00:00
Willem Jan Palenstijn 784467abfd changed comments into real comments
svn-id: r21945
2006-04-16 14:14:22 +00:00
Max Horn fe01f3a03f Ignore the 'virtual' HE entries at the end of gameVariantsTable (this fixes an odd detector problem)
svn-id: r21944
2006-04-16 14:07:55 +00:00
Max Horn 555a568e59 Fixed some breakage in the 'Add Game' code I recently introduced; added a FIXME comment regarding the 'description' config file key
svn-id: r21943
2006-04-16 13:58:11 +00:00
Travis Howell 1a20a9ae09 Add missing mouse pointer checks for oracle and SAM in FF
svn-id: r21942
2006-04-16 13:37:48 +00:00
Joost Peters 1baf98f1c8 update so it compiles again with current svn
svn-id: r21941
2006-04-16 13:26:10 +00:00
Max Horn 6c076f80d7 Reduced dependencies on base/plugins.h
svn-id: r21940
2006-04-16 13:12:23 +00:00
Max Horn 206fdf0528 Fixed broken svn:keywords values
svn-id: r21939
2006-04-16 13:01:41 +00:00
Max Horn 3020b2016a test commit
svn-id: r21938
2006-04-16 12:55:14 +00:00
Max Horn ba1b25305e Removed the directory parameter from md5_file
svn-id: r21937
2006-04-16 12:50:39 +00:00
Max Horn 856b1b0bf4 Do not override the 'directory' param when dumping BASS resources
svn-id: r21936
2006-04-16 12:39:59 +00:00
Max Horn 453aad9ec3 Do not override the 'directory' param when dumping BS2 resources
svn-id: r21935
2006-04-16 12:23:37 +00:00
Eugene Sandulenko 924ec172ff - Implemented text padding in ListWidget and PopUpWidget. Right padding does not work yet.
- Implemented highlisght padding in ListWidget
- Eval::getVar() method with default value
- Removed unused constructors for ListWidget and PoUpWidget
- cleanup
- bumped theme version

svn-id: r21934
2006-04-16 10:23:36 +00:00
Travis Howell cadafb0689 Fix cursor colors in chemsitry set for FF
svn-id: r21933
2006-04-16 10:12:33 +00:00
Travis Howell 26736f9a67 Fix mouse cursor changing for buttons in chemistry set for FF
svn-id: r21932
2006-04-16 09:52:10 +00:00
Max Horn 1f07432927 Fixed evil longstanding bug in String::toLowercase & toUppercase: Before modifying the string content, make sure we do not share it with any other string). This should help (hopefully fix) bug #1470892
svn-id: r21931
2006-04-16 09:12:27 +00:00
Travis Howell 58bfa30c7b Improve cursor support in FF
svn-id: r21930
2006-04-16 06:49:13 +00:00
Travis Howell cc0ebb97e4 Use default cursor in FF for now, to make selection easier
svn-id: r21929
2006-04-16 05:37:16 +00:00
Travis Howell 426a75ad6a Correct sign, to fix weird path finding issues in FF
svn-id: r21928
2006-04-16 01:06:18 +00:00
Travis Howell e83841e8c7 Fix speech id for o_screenTextMsg() in FF
svn-id: r21927
2006-04-15 23:23:55 +00:00
Travis Howell 5b388fc48e Cleanup
svn-id: r21926
2006-04-15 22:37:48 +00:00
Travis Howell 9d703f1fcf Remove out dated comment
svn-id: r21925
2006-04-15 22:22:03 +00:00
Travis Howell b90b595060 Use different methods to avoid overflows to FF, to avoid regressions
svn-id: r21924
2006-04-15 22:14:39 +00:00
Travis Howell 53698416f2 Use different methods to avoid overflows to FF, to avoid regressions
svn-id: r21923
2006-04-15 22:14:18 +00:00
Max Horn e63763329c Changed default-theme -> modern
svn-id: r21922
2006-04-15 22:01:03 +00:00