37560 Commits

Author SHA1 Message Date
Max Horn
ae3962ce36 Fix for bug #2987895: "DW2: graphical errors in video on Windows"
svn-id: r48665
2010-04-16 11:00:13 +00:00
Max Horn
418bcdad7d Change configure entries for NDS and DC ports to use _port_mk
svn-id: r48664
2010-04-16 10:59:23 +00:00
Paul Gilbert
f7ac94db12 Added code to de-activate town NPCs once the player makes it to the castle, since they're no longer needed
svn-id: r48661
2010-04-16 10:00:49 +00:00
Max Horn
fcb8719e93 Replace ancient maemo patch with the one from 1.1.0 branch
svn-id: r48660
2010-04-15 21:45:03 +00:00
Martin Kiewitz
20392ebee8 SCI: split menu/item strings when displaying instead of when initializing - makes on-the-fly menu language changes possible (used by multilingual SCI01 games)
svn-id: r48659
2010-04-15 16:40:37 +00:00
Paul Gilbert
cbee83a536 Added a default case for characters that don't have a message set, but try to display one
svn-id: r48656
2010-04-14 09:33:27 +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
5a17a7be5f Patch #2984292: "AmigaOS4: Remove _SVN from unstable builds"
svn-id: r48652
2010-04-13 09:54:21 +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
843a547cf7 Update default theme
svn-id: r48650
2010-04-12 23:30:52 +00:00
Ori Avtalion
434b5369f6 Remove trailing whitespace
svn-id: r48649
2010-04-12 23:25:09 +00:00
Ori Avtalion
e35133064b Center labels in mass-add dialog
svn-id: r48648
2010-04-12 23:23:23 +00:00
Ori Avtalion
024d44f3e3 Remove semicolon
svn-id: r48647
2010-04-12 21:30:47 +00:00
Thierry Crozat
08077db0ea Update credits for myself to reflect that I am now part of the team.
svn-id: r48646
2010-04-12 21:22:03 +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
Thierry Crozat
3b252cb4c5 Remove duplicate entry for myself.
svn-id: r48644
2010-04-12 21:00:47 +00:00
Johannes Schickel
23ed4c2a76 Revert "Fix use of "friend" keyword in KYRA for strict C++ compilers."
Actually g++ is just fine in this case :-). The thing I missed here
was that I declared the "offending" classes as friends in subclasses
of KyraEngine_v1, thus those friends were allowed to access the
protected elements of KyraEngine_v1 too.

svn-id: r48643
2010-04-12 19:50:40 +00:00
Ori Avtalion
b5612d0cf6 Remove trailing whitespace from person names with no description
svn-id: r48642
2010-04-12 19:40:54 +00:00
Johannes Schickel
050aca584b Fix use of "friend" keyword in KYRA for strict C++ compilers.
Unlike g++, which does inherit friends (it seems), C++ does
specify that friend is not inherited. I.e. when B is a friend of
A and you have a class C subclassing B, C is not allowed to
access private memebers of A.

svn-id: r48641
2010-04-12 19:10:21 +00:00
Joost Peters
fe566293e7 remove useless getObjectName() method
svn-id: r48640
2010-04-12 11:43:14 +00:00
Joost Peters
f966f3184f add const keyword to some methods
svn-id: r48639
2010-04-12 10:19:35 +00:00
Max Horn
fc40276ed7 formatting
svn-id: r48638
2010-04-12 09:14:37 +00:00
Max Horn
a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Yotam Barnoy
9191b9d528 Updated NEWS with PSP items including forgotten ones from 1.1.0
svn-id: r48636
2010-04-12 08:54:32 +00:00
Paul Gilbert
eb433fcccd Added the beginnings of the main timer list
svn-id: r48635
2010-04-12 08:31:46 +00:00
Max Horn
87028c546f PSP: Fix code formatting using astyle
svn-id: r48634
2010-04-12 07:28:54 +00:00
Yotam Barnoy
98d7ba281c Changed my credits to indicate more extensive contributions
svn-id: r48633
2010-04-12 07:20:54 +00:00
Yotam Barnoy
9a2eac7eee PSP: refactoring/redesign of the backend
svn-id: r48632
2010-04-12 06:49:05 +00:00
Ori Avtalion
18609a70b3 Add patch contributors to copyright file
svn-id: r48631
2010-04-11 22:01:18 +00:00
Ori Avtalion
fd3970aa52 Apply patch #2984508 - "GSoC: SCUMM stopped audio from playing while saving"
This is a fix for bug #2090846 - "SCUMM: saving a game will play music before
finishing"

