Commit Graph

345 Commits

Author SHA1 Message Date
D G Turner
e9b04d018f TONY: Fix compiler warnings about possible "used before set" variables.
Looking at this code and the code in clip2D, this shouldn't happen,
but this will prevent any future issues.
2012-11-20 19:05:45 +00:00
D G Turner
459752f20b TONY: Fixed scripted exit to use engine method, rather than error().
This fixes bug #3586252 ("TONY: Game errors out when exiting via the
menu").
2012-11-14 09:37:19 +00:00
D G Turner
43520ce4f3 TONY: Fix image loading on BE systems.
Thanks to wjp and fuzzie for working out the cause.
2012-11-13 09:18:28 +00:00
Willem Jan Palenstijn
8df3c1458d TONY: Fix resource loading on BE systems
Thanks to digitall for debugging and testing.
2012-11-12 08:42:20 +01:00
D G Turner
e782065591 TONY: Fix compiler warnings in Input class. 2012-11-12 03:48:19 +00:00
D G Turner
b8c1b46ae0 TONY: Cleanup whitespace formatting.
This is mainly removal of extraneous blank lines, reformatting indents
to tab characters and other minor non-functional changes to improve
compliance with Code Formatting Conventions.
2012-11-12 00:39:20 +00:00
D G Turner
0a709d955d TONY: Replace Input class internal buffers with Common standard.
The mouse position is now represented internally by Common::Point and
the keyDown buffer is an array of Common::Keycode values for depressed
keys.
2012-11-11 23:14:17 +00:00
D G Turner
659a4b8b14 TONY: Remove further unused code from Input class. 2012-11-11 23:14:02 +00:00
D G Turner
535180dc7b TONY: Remove unused functions from Input class. 2012-11-11 23:13:47 +00:00
Willem Jan Palenstijn
da0490f9b2 TONY: Fix endianness issue when saving/loading inventory 2012-11-02 21:26:34 +01:00
Paul Gilbert
b403a6f3ac Merge pull request #290 from rasky/fix_sfx_volumes
TONY: fix volumes of sound effects.
2012-11-01 03:38:04 -07:00
Willem Jan Palenstijn
38b8b6eff1 TONY: Fix AmigaOS build (bug #3580541) 2012-10-27 17:59:21 +02:00
Giovanni Bajo
79d7d3d708 TONY: fix volumes of sound effects.
The game was using a logarithmic scale (through DirectSound)
so we need a log->linear conversion to feed the mixer.
2012-10-26 20:29:04 +02:00
Strangerke
86c23885d3 Merge pull request #289 from rasky/add_italian_version
Add detection for original Italian version.
2012-10-26 07:32:18 -07:00
Willem Jan Palenstijn
0bea0a28b1 TONY: Fix translation of Italian comment
Thanks to Giovanni Bajo for noticing and correcting this.
2012-10-26 13:58:31 +02:00
Giovanni Bajo
a6eddd2e99 Add detection for original Italian version. 2012-10-26 12:52:15 +02:00
Strangerke
5023a5764f TONY: Fix music bug - 2 songs played simultaneously eventually 2012-10-15 07:08:24 +02:00
Strangerke
72e32ab35e TONY: Fix German fonts 2012-09-28 10:58:32 +02:00
Strangerke
b1844253d4 TONY: In French version, fix 'ê' in hotspot names by replacing it by 'e', like for other accentuated characters 2012-09-26 23:19:16 +02:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Strangerke
c61effaff9 TONY: Use debug channel for fading messages 2012-09-25 22:09:42 +02:00
Alyssa Milburn
050a02c6f8 TONY: Replace abortGame() with nicer error() calls. 2012-09-25 17:33:49 +02:00
Alyssa Milburn
0093c4d13e TONY: Don't error out on invalid ReleaseOwnership calls.
A script triggers this at the end of the scene where you give the
flowers to the bearded woman.
2012-09-25 17:32:34 +02:00
Willem Jan Palenstijn
1277a04e60 TONY: Don't mute all sound when using sound config dialog
Thanks to fuzzie for noticing this.
2012-09-24 22:05:28 +02:00
Alyssa Milburn
4a5333893d TONY: Add German/Czech detection entries. 2012-09-10 13:05:40 +02:00
Alyssa Milburn
60b101f5f6 TONY: Rename yet more variables. 2012-09-08 09:59:56 +02:00
Johannes Schickel
1f22838765 TONY: Constify static data tables in custom.cpp. 2012-09-08 01:27:11 +02:00
Strangerke
17d6d732ea TONY: More renaming, reduce some variable scopes 2012-09-08 01:02:36 +02:00
Alyssa Milburn
05fbc28767 TONY: Wait for events to pulse in 'threads'.
This fixes some missing animations, which weren't getting an
opportunity to start.
2012-09-07 20:51:20 +02:00
Strangerke
80b51481b9 TONY: Some more cleanup 2012-09-07 08:11:33 +02:00
Strangerke
ab719630ba TONY: Move const tables back to .cpp, as suggested by LordHoto 2012-09-07 07:39:58 +02:00
Strangerke
c91a72a9d5 TONY: Some more cleanup 2012-09-06 08:26:08 +02:00
Strangerke
25f4a3fb08 TONY: Misc cleanup 2012-09-06 00:23:59 +02:00
Paul Gilbert
220e945d67 TONY: Bugfix for OFFSETOF macro on 64-bit systems 2012-09-05 22:32:02 +10:00
Paul Gilbert
35a7e79614 TONY: Change to hopefully fix Mingw 64 compilation errors 2012-09-05 20:47:32 +10:00
Strangerke
c737e64298 TONY: Move code from .h to .cpp files 2012-09-02 10:34:11 +02:00
Strangerke
1f41e55731 TONY: Remove adv.h 2012-09-01 02:36:54 +02:00
Strangerke
3ab8ebc4f7 TONY: Move some more code from .h to .cpp files 2012-09-01 02:27:31 +02:00
Strangerke
8c753c96a0 TONY: Move some functions from .h to .cpp files 2012-09-01 01:05:22 +02:00
Strangerke
f2df769aab TONY: More renaming 2012-09-01 00:25:35 +02:00
Strangerke
7fbfbc8e6b TONY: Rename some more variables and structures 2012-08-31 23:08:02 +02:00
Strangerke
56c5961fb4 TONY: Translate some variables in findPath, reduce some variable scopes 2012-08-30 08:06:10 +02:00
Strangerke
825e0896dc TONY: Replace C-style comments by C++-style ones.
Also translate some more Italian comments
2012-08-29 23:25:14 +02:00
Strangerke
766eadeef9 TONY: Translate some remaining Italian comments 2012-08-29 22:47:33 +02:00
Alyssa Milburn
985151fe13 TONY: Limit effect of cursor workaround.
This avoids incorrect hotspot offsets.
2012-08-29 09:13:43 +02:00
Alyssa Milburn
a6673aaf90 TONY: Remove useless/commented music code. 2012-08-29 09:12:53 +02:00
Strangerke
a29f1fb04c TONY: Remove some dead code 2012-08-29 08:14:41 +02:00
Strangerke
92a9820f33 TONY: Translate some remaining italian comments 2012-08-29 08:11:52 +02:00
Strangerke
b12ccad994 TONY: Reduce scope of some variables 2012-08-29 00:30:07 +02:00
Strangerke
d2b33ca4cc TONY: Janitorial - remove trailing spaces 2012-08-28 23:25:50 +02:00