Bastien Bouclet
33e3d99721
GRIM: Fix mismatched new[]/delete[] vs malloc/free
2018-06-03 07:44:39 +02:00
Vincent Pelletier
d844acb438
GRIM: Fix some "Mismatched free() / delete / delete []" errors (valgrind)
2016-07-18 04:36:37 +02:00
Joel Teichroeb
0f3da43694
GRIM: Change NULL to nullptr.
2014-05-30 17:43:08 -07:00
egetesla
1f8b0263c3
GRIM: Merge iMuse and EMI sound warnings into a new "Sound" channel
2014-04-12 17:16:08 +02:00
Pawel Kolodziejski
8759900b6a
ALL: synced with ScummVM
2014-04-05 18:18:42 +02:00
Christian Krause
d982a6841e
EMI: Add comment and fix special handling in Imuse
...
Add a comment about the input/output range of:
Imuse::setPan (0 ... 127)
Imuse::getPan (-127 ... 127).
The value is stored internally as 1000 * input range
(0 ... 127000), so a value of 6400 is not possible:
int getPan() const { return (pan != 6400) ? 2 * (pan / 1000) - 127 : 0;
}
Changing to 64000 which roughly corresponds with a balance of +/- 0.
2013-11-28 01:34:35 +01:00
Joel Teichroeb
08d749e730
GRIM: Remove including savefile.h from savegame.h
2013-07-09 22:54:45 -07:00
Einar Johan Trøan Sømåen
fe3883cecd
GRIM: Reformat code to be closer to convention.
2013-07-09 21:12:55 +02:00
Joel Teichroeb
3253b9ba76
GRIM: Remove some redundant code
2013-07-07 21:00:08 -07:00
Giulio Camuffo
b385867f6d
GRIM/iMuse: If we're starting a sound which is fading out bring it back. Fix #246
2013-01-11 15:58:43 +01:00
Giulio Camuffo
701624c108
GRIM: Fix music mixup at the end of the world. Fix #614
2013-01-10 18:39:02 +01:00
Giulio Camuffo
50d46a4d32
GRIM: Fix music mismatch when shooting Hector.
2013-01-10 18:16:59 +01:00
Giulio Camuffo
883886d7aa
GRIM: Don't use int where floats are due.
2012-12-21 16:26:12 +01:00
Giulio Camuffo
4d037dbc8b
GRIM: Be a bit more explicative.
2012-12-21 16:23:46 +01:00
Giulio Camuffo
7592dd374d
GRIM: The lip syncs use 16 ms ticks, not 60 Hz.
2012-12-20 17:35:09 +01:00
Paweł Kołodziejski
175620b62a
ALL: change license headers from LGPL to GPL, and few updates
2012-12-19 23:15:43 +01:00
Joel Teichroeb
77f4978a42
GRIM: Remove unneeded forbidden symbol exceptions
2012-05-05 22:19:45 -07:00
Joel Teichroeb
0dcfaf8fb1
GRIM: Do not include unneeded headers
2012-04-04 16:11:05 -07:00
Joel Teichroeb
63938ba499
GRIM: Clean up unneeded includes and fix some trailing whitespace
2012-03-26 20:12:00 -07:00
Joel Teichroeb
a9c664379e
GRIM: Make saving and restoring use more appropriate types and rename functions to be more logical
2012-01-28 10:03:27 +01:00
Paweł Kołodziejski
e350c7f777
renames
2012-01-06 23:29:45 +01:00
Pawe Koodziejski
a5479cfe83
sync with scummvm
2012-01-06 22:56:21 +01:00
Andrea Corna
3933076fc9
GRIM: Make iMuse load from a stream instead of a data Block
2011-12-30 17:17:08 +01:00
Giulio Camuffo
f2d7d127fc
GRIM: Make ResourceLoader able to open non-lab files. Fix credits.
...
The credits are read from the file credits/ingame.txt. Fix #228
2011-12-16 14:48:42 +01:00
Giulio Camuffo
52fdf0565a
GRIM: Fix the values of the volume groups. Fix #384
2011-10-20 17:07:53 +02:00
Giulio Camuffo
7b1f87f928
GRIM: Boost of the debug system, using debug channels.
2011-10-10 18:17:22 +02:00
Einar Johan T. Sømåen
e6903d05b9
GRIM: Remove printf from iMuse
2011-10-04 19:03:57 +02:00
Einar Johan T. Sømåen
e05c2df8a1
GRIM: Remove grim.h-dependency in iMuse
2011-10-04 18:47:03 +02:00
Giulio Camuffo
51e07afd97
GRIM/iMuse: Don't change region if hookId is 128 and jump -1. Fix #345
2011-10-03 19:18:00 +02:00
Einar Johan T. Sømåen
8e8a2f92ca
GRIM: Add vima.h to avoid having to include grim.h, and to possibly isolate imuse/movie from the rest of the code
2011-10-03 01:54:01 +02:00
Giulio Camuffo
5f59fff5b3
GRIM: Move the debug levels enum in a separate header.
2011-07-23 15:37:14 +02:00
Giulio Camuffo
75fca9efa4
GRIM: Set the sound position for the voice only if it really started.
2011-07-18 17:53:06 +02:00
Joni Vähämäki
0c962164d4
GRIM: Fix possible division by zero.
2011-06-08 00:27:47 +08:00
Joni Vähämäki
1530048c74
GRIM: Clamp track fade out time to remaining time in the current region.
2011-06-06 23:12:07 +08:00
Joni Vähämäki
4e62732fb8
GRIM: Fix function name in error message.
2011-06-06 20:32:20 +08:00
Joni Vähämäki
6bb4658ea6
GRIM: When fading out music, move to a fade out track instead of cloning the track. Fixes the sound skipping a bit when a fade out starts because the clone track doesn't copy the queued buffers.
2011-06-06 20:32:12 +08:00
Joni Vähämäki
991e06ba7f
GRIM: Fade in music tracks.
2011-06-06 18:13:00 +08:00
Joni Vähämäki
fd752bb5f7
GRIM: Set the value of trackId in startSound (it may have been set to 0 by a memset).
2011-06-05 02:57:54 +08:00
Pawel Kolodziejski
356c9c8c07
sync with scummvm
2011-05-18 23:33:39 +02:00
Pawel Kolodziejski
83de2e6600
refactor movie playback and game detection params
2011-05-14 12:11:53 +02:00
Joel Teichroeb
4751516279
Cleaned up dependencies between files.
2011-05-13 17:55:14 -07:00
Pawel Kolodziejski
0f5de71f70
sync with scummvm
2011-05-08 15:38:26 +02:00
Giulio Camuffo
d7008d2514
GRIM: Rename Block's getters.
2011-05-05 11:40:10 +02:00
Pawel Kolodziejski
74796a5de7
strcasecmp->scumm_stricmp
2011-05-01 18:39:28 +02:00
Pawel Kolodziejski
a02ae4bc5d
fix compilation
2011-05-01 18:12:07 +02:00
Giulio Camuffo
3e67c18aa8
GRIM: Fix some free/delete mismatches.
2011-04-19 15:35:05 +02:00
Pawel Kolodziejski
252d484434
common/sys.h -> common/scummsys.h to minimalize diffs with scummvm
2011-04-17 01:00:10 +02:00
Pawel Kolodziejski
b18b857558
cleanup headers - grim part
2011-04-16 14:12:44 +02:00
Pawel Kolodziejski
0640dcf2c7
synced with scummvm to 2011-Apr-13
2011-04-14 12:41:26 +02:00
Pawel Kolodziejski
e3a475ff7b
synced with scummvm rev svn 49000
2011-04-10 21:59:04 +02:00