41373 Commits

Author SHA1 Message Date
Filippos Karapetis
e74e4814e4 SWORD1: Fixed bug #3087855 - "SWORD1: Code analysis warnings"
svn-id: r53488
2010-10-15 13:07:31 +00:00
Filippos Karapetis
9717686337 MADE: Fixed bug #3087849 - "MADE: Code analysis warnings"
svn-id: r53487
2010-10-15 13:00:19 +00:00
Filippos Karapetis
c1e47e0e60 SAGA: Added sanity checks for realloc() calls - bug report #3087852
svn-id: r53486
2010-10-15 12:56:17 +00:00
Max Horn
4ccce19876 ENGINES: Enhance namespace comments a bit
svn-id: r53484
2010-10-15 12:48:19 +00:00
Travis Howell
42f2a13155 Reverted revision 53456, as requested.
svn-id: r53483
2010-10-15 12:41:11 +00:00
Filippos Karapetis
7cdddd5ffb SCI: Fixed code bugs from bug #3087872 - "SCI: Code analysis warnings"
svn-id: r53482
2010-10-15 12:40:24 +00:00
Max Horn
34cc54eaa9 Add doxygen comment for namespaces of several engines.
This is an empty template which ideally engine maintainers
would update and complete with concrete information...

svn-id: r53481
2010-10-15 12:28:56 +00:00
Max Horn
2fed5ff832 COMMON: Move XMLParser method impls to .cpp file; make skipComments non-virtual
svn-id: r53480
2010-10-15 12:19:34 +00:00
Max Horn
36cd5caf95 COMMON: Add XMLParser::parseIntegerKey variant accepting a Common::String
Almost all places where we used XMLParser::parseIntegerKey were using
it like this:
  XMLParser::parseIntegerKey(str.c_str(), ...)
Since this makes the code harder to read, I overloaded the method to
also accept Commmon::String directly.
Also removed all .c_str() invocations where necessary.

