Commit Graph

88 Commits

Author SHA1 Message Date
Max Horn
48fb7ea979 Fix bug #1436178 (ALL: int8_t in graphics/animation in conflict with ISO99 C)
svn-id: r20877
2006-02-25 14:42:21 +00:00
Max Horn
9cec516e51 Moved fonts to a new dir graphics/fonts
svn-id: r20800
2006-02-20 20:42:03 +00:00
Max Horn
e49e7ebb3f Fixing up my previous commit: finished moving common/scaler* to graphics
svn-id: r20798
2006-02-20 20:40:12 +00:00
Max Horn
7335d348ba Moved common/scaler* to graphics/
svn-id: r20797
2006-02-20 20:29:02 +00:00
Max Horn
80cf2fa46f Reduced data duplication in module.mk files; added module.mk files for null and x11 backends; added engines/module.mk
svn-id: r20584
2006-02-12 00:16:31 +00:00
Max Horn
13d6a56867 Change CVS keywords to SVN keywords
svn-id: r20519
2006-02-11 10:10:44 +00:00
Max Horn
0ad58cdb95 Removed .cvsignore files
svn-id: r20424
2006-02-07 22:50:14 +00:00
Paweł Kołodziejski
2ebdbbf5e0 fixes allow compile with emsvc4 again
svn-id: r20355
2006-02-03 07:30:29 +00:00
Eugene Sandulenko
46c961f28d Oops again. Don't beat me hard for plugging in 8800+ glyphs font instead
of 130-glyphs one :)

svn-id: r20327
2006-01-31 03:25:03 +00:00
Eugene Sandulenko
2f33ca6c58 oops. Forgot about our small backends.
svn-id: r20326
2006-01-31 03:15:06 +00:00
Eugene Sandulenko
28753b9fdf Plug in better font. Unfortunately we can't use Arial12 which Krest put on
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-31 03:11:40 +00:00
Johannes Schickel
5051b080a2 - adds the new gui renderer also a new implementation for the classic gui
- 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-27 15:43:23 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
edfae828f6 Patch #1341626: "New GP32 port"
svn-id: r19710
2005-11-27 02:35:57 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Chris Apers
3f2f5e0997 PalmOS : very bad hack to fix global constructor problem with ARM
svn-id: r18970
2005-10-08 21:11:45 +00:00
Chris Apers
be9d8951eb Change PalmOS ident
svn-id: r18748
2005-09-03 16:24:58 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Andrew Kurushin
922c5e29a0 fix chunk size
svn-id: r18590
2005-07-29 16:50:09 +00:00
Eugene Sandulenko
2d0f26d4ee Simple ILBM images reader.
svn-id: r18588
2005-07-29 16:34:42 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Lars Persson
1c69696a9a Patches needed to build for SYMBIAN32 WINS/GCC added.
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-21 22:08:21 +00:00
Max Horn
096e04ef05 Added virtual destructor, to silence a few more GCC 4 warnings
svn-id: r18419
2005-06-20 17:59:00 +00:00
Max Horn
206d11f585 Remove special case for char 0x20 (=space). No idea why it was there in the first place
svn-id: r18335
2005-06-04 13:19:53 +00:00
Max Horn
b985f34049 Fix word wrapping: do not generate spaces at the start/end of the wrapped lines
svn-id: r18142
2005-05-17 23:14:13 +00:00
Max Horn
653c9fc74d Added missing comma symbol, based on semicolon
svn-id: r18140
2005-05-17 22:43:50 +00:00
Torbjörn Andersson
bfbbf48585 Added clipping to drawLine(). This fixes a regression that caused the
debug console to crash ScummVM. (I'm not sure, but I think it was trying to
draw the scrollbar arrows outside the screen when the console was sliding
into view.)

