Einar Johan Trøan Sømåen
8596c6a91e
WINTERMUTE: Rename most functions in BGame FuncName->funcName
2012-07-03 06:07:22 +02:00
Einar Johan Trøan Sømåen
317e53aca7
WINTERMUTE: Rename FuncName->funcName in SXArray
2012-07-03 05:46:34 +02:00
Einar Johan Trøan Sømåen
6fb4151b9f
WINTERMUTE: Rename FuncName->funcName in SXString
2012-07-03 05:42:05 +02:00
Einar Johan Trøan Sømåen
13b16c1dc9
WINTERMUTE: Rename FuncName->funcName in SXMath
2012-07-03 05:39:30 +02:00
Einar Johan Trøan Sømåen
2f90dd76f9
WINTERMUTE: Rename FuncName->funcName in CScValue
2012-07-03 05:37:08 +02:00
Einar Johan Trøan Sømåen
c27d6585df
WINTERMUTE: Rename FuncName->funcName in ScStack
2012-07-03 05:08:59 +02:00
Einar Johan Trøan Sømåen
6c6c0bb016
WINTERMUTE: Mass-rename "Value"->"value"
2012-07-03 05:00:57 +02:00
Einar Johan Trøan Sømåen
9b0fa0e926
WINTERMUTE: Rename a few VarName->varName in BGame
2012-07-03 04:52:18 +02:00
Einar Johan Trøan Sømåen
13ec6b9bfe
WINTERMUTE: Rename VarName->varName in AdEntity
2012-07-03 04:38:37 +02:00
Einar Johan Trøan Sømåen
f4f64a26a9
WINTERMUTE: Mass rename varName->VarName
2012-07-03 04:31:32 +02:00
Einar Johan Trøan Sømåen
453e597b31
WINTERMUTE: Rename VarName and FuncName -> varName and funcName in AdActor
2012-07-03 04:03:02 +02:00
Filippos Karapetis
9184a40fcc
SCI: Fix incorrect game options for SQ4CD
2012-07-03 03:46:27 +03:00
Filippos Karapetis
c80429008f
SCI: Remove an unnecessary warning and related FIXME comments
...
It's perfectly normal behavior to have locals with a smaller segment ID
than the ID of their respective script, e.g. when scripts are
uninstantiated and then instantiated again
2012-07-03 03:34:30 +03:00
Willem Jan Palenstijn
b091c0bd09
SCI: Remove unnecessary const-cast
2012-07-03 00:00:48 +02:00
Einar Johan Trøan Sømåen
17b9732a59
WINTERMUTE: Fix a mistake in StringUtil
...
toLowerCase was doing toUpperCase.
2012-07-02 23:40:06 +02:00
Torbjörn Andersson
9cc7d6c6c5
TONY: Fix crash when entering "sepia" mode by loading a savegame.
...
Apparently, in this case the cursor is updated before _precalcTable
has been created. Added safeguard against that.
2012-07-02 20:51:14 +02:00
Torbjörn Andersson
924aac4389
TONY: Fix warning about statement without effect.
2012-07-02 20:48:57 +02:00
Paul Gilbert
58b03ec446
TONY: Refactored the Sepia (B & W) mode so the cursor is converted as well
2012-07-02 20:53:31 +10:00
Filippos Karapetis
f6e4312665
SCI: Add a hack for a bug in the script handling code
...
When resetting the segment manager, sometimes the locals block for a
script is placed in a segment smaller than the script itself. This
shouldn't be happening, but it isn't fatal, however it should be resolved
in a proper manner
2012-07-02 12:49:10 +03:00
Filippos Karapetis
44935117f4
SCI: Fix a workaround for an uninitialized variable in SQ4CD
...
This makes sure that the workaround works for subclassed objects as well,
such as "theProfessor" talker. Fixes bug #3539350 - "SCI: SQ4 CD -
Crash in sewer when text and speech enabled"
2012-07-02 12:49:08 +03:00
Einar Johan Trøan Sømåen
417ab2b47a
WINTERMUTE: A first attempt at implementing dirty rects in WME
2012-07-02 06:21:23 +02:00
Filippos Karapetis
2c161796c5
Merge pull request #239 from bluegr/skipsavecompression
...
COMMON: Allow the savefile manager to create uncompressed saves
2012-07-01 11:08:08 -07:00
Johannes Schickel
049e61b445
GUI: Fix small memory leak in grid based load chooser.
2012-07-01 17:17:04 +02:00
Johannes Schickel
3256081b2b
GUI: Add page display to grid based load chooser.
2012-07-01 16:49:07 +02:00
Johannes Schickel
bd3d5fb8ff
GUI: Clean up save load chooser selection code.
2012-07-01 16:49:07 +02:00
Johannes Schickel
236db5ed87
GUI: Automatically switch to list based save/load chooser when changing resolution below 640x400.
2012-07-01 16:49:07 +02:00
Johannes Schickel
1c389e5510
GUI: Only use grid load dialog for 640x400 or bigger.
...
Formerly it was enabled for everything above 320x200, but resolutions below
640x400 feature not enough space.
2012-07-01 15:43:20 +02:00
D G Turner
d335b78003
DREAMWEB: Fix minor regression with Ryan's watch.
...
Using Ryan's watch within the game, the watch time always started at
19.30 from point of use, which did not seem correct.
Checking with the original CD and Floppy interpreters under DOSBox
showed they used the current system time, so this was incorrect.
Bisection shows that this regression was introduced by commit
57e940f678 i.e. "DREAMWEB: Move all saved
variables to a GameVars struct" and was probably a side effect of a
minor call ordering change in the equivalent of setupInitialVars()
with respect to the getTime() call.
However, to ensure no further regressions, it was easier to fix this
by replacing the initial value setting by a getTime() call.
2012-07-01 06:20:53 +01:00
Thierry Crozat
50136f43c7
COMMON: Expand a bit the KeyState documentation
...
This follows a bug that was found in the Lure engine where keycode
was used in a place where it should have used ascii.
2012-07-01 01:03:49 +01:00
Thierry Crozat
c19df60092
I18N: Update German translation
...
One of the string was left untranslated in the last update. This adds
the translation for that string (provided by Lightkey).
2012-07-01 00:40:07 +01:00
Thierry Crozat
335ba979a2
LURE: Fix engine crash in copy protection screen with AZERTY keyboard
...
Fixes bug #3539031 - "LURE: Crash at Copy Protection Screen".
This reverts the previous fix which only worked for QWERTY keyboards
and made the issue worse for AZERTY keyboards. It now uses the ASCII
code instead of the keycode for the sanity check.
2012-06-30 20:48:22 +01:00
Thierry Crozat
33c67caed1
I18N: Regenerate translation data file
2012-06-30 12:20:17 +01:00
Thierry Crozat
5bbac72839
I18N: Update Italian translation
...
The update was sent by Matteo by email.
2012-06-30 12:19:54 +01:00
Thierry Crozat
7efdf21e85
I18N: Update Swedish translation from patch #3538686
2012-06-30 12:18:47 +01:00
D G Turner
4789e0f026
LURE: Fix engine crash in copy protection screen.
...
Fixes bug #3539031 - "LURE: Crash at Copy Protection Screen".
Previously, the code didn't prevent keyboard events with modifiers being
used. Since the ascii values for these were outside the 0-9 numeric
range, this resulted in an invalid frame number being used and thus the
engine aborted at an asertion.
2012-06-29 23:37:11 +01:00
D G Turner
100ff974cb
TOON: Correct mismatched method definition against prototype.
...
Fixes bug #3539018 - "Toon: AmigaOS4 Compiler error in anim.cpp"
2012-06-29 22:13:19 +01:00
Johannes Schickel
10bfb82d3b
GUI: Use a slightly bigger vertical spacing in the thumbnail load chooser.
2012-06-29 16:16:36 +02:00
Johannes Schickel
c1426f783d
GUI: Use a black rect when no thumbnail is available in the thumbnail load chooser.
2012-06-29 16:16:28 +02:00
Johannes Schickel
e2056bdfd9
GUI: Remember last save/load chooser selection.
2012-06-29 16:09:59 +02:00
Johannes Schickel
37fd9b7384
GUI: Fix memory leaks in LoadChooserThumbnailed::destroyButtons.
...
GuiObject::removeWidget only removes the widget from the widget list, but
doesn't delete it. Oops.
2012-06-29 15:55:46 +02:00
Johannes Schickel
d3e5763276
GUI: Allow the user to switch between list and thumbnail based load chooser.
2012-06-29 15:52:56 +02:00
Johannes Schickel
7860c5bfc9
GUI: Only update save list when the dialog opens in thumbnail load chooser.
2012-06-29 15:00:56 +02:00
Johannes Schickel
0db0b650e2
GUI: Fix copy&paste error affecting vertical spacing in thumbnail load chooser.
2012-06-29 14:58:33 +02:00
Johannes Schickel
0b5b58829c
GUI: Don't distribute vertical space between buttons in the thumbnail load chooser.
2012-06-29 14:57:54 +02:00
D G Turner
78b8ca5c7f
TOON: Replace remaining int32 x,y,w and h coordinates with int16.
2012-06-28 07:07:08 +01:00
Strangerke
d73ed91051
CGE: Remove unused Demo text id
2012-06-28 07:25:56 +02:00
Strangerke
647bc59f99
CGE: Rename variable
2012-06-28 07:19:54 +02:00
Filippos Karapetis
848575b826
SCI: Fix bug #3538418 in SQ4CD
...
Add a script patch for another speech/subtitles script, which handles
the babble icon shown in the quit/death dialogs (e.g. the two guys from
Andromeda in the quit dialog). Now, these dialogs have speech both in the
speech and the speech + subtitles modes
2012-06-28 04:06:58 +03:00
Einar Johan Trøan Sømåen
900bd7a77d
WINTERMUTE: Avoid making a new Rect for the fill every screen.
2012-06-28 02:35:38 +02:00
Filippos Karapetis
cc77688696
SCI: Remove an incorrect error check in validateExportFunc()
2012-06-28 03:29:34 +03:00