Max Horn
0a13162073
cleanup
...
svn-id: r48041
2010-02-13 11:57:01 +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
ba1d97211f
Remove last traces of File::addDefaultDirectory
...
svn-id: r48027
2010-02-09 22:37:13 +00:00
Nicola Mettifogo
62741adf23
Merged _headers and _filemap.
...
svn-id: r48012
2010-02-09 01:07:39 +00:00
Max Horn
584a58fbce
Reduce header interdependencies
...
svn-id: r48010
2010-02-08 21:51:36 +00:00
Max Horn
b3da11ba8a
Introduce factory function makeArjArchive, hide ArjArchive class implementation
...
svn-id: r48009
2010-02-08 21:46:50 +00:00
Nicola Mettifogo
56bf7a20d3
Renamed ArjFile to ArchiveMan, and _arj to _archives.
...
svn-id: r48000
2010-02-08 18:17:32 +00:00
Nicola Mettifogo
0aefdb7826
Moved ArjFile to drascula.
...
svn-id: r47999
2010-02-08 17:48:35 +00:00
Nicola Mettifogo
16438e5c4d
Fix trunk after fscking up.
...
svn-id: r47998
2010-02-08 16:56:04 +00:00
Nicola Mettifogo
29c4c30a25
Made ArjFile use a new ArjArchive class.
...
svn-id: r47997
2010-02-08 16:15:05 +00:00
Nicola Mettifogo
8f6352f5bb
Objectified CRC32 calculator.
...
svn-id: r47996
2010-02-08 16:14:42 +00:00
Nicola Mettifogo
2df073bb68
Shuffled code around a bit.
...
svn-id: r47995
2010-02-08 16:14:23 +00:00
Nicola Mettifogo
b658c61155
Let ArjFile return a SeekableReadStream instead of implementing
...
the same interface itself. The caller is now responsible for
deleting the returned streams.
svn-id: r47994
2010-02-08 16:14:04 +00:00
Johannes Schickel
5278b82f33
Slight formatting fixes to comply to our coding guidelines.
...
svn-id: r47744
2010-01-31 10:22:09 +00:00
Johannes Schickel
676bebe2be
- Call the special debug channels "channels" consistently. (Formerly sometimes they were refered to as "levels").
...
- Along with it add some more descriptive commentary about what is the intention behind debug channels.
svn-id: r47727
2010-01-30 19:23:00 +00:00
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