Commit graph

37596 commits

Author SHA1 Message Date
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
Ori Avtalion
641f061645 Fix configure script on cross-platform environments
svn-id: r48596
2010-04-09 12:46:13 +00:00
Ori Avtalion
be31842b1c Future-proof gcc >= 4.3 test (Will break on version 5.0)
svn-id: r48595
2010-04-09 12:30:45 +00:00
Ori Avtalion
f2f0e1aa67 Simplify GCC version tests, add support for the clang compiler
svn-id: r48594
2010-04-09 12:23:43 +00:00
Max Horn
7d97ee48e6 No Mandriva updates in ages -> mark Mandriva packager as retired
svn-id: r48592
2010-04-09 11:18:30 +00:00
Ori Avtalion
bfbbc0a072 Remove unused dereference
svn-id: r48586
2010-04-08 22:04:17 +00:00
Vladimir Menshakov
b89b64f71a fixed crash during time challenges (rclick without object)
svn-id: r48581
2010-04-07 07:45:50 +00:00
Arnaud Boutonné
9fbf1a113c Add detection for an English ADI2 environment disk (for Amiga)
svn-id: r48580
2010-04-07 06:46:50 +00:00
Matthew Hoops
3fe570cd70 Cleanup the Myst resource caching code a bit and add support for caching Myst ME MJMP sound 'jumps'
svn-id: r48579
2010-04-06 23:38:43 +00:00
Matthew Hoops
8e8b6cfa78 More transistions->transitions fixes
svn-id: r48571
2010-04-06 16:33:15 +00:00
Ori Avtalion
48a9e64338 Fix "Transitions" typo
svn-id: r48570
2010-04-06 15:40:13 +00:00
Max Horn
fd0e3de00b Fix AdvancedMetaEngine::createInstance to use ConfMan.setBool
svn-id: r48568
2010-04-06 09:27:40 +00:00
Max Horn
56e81ac0da Switch SaveStateDescriptor::getBool to use Common::parseBool
svn-id: r48567
2010-04-06 09:27:27 +00:00
Max Horn
7c510f2dfa COMMON: Add Common::parseBool
svn-id: r48566
2010-04-06 09:27:13 +00:00
Max Horn
77c1e0dfe1 GUI: Remove 'typedef Common::String String' from (Global)OptionsDialog
svn-id: r48565
2010-04-06 09:26:59 +00:00