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
Max Horn
2bbf708dea
Introduced new type Common::DisposeAfterUse::Flag
...
svn-id: r45233
2009-10-18 19:41:59 +00:00
Matthew Hoops
6edf387418
Give Gob1 CD-i its own platform.
...
svn-id: r45135
2009-10-15 22:05:52 +00:00
Willem Jan Palenstijn
833e6f41d5
Fix broken size in Common::String::printf output in MSVC
...
svn-id: r44979
2009-10-12 11:51:28 +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
Max Horn
42120ed626
Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
...
svn-id: r44793
2009-10-08 19:41:38 +00:00
Max Horn
f242266f6d
Change a couple places from 'end of namespace' to 'End of namespace', for consistency
...
svn-id: r44634
2009-10-04 21:26:33 +00:00
Max Horn
696fd7af20
Reduce usage of Common::String::emptyString
...
svn-id: r44603
2009-10-04 11:58:52 +00:00
Willem Jan Palenstijn
90eebcd245
Use buffer in Common::String::printf slightly more efficiently
...
svn-id: r44562
2009-10-03 20:26:30 +00:00
Yotam Barnoy
1336b5464b
Fixed bug in archive.cpp that caused at least one engine (SAGA) not to work
...
svn-id: r44560
2009-10-03 20:12:44 +00:00
Willem Jan Palenstijn
ddea9a5bda
Fix Common::String::printf in MSVC
...
svn-id: r44520
2009-10-01 14:47:52 +00:00
Max Horn
8ba75fc522
Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
...
svn-id: r44495
2009-09-30 16:16:53 +00:00
Max Horn
8f609497ee
Backported NDS changes from 1.0.0 branch to trunk
...
svn-id: r44426
2009-09-27 22:42:21 +00:00
Johannes Schickel
1ee30563cd
Remove references to non existant function convertScreenRect.
...
svn-id: r44310
2009-09-24 16:30:10 +00:00
Filippos Karapetis
3d0f106edc
Removed the MSVC-specific pragmas for disabling warnings. These are now in ScummVM_Global.vsprops and thus not needed in scummsys.h
...
svn-id: r44283
2009-09-24 02:06:07 +00:00
Johannes Schickel
c50940bbf4
Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
...
svn-id: r44266
2009-09-23 00:15:00 +00:00
Johannes Schickel
75113ad5f3
COMMON: Add "ignoreCase" parameter to matchString.
...
svn-id: r44265
2009-09-23 00:14:06 +00:00
Johannes Schickel
dc8edb7203
Fix warning in gcc 3.3.5, by changing FORCEINLINE definition.
...
svn-id: r44262
2009-09-22 17:10:08 +00:00
Willem Jan Palenstijn
f9909bfbf5
Remove superfluous checks
...
svn-id: r44258
2009-09-22 12:39:07 +00:00
Johannes Schickel
4f65994267
Fix regression in 44236, which caused iterators to see dummy node entries as valid entries.
...
svn-id: r44256
2009-09-22 11:58:59 +00:00
Max Horn
537c886aeb
Stop confusing doxygen :)
...
svn-id: r44237
2009-09-21 21:37:12 +00:00
Max Horn
2bf7969f95
COMMON: Remove Common::HashMap::_dummyNode, instead use HASHMAP_DUMMY_NODE (this saves memory and should still be safe)
...
svn-id: r44236
2009-09-21 21:36:35 +00:00
Norbert Lange
75aafd9c33
fix duplicate definition of FORCEINLINE on mingw toolchains
...
svn-id: r44033
2009-09-11 12:58:08 +00:00
Max Horn
1011508325
Slightly modified version of Patch #2838562 : Improve endian.h and stream.h
...
svn-id: r44027
2009-09-11 08:55:47 +00:00
Bertrand Augereau
9da3c5c716
COMMON: (Inactive) code to debug memory leaks in memory pools + typo fix
...
svn-id: r43990
2009-09-06 13:26:14 +00:00
Max Horn
ae16d496b9
COMMON: HashMap::getVal now allows specifying a default value.
...
A new variant of HashMap::getVal with a second 'default value' parameter
has been added. This helps avoid many contains() + getVal() combos
(which incur double lookup penalty), and is much lighter than using
find() (which has to create an iterator).
svn-id: r43983
2009-09-06 12:59:07 +00:00
Matthew Hoops
05035fd8c3
Fix a new/free mismatch when creating a MemoryReadStream from a MemoryWriteStreamDynamic by changing MemoryWriteStreamDynamic to use malloc/free instead of new/delete[]. This could have affected ScummEngine_v4::prepareSavegame().
...
svn-id: r43918
2009-09-03 16:15:10 +00:00
Jordi Vilalta Prat
e7db409555
Remove unused include
...
svn-id: r43838
2009-08-30 20:58:38 +00:00
Norbert Lange
54ef7a892b
reverting changes from patch 43696 that shouldnt have been committed
...
svn-id: r43697
2009-08-24 13:08:21 +00:00
Norbert Lange
184aae3c8c
Enable alternative palettse for Amiga Monkey Island - Patch ID: 2819787
...
use tables for palette colors instead of code with constants
svn-id: r43696
2009-08-24 12:39:03 +00:00
Andre Heider
007f68366f
Renamed ENABLE_RGB_COLOR to USE_RGB_COLOR, and added it to config.h to guarantee a consistent build.
...
svn-id: r43604
2009-08-21 18:16:37 +00:00
Jody Northup
3084919b32
Merged RGB color API and support in from /scummvm/branches/gsoc2009-16bit/
...
svn-id: r43577
2009-08-21 09:37:51 +00:00