Commit Graph
3228 Commits
Author SHA1 Message Date
Max Horn edf9f24926 Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
svn-id: r34912
2008-11-06 15:02:50 +00:00
Max Horn 79614d28b6 Tweaked browser dialog in 320x200 mode
svn-id: r34904
2008-11-05 14:58:47 +00:00
Max Horn 27628688d2 Tweaked classic theme in 320x200 mode, to use the available space better
svn-id: r34902
2008-11-05 14:33:22 +00:00
Max Horn b2d93543d4 Paranoia check
svn-id: r34901
2008-11-05 11:57:11 +00:00
Max Horn 817d2078cc Some cleanup / handle the case where the themepath is neither pointing to a dir nor to a .zip file
svn-id: r34897
2008-11-04 19:49:26 +00:00
Nicola Mettifogo 33b6bc4215 Reordered initialization lists to kill a ton of warnings.
svn-id: r34892
2008-11-04 05:29:53 +00:00
Johannes Schickel 4905d827b7 Removed dependency on OSystem::RGBToColor, by using Graphics::RGBToColor + Graphics::PixelFormat instead.
svn-id: r34888
2008-11-03 20:15:45 +00:00
Johannes Schickel f3f3c69f63 Updated theme files for r34883.
svn-id: r34884
2008-11-03 19:38:15 +00:00
Max Horn 55c10e0ec6 Patch #2122869: ALL: Common load dialog
svn-id: r34883
2008-11-03 18:32:16 +00:00
Max Horn 6466661252 Moved GuiObject::reflowLayout from newgui.cpp to object.cpp
svn-id: r34882
2008-11-03 16:42:23 +00:00
Max Horn 55da1fdd29 Renamed ThemeLayout::buildCopy to buildCopy::makeClone
svn-id: r34881
2008-11-03 16:38:47 +00:00
Max Horn 9e74c41dbd Fix comment
svn-id: r34880
2008-11-03 16:00:52 +00:00
Max Horn 78221818e4 Documented & cleaned up ThemeEngine::createCursor
svn-id: r34879
2008-11-03 16:00:13 +00:00
Max Horn 188da3547f Instead of allocating (and leaking, in case of an error) a 64k table with at most 256 entries, use a HashMap
svn-id: r34878
2008-11-03 15:15:32 +00:00
Johannes Schickel 2ec5515e89 Store names for renderer configuration in config file instead of integers.
svn-id: r34867
2008-10-29 20:45:28 +00:00
Johannes Schickel 98b0c4b33c Committed my patch from -devel, which reintroduces DISABLE_FANCY_THEMES to strip functionallity in theme renderer uneeded by small devices.
svn-id: r34864
2008-10-29 19:48:15 +00:00
Vicent Marti 08f1e00415 Fixed: Text too big in 1x mode.
svn-id: r34863
2008-10-29 19:02:45 +00:00
Vicent Marti fccf455bcc Bugfix: Dirty rectangle out of range when blitting into the overlay.
svn-id: r34862
2008-10-29 18:57:42 +00:00
Filippos Karapetis b7a219ebc6 Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, as discussed in patch #2122869
svn-id: r34854
2008-10-26 16:42:08 +00:00
Kari Salminen 4d4042df36 Shut up MSVC and add FIXMEs to Sword's listSaves and ThemeEngine's loadThemeXML.
svn-id: r34839
2008-10-22 20:29:17 +00:00
Johannes Schickel 7d331b7341 Committed updated version of my patch #2184529 "SearchSet: Get rid of SharedPtr usage".
svn-id: r34837
2008-10-22 17:44:12 +00:00
Vicent Marti 66cc100702 Fixed: Naming of STX files in Scummmodern theme.
svn-id: r34834
2008-10-21 18:03:47 +00:00
Johannes Schickel 649c18d565 Fix for bug #1960518 "ALL: --list-saves ignores custom paths".
svn-id: r34832
2008-10-21 16:01:06 +00:00
Vicent Marti 98ae461556 Fixed: Assert when parsing a corrupted Theme archive (now discarding the theme silently as non-valid).
svn-id: r34825
2008-10-18 23:58:26 +00:00
Torbjörn Andersson 6e177e64df Fixed warning.
svn-id: r34822
2008-10-18 13:06:27 +00:00
Vicent Marti 1cc3ae04cd Fixed: Default theme had several XML headers.
svn-id: r34818
2008-10-18 10:06:33 +00:00
Vicent Marti df8af387fb Changed XML Parser to require standards-compilant XML header.
Updated STX version to 0.3