svn-id: r18138
2005-05-17 12:17:30 +00:00
Max Horn
75e6e2d885 Now that the GUI scaling code is off, we can use a 'big' font which is not exactly twice as big as the 'normal' font, thus using the available screen space more efficiently
svn-id: r18119
2005-05-15 18:23:58 +00:00
Max Horn
4d5073b154 Added Font::wordWrapText method
svn-id: r18109
2005-05-15 16:13:52 +00:00
Max Horn
2de46dc8eb Moved some more stuff to namespace Audio (enough for tonight)
svn-id: r18040
2005-05-11 00:01:44 +00:00
Max Horn
1a615346ab Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn
b75c969e66 Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
2005-05-10 22:56:25 +00:00
Max Horn
315943f19a Added convenience methods create/free to Graphics::Surface (part of patch #1163026)
svn-id: r17973
2005-05-08 21:24:33 +00:00
Max Horn
5d5b997864 Patch #1193795 (Adding drawLine() to Surface)
svn-id: r17959
2005-05-08 12:33:55 +00:00
Max Horn
2b71af3de9 Const correctness
svn-id: r17898
2005-05-02 18:00:05 +00:00
Torbjörn Andersson
81c84b683e If the sound ends before the cutscene, fall back on same synchronizing
mechanism as in the no sound case. In particular, don't hang while waiting
for the sound to play far enough to go to the next frame.

This should fix bug #1192646.

svn-id: r17889
2005-05-01 17:44:54 +00:00
Max Horn
3ee1fe9b57 Forgot to commit this, oops :-/
svn-id: r17846
2005-04-28 00:23:08 +00:00
Max Horn
4ec7161032 Patch #1186744 (Common line-drawing function)
svn-id: r17842
2005-04-27 20:29:19 +00:00
Torbjörn Andersson
728da398d7 ...and since RGBToColor() returns OverlayColor, let's use that datatype
instead of uint16. (I never realized that we could use RGBToColor() here
myself. Good job in spotting that!)

svn-id: r17812
2005-04-26 11:05:06 +00:00
Robert Göffringmann
d10947dca1 now uses OSystem::RGBtoColor for yuv->rgb conversion tables instead of checking gBitFormat
svn-id: r17810
2005-04-26 10:27:53 +00:00
Marcus Comstedt
c31f685e44 Added ARGB4444 case to table generation.
Maybe this should really be a single case using RGBToColor instead...

svn-id: r17357
2005-04-03 20:48:23 +00:00
Max Horn
0089900e5a Add missing pixel to letter 'P'
svn-id: r17229
2005-03-25 14:58:18 +00:00
Max Horn
7cd2cb2b17 PlayingSoundHandle -> SoundHandle; also, turned the handle activity check into a mixer method
svn-id: r17106
2005-03-12 18:56:09 +00:00
Torbjörn Andersson
a52de03324 Renamed variables in the MPEG animation classes to better conform with
ScummVM standard. It seems the 8-bit version of the code had decayed
slightly, but I believe it's working again now.

svn-id: r17081
2005-03-11 15:30:28 +00:00
Max Horn
0ec193b4be changing AudioDataType -> SoundType, so now the constant names match the name of the data type / the SoundMixer method names
svn-id: r17052
2005-03-09 18:12:54 +00:00
Torbjörn Andersson
e3105f926b Applied patch #1155731, reducing the memory usage of the MPEG player by
about 8 MB.

svn-id: r17007
2005-03-06 14:12:40 +00:00
Max Horn
028cc42f2b Moved the console font from gui to graphics
svn-id: r16742
2005-02-06 18:12:29 +00:00
Torbjörn Andersson
4dda4eb31b On Fingolfin's suggestion I put back the inclusion of util.h into Rect, for
MIN() and MAX(). I then removed util.h from a bunch of files which I don't
think need it any more. (Please let me know if I got too blood-thirsty!)

This reverts some of the changes I made this morning.

svn-id: r16541
2005-01-11 13:25:02 +00:00
Torbjörn Andersson
13e2c224c8 This is probably not the optimal fix, but at least ScummVM compiles again.
svn-id: r16538
2005-01-11 08:06:19 +00:00
Max Horn
ec79a9a768 A little more moving around #include's (last one for today ;-)
svn-id: r16534
2005-01-10 22:51:42 +00:00