Gregory Montoir
f1f08ce008
warning, minor simplification
...
svn-id: r29366
2007-11-01 18:21:15 +00:00
Gregory Montoir
e6e144d494
use mod operator directly
...
svn-id: r29363
2007-11-01 18:15:25 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
5b22991f34
Get rid of CharStar_BaseNode and consorts -- using a simple String is more efficient, now that it has optimizations for small strings. Also made various related changes, turning char pointers into String objects in several spots
...
svn-id: r24044
2006-09-30 18:57:36 +00:00
Torbjörn Andersson
6358547a43
More whitespace changes.
...
svn-id: r23496
2006-07-14 13:33:58 +00:00
Eugene Sandulenko
6f8c4250f9
Move whole theme ini file to evaluator. Next step is caching. Also now it is
...
possible to use per-resolution gfx and colors, i.e. complete customization.
svn-id: r22964
2006-06-06 23:57:14 +00:00
Max Horn
0f18020010
Some more string usage tweaks
...
svn-id: r22936
2006-06-05 17:43:30 +00:00
Max Horn
5f76cd0d9e
cleanup
...
svn-id: r22930
2006-06-05 12:35:33 +00:00
Max Horn
76116f36dd
*Loads* of Common::String related optimizations. Woa, *tons* of methods were copying strings needlessly
...
svn-id: r22873
2006-06-03 13:33:39 +00:00
Eugene Sandulenko
05871836b9
Turn AliasesMap and VariablesMap keys from String to const char *.
...
Stats before:
Strings: 12048
mallocs: 55629
after:
Strings: 6370
mallocs: 42117
Here Strings are non-empty strings. Mallocs are string-related mallocs
including mallocs in HashMap BaseNode.
svn-id: r22841
2006-06-02 17:51:20 +00:00
Willem Jan Palenstijn
39451e9947
small optimization in evaluator variable lookup
...
svn-id: r22822
2006-06-01 22:44:43 +00:00
Eugene Sandulenko
7f8b79d5d0
Use Courier 12pt (free one) for 2x and 3x console. Looks much more useable now.
...
svn-id: r22644
2006-05-26 01:05:19 +00:00
Johannes Schickel
96cf7028b9
- implements .bdf font loader based on convbdf (sure could have some clean up)
...
- 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-14 02:16:55 +00:00
Eugene Sandulenko
8a5df05aa0
Hide eval debug output deeper to level 5. Report total number of defined
...
variables.
svn-id: r21521
2006-03-31 23:51:19 +00:00
Max Horn
7307c4cb3d
- moved type aa_ref_t into AssocArray, improving code readability a bit
...
- added new "operator[] const" method, useful when accessing const instances
- removed the default value (if you access an entry without first checking that
it is actually there, it's your own fault)
- replaced 'index' with 'key' which seems more logical and avoids troubles with
certain systems that #define index in their system headers
svn-id: r21430
2006-03-24 15:39:07 +00:00
Max Horn
08ad918af6
Reduce (indirect) dependencies on gui/eval.h (and thus common/assocarray.h) to a minimum
...
svn-id: r21426
2006-03-24 14:15:45 +00:00
Eugene Sandulenko
819033b649
o Move built-in evaluator constants to AssocArray to speed it up
...
o Introduced .align text widget property
o Moved all text widgets to use it and populated theme config file
svn-id: r21420
2006-03-24 01:24:26 +00:00
Eugene Sandulenko
0b0ea17e3c
Remove trailing whitespaces
...
svn-id: r21362
2006-03-18 12:43:00 +00:00
Eugene Sandulenko
c3f91ca288
Converted all scumm dialogs to new scheme
...
svn-id: r21147
2006-03-09 01:08:25 +00:00
Eugene Sandulenko
a8a8624511
o Converted most (all?) widgets to new scheme.
...
o Converted global options dialog to new scheme.
svn-id: r21137
2006-03-08 01:42:02 +00:00
Eugene Sandulenko
1eff73cb41
GUI widget positions:
...
o Add 'true' and 'false' constants
o add .visible widget property
o allow dots to be part of section and key names in configs
svn-id: r21123
2006-03-07 13:41:36 +00:00
Eugene Sandulenko
018c93b14a
More work on customizable GUI.
...
o Implemented special alias 'prev'
o Added new calling scheme to several widgets
o Partially converted launcher dialog to new scheme
o Converted couple widgets of chooser dialog
svn-id: r21118
2006-03-07 05:39:52 +00:00
Eugene Sandulenko
ebd5833335
WIP for arbitrary widget positions. See
...
http://wiki.scummvm.org/index.php/GUI_Themes
Code is not yet used.
svn-id: r21115
2006-03-07 03:31:31 +00:00