Thierry Crozat
04ae0bcf58
Add German translation from patch tracker (patch #3020282 ).
...
svn-id: r50247
2010-06-24 22:36:21 +00:00
Johannes Schickel
17a96b3bd2
Yet another slight variable renaming to match our conventions.
...
svn-id: r50242
2010-06-24 22:00:45 +00:00
Johannes Schickel
968e10795f
Do not include any headers from common/messages.cpp, since that file might be included into an namespace.
...
svn-id: r50241
2010-06-24 22:00:20 +00:00
Johannes Schickel
a5fb4fec2e
Some more cleanup of po2c's output.
...
svn-id: r50240
2010-06-24 21:59:50 +00:00
Johannes Schickel
63cab52b85
Adapt po2c's output to better mach our code formatting conventions.
...
Along with it I added a suffix "-scummvm" to the version variable,
since we also feature some custom extensions like the charset
specification.
svn-id: r50239
2010-06-24 21:59:27 +00:00
Johannes Schickel
c96991d991
Added some consts to the output of tools/po2c.
...
svn-id: r50238
2010-06-24 21:59:03 +00:00
Max Horn
bbad3f333a
Patch #1956501 : "GUI/LAUNCHER: Midi device selection"
...
svn-id: r50128
2010-06-21 21:36:36 +00:00
Torbjörn Andersson
38b172e8e5
Fixed some Cppcheck warnings. (There are plenty left, if anyone's wondering.)
...
svn-id: r50120
2010-06-21 19:32:25 +00:00
Yotam Barnoy
b5a25a6e19
PSP: errors from both ScummVM and the PSP port now print to file by default. This should make debugging easier, especially for users.
...
svn-id: r50113
2010-06-21 13:58:51 +00:00
Thierry Crozat
f2983093e8
Add nearly complete french translation. I tried to make it work also in 320x200 but french can be quite verbose, so in a few places it does not fit. Also I could not check any of the device specific strings (e.g. from WinCE, Wii or other backends) and a few are missing.
...
svn-id: r50068
2010-06-19 22:56:58 +00:00
Thierry Crozat
721db3eccb
Fix an issue in String::ensureCapacity() when the string is shared. It could allocate two much memory as it was at least doubling the current capacity even when this one was sufficient.
...
It fixes a crash in GUI::Widget::cleanupHotkey() as the capacity of the string was doubled at each iteration once it was too long for the internal storage (only to add one character to the string). This ended up in a bad_alloc exception after a few iterations.
svn-id: r50050
2010-06-19 15:35:21 +00:00
Johannes Schickel
d869d1370e
Properly provide stub implementations for all TranslationManager methods when USE_TRANSLATIONS is not defined.
...
svn-id: r49997
2010-06-18 02:25:33 +00:00
Johannes Schickel
e347a6856e
Do not rebuild common/messages.cpp automatically when a translation changes, but require the user to do "make update-translations".
...
This should be helpful for building on a system without perl.
svn-id: r49991
2010-06-18 02:08:00 +00:00
Johannes Schickel
cb92890d7b
Commit updated common/messages.cpp too.
...
svn-id: r49946
2010-06-17 19:15:23 +00:00
Johannes Schickel
b56b3b9ead
Fix common/messages.cpp rule for out of source directory builds. (Maybe this fixed bug #3017628 "AMIGAOS4: messages.cpp errors")
...
svn-id: r49940
2010-06-17 18:47:25 +00:00
David Turner
e5f609a40a
Correction for Invalid reads in Translation iconv calls reported by Valgrind.
...
The string terminators were omitted from the iconv call and not restored.
svn-id: r49916
2010-06-17 03:22:52 +00:00
Johannes Schickel
49463c2bf9
Use USE_TRANSLATION, USE_DETECTLANG and USE_TERMCONV instead of (ENABLE_)TRANSLATION, DETECTLANG and TERMCONV.
...
svn-id: r49885
2010-06-15 19:20:58 +00:00
Johannes Schickel
a42ea73a76
Simplify code for the "ICONV_USES_CONST" case even more. (i.e. remove the "msg" variable there).
...
svn-id: r49880
2010-06-15 17:56:05 +00:00
Andre Heider
212d0ac28c
Fix compilation when using ICONV_USES_CONST.
...
svn-id: r49878
2010-06-15 17:50:14 +00:00
Johannes Schickel
d8bc798145
Strip out charset information from the system locale again (like it was done before r49871).
...
Unlike with the old code, we know allow for locales
with a different size than 5 though.
svn-id: r49876
2010-06-15 17:47:23 +00:00
Johannes Schickel
f3288b0f26
Fix a typo.
...
svn-id: r49875
2010-06-15 17:47:04 +00:00
Johannes Schickel
34d8196334
Output some warning in case an invalid ID was passed to TranslationManager::getLangById.
...
svn-id: r49873
2010-06-15 17:34:26 +00:00
Johannes Schickel
f607fc59db
Extend (and along with it add) some doxygen comments.
...
svn-id: r49872
2010-06-15 17:34:07 +00:00
Johannes Schickel
0bff5c29fe
Use a Common::String instead of a fixed size array for _syslang in TranslationManager.
...
svn-id: r49871
2010-06-15 17:33:45 +00:00
Willem Jan Palenstijn
7c7054dbd1
Remove unnecessary svn:executable properties
...
svn-id: r49870
2010-06-15 17:14:38 +00:00
Johannes Schickel
c09af1dcae
Some style fixes.
...
svn-id: r49869
2010-06-15 17:14:02 +00:00
Johannes Schickel
0d7c8071cc
Fix iconv signature on BSD systems. (Based on what we do in tools/)
...
svn-id: r49868
2010-06-15 17:13:42 +00:00
Max Horn
365973542c
Add TranslationManager::getTranslation variant taking/returning a Common::String (should fix WinCE build)
...
svn-id: r49861
2010-06-15 15:50:37 +00:00
Max Horn
44ce741f9c
Code formatting
...
svn-id: r49859
2010-06-15 15:39:59 +00:00
Max Horn
651e2760a3
Fix spelling, cleanup
...
svn-id: r49843
2010-06-15 12:33:20 +00:00
Max Horn
703f0ca29c
SYSTEM: Unify OSystem::getSupportedFormats() signature
...
svn-id: r49838
2010-06-15 12:21:08 +00:00
Eugene Sandulenko
2399f998a3
i18n: Update Russian translation.
...
svn-id: r49799
2010-06-15 11:05:52 +00:00
Eugene Sandulenko
94c9f9cdd1
I18n: Add backend files to POTFILES. Update .pot.
...
Translations were not updated.
svn-id: r49797
2010-06-15 11:03:11 +00:00
Eugene Sandulenko
01bc5dda94
GUI: Implemented Languages as GUI options.
...
SCUMM and AdvancedDetector support this feature.
svn-id: r49786
2010-06-15 10:57:28 +00:00
Eugene Sandulenko
67bc711580
GUI: Implement MIDI drivers as GUI options.
...
Proper version of patch #2988641 : "GSoC: Select drivers in GUI
based on output types". So far only SCUMM engine supports this
feature.
svn-id: r49783
2010-06-15 10:56:12 +00:00
Eugene Sandulenko
7be2812757
i18n: Update Russian translation with new tooltips
...
svn-id: r49780
2010-06-15 10:54:48 +00:00
Eugene Sandulenko
b13636d624
i18n: update Russian translation with tooltips.
...
svn-id: r49776
2010-06-15 10:53:13 +00:00
Eugene Sandulenko
dc040aa867
GUI: Implement radiobuttons.
...
Implement radiobuttons in GUI. Also closes FR #2821529 :
"GUI: volume and subtitles speed sliders".
Subtitle toggle button is replaced by three radiobuttons grouped
by a single group.
Updated translations and themes.
svn-id: r49767
2010-06-15 10:48:39 +00:00
Eugene Sandulenko
3fafa07ab0
GUI: Added in-place hotkeys for widgets.
...
Now it is possible to specify hotkeys in place for ButtonWidget
and CheckboxWidget (the only widgets with hotkeys now).
Use de-facto standard with putting hotkey between tildes (~).
Like '~O~pen'. The tildes gets stripped before after hotkey
is extracted.
This is done for giving translators possibility to specify
their own hotkeys.
Old hotkeys defined at widget instance creation are left for
leaving possibility to specify non-printable hotkeys such as
Common::ASCII_ESCAPE.
Translation files were updated respectively.
svn-id: r49766
2010-06-15 10:47:31 +00:00
Eugene Sandulenko
859212df25
Implement translation support for ScummVM GUI.
...
Based on patch #2903830 : "Updated Translation Prototype" by alexbevi
which in turn is based on patch #1739965 by jvprat.
Currently it builds all translations right into ScummVM. Once the
feature will be accepted more widely, i.e. more translations will
pop up, it will be trivial to move translation strings to external
file.
Finished translation: Russian
Unfinished translation: Hungarian
Things which are nice to do:
- Language code -> language mapping for more user friendness
- Specifying fonts to be used with language
- Updating of interface language without restart. It will require
moving of much code to reflowLayout() methods for each dialog
The .po files must be in single byte encodings. I.e. no support
for Unicode.
svn-id: r49759
2010-06-15 10:44:51 +00:00
Eugene Sandulenko
024f492137
Added seek() method to MemoryWriteStreamDynamic.
...
If it deserves a separate class, shout.
svn-id: r49750
2010-06-15 10:34:14 +00:00
Eugene Sandulenko
9224a0bd6e
Hid hashed fileopening to debuglevel 8.
...
svn-id: r49705
2010-06-15 10:19:06 +00:00
Max Horn
46155b2c36
Add Android backend from patch #2603856
...
svn-id: r49449
2010-06-06 09:34:36 +00:00
Max Horn
767edc91fa
OSYSTEM: Get rid of kFeatureAutoComputeDirtyRects
...
svn-id: r49388
2010-06-02 00:52:57 +00:00
Johannes Schickel
9521f8d008
Typo fixes.
...
svn-id: r49324
2010-05-30 13:41:40 +00:00
Johannes Schickel
f02e31f2fc
Fix non-const version of Common::String::begin.
...
Common::String::begin now assures the storage is a unique one, i.e. there are
no other Common::String objects pointing at it. This allows for safe use of
the writable iterators (and thus fixes the test case added with my last commit)
svn-id: r49323
2010-05-30 13:10:44 +00:00
Johannes Schickel
d0c79d21e9
Fix file length of zip file members inside ZipArchive (thanks to fuzzie for reporting).
...
svn-id: r49321
2010-05-30 12:44:59 +00:00
Max Horn
bbaf98127d
correct typo
...
svn-id: r49270
2010-05-27 20:59:15 +00:00
Matthew Hoops
5ceb896b6b
Have the MacResManager ignore resources with length 0.
...
svn-id: r49190
2010-05-24 16:51:33 +00:00
Eugene Sandulenko
1a938956ec
Implement FR #2988017 : exit status with --list-saves always 0
...
svn-id: r49132
2010-05-21 18:25:01 +00:00
Jordi Vilalta Prat
474b804e33
Make the MacResManager opening more robust to failed tries and plug its memory leaks
...
svn-id: r49116
2010-05-20 13:46:18 +00:00
Eugene Sandulenko
15986b81c2
Added getBaseFileName() method and enhanced open() with trying macbinary format in plain files
...
svn-id: r49074
2010-05-18 10:39:08 +00:00
Johannes Schickel
01070d72d3
Minor formatting.
...
svn-id: r49067
2010-05-17 22:17:42 +00:00
Max Horn
22caf0e1cf
Get rid of Common::Rational::normalize and other redundant code
...
svn-id: r49066
2010-05-17 22:08:40 +00:00
Max Horn
00cd966f3d
Some tweaks and fixes for Common::Rational
...
* Fix Common::gcd to work with negative input
* This fixes a bug in Common::Rational's multiplication code
* Add some more basic unit tests (including one which checks for
the now fixed multiplication bug)
* cleanup
svn-id: r49064
2010-05-17 22:07:58 +00:00
Matthew Hoops
811fc0e7ec
Add the Common::Rational class from patch #2963496 (VideoDecoder Rewrite)
...
svn-id: r49061
2010-05-17 20:53:04 +00:00
Joost Peters
dd0c1fd6f0
Restrict MIPSpro workaround to non-gcc compilers -- fixes compilation with gcc on irix.
...
svn-id: r49060
2010-05-17 16:50:10 +00:00
Matthew Hoops
fab2e2a8c4
Fix mismatched new[]/delete[]
...
svn-id: r49018
2010-05-12 20:22:10 +00:00
Matthew Hoops
8b1cb63de3
Pass by reference instead of value to getResource(String)
...
svn-id: r49008
2010-05-11 19:13:24 +00:00
Matthew Hoops
59476e44b9
Add support for getting a resource from the resource fork by name.
...
svn-id: r49004
2010-05-11 15:38:21 +00:00
Matthew Hoops
b9813063ad
Add support to the MacResManager and AdvancedDetector to take the md5 of a resource fork. This introduces a new flag, ADGF_MACRESFORK, which when set will take the md5 and size from the resource fork instead of the data fork.
...
svn-id: r48997
2010-05-10 18:23:54 +00:00
Matthew Hoops
cdf30ecc5a
Minor fix for using the MacResManager with a regular file; switch MacBinary's data fork to using a SeekableSubReadStream instead of a MemoryReadStream.
...
svn-id: r48995
2010-05-10 00:50:37 +00:00
Eugene Sandulenko
57f2425b28
Patch #2901515 : HE: Resource Forks on Mac OS X
...
svn-id: r48984
2010-05-09 18:27:56 +00:00
Johannes Schickel
caf31ee5af
Replace various strncpy usages by strlcpy.
...
svn-id: r48955
2010-05-05 17:54:12 +00:00
Johannes Schickel
388e4b65bf
Add a custom implementation of OpenBSD's strlcat and strlcpy.
...
This includes both an implementation and some basic unit tests for
the above mentioned functions.
svn-id: r48953
2010-05-05 17:52:59 +00:00
Max Horn
2149a2383d
Reduce indirect header dependencies further
...
svn-id: r48936
2010-05-04 12:00:16 +00:00
Max Horn
970745e60c
Move DebugChannel related code to new header
...
svn-id: r48935
2010-05-04 11:59:22 +00:00
Max Horn
2b6958995b
correct indention
...
svn-id: r48822
2010-04-27 21:41:25 +00:00
Max Horn
460d69e885
COMMON: Move DebugChannel stuff into a new DebugMan singleton
...
svn-id: r48821
2010-04-27 21:40:52 +00:00
Max Horn
445dccd59b
cleanup
...
svn-id: r48820
2010-04-27 21:39:43 +00:00
Andre Heider
0ef8fd7ddc
Document setPalette() and grabPalette() changes, fix some incorrect 8bit statements.
...
svn-id: r48758
2010-04-20 21:18:37 +00:00
Johannes Schickel
71331c7f53
Fix regression introduced with r46130, which caused debugN strings to be post processed via debugOutputFormatter.
...
Formerly all debugN strings were not post processed via "errorString" (or the
"debugOutputFormatter" as it is called nowadays). This revision did change
how debug strings are post processed and removed the special case for debugN
by accident.
svn-id: r48716
2010-04-19 12:50:49 +00:00
Johannes Schickel
a71eb59467
Whitespace fix.
...
svn-id: r48654
2010-04-13 16:13:48 +00:00
Max Horn
69b86db74c
Print message when creating new INI; don't rewrite it directly after reading.
...
Together with the r48651, this addresses bug #2983718 :
"Incomprehensible message for missing scummvm.ini"
svn-id: r48653
2010-04-13 10:08:17 +00:00
Max Horn
97583b02cd
Patch #2985205 : "GSoC: Improve FSNode warning messages"
...
svn-id: r48651
2010-04-13 09:53:05 +00:00
Ori Avtalion
2fc9d6845b
Apply patch #2982163 - CONFIG: Use HE keyword instead of HB for the Hebrew language
...
svn-id: r48645
2010-04-12 21:21:06 +00:00
Max Horn
f2ff555996
Rest of patch #2982224 : GSoC: Added unit test and unified error message display
...
svn-id: r48627
2010-04-11 19:04:02 +00:00
Max Horn
7c510f2dfa
COMMON: Add Common::parseBool
...
svn-id: r48566
2010-04-06 09:27:13 +00:00
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
a8d2c0de10
- Renamed SharedPtr<T>::Pointer to SharedPtr<T>::PointerType
...
- Introduced ReferenceType to SharedPtr and ScopedPtr
svn-id: r48337
2010-03-20 20:25:12 +00:00
Johannes Schickel
2a2cfe7ab0
Style fixes / cleanup.
...
svn-id: r48336
2010-03-20 20:16:16 +00:00
Vladimir Menshakov
abdfbafa45
added ScopedPtr template
...
svn-id: r48334
2010-03-20 20:01:44 +00:00
Johannes Schickel
e117783379
Some style fixes.
...
svn-id: r48313
2010-03-20 13:18:47 +00:00
Johannes Schickel
5c1a63026e
Remove unused stdarg.h include.
...
svn-id: r48312
2010-03-20 13:00:23 +00:00
Johannes Schickel
794fcf0170
Sort object files.
...
svn-id: r48311
2010-03-20 12:57:12 +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
Johannes Schickel
a0f90fd603
Add common/util.h include to common/algorithm.h for SWAP.
...
This should fix the compilation with clang++, see bug report
#2971226 "COMMON: Compile error - SWAP undeclared in algorithm.h".
svn-id: r48307
2010-03-20 12:13:37 +00:00
Max Horn
cac0ac66e2
COMMON: Get rid of Common::StringList
...
svn-id: r48287
2010-03-18 15:54:40 +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
30c84d2cff
COMMON: Move tag2str from util.h to str.h
...
svn-id: r48281
2010-03-18 15:07:48 +00:00
Max Horn
3e63df5415
COMMON: Move port specific '#define fputs' from util.cpp to textconsole.cpp
...
svn-id: r48280
2010-03-18 15:07:30 +00:00
Max Horn
d78dba3bca
COMMON: Move Common::RandomSource to common/random.*
...
svn-id: r48279
2010-03-18 15:07:11 +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
Fabio Battaglia
23cf40db2b
Add a comment to document my removal of stream delete in previous commit
...
svn-id: r48155
2010-02-28 14:40:40 +00:00
Fabio Battaglia
d1e7fcbe75
do not delete the stream twice in makeZipArchive as it's already deleted by unzOpen if a problem is encountered
...
svn-id: r48154
2010-02-28 14:33:22 +00:00
Max Horn
cdf847408b
Update Common::KeyState comments
...
svn-id: r48120
2010-02-23 22:50:28 +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
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
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