svn-id: r48630
2010-04-11 21:30:57 +00:00
Max Horn
3745c73788 Explain the rational of the CursorMan.pushCursor calls directly
Instead of referring to the commit log of a prior ref.
Also rewrap some comments.

svn-id: r48628
2010-04-11 19:04:24 +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
Johannes Schickel
b928da4418 Setup and destroy a dummy cursor and palette in the Engine class.
The idea behind this is exactly the same as behind r48620,
but it affects all engines, thus engine authors can now use
CursorMan.replaceCursor without having to worry about possible
memory leaks or the like.

svn-id: r48626
2010-04-11 18:30:42 +00:00
Johannes Schickel
19e620ba60 Enable the cursor palette in ScummEngine_v70he::setDefaultCursor just to avoid problems in case it was disabled earlier.
svn-id: r48622
2010-04-11 17:28:34 +00:00
Johannes Schickel
175a81ce98 Fix KYRA's cursor handling by pushing a dummy cursor via CursorMan.pushCursor too. Also replace CursorMan.popAllCursors by CursorMan.popCursor to prevent the caller's cursor from being destroyed.
svn-id: r48621
2010-04-11 17:27:33 +00:00
Johannes Schickel
29172d4844 Fix a memory leak in SCUMM which was caused by the SCUMM engine never removing its cursor from CursorMan.
The problem here was that SCUMM only uses CursorMan.replaceCursor. When no
cursor had been setup before it would cause the SCUMM cursor to be never
removed from CursorMan, since in this case replaceCursor just uses pushCursor.
To avoid this problem I am just pushing a dummy cursor (and palette, since
that is used in SCUMM HE games too) on engine setup and removing it on engine
destruction.

Actually every engine should setup their first cursor via CursorMan.pushCursor
and then on quit remove it again via CursorMan.popCursor. Using
CursorMan.replaceCursor is *no* good idea for the first cursor to setup, since
that might either replace an existing cursor, thus destroying the caller's
cursor, or pushing a new cursor on the stack, which might result in a leak.
This would also result in making a call to CursorMan.popCursor unsafe, since
that might also impact the caller's cursor setup again.

svn-id: r48620
2010-04-11 17:26:32 +00:00
Max Horn
2e6b40798d Change 'head -1' to (hopefully more portable) 'head -n1'
svn-id: r48619
2010-04-11 16:27:11 +00:00
Johannes Schickel
cf85c0b318 Fix bug #2985387 "KYRA1: Crash at the end of game".
svn-id: r48617
2010-04-11 15:05:26 +00:00
Robert Špalek
c66e47cad4 Fix bug 2983187 on continuing palette change
svn-id: r48615
2010-04-11 06:02:41 +00:00
Max Horn
726500a2f3 Slightly tweak Common::StringTokenizer tests, cleanup
svn-id: r48614
2010-04-10 23:13:18 +00:00
Max Horn
fcee4f2ad7 Part of patch #2982224: "GSoC: Added unit test and unified error message display"
svn-id: r48613
2010-04-10 23:12:22 +00:00
Ori Avtalion
f4d7bdc937 Add missing cases to switch statements, remove whitespace
svn-id: r48604
2010-04-09 19:25:05 +00:00
Max Horn
982cf40067 Yet another attempt to fix cc_check_define: make it only link, but not compile, the test code
svn-id: r48603
2010-04-09 15:47:49 +00:00
Willem Jan Palenstijn
0768eda964 Change outdated configure status message
svn-id: r48602
2010-04-09 14:30:10 +00:00
Max Horn
f360dcac90 Change cc_check to always pass LDFLAGS (it already always passed CXXFLAGS), and adapt calling code accordingly
svn-id: r48601
2010-04-09 14:23:30 +00:00
Max Horn
a1fde3a03f Trying to fix cc_check_define breakage for cross platform builds which *require* a non-trivial LDFLAGS & CXXFLAGS; applying same fix to the memalign test code
svn-id: r48600
2010-04-09 14:13:37 +00:00
Ori Avtalion
92817e84ca Use head -1 instead of grep -m (non-POSIX flag)
svn-id: r48599
2010-04-09 14:12:20 +00:00
Ori Avtalion
003922f43d Remove unnecessary 'extern' keywords
svn-id: r48598
2010-04-09 13:46:10 +00:00
Ori Avtalion
3558ccccc4 Have cc_check_define return 0 on success
svn-id: r48597
2010-04-09 13:10:33 +00:00