Commit Graph

654 Commits

Author SHA1 Message Date
Eugene Sandulenko
118ce529b1 Fix crash on platforms which do not initialize memory with zeroes.
svn-id: r20234
2006-01-27 19:01:02 +00:00
Paweł Kołodziejski
4938b93f34 fixed warning
svn-id: r20231
2006-01-27 16:46:56 +00:00
Johannes Schickel
1f7bd7a726 Oops forgot to change calcColor to calcGradient before commiting.
svn-id: r20230
2006-01-27 15:59:29 +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
Oystein Eftevaag
4707a59eaf Changing Kyra copyright notice from EA to Westwood, after IRC discussion
svn-id: r20198
2006-01-26 23:53:13 +00:00
Oystein Eftevaag
b5dcb4e874 Adding Kyrandia to the About dialog copyright section.
svn-id: r20197
2006-01-26 23:18:36 +00:00
Max Horn
0b39c0ea9f Fix various incorrect usages of the word 'target' instead of 'gameid'; change the ambigiuous 'GameSettings::name' to 'GameSettings::gameid'
svn-id: r20115
2006-01-21 13:01:20 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
534b4bc2a0 Add Joachim to contributors list for fixind "just" several hundreds of MD5s
and putting all our game-related lists in order.

svn-id: r20058
2006-01-16 13:28:18 +00:00
Oystein Eftevaag
ab33f59fe2 Rearranging kyra credits, I put in the wrong alphabetical order last time.
svn-id: r19963
2006-01-10 02:58:08 +00:00
Oystein Eftevaag
6aa6767e22 Adding myself to the Kyra credits
svn-id: r19958
2006-01-09 17:14:31 +00:00
Eugene Sandulenko
ea5b469390 Move Sven Hesse to Gob engine section
svn-id: r19934
2006-01-06 15:08:00 +00:00
Eugene Sandulenko
4183bc8c78 Credit Sven for objectizing gob. That was a big amount of work.
svn-id: r19901
2006-01-03 23:53:25 +00:00
Eugene Sandulenko
fb751ebe83 Elaborate more about myself in new credits format. I invite others to do that
too as that helps to determine more exactly who has an expert opinion in some
particular area.

svn-id: r19867
2005-12-31 00:14:21 +00:00
Max Horn
0eca2a971f New credits format (DocBook conversion not yet done)
svn-id: r19809
2005-12-19 02:23:01 +00:00
Eugene Sandulenko
32c1ec7312 Credit Chris Gray (hey, khalek) for Win64 builds
svn-id: r19749
2005-12-05 23:10:10 +00:00
Eugene Sandulenko
30a8a4658a Credit Kostas for PPC2002 build
svn-id: r19747
2005-12-05 14:02:06 +00:00
Lars Persson
6ed67205ec 1. New build structure for Symbian builds to allow easier build and project updates
2. Updated framework files for new structure
3. Uncommented Debug statements in vorbis.cpp (Should probably be removed alltogether.
4. Incorporated Sevs code formatting changes in the new Symbian source structure.
5. Removed/Changed EScummVM to ScummVM instead, hopefully most cases covered.
6. Beginning vibration support to be used for Scumm shake effects (Work ongoing by SumthinWicked)
7. Replaced the ScummVM icon for the FavIcon and upscaled the icon to 32x32. I think it looks ok, comments are welcome.
8. Built for S60V1 and UIQ2 targets from the cvs
9. Updated Readme with new build instructions.

Any comments are welcome.  Hopefully the other builds are not affected by this and all Sevs code updates are also incorporated.

svn-id: r19739
2005-12-03 21:29:13 +00:00
Chris Apers
64bfec97d9 Not needed anymore :)
svn-id: r19735
2005-12-03 19:04:33 +00:00
Eugene Sandulenko
85cbb17103 Forgot to mention Jean Marc who designed new cool logo for us.
svn-id: r19580
2005-11-13 03:39:10 +00:00
Eugene Sandulenko
e41e31c34f Add our website designer and HTML/CSS coder to list of contributors.
svn-id: r19579
2005-11-13 03:33:20 +00:00
Torbjörn Andersson
87a868eda5 Removed unnecessary space from the SoundFont button's text, to keep it from
being truncated in the small version of the GUI.

svn-id: r19546
2005-11-10 11:56:10 +00:00
Eugene Sandulenko
51fc6b0441 o Sort "special thanks to" crefits section alphabetically.
o Mention that Paul Smedley also makes OS/2 pavkaging.
o Mention lloyd which C64-related contributions we use.

