1967 Commits

Author SHA1 Message Date
Johannes Schickel
64491356b8 Fix virtual-keyboard not changing size, when the user changes the scaler while it is not visible.
svn-id: r47544
2010-01-25 02:08:28 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Jordi Vilalta Prat
0d2a75c75d Fix indentation
svn-id: r47499
2010-01-24 12:19:09 +00:00
Eugene Sandulenko
80ee1de8e4 Move Mac Binary resource loader to common class. Plug tons of memory leaks along the way.
svn-id: r47258
2010-01-11 20:41:07 +00:00
Max Horn
0cf53b025d Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
svn-id: r47180
2010-01-08 22:07:35 +00:00
Johannes Schickel
0849da9564 Fix documentation for setMouseCursor's format paramenter.
svn-id: r47173
2010-01-08 20:15:42 +00:00
Johannes Schickel
71b4b3dcba - Adapt documentation, that keycolor in setMouseCursor may not exceed the maximum color value of the specified format.
- Change SDL backend to assert out on invalid keycolor values

In case we really need a way to specify "no keycolor" we need to
discuss on how to do it *properly*.

svn-id: r47123
2010-01-07 15:28:58 +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
Filippos Karapetis
f7855e1c07 Implemented the same fix for tag2string() as in commit #44920, thereby fixing an assert in MSVC with the QT player when playing Myst. The parameter passed to isprint() should always be unsigned
svn-id: r46989
2010-01-04 20:57:38 +00:00
Torbjörn Andersson
72eb9ec9ea Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
before freeing it, which isn't necessary.

svn-id: r46941
2010-01-03 19:37:43 +00:00
Eugene Sandulenko
eed7635297 Sort language list (and showing that Lure is really broken).
svn-id: r46932
2010-01-03 16:33:03 +00:00
Eugene Sandulenko
d10fc79836 Add support for Chinese translated games.
svn-id: r46805
2009-12-31 18:52:42 +00:00
Matthew Hoops
85787988a0 Remove the getBeginOffset() hack from Common::SeekableReadStream and introduce QTPlayer::setChunkBeginOffset() to allow specifying what offset to use.
svn-id: r46786
2009-12-31 00:37:40 +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
Max Horn
d083e02215 Rename Common::Stream::readLine_NEW to readLine
svn-id: r46779
2009-12-30 23:00:55 +00:00
Max Horn
47f48dd912 spelling
svn-id: r46778
2009-12-30 23:00:22 +00:00
Fabio Battaglia
3a418c13a7 remove bad hackery caused by n64 port and avoid polluting StdioStream using a custom Stream subclass
svn-id: r46777
2009-12-30 22:56:19 +00:00
Fabio Battaglia
a108df30a7 Add Nintendo 64 port to trunk.
svn-id: r46773
2009-12-30 21:11:38 +00:00
Matthew Hoops
5f9febd1aa Update comments to reflect the changes used for Mohawk.
svn-id: r46746
2009-12-30 14:55:33 +00:00
Eugene Sandulenko
fb8ecae7f1 Add Mohawk engine code. Part 2/3: common code changes.
svn-id: r46728
2009-12-29 23:20:23 +00:00
Johannes Schickel
bca313c6fc Typo.
svn-id: r46717
2009-12-29 20:41:09 +00:00
Max Horn
ebbc33c3ca Spelling: Par*r*tition
svn-id: r46688
2009-12-28 21:04:35 +00:00
Vladimir Menshakov
3936861b7c allowed list to be sorted with default comparator
svn-id: r46644
2009-12-27 14:13:39 +00:00
Johannes Schickel
69ba1ee04d Some more code format fixes.
svn-id: r46641
2009-12-27 13:58:00 +00:00
Vladimir Menshakov
cddb95d9c3 more code convention fixes
svn-id: r46640
2009-12-27 13:33:12 +00:00
Vladimir Menshakov
17380ba06e added whitespace to conform code convention
svn-id: r46639
2009-12-27 13:25:07 +00:00
Vladimir Menshakov
668ecc5d38 replaced bubble sort with quick sort
added distance(a, b) functions

