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
Max Horn
53f73eac85
Added explicit string equals/hash functors to a new header common/hash-str.h; removed Hash functor specialization for String and char pointers; changed all code using hashmaps with string keys to explicitly specify whether they honor or ignore case
...
svn-id: r23634
2006-07-30 12:21:54 +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
61737da115
Slightly optimize 'getVar(FOO)' usage pattern
...
svn-id: r22937
2006-06-05 17:56:27 +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
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
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
f4339ff6c4
- Renamed class AssocArray to HashMap to match our existing class Map (note also
...
that many STL implementations have a class hash_map next to class map, too)
- Changed some static File class member vars to be normal static variables, in
yet another attempt to reduce header dependencies (in this case on hashmap.h)
svn-id: r21473
2006-03-28 10:05:25 +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
5d1b4d8f78
Implementation of AssociativeArray. Transferred GUI to it. Now it is much
...
faster.
svn-id: r21419
2006-03-23 22:59:38 +00:00
Eugene Sandulenko
30c7070564
Oops. Theme variables are meant to be case insensitive. Fix comparison
...
function.
svn-id: r21361
2006-03-18 12:42:24 +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
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