svn-id: r19528
2005-11-09 00:58:19 +00:00
Max Horn
ae6fb05c8f Unified Broken Sword 1 & 2 name (instead of I & II) -- usage is more consistent with other numerically numbered games (and also internally consistent). Work in progress.
svn-id: r19249
2005-10-23 10:03:28 +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
Marcus Comstedt
ee15539952 Try do display the virtual keyboard only when a string input widget has focus.
svn-id: r19102
2005-10-15 15:46:12 +00:00
Johannes Schickel
7db5abf7e8 Edited credits files:
- added new engines (Gob + Kyra) to other devs description
	- moved LordHoto to dev team

svn-id: r19033
2005-10-12 16:26:34 +00:00
Eugene Sandulenko
049dd317d7 Patch #1323715 "OS/2 Patches to ScummVM" and credited the author.
svn-id: r19016
2005-10-11 11:27:18 +00:00
Chris Apers
000a3816f8 PalmOS stuff
svn-id: r18978
2005-10-08 22:02:53 +00:00
Chris Apers
3bd243e043 Use font manager
svn-id: r18964
2005-10-08 19:40:47 +00:00
Eugene Sandulenko
c33e15e915 Mention ITE and Gob in about dialog. Or should I state publisher (C)
on Goblins which is Sierra Inc.?

svn-id: r18832
2005-09-16 22:18:46 +00:00
Chris Apers
da5ec1c1fb PalmOS : ARM optimized blendRect
svn-id: r18749
2005-09-03 16:26:00 +00:00
Chris Apers
be9d8951eb Change PalmOS ident
svn-id: r18748
2005-09-03 16:24:58 +00:00
Torbjörn Andersson
f14948eec0 Applied my patch #1263153 to work around bug #1243280. It's not an ideal
solution, but should be good enough for 0.8.0 at least.

svn-id: r18709
2005-08-22 17:25:03 +00:00
Torbjörn Andersson
990ad8f210 I forgot there were path buttons in this file. They, too, need to be wider
to avoid truncating the text in the smaller version of the GUI.

svn-id: r18702
2005-08-18 15:21:58 +00:00
Torbjörn Andersson
dbd7fdd46b Made the path buttons extra wide so that the text is not truncated in the
smaller version of the GUI.

svn-id: r18701
2005-08-17 20:29:21 +00:00
Gregory Montoir
42d4032b59 committed patch #1255847, thanks Simon Sawatzki.
svn-id: r18653
2005-08-10 18:30:55 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Torbjörn Andersson
19e118324d Don't count the time it takes to do the blending when timing the slide
action of the console. (I thought I could do this simpler by doing the
blending in open(), but for some reason I couldn't get that to work, and I
would still have had to blend in drawDialog() anyway, so maybe this is for
the best...)

svn-id: r18541
2005-07-14 06:58:06 +00:00
Torbjörn Andersson
983643bc5a Cache the blended background in a surface, so that the blending only needs
to be made once, instead of whenever the console is redrawn. (This is the
same trick as the About dialog uses.)

It should speed up the drawing quite a bit, though it's not particularly
noticeable on the computer I'm using at the moment, so I can't say for
sure.

svn-id: r18540
2005-07-13 14:38:26 +00:00
Lars Persson
d4716a1fb5 * Start of generic key configuration support for ScummVM
* Moved KeyConfigDialog, key from WinCE to gui
* Updated wince code to inherit and use new GUI::Keys and launch new dialog
* New definition SMALL_SCREEN_DEVICE when keysdialog should be inittialized from options.cpp
* Added new function to SDL\Events that handles key remapping.  LINUPY & QTOPIA remapping moved to that function. SymbianOs.cpp overrides this function to enable key remapping to events
* Compiled VC6++ project. This with warnings and errors, but NOT in the changed code. (SAGA,KYRA)
* Compiled using WCE tools 3 for X86 target and running Scummvm in emulator to test
* Compiled with UIQ target. The rest Symbian platforms might require further configuration to operate properly
* Actor.h in Saga now compiles for default VC6 setting.
* Aspect.cpp does not compile in VC6/WCE due to template problems with the kFastAndNiceAspectMode setting.
* Changed order of creation of gamedetector and mainsystem in Main.cpp
* If anything does not compile, or is totally out of order, please revert changes.