svn-id: r46638
2009-12-27 13:19:44 +00:00
Max Horn
f692015301 Got rid of ReadStream::ioFailed()
svn-id: r46379
2009-12-15 08:18:57 +00:00
Johannes Schickel
421363a132 Slightly modified commit of patch #2911414 "MSVC: conversions warnings in common code".
svn-id: r46308
2009-12-09 16:41:08 +00:00
Max Horn
0ff979e56d COMMON: Document class MemoryPool; make MemoryPool::_chunkSize const
svn-id: r46282
2009-12-07 18:24:10 +00:00
Filippos Karapetis
2797a3bd9d Applied patch from patch item #2909854 in order to fix compilation when language extensions are disabled in MSVC
svn-id: r46273
2009-12-07 09:53:44 +00:00
Max Horn
5b562407c1 COMMON: Replace NORETURN by NORETURN_PRE & NORETURN_POST
svn-id: r46205
2009-11-29 21:56:10 +00:00
Filippos Karapetis
6f45ecff1a Renamed common/console.* to common/textconsole.* to fix compilation under MSVC again (broken with commit #46130). MSVC places all object files for each engine in the same folder (even if they're in subfolders), which resulted in clashing between gui/console.* and common/console.*. There's no easy way around this, other than turning the resulting MSVC files into a big mess, so a simple file rename is more feasible
svn-id: r46151
2009-11-26 10:59:46 +00:00
Max Horn
1a313a7eca COMMON: Remove dependency on engines code (by using the inversion principle).
svn-id: r46130
2009-11-24 22:11:07 +00:00
Max Horn
5e0f79a2ed typo
svn-id: r46129
2009-11-24 22:10:34 +00:00
Max Horn
0d9609f7f9 Fix incorrectly placed doxygen comments; replace Common::ID2string by Common::tag2string
svn-id: r46127
2009-11-24 22:08:34 +00:00
Max Horn
6b8dd7ab7a COMMON: Remove various variants of the md5_file / md5_file_string funcs; turned the (disabled) MD5 test code into a working unit test
svn-id: r46108
2009-11-23 22:30:22 +00:00
Max Horn
3d342bec3c PS2 & NDS: Remove ps2_fprintf and some useless typedefs and #defines; use fputs instead of fprintf
svn-id: r46107
2009-11-23 22:29:39 +00:00
Max Horn
016f343ca7 Remove SCUMMVM_USE_LONG_INT
svn-id: r46103
2009-11-23 22:27:52 +00:00
Johannes Schickel
1ba750063c Ooops...
svn-id: r46048
2009-11-21 20:26:55 +00:00
Johannes Schickel
e8c67bda4b Change Archive::listMatchingMembers to match the pattern case-insensitively.
svn-id: r46046
2009-11-21 20:19:15 +00:00
Johannes Schickel
aad8e8a2a2 Add comment why pattern is converted to lowercase in FSDirectory::listMatchingMembers.
svn-id: r46045
2009-11-21 20:18:51 +00:00
Max Horn
c3905f60ee Move definition of stdint types to the only file that needs them (mpeg_player.h)
svn-id: r45820
2009-11-10 22:18:41 +00:00
Johannes Schickel
8b8f154891 Add some FIXME comments about defining types from stdint.h on our own.
svn-id: r45816
2009-11-10 21:14:48 +00:00
Paweł Kołodziejski
4c2491df3b added support for samsung tv
svn-id: r45777
2009-11-09 14:43:05 +00:00
Johannes Schickel
d66e284bde Commit digitall's patch for bugs #2892510 and #2892510 with an additional comment.
svn-id: r45697
2009-11-06 17:21:43 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Jordi Vilalta Prat
e5d2889244 Small formatting fixes
svn-id: r45299
2009-10-21 08:45:24 +00:00
Max Horn
0b04cbbdf6 cleanup
svn-id: r45286
2009-10-20 19:52:18 +00:00
Max Horn
4d43c8a121 Added operator== and != to Common::Array
svn-id: r45247
2009-10-19 17:46:50 +00:00