Commit Graph

508 Commits

Author SHA1 Message Date
Max Horn
b38995b288 cleanup (merged the two base set() methods)
svn-id: r11256
2003-11-11 00:26:38 +00:00
Max Horn
22c22d1e81 added namespace GUI
svn-id: r11255
2003-11-10 23:40:48 +00:00
Max Horn
5c2a3da7f2 fix for bug #833537 (Config manager saves "save_slot")
svn-id: r11254
2003-11-10 23:17:11 +00:00
Paweł Kołodziejski
b5a7ef0822 cleanup whitespaces
svn-id: r11219
2003-11-08 22:43:46 +00:00
Max Horn
5c4e374d73 fixed ConfigManager getInt/getBool
svn-id: r11199
2003-11-07 16:54:58 +00:00
Max Horn
ced5921ac0 change behaviour of ConfigManager::get once again -> now we *do* fall back to the registered defaults...
svn-id: r11195
2003-11-07 15:57:36 +00:00
Jonathan Gray
b2e9b73c4c spelling fixes
svn-id: r11180
2003-11-07 02:43:47 +00:00
Max Horn
0bae086c7b typo, gnaw gnaw
svn-id: r11172
2003-11-07 00:45:54 +00:00
Max Horn
105728adee Use the new capabilities of class Map to make the ConfigManager case insensitive when it comes to comparing config keys/domains
svn-id: r11171
2003-11-07 00:03:55 +00:00
Max Horn
83a55fa7e8 Introduce Comperator template parameter to Map -> this allows more flexible use of Map (in particular, I can now use a StringMap in ConfigManager which ignores case)
svn-id: r11170
2003-11-07 00:02:47 +00:00
Max Horn
82aac86edf change (Const)String::c_str to never return 0 (rather return empty string) -> can be used to simplify code. Also don't use stricmp in </<=/>/>= operators, it is inconsisten with == and != operators
svn-id: r11169
2003-11-07 00:02:03 +00:00
Max Horn
ba1cf0e957 cut down dependencies a bit (so that I don't have to recompile hq2x/hq3x whenever common/scaler.h is changed :-)
svn-id: r11168
2003-11-06 23:54:12 +00:00
Max Horn
0dfd0e4414 changed the way get(key,domain) works for global domains (instead of defaulting to the empty string, it will now default to the registered default in this case)
svn-id: r11151
2003-11-05 12:16:14 +00:00
Max Horn
583ae61453 export language list (so that it can be used by the GUI); added methods to convert a Platform/Language ID into a canonical string
svn-id: r11141
2003-11-05 00:58:02 +00:00
Max Horn
d45b475b48 added ConfigManager::removeKey
svn-id: r11140
2003-11-05 00:57:00 +00:00
Max Horn
84efb90484 swap GFX_HQ2X & GFX_ADVMAME3X (purely cosmetic :-)
svn-id: r11134
2003-11-04 21:17:17 +00:00
Max Horn
74b496a062 added PROP_GET_GFX_MODE; removed PROP_SHOW_DEFAULT_CURSOR
svn-id: r11132
2003-11-04 20:46:20 +00:00
Marcus Comstedt
ef5e193d59 stdafx.h needs to be included first.
svn-id: r11117
2003-11-03 22:28:37 +00:00
Chris Apers
0e23d7a30e Use compiler option instead of this
svn-id: r11104
2003-11-03 16:25:06 +00:00
Max Horn
a7eb1b5207 forgot to commit this, sorry guys
svn-id: r11048
2003-11-02 10:18:10 +00:00
Max Horn
b27a871f87 turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
4c2387639d cleanup
svn-id: r11042
2003-11-01 23:41:35 +00:00
Max Horn
186125ffb6 fix potential crash
svn-id: r11037
2003-11-01 22:11:33 +00:00
Max Horn
adbaab7ef9 added doxygen comment
svn-id: r11036
2003-11-01 21:23:48 +00:00
Gregory Montoir
3e267ba5f9 make doxygen happy
svn-id: r11030
2003-11-01 20:44:53 +00:00
Max Horn
a4d2a47820 factor out common debugger code
svn-id: r10984
2003-10-26 21:30:52 +00:00
Torbjörn Andersson
27b22efe17 Fixed typo and added FIXME comment for the DotMatrix scaler.
svn-id: r10956
2003-10-24 17:14:56 +00:00
Max Horn
f5a7c67191 added russian as a language (part of patch #823031, adapted to recent code changes)
svn-id: r10878
2003-10-17 18:52:15 +00:00
Max Horn
ad2db08940 renamed some Timer methods
svn-id: r10868
2003-10-17 16:39:32 +00:00
Max Horn
96a8d0ec1c proper fix for COMI timer issue: don't let a Timer remove itself
svn-id: r10867
2003-10-17 16:30:24 +00:00
Max Horn
a70460833e moved platform/language constants to common/util.*
svn-id: r10862
2003-10-17 15:35:46 +00:00
Max Horn
37085bfe88 fix (workaround) for bug #825331
svn-id: r10853
2003-10-17 11:17:49 +00:00
Max Horn
7f5c5f0f8b COMI crashes because for some reasons we get a 0 timer interval. not sure how that is possible, but adding some asserts for now
svn-id: r10852
2003-10-17 11:11:01 +00:00
Max Horn
3e68577bae added push_back method with List arg (append one list to another one efficiently)
svn-id: r10850
2003-10-17 10:23:52 +00:00
Jonathan Gray
db716d5fb1 add method to set the xor byte in the file class. Needed as the combined mac data files are only xor'd in the resource files, not the parts of the combined file
svn-id: r10825
2003-10-16 10:23:01 +00:00
Max Horn
a8e1340c45 improved timer resolution -> this helps iMuse *a lot* on my system when there is load
svn-id: r10804
2003-10-14 20:52:27 +00:00
Jamieson Christian
2968be7670 Turn off another annoying MSVC warning
svn-id: r10803
2003-10-14 20:06:22 +00:00
Max Horn
0aa58f53c8 init RNG for everybody using time()
svn-id: r10796
2003-10-14 10:24:27 +00:00
Nicolas Bacca
b085e51dc5 EVC : compile different
svn-id: r10744
2003-10-12 13:27:42 +00:00
Max Horn
5301edc383 some cleanup
svn-id: r10720
2003-10-10 13:55:08 +00:00
Max Horn
2dddd0e29a modified version of patch #821018; fix for bug #821083
svn-id: r10716
2003-10-10 11:13:25 +00:00
Max Horn
21480a2289 fix ConfMan.set when dom is empty; added some asserts (paranoia)
svn-id: r10698
2003-10-09 11:42:59 +00:00
Max Horn
d177364715 new config manager. not everything is completed, and some things will still be changed, but it seems to work well enough to put it into CVS
svn-id: r10687
2003-10-08 21:59:23 +00:00
Max Horn
9e5c5e292a humpf
svn-id: r10685
2003-10-08 21:09:21 +00:00
Max Horn
cf3ac50e3c add String::lastChar() method
svn-id: r10684
2003-10-08 21:01:50 +00:00
Max Horn
b41c052ab5 renamed createNode() to findOrCreateNode(); added addKey() method; reimplemented merge()
svn-id: r10683
2003-10-08 18:05:20 +00:00
Max Horn
e5c62af78e added String::emptyString constant
svn-id: r10649
2003-10-06 23:19:01 +00:00
Max Horn
bfde7528ba no need for an explicit error here; rather, the linker will catch any invalid uses if we don't give a body
svn-id: r10610
2003-10-05 14:15:31 +00:00
Max Horn
a0fb1850de cleaned up iterator code in Map
svn-id: r10608
2003-10-05 14:02:37 +00:00
Max Horn
6e73fffcfa added iterators to List template
svn-id: r10607
2003-10-05 14:02:28 +00:00