svn-id: r18498
2005-07-05 20:22:56 +00:00
Torbjörn Andersson
1d39f986c9 Whitespace changes.
svn-id: r18449
2005-06-24 16:08:31 +00:00
Torbjörn Andersson
7dc3082a35 I don't think we need <ctype.h> here.
svn-id: r18448
2005-06-24 16:05:24 +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
Max Horn
1c361ee409 Fixed credits order again
svn-id: r18439
2005-06-23 13:55:32 +00:00
Max Horn
e4236ba567 Fixed credits order
svn-id: r18436
2005-06-23 13:09:26 +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
Torbjörn Andersson
63984c3a23 The alternative form of drawString() is no longer needed.
svn-id: r18326
2005-06-03 13:09:24 +00:00
Torbjörn Andersson
41f69db19f Cleanup.
svn-id: r18324
2005-06-03 12:33:03 +00:00
Torbjörn Andersson
ec958e975e Cleanup.
svn-id: r18323
2005-06-03 12:21:52 +00:00
Torbjörn Andersson
6ee65dafb9 Cleanup. (I think you can see the pattern here. :-)
svn-id: r18322
2005-06-03 12:18:30 +00:00
Torbjörn Andersson
3772bb9873 Cleanup.
svn-id: r18321
2005-06-03 12:07:53 +00:00
Torbjörn Andersson
6408377337 Cleanup.
svn-id: r18320
2005-06-03 12:00:38 +00:00
Torbjörn Andersson
7dfa96a8b8 Cleanup.
svn-id: r18319
2005-06-03 11:33:15 +00:00
Torbjörn Andersson
36e8989a6e Cleanup
svn-id: r18318
2005-06-03 11:15:03 +00:00
Torbjörn Andersson
14956529f6 Cleanup.
svn-id: r18316
2005-06-03 09:32:58 +00:00
Torbjörn Andersson
bf89c8a4b9 The GUI has reached the point where I think it's safe to begin removing the
old auto-scaling hack. Removed wantsScaling(), USE_AUTO_SCALING,
_scaleFactor and _scaleEnable.

Also removed drawBitmap() since we no longer use bitmaps for widget
decorations.

svn-id: r18310
2005-06-02 12:29:01 +00:00
Max Horn
1c24c28eb5 Restored alphabetical order (and documented it in a comment); retired Jamieson and Ruediger (have been inactive for 1 resp. 1.5 years)
svn-id: r18235
2005-05-23 22:20:35 +00:00
Torbjörn Andersson
4d9edbedc6 Made the chooser dialog scale itself, albeit in a slightly hackish way.
svn-id: r18194
2005-05-20 15:59:29 +00:00
Torbjörn Andersson
801db4a515 Added big editable text widget, and removed some cruft. I think this means
that all our widgets are able to scale themselves now, but I could be
mistaken.

svn-id: r18192
2005-05-20 15:03:26 +00:00
Torbjörn Andersson
81453854ee Big version of the popup widget. It could use a bit more polish, though...
svn-id: r18185
2005-05-19 17:03:31 +00:00
Torbjörn Andersson
7d0d766988 More scaling work. It's still more about infrastructure than layout: I want
to give each widget the opportunity to scale itself.

There's a slight regression this time, though: In the small version of the
GUI, some of the buttons (e.g. "SoundFont") have their text truncated. Not
good.

svn-id: r18182
2005-05-19 13:10:57 +00:00
Torbjörn Andersson
d927a41638 Make sure the labels for the volume sliders aren't truncated. (This is my
last scaling change today. Feel free to continue. :-)

svn-id: r18172
2005-05-18 16:17:25 +00:00
Torbjörn Andersson
35dda2b636 Added big slider widget. There is nothing in the widget itself that's
dependent on size, so the two different sizes are handled through a new
addSlider() function.

Figuring out why the big widget won't let you set volume to 0 is left as an
exercise for the reader.

svn-id: r18170
2005-05-18 15:58:39 +00:00
Torbjörn Andersson
4aac7819d1 Some more scaling work. Parts of the options dialogs scale themselves. Some
of them better than others.

svn-id: r18165
2005-05-18 14:11:53 +00:00
Max Horn
81287495e9 Remove duplicate _ws member
svn-id: r18164
2005-05-18 10:30:52 +00:00
Max Horn
4c9761592a Remove the label code from SliderWidget (simplifies it a lot); instead use a StaticTextWidget for the label
svn-id: r18163
2005-05-18 10:24:02 +00:00
Max Horn
77a237c86e Revised scrollbar look again
svn-id: r18162
2005-05-18 10:17:00 +00:00
Torbjörn Andersson
ef8e42473a Made use of addCheckbox(). I had to add an alternative form of the function
because most checkboxes are on tabs. (We'll probably need a similar form of
addButton() as well.)