svn-id: r53479
2010-10-15 12:19:13 +00:00
Max Horn
f52b31a05f SWORD25: Typo, cleanup
svn-id: r53478
2010-10-15 12:18:41 +00:00
Max Horn
550073ee04 SWORD25: Do not use Kernel::GetService directly anymore
svn-id: r53477
2010-10-15 12:18:19 +00:00
Max Horn
2b5de8c892 SWORD25: Adapted a few things to our code formatting conventions; translated rest of graphicengine.h to german
svn-id: r53476
2010-10-15 12:17:20 +00:00
Max Horn
f8c15c90ff SWORD25: Fix a few global constructor warnings
svn-id: r53475
2010-10-15 12:16:57 +00:00
Paul Gilbert
96585f24d9 SWORD25: Fix unloading of movies so the menu animation properly loops
svn-id: r53474
2010-10-15 10:52:23 +00:00
Eugene Sandulenko
9b9e8f7d8d DRASCULA: Fix some code analysis warnings (bug #3087830)
svn-id: r53473
2010-10-15 09:08:54 +00:00
Eugene Sandulenko
b0923dfd76 CRUISE: Fix some code analysis warnings (bug #3087829)
svn-id: r53472
2010-10-15 08:57:18 +00:00
Paul Gilbert
168670acb2 TINSEL: Fix for #3087863 - Code analysis warnings
svn-id: r53471
2010-10-15 08:52:22 +00:00
Eugene Sandulenko
764eaa554c AGI: Fix some code analysis warnings (bug #3087825)
svn-id: r53470
2010-10-15 08:49:20 +00:00
Paul Gilbert
63cb051351 LURE: Fix for #3087842 - Code analysis warnings
Only the warning for res_struct.cpp is valid to be fixed

svn-id: r53469
2010-10-15 08:29:23 +00:00
Arnaud Boutonné
bd18e20f7d HUGO: Merge engine and hugo files
- Move initNewScreenDisplay to display.cpp
- Merge engine.cpp and hugo.cpp

svn-id: r53468
2010-10-15 06:16:27 +00:00
Torbjörn Andersson
e5ec399c55 SWORD2: Fix some code analysis warnings (bug #3087857)
svn-id: r53467
2010-10-15 06:12:23 +00:00
Arnaud Boutonné
6049a370b3 HUGO: Fix NULL pointer dereferencing
svn-id: r53466
2010-10-15 06:08:42 +00:00
Vladimir Menshakov
bacbf08900 Bug #3087858: fixed null pointer dereferencing
svn-id: r53465
2010-10-15 05:50:19 +00:00
Sven Hesse
089988c11c GOB: Fix Code analysis warnings
See bug report #3087831

svn-id: r53464
2010-10-15 04:37:44 +00:00
Matthew Hoops
dad3f32278 MACOSX: Fix make bundle when compiling with libpng
svn-id: r53463
2010-10-15 03:33:54 +00:00
Yotam Barnoy
6fc10aeeac PSP: made image in viewer movable by pushing nub continuously
svn-id: r53462
2010-10-14 22:33:32 +00:00
Jordi Vilalta Prat
06c2b6bace TOON: Fixed the Spanish special characters.
- Wrap the text to font mapping in a function to give more flexibility.
- Add mapping of the opening exclamation and question marks to the common
  mapping array.
- Added a special case for a character already mapped incorrectly in the
  original interpreter, which seems to conflict with what's required by
  the other languages.

svn-id: r53461
2010-10-14 22:27:48 +00:00
Yotam Barnoy
a4537b84bd PSP: made image viewer reset to the first image between engine loads
svn-id: r53460
2010-10-14 22:11:17 +00:00
Eugene Sandulenko
f67bbc4ecc SWORD25: Attempt to optimize movie rendering
Current code makes about 5 blits of each frame which is a huge
overhead. This code is an attempt to make that 1. Doesn't work yet
as the rendering pipe keeps blitting invisible pictures.

svn-id: r53459
2010-10-14 20:44:44 +00:00
Jordi Vilalta Prat
00a477fa79 TOON: Fix some labels of the Spanish version.
The solution was suggested by Strangerke after realising it looked like a
copy-paste typo from the Russian version.

svn-id: r53458
2010-10-14 18:51:11 +00:00
Eugene Sandulenko
ea5bf685fc SCUMM: Fix bug #2952298 with 16-bit HE cursors on Amiga
Bug #2952298: "HE (16Bit): Inventory items (Cursors) have wrong color"
This appeared to be generic BE bug. Thanks to jvprat for nailing it down
and providing the patch.

svn-id: r53456
2010-10-14 18:19:51 +00:00
Yotam Barnoy
7c22545899 PSP: added image viewer for viewing images during games
svn-id: r53455
2010-10-14 13:19:32 +00:00
Yotam Barnoy
90e12a43fd PSP: clarify and fix up display code
Also added support for stretching images, and fixed up displaying of large images as well as PNG files

svn-id: r53454
2010-10-14 13:05:40 +00:00
Sylvain Dupont
320dd0b071 TOON: Fixed Bug #3084725 with cursor disappearing at screen borders
Bug #3084725: "TOON: Glitch in cursor anim"

svn-id: r53453
2010-10-14 00:03:53 +00:00
Eugene Sandulenko
e0b69a3061 SWORD25: Remove lua.c since it is not needed
svn-id: r53452
2010-10-13 22:23:09 +00:00
Max Horn
9ca0a6147b SWORD25: Get rid of (deprecated) access to libpng io_ptr
Unfortunately I cannot test this, so watch our for regressions.

svn-id: r53451
2010-10-13 22:18:57 +00:00
Max Horn
810f087599 SWORD25: Fix empty loop body & conversion warnings
svn-id: r53450
2010-10-13 22:18:32 +00:00
Eugene Sandulenko
072c5b447c CREDITS: Add Sword2.5 team. The wording was agreed with them
svn-id: r53448
2010-10-13 22:15:22 +00:00
Torbjörn Andersson
e52b77dc7b SWORD25: Worked around crash in options dialog.
I don't really know if this is correct, but aesthetically it goes well
with how the scale factor is treated.

svn-id: r53447
2010-10-13 20:05:21 +00:00
Johannes Schickel
bc2781fdb3 SWORD25: Semi-colon cleanup.
svn-id: r53446
2010-10-13 20:04:50 +00:00
Torbjörn Andersson
bbbfdad458 SWORD25: Check if _LogFile has been created before flushing.
svn-id: r53445
2010-10-13 19:33:12 +00:00
Torbjörn Andersson
2a49aa1fea BASE: Added "Theora" to the features string, when enabled.
svn-id: r53444
2010-10-13 19:22:04 +00:00
Lars Persson
2dea84947e SYMBIAN: Add makefiles for TOON Struck
svn-id: r53443
2010-10-13 19:02:24 +00:00
Matthew Hoops
f9910fd0ee SWORD25: Don't compile lua.c
lua.c has its own main function which we don't want. Compiling this in for me gives me a Lua console on startup (which probably isn't a good thing).

svn-id: r53442
2010-10-13 18:13:24 +00:00
Filippos Karapetis
2880ebdeb4 Fixed ifdef. I'm too tired today :/
svn-id: r53440
2010-10-13 17:45:20 +00:00
Filippos Karapetis
96e05a1ff9 SWORD25: Hopefully fix compilation when libtheora is not present
svn-id: r53439
2010-10-13 17:42:56 +00:00
Filippos Karapetis
a52f986125 SWORD25: Use $(CXX) -x c to build C files (hopefully this fixes compilation)
svn-id: r53438
2010-10-13 17:33:13 +00:00
Filippos Karapetis
737c2dd0ba SWORD25: Partially revert commit #53389 and add the custom rule for C files
again, so that LUA can be compiled. It's a hack but at least it allows
compilation of C files for now

svn-id: r53437
2010-10-13 17:05:44 +00:00
Max Horn
9755c63292 SWORD25: Invoke parent's class copy constructor
svn-id: r53432
2010-10-13 15:41:55 +00:00
Max Horn
9b4d41d2d2 SWORD25: Convert object registries to singletons
svn-id: r53431
2010-10-13 15:41:34 +00:00