Tobia Tesan
9222038a16
WINTERMUTE: Use Common::String in arg for initSave
2016-03-06 12:00:05 +01:00
Tobia Tesan
97dc2a22c4
WINTERMUTE: Use Common::String in BasePersistenceManager-ctor
2016-03-06 11:47:24 +01:00
Tobia Tesan
f29229c0a6
WINTERMUTE: Return Common::String in getGameTargetName()
2016-03-05 20:41:19 +01:00
Tobia Tesan
a4b3131209
WINTERMUTE: Fix order of arguments in sprite rotation
2016-02-23 22:49:40 +01:00
Alexandre Detiste
6c298e964f
JANITORIAL: Typos detected with lintian & grep
2016-02-15 18:27:02 +01:00
Einar Johan Trøan Sømåen
952d632b9c
Merge pull request #635 from jammm/master
...
WINTERMUTE: Add more keyboard mappings, fix console warnings.
2015-12-21 19:38:58 +01:00
Bastien Bouclet
2d86f6da9c
GRAPHICS: Introduce a size mode for TrueType fonts
...
Allows to match Windows font size selection by converting font heights
to point sizes using the TrueType tables.
2015-12-21 18:41:14 +01:00
jammm
d090057f1f
WINTERMUTE: Add more keyboard mappings, fix console warnings.
...
Add mappings for numpad keys, tab, pause and backspace.
Suppressed unnecessary warnings for keys that are text-input.
2015-12-21 20:20:56 +05:30
Eugene Sandulenko
401518a3dc
WINTERMUTE: Proper place for pointer check
2015-11-27 22:57:23 +01:00
Eugene Sandulenko
48e048be8d
WINTERMUTE: More sanity checks
2015-11-27 22:54:13 +01:00
Einar Johan Trøan Sømåen
30b6682130
WINTERMUTE: Add detection for Oknytt v.1.13
...
Beware that the language-overriding breaks if english.dcp
still exists in the same folder as d_sounds.dcp
2015-11-08 17:14:17 +01:00
Einar Johan Trøan Sømåen
7292c47679
WINTERMUTE: Adjust detection of Five Magical Amulets
...
This should add proper detection of the Czech/English/Polish
versions of Five Magical Amulets
2015-11-08 16:55:07 +01:00
Eugene Sandulenko
e85cf8d54d
WINTERMUTE: C++'ify code
2015-11-07 14:41:45 +01:00
Torbjörn Andersson
b8caa07ddb
WINTERMUTE: Fix mismatched free/delete Valgrind warning
...
The memory stream class uses free() to free memory, so we have to
use malloc(), not new, to allocate it.
2015-11-04 21:19:42 +01:00
Willem Jan Palenstijn
c37997aaf8
WINTERMUTE: Remove unused function
...
It calls itself, and is declared pure virtual. Thanks salty-horse.
2015-10-24 22:19:10 +02:00
Willem Jan Palenstijn
d07de8ca70
WINTERMUTE: Fix typo
2015-07-12 18:50:22 +02:00
Einar Johan Trøan Sømåen
2fa47e2efd
Merge pull request #587 from jammm/scummvm_local
...
WINTERMUTE: Added mappings for VKeyCodes->ScummVM KeyCodes
2015-02-24 23:33:57 +01:00
jammm
320139760c
WINTERMUTE: Add mappings for VKeyCodes->ScummVM KeyCodes
...
Fix bug #6654 (white chamber - some keys don't work)
Wintermute games on ScummVM used ScummVM keycodes for keyboard mapping,
whereas the game scripts only accepted Windows VKeyCodes. Therefore an initial
set of mappings are added and the debug room is now loading properly, when
HOME is pressed (Rest of the keys need to be tested in-game)
2015-02-24 23:04:09 +05:30
jammm
6ca8d22fb1
WINTERMUTE: Fixed parentFolder name check when testing for "language"/"languages", Fix bug #6655 (Dead City - hotspot text issue)
...
Fixed Wintermute incorretly parsing folder names with trailing \
(Windows-only issue)
It seems that calling getParent returns trailing '\' which is absent on POSIX based file systems but not on Windows. This causes Wintermute to load outline_red2.font from russian.dcp, which is not desired. This is fixed by calling it->getName() directly, which returns the folder name (without the trailing '\').
2015-02-22 02:54:45 +05:30
Torbjörn Andersson
dfe04491c1
JANITORIAL: Remove unnecessary semicolons
2015-01-21 01:29:22 +01:00
Einar Johan Trøan Sømåen
784241c17b
Merge pull request #437 from tobiatesan/wme_subtitles
...
WME Subtitles
2014-11-05 20:22:34 +01:00
Tobia Tesan
9787fc5768
WINTERMUTE: Fix formatting in video_subtitler.h
2014-11-05 19:45:39 +01:00
Tobia Tesan
998da18c05
WINTERMUTE: Move var declarations inside loop in loadSubtitles
2014-11-05 19:42:17 +01:00
Tobia Tesan
2f082f6e43
WINTERMUTE: Remove redundant explicit call to Common::String constructor
2014-11-05 19:31:10 +01:00
Tobia Tesan
215ac157e6
WINTERMUTE: Declare vars inside appropriate block in loadSubtitles
2014-11-05 19:28:42 +01:00
Tobia Tesan
0a2c1a809f
WINTERMUTE: Keep _[show|current]Subtitle private in video_subtitler.h
2014-11-05 19:07:03 +01:00
Einar Johan Trøan Sømåen
ee876b56b2
WINTERMUTE: Add VK-translations for F1-F12 and HOME
2014-11-04 18:34:06 +01:00
Einar Johan Trøan Sømåen
2f868ae5b6
WINTERMUTE: Add detection for Bickadoodle 1.2 (Fixes bug 6735)
2014-11-04 18:08:20 +01:00
Einar Johan Trøan Sømåen
f1eb2513f0
WINTERMUTE: Use macros to simplify detection_tables.h
2014-11-04 17:52:37 +01:00
Tobia Tesan
b460323e58
WINTERMUTE: killAllSounds only if WME targetExecutable >= 1.8.6
...
This fixes #6647
2014-11-04 17:52:25 +01:00
Tobia Tesan
dfe465e26b
WINTERMUTE: Introduce WMEGameDescription
...
I aped what has been done with AGS: in engines/agi/detection.cpp, adding
a struct that includes ADGameDescription at the beginning.
This is also recommended in advancedDetector.h
2014-11-04 17:52:01 +01:00
Filippos Karapetis
50c1d5c3a1
WINTERMUTE: Remove trailing whitespace
2014-10-28 15:38:52 +02:00
Tobia Tesan
e12f30ed03
WINTERMUTE: Add a bunch of comments in loadSubtitles
2014-10-15 21:36:47 +02:00
Tobia Tesan
a4b9bc5877
WINTERMUTE: Rename a bunch of variabiles in loadSubtitles
2014-10-15 21:36:47 +02:00
Tobia Tesan
e9b722278e
WINTERMUTE: Declare and init size in one place in VideoSubtitler
2014-10-15 21:36:47 +02:00
Tobia Tesan
3cef639f91
WINTERMUTE: new char[str.size()+1] in BaseStringTable::expand
...
This makes room for the EOS char.
2014-10-15 21:36:47 +02:00
Tobia Tesan
d5ed8c29f1
WINTERMUTE: Turn _subtitles into Common::Array<SubtitleCard> in VideoSubtitler
...
This necessarily loses const in SubtitleCard's attributes
2014-10-15 21:36:47 +02:00
Tobia Tesan
2fc69d770c
WINTERMUTE: Initialize tokenSomething vars in VideoSubtitler
...
MSVC complains otherwise.
2014-10-15 21:36:47 +02:00
Tobia Tesan
c6930d9a64
WINTERMUTE: Use int32 for _lastSample in VideoSubtitler
...
We are thus making room for the sentinel == -1
2014-10-15 21:36:47 +02:00
Tobia Tesan
ebb48a1704
WINTERMUTE: s/delete array/delete[] array/
2014-10-15 21:36:47 +02:00
Tobia Tesan
f525514da5
WINTERMUTE: Use BaseGame->expandStringByStringTable(&Common::String) in SubtitleCard
2014-10-15 21:36:46 +02:00
Tobia Tesan
578edde66f
WINTERMUTE: Const'fy members of class SubtitleCard
2014-10-15 21:36:46 +02:00
Tobia Tesan
856e281bf1
WINTERMUTE: Remove useless constructor from SubtitleCard.
2014-10-15 21:36:46 +02:00
Tobia Tesan
5f25cf1bd7
WINTERMUTE: Don't bother inheriting BaseGame in SubtitleCard
2014-10-15 21:36:46 +02:00
Tobia Tesan
f1ae8e6e8d
WINTERMUTE: Introduce BaseGame->expandStringByStringTable(&Common::String)
2014-10-15 21:36:46 +02:00
Tobia Tesan
599390a5ad
WINTERMUTE: Lose unnecessary if() in VideoTheoraPlayer
2014-10-15 21:36:46 +02:00
Tobia Tesan
4742acf939
WINTERMUTE: Rename VideoTheoraPlayer->_subtitles to _foundSubtitles for clarity
2014-10-15 21:36:46 +02:00
Tobia Tesan
1a571d9611
WINTERMUTE: Avoid doing check before delete (deleting 0-pointer is safe)
2014-10-15 21:36:46 +02:00
Tobia Tesan
388fbdb6eb
WINTERMUTE: Rename VideoSubtitle to SubtitleCard
2014-10-15 21:36:46 +02:00
Tobia Tesan
dd820a7a1e
WINTERMUTE: Turn a bunch of uint into uint32 in VideoSubtitle
2014-10-15 21:36:46 +02:00