svn-id: r18161
2005-05-18 10:12:20 +00:00
Torbjörn Andersson
f0e43fb2a6 New function: addCheckbox()
svn-id: r18159
2005-05-18 09:21:03 +00:00
Torbjörn Andersson
16a1f8814b Big version of the checkbox widget.
svn-id: r18154
2005-05-18 07:23:21 +00:00
Max Horn
e05da91674 Added automatic word wrapping to the about scroller
svn-id: r18145
2005-05-17 23:41:35 +00:00
Max Horn
42db49b15a Center about dialog, and make it just wide enough to display the credits, but not wider
svn-id: r18139
2005-05-17 21:40:29 +00:00
Torbjörn Andersson
4ecb6d650f Added "big" version of the Tab widget, and made use of it.
svn-id: r18134
2005-05-17 06:19:42 +00:00
Torbjörn Andersson
99ef35bdd4 Fixed caret regression in editable text fields.
svn-id: r18133
2005-05-17 06:19:11 +00:00
Torbjörn Andersson
c64467af1a Fixed drawing of the caret. (It was drawn using the GUI font, rather than
the widget's font.)

svn-id: r18130
2005-05-16 13:43:31 +00:00
Torbjörn Andersson
9a17302f57 Use the same offset - string width for the item number - for every line in
the list. There's a slight hack here: I've assumed that all digits have the
same width.

svn-id: r18129
2005-05-16 13:28:34 +00:00
Torbjörn Andersson
469319aa70 Made the buttons scale themselves too.
svn-id: r18127
2005-05-16 10:26:20 +00:00
Torbjörn Andersson
6a0ba15b0d Made the file/directory browser dialog scale itself.
svn-id: r18126
2005-05-16 09:24:28 +00:00
Torbjörn Andersson
6bcfb6ed97 Fixed the SoundFont button's behaviour in the Edit Game dialog.
svn-id: r18125
2005-05-16 06:33:33 +00:00
Max Horn
2935434504 Enlarge the option dialogs; note that the widgets should be rearranged / enlarged, too; they aren't yet
svn-id: r18123
2005-05-16 00:38:30 +00:00
Max Horn
c9290b68ff Made the launcher dialog scale itself
svn-id: r18122
2005-05-16 00:26:23 +00:00
Max Horn
06cc657f0d Use big font in ListWidget if it is in kBigScrollBarWidth mode
svn-id: r18118
2005-05-15 18:22:44 +00:00
Max Horn
8c3085eb2b Center button label vertically, too (possible now that the GUI scaling is off)
svn-id: r18117
2005-05-15 18:22:17 +00:00
Max Horn
841c600fef Draw scrollbar arrows using drawLine, instead of hard coding bitmaps; add a param to the ListWidget constructor to choose a 'big' variant
svn-id: r18115
2005-05-15 18:02:10 +00:00
Max Horn
f2646d3e53 Turn off auto scaling for now
svn-id: r18114
2005-05-15 17:59:27 +00:00
Max Horn
2425e657a2 Add a switch which allows turning off the automatic GUI scaling easily
svn-id: r18112
2005-05-15 17:08:44 +00:00
Max Horn
2d40452a11 Unified rules that determine when a dialog shall use its 'big' mode and when its 'normal' mode; MessageDialog uses Font::wordWrapText now; MessageDialog scales itself now
svn-id: r18111
2005-05-15 17:01:32 +00:00
Max Horn
1043554591 Word wrap the 'features' string
svn-id: r18110
2005-05-15 16:19:43 +00:00
Eugene Sandulenko
5c228fc028 Forgot to credit Ivan for his gob engine. Now fix that.
svn-id: r18075
2005-05-12 21:12:46 +00:00
Torbjörn Andersson
8e7c4ffa37 Quick fix to make button texts etc. draw at the correct position. (They
were being drawn at unscaled coordinates.) I don't know if this is the
correct fix, but the change is small and easy to revert, if need be.

svn-id: r18072
2005-05-12 15:46:03 +00:00
Max Horn
cccbb52e1e Do not autoscale about dialog, rather let it scale itself properly
svn-id: r18061
2005-05-11 19:31:23 +00:00
Max Horn
79241d323f Start work on support for 'big' widgets
svn-id: r18060
2005-05-11 19:30:30 +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
52bbc86797 Patch #1181544 (AmigaOS 4 changes)
svn-id: r18011
2005-05-09 21:21:21 +00:00
Max Horn
2801693db5 Added LordHoto to credits
svn-id: r17984
2005-05-09 00:11:08 +00:00
Max Horn
74aed6382b cleanup
svn-id: r17980
2005-05-08 23:39:37 +00:00
Max Horn
3279513b64 A simple widget which renders any 16 bit graphics surface given to it (part of patch #1163026)
svn-id: r17977
2005-05-08 22:38:29 +00:00
Max Horn
cca744f69a Comply to our coding conventions
svn-id: r17975
2005-05-08 21:49:52 +00:00