svn-id: r34817
2008-10-18 09:14:43 +00:00
Vicent Marti 6e8adf4ea6 Fixed: Invisible debugger console text in Classic theme.
svn-id: r34816
2008-10-18 01:44:12 +00:00
Vicent Marti 46b036ab6a ImageManager: Added support for generic archives (zips and folders).
Theme Font Loading: Added support for generic archives.
ThemeEngine: Removed dependency on Common::File and File::AddDefaultPath for image and font loading.

svn-id: r34815
2008-10-18 01:27:33 +00:00
Vicent Marti 3644910f0d Fixed: "GUI: Crash in Debugger" (ID: 2169419)
svn-id: r34814
2008-10-18 00:29:23 +00:00
Vicent Marti 0cd4939110 Changed XMLParser comment syntax to conform to XML standards (<!-- * -->)
Changed STX version string to 0.2.

svn-id: r34807
2008-10-15 13:34:18 +00:00
Vicent Marti 9ad49cf983 Fixed: Game version selection menu (Bugs 2167730 and 2164305).
svn-id: r34806
2008-10-15 11:22:22 +00:00
Vicent Marti cf81446338 Fixed: Freddi 1/2 ingame menu crash (BUG 2167027).
Was: Crash when refreshing the screen with no open dialogs.

svn-id: r34805
2008-10-14 23:42:54 +00:00
Vicent Marti 1c374dcf35 Added "Mass Add" dialog.
svn-id: r34802
2008-10-14 17:53:52 +00:00
Vicent Marti 820a45d851 Fixed: Parser crash when adding an XML layout with an unhandled type.
svn-id: r34801
2008-10-14 17:29:48 +00:00
Vicent Marti b3625cae2f Crash ScummVM when a widget definition cannot be found in the XML file and show a descriptive error.
svn-id: r34800
2008-10-14 17:22:25 +00:00
Vicent Marti 70091a6484 Fixed: Ingame debug console in all games.
svn-id: r34792
2008-10-13 10:04:42 +00:00
Max Horn 4a56e0d9c1 Merged ThemeEngine::themeEval() and ThemeEngine::evaluator() methods into a single getEvaluator() method
svn-id: r34789
2008-10-12 22:25:35 +00:00
Max Horn 566a7b94d2 Removing dead code
svn-id: r34788
2008-10-12 22:23:35 +00:00
Max Horn 24dea3aff2 Fixed some more bad inline Doxygen comments (if you omit the '<', Doxygen thinks you are actually documenting the code in the *next* line)
svn-id: r34784
2008-10-12 22:04:30 +00:00
Max Horn 1b3952fbab Don't force inline on big funcs if you don't have to (in this case, it added 24k to the binary size for no good reason)
svn-id: r34783
2008-10-12 22:03:35 +00:00
Max Horn 7cc871b84f cleanup
svn-id: r34782
2008-10-12 22:02:24 +00:00
Max Horn 3d41300895 Fixed yet another typo
svn-id: r34775
2008-10-11 22:18:15 +00:00
Max Horn c39175d2ec GUI ThemeEngine changes:
- removed unused typedefs
- fixed some typos
- got rid of pointless parser() method
- unified theme XML loading code for Zip files and regular directories

svn-id: r34774
2008-10-11 22:14:47 +00:00
Max Horn ce7ffc4d0e Some cleanup (in particular: do not convert String -> char * -> String needlessly) & code unification (thanks to Common::Archive, regular files and those in .zip files can both be accessed via Common::File)
svn-id: r34772
2008-10-11 21:39:24 +00:00
Max Horn 0802da1f7f Order files in gui/module.mk alphabetically
svn-id: r34771
2008-10-11 21:37:15 +00:00
Max Horn ec874705ff Use Common::File instead of FilePtr
svn-id: r34769
2008-10-11 21:23:53 +00:00
Torbjörn Andersson 4fc69c4863 Fixed typo.
svn-id: r34765
2008-10-10 04:17:34 +00:00
Vicent Marti f2f25aa840 Fixed warning when loading themes contained inside a folder.
svn-id: r34763
2008-10-09 18:51:26 +00:00
Vicent Marti c3b1e34163 Renamed "scummodern" theme to "scummmodern", for naming consistence.
svn-id: r34762
2008-10-09 18:09:59 +00:00