Max Horn
4bac9e1b75
COMMON: Cleanup ConfigManager code
...
* get rid of ConfigManager::_emptyString
* get rid of ConfigManager::Domain::get (use getVal instead)
* remove some dead code
svn-id: r48417
2010-03-29 20:31:23 +00:00
Max Horn
92c896d883
Patch #2973290 : Semicolon cleanup
...
svn-id: r48359
2010-03-22 20:28:08 +00:00
Johannes Schickel
38b2b3c04f
Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).
...
svn-id: r48310
2010-03-20 12:56:56 +00:00
Max Horn
c934642bdb
COMMON: Move typedef StringList from str.h to new header str-array.h
...
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.
svn-id: r48282
2010-03-18 15:09:24 +00:00
Max Horn
a17bbf3c2e
GUI: Make GuiObject::_name const, init all members in constructor
...
svn-id: r48275
2010-03-18 15:04:15 +00:00
Johannes Schickel
40562798d6
Fix our DECLARE_SINGLETON macro to conform to the C++ specs.
...
We need to use a namespace Common { } there to make strict C++ compilers
like clang++ and comeau happy. I also added a slight comment about why
that is needed to the macro definition and a note that you need to use
it from the global namespace.
svn-id: r48254
2010-03-13 21:55:49 +00:00
Max Horn
75a3f4a3ec
Fix from LordHoto for bug #2859401 : GUI: GMM crashes when running in 320x200 and 320x240
...
svn-id: r48248
2010-03-12 23:02:24 +00:00
Max Horn
4fc8ebab01
GUI: Remove GuiObject::getMillis()
...
svn-id: r48241
2010-03-11 23:41:28 +00:00
Max Horn
6e78fdc161
cleanup
...
svn-id: r48240
2010-03-11 23:40:40 +00:00
Yotam Barnoy
ef330ed9b4
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
...
svn-id: r48101
2010-02-21 04:04:13 +00:00
Max Horn
8ac5d00d57
Hide ZipArchive implementation, only expose it via factory functions: makeZipArchive()
...
svn-id: r48040
2010-02-13 11:56:30 +00:00
Max Horn
c2c82b22da
Fix Rober Spalek & Hans-Joerg Frieden in the CPP resp. plain text versions of the credits
...
svn-id: r48034
2010-02-10 17:08:07 +00:00
Fabio Battaglia
6938ca072a
Add N64 backend to credits
...
svn-id: r47988
2010-02-08 11:44:29 +00:00
Johannes Schickel
99411b177c
Add the DOSBox Team to our "Special Thanks" section for their awesome OPL2/OPL3 emulator.
...
svn-id: r47983
2010-02-07 22:04:00 +00:00
Johannes Schickel
516d44e65c
Fix behavior of delete key, when the cursor is at the end of the input line.
...
svn-id: r47802
2010-02-01 18:23:23 +00:00
Johannes Schickel
17f198369d
Fix assert after ^W and Delete key events in the debugger, when there's nothing on the line.
...
svn-id: r47801
2010-02-01 18:18:20 +00:00
Martin Kiewitz
bc89883da8
partly reverting r46807 ffs. Regression in numpad handling - ID: 2943361
...
svn-id: r47796
2010-02-01 15:44:24 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Johannes Schickel
69071078b3
Replace some more Adlib uses by AdLib.
...
svn-id: r47530
2010-01-25 00:13:32 +00:00
Arnaud Boutonné
8c9d82715e
Update copyright string to show current year
...
svn-id: r47447
2010-01-22 23:39:28 +00:00
Marcus Comstedt
40f9506163
The default keycolor for mouse pointers used to be 255.
...
This makes sense as a default for CLUT8 modes, but not really
for anything else. As part of the gsoc2009-16bit merge, the
default was changed to "all ones", with extra code in the SDL
backend to truncate this to the depth of the mode. However,
"all ones" (white) still isn't a very useful default for RGB modes.
So rather than jumping through hoops to provide a bad default,
it's better to remove the default altogether. Engines which relied
on the old default of 255 have been updated to specify it explicitly.
svn-id: r47118
2010-01-07 15:07:36 +00:00
Max Horn
df81b68967
Change BS 1 & 2 to I & II (see discussion on -devel)
...
svn-id: r46951
2010-01-03 21:20:05 +00:00
Johannes Schickel
770b2f78d4
Setup the dimensions of GuiObject in the constructor, by using reflowLayout.
...
This properly initializes _x, _y, _w and _h, which might be used
uninitialized otherwise. This probably lead to a creash for _sev,
when drawing the tab widget, before GuiObject::reflowLayout had
been called. FYI GuiObject::reflowLayout is usually only called
on layout changes (i.e. resolution changes etc.), thus it might
not be called before drawing a newly created widget.
svn-id: r46947
2010-01-03 21:07:56 +00:00
Yotam Barnoy
080d6da6e4
Minor additions: added full keypad support to GUI and SCI
...
svn-id: r46808
2009-12-31 23:52:49 +00:00
Matthew Hoops
eb2e457817
Add the Mohawk crew to the credits.
...
svn-id: r46787
2009-12-31 03:17:59 +00:00
Max Horn
b0e02675e7
Get rid of Common::String::emptyString, and also of some port specific hackery (getting rid of certain global C++ objs)
...
svn-id: r46781
2009-12-30 23:01:36 +00:00
Oystein Eftevaag
915c60c629
Using #include instead of #import to include some mac os x headers to avoid silly gcc warnings, that we'd otherwise have to remove -pedantic to get rid of
...
svn-id: r46597
2009-12-26 17:18:18 +00:00
Johannes Schickel
1a1b041d00
Add "End of namespace" comment.
...
svn-id: r46594
2009-12-26 16:57:34 +00:00
Oystein Eftevaag
b21679e56e
Buildbot compile fix for os x cross compile
...
svn-id: r46592
2009-12-26 16:00:41 +00:00
Oystein Eftevaag
925c1744ec
Committing the actual new browser_osx.mm file, oops
...
svn-id: r46583
2009-12-26 13:48:14 +00:00
Oystein Eftevaag
9d70103d9c
The file selection dialog in OS X now uses Cocoa instead of Carbon, and lives in a separate file due to having to be compiled as Objective-C++. ScummVM can now run in x64 natively on OS X
...
svn-id: r46581
2009-12-26 13:35:57 +00:00
Jordi Vilalta Prat
690a410423
Fix a typo
...
svn-id: r46386
2009-12-15 12:56:10 +00:00
Max Horn
f53d23d816
GUI: Re-add ellipsis to various button labels
...
svn-id: r46382
2009-12-15 08:20:19 +00:00
Max Horn
6c98169dc3
GUI: Shorten button labels if too long, and improve the shortening logic
...
svn-id: r46381
2009-12-15 08:19:59 +00:00
Max Horn
605037342b
GUI: Fix some GUI hacks, add some comments, etc.
...
* Rename LauncherDialog::selectGame() to selectTarget()
* Get rid of the 'temp_selection' ConfMan entry hack
* Add some Doxygen comments
* Turn a printf(...) into a debug(1,...)
* Don't scroll around if 'Mass Add' is cancelled
svn-id: r46380
2009-12-15 08:19:34 +00:00
Johannes Schickel
8f34e4b11c
Commit of the 2nd revision of my patch for FR# 2840967 "GUI: Display filenames in "Add games"'s file dialog", since it seems on "Making it easier for users to add games" on -devel the majority of developers, who commented, are for this.
...
svn-id: r46312
2009-12-09 16:48:33 +00:00
Max Horn
d60b5ca516
Include font.h instead of fontman.h in places that don't need fontman :)
...
svn-id: r46311
2009-12-09 16:46:14 +00:00
Oystein Eftevaag
b25afc85a6
Build fix for 64-bit OS X
...
svn-id: r45920
2009-11-15 12:18:13 +00:00
Johannes Schickel
5859a9a892
Enforce alphabetical order in the credits again.
...
svn-id: r45812
2009-11-10 20:29:19 +00:00
Vladimir Menshakov
2bb14776e4
added myself and sanguine to credits as suggested by Max Horn.
...
svn-id: r45807
2009-11-10 19:13:02 +00:00
Johannes Schickel
59eb37a76c
Fix bug in "add_paragraph" in tools/credits.pl, now the "&" should be fine in credits.h again.
...
svn-id: r45547
2009-10-30 20:30:28 +00:00
Johannes Schickel
f55da32ca5
Fix credits.
...
svn-id: r45545
2009-10-30 20:25:12 +00:00
Max Horn
4009f6836b
Fixed Terry Pratchett's name in the credits
...
svn-id: r45528
2009-10-30 09:50:31 +00:00
Robert Špalek
e36798585f
Add Dragon History's authors, now properly
...
svn-id: r45520
2009-10-30 03:27:27 +00:00
Eugene Sandulenko
55da0503f4
Add special thanks for DW.
...
svn-id: r45513
2009-10-30 02:12:55 +00:00
Max Horn
2bbf708dea
Introduced new type Common::DisposeAfterUse::Flag
...
svn-id: r45233
2009-10-18 19:41:59 +00:00
Jordi Vilalta Prat
b6baadff53
Updated the modern theme logo with a darker shadow
...
svn-id: r44952
2009-10-11 22:26:03 +00:00
Johannes Schickel
bd6de4f642
Hopefully avoiding an assert in the MSVC debug CRT library when entering an umlaut in the launcher.
...
It's a bad idea to cast a parameter to the "is*" functions from ctype.h to "char",
since "char" might be signed and the "is*" functions are defined to only accept
input which fits "unsigned char" or equals EOF. In this concrete example the value
of "state.ascii" is > 0x7F, thus becomes negative after the cast to "char", which
violates the parameter rules of "isprint".
Sadly it seems this is not the only place in our code, which does pass a possibly
signed parameter to an "is*" function. We might either want to change all code to
only pass an unsigned char value, change the code to do parameter validation or
fix it in another way.
svn-id: r44920
2009-10-11 13:44:19 +00:00
Max Horn
d0876b06ed
Remove some unused variables
...
svn-id: r44853
2009-10-09 22:21:45 +00:00
Max Horn
3399c3aeb6
Change doxygen inline comments from "//!" to "///" as proposed on -devel
...
svn-id: r44802
2009-10-08 21:28:57 +00:00