Commit graph

45 commits

Author SHA1 Message Date
Paweł Kołodziejski
06902574b4
GRIM: Janitorial 2022-06-08 01:12:00 +02:00
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Mathias Parnaudeau
10b88aae66 GRIM: Fix alloc-dealloc mismatch in grim engine
A previous fix in ResidualVM changed 2 calls to free() into delete
operators because scumm_strdup() was using the new operator.
Later scumm_strdup() switched to malloc() to be aligned with strdup()
function. So move back to free().
2020-11-04 23:06:46 +00:00
Mathias Parnaudeau
3429e2c068 GRIM: Fix alloc-dealloc mismatch in grim engine
Fix deallocation of 2 variables that was done with free() instead of delete operator,
a they were allocated with scumm_strdup() that uses itself new operator.
2020-02-08 15:00:29 +01:00
Bastien Bouclet
66654cb376 ALL: Sync with ScummVM - rev. cd37d510f9 2019-01-26 20:47:55 +01:00
Joel Teichroeb
0f3da43694 GRIM: Change NULL to nullptr. 2014-05-30 17:43:08 -07:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Christian Krause
4a3d380e1d Merge pull request #810 from chkr-private/smush-movie-issue
EMI/GRIM: TextSplitter::checkString should ignore case
2014-01-08 15:34:16 -08:00
Christian Krause
58aa7f9651 EMI/GRIM: TextSplitter::checkString should ignore case
All other methods of TextSplitter ignore the case: the strings of the
splitted text are changed to lowercase and other strings provided via
arguments are compared case-insensitive.
2014-01-08 23:56:53 +01:00
Einar Johan Trøan Sømåen
1348540dee GRIM: Use initializer list for _fname in TextSplit 2014-01-07 18:27:37 +01:00
Joel Teichroeb
97215332df GRIM: Calculate length instead of repeatedly calling strlen 2013-10-24 19:10:28 -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
Giulio Camuffo
920875909d GRIM: Make TextSplitter tell the file name on error 2013-02-04 21:36:38 +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
Einar Johan Trøan Sømåen
78da72b303 GRIM: Fix formatting in TextSplitter 2012-10-22 19:27:42 +02:00
Dries Harnie
fa88a69aa3 EMI: Use proper delete[] in TextSplitter 2012-09-10 19:01:27 +02:00
Dries Harnie
f66aa50e2a JANITORIAL: Code style cleanup 2012-09-09 22:49:11 +02:00
Dries Harnie
a20bef3a6b EMI: TextSplitter supports spaces in %[...] format 2012-09-09 18:43:23 +02:00
Giulio Camuffo
c2ab426173 GRIM: Increase the precision of str2float. 2012-03-08 22:24:11 +01:00
Giulio Camuffo
f8c93eef39 GRIM: Replace index() with strchr(). 2012-02-28 10:29:49 +01:00
Giulio Camuffo
3a8cc52d50 GRIM: Make TextSplit compliant to sscanf '%XXs' and '%[..]' syntax. 2012-02-27 15:17:42 +01:00
Matthieu Milan
547fd9c452 EMI: find a proper way to comply TextSplit class with sscanf's behaviour 2012-02-27 11:46:09 +01:00
Matthieu Milan
6745b2a0f8 EMI: fix resource names obtained in textsplit 2012-02-26 14:30:38 +01:00
Matthieu Milan
bcd21c88ff EMI: fix music filename string to use in emisound class 2012-02-25 11:50:16 +01:00
Paweł Kołodziejski
5d200347e6 COMMON, GRIM: fixed compilation after sync 2012-02-22 17:40:48 +01:00
Giulio Camuffo
52be478be7 GRIM: Tabs in the scanString format must be treated as whitespace characters. 2012-02-22 11:31:39 +01:00
Joel Teichroeb
006f1af102 GRIM: Fix the case when there is a float with no decimal 2012-02-21 18:11:31 -08:00
Giulio Camuffo
33e7e9ba7f GRIM: New parser for TextSplitter, locale agnostic. 2012-02-21 19:12:59 +01:00
Paweł Kołodziejski
e350c7f777 renames 2012-01-06 23:29:45 +01:00
Pawel Kolodziejski
4fa79cd323 rename -> ResidualVM 2012-01-06 11:37:57 +01:00
Andrea Corna
49071ee661 GRIM: Make Costume and TextSplitter load from a stream instead of a data Block 2011-12-30 17:17:08 +01:00
Joel Teichroeb
8de63f2c1a Use the correct type of delete. 2011-06-10 15:33:42 -07:00
Joel Teichroeb
d0dd7b8b35 Improved TextSplit to only allocate one set of memory and make each line have a pointer to part of that memory. 2011-06-07 21:03:04 -07:00
Pawel Kolodziejski
356c9c8c07 sync with scummvm 2011-05-18 23:33:39 +02:00
Giulio Camuffo
1b1d0e0b58 GRIM: Rename TextSplitter's getters. 2011-05-05 11:56:36 +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
Pawel Kolodziejski
b18b857558 cleanup headers - grim part 2011-04-16 14:12:44 +02:00
Pawel Kolodziejski
d375e093b3 fix warnings 2009-10-17 13:25:12 +00:00
Pawel Kolodziejski
d3f6ae0476 synced common code with scummvm and adopt other parts to that changes 2009-05-27 13:28:49 +00:00
Pawel Kolodziejski
f364f9a535 update headers 2009-05-26 14:13:08 +00:00
Pawel Kolodziejski
8b8e7e07d2 added namespace Grim 2009-05-25 06:49:57 +00:00
Pawel Kolodziejski
a34d883844 update path includes for recent directory changes 2009-05-24 19:13:58 +00:00
Pawel Kolodziejski
f58c073a0a move/rename engine into engines/grim 2009-05-24 18:55:19 +00:00
Renamed from engine/textsplit.cpp (Browse further)