aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
AgeCommit message (Collapse)Author
2013-04-24SWORD1: Error our in case the resource handle is not found in lockScriptThierry Crozat
This should never happen, so as per wjp suggestion makes this an error.
2013-04-24SWORD1: Avoid possible dereferencing of a null pointerThierry Crozat
CID 1003605
2013-04-22SWORD1: Remove dead codeWillem Jan Palenstijn
2013-04-18ENGINES: Silence clang warning about unused private member _vmMax Horn
This affects the Console / debugger classes of multiple engines. An alternative solution would have been to remove the unused _vm member vars. However, it seems likely that in the future, the _vm member could be useful for methods added to the console. So instead, we add a simple assert(_vm) to silence the clang warning.
2012-11-07SWORD1: Fix bug #3049346 - "BS1: Detects games in wrong places"Filippos Karapetis
We no longer detect the sword1 files inside the "clusters" folder
2012-10-06SWORD1: Enable American ("Circle of Blood") panelTorbjörn Andersson
If the language is explicitly set to American English, use the American version of the panel for the main control panel. In all other aspects, American English will behave as British English, so it shouldn't break anything.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-08-26Merge pull request #268 from clone2727/video-rewriteMatthew Hoops
VideoDecoder upgrade & partial rewrite
2012-08-16VIDEO: Merge AdvancedVideoDecoder into VideoDecoderMatthew Hoops
2012-08-16VIDEO: Remove setSystemPalette()Matthew Hoops
2012-07-25SWORD1: Fix delete[] formatting.Johannes Schickel
2012-07-24VIDEO: Convert DXADecoder to the AdvancedVideoDecoder APIMatthew Hoops
2012-07-23VIDEO: Rewrite SmackerDecoder to use the new APIMatthew Hoops
2012-07-21VIDEO: Move PSXStreamDecoder to the new VideoDecoder APIMatthew Hoops
2012-07-03SWORD1: Slight cleanup in querySaveMetaInfos.Johannes Schickel
2012-06-26SWORD1: Add source of the translations for the missing subtitlesThierry Crozat
This adds a few comment to explain were the translations come from for the missing subtitle workaround (and give credits were they are due).
2012-06-26SWORD1: Add workaround for missing subtitles in the demoThierry Crozat
2012-06-24SWORD1: Add warning for untranslated subtitlesThierry Crozat
This should help adding workarounds for those by providing all the needed information (textId and english text).
2012-06-16SWORD1: Get rid of casts on OSystem::copyRectToScreen calls.Johannes Schickel
2012-06-05SWORD1: Use _missingSubTitleStr when asking for an out of bound textIdThierry Crozat
It was using textId 0, which is not the subtitle we want anyway. So instead of using the wrong subtitle, it is probably better to not display a subtitle at all. A test case for this is with the demo when using non-english language as several subtitles are missing toward the end.
2012-06-05SWORD1: Fix crash in demo when using French subtitlesThierry Crozat
2012-05-12VIDEO: Change getElapsedTime() into getTime()Matthew Hoops
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-02-26COMMON: Move RenderMode and GUIOptions functionality into separate filesMax Horn
2012-02-23Merge pull request #171 from clone2727/psx-stream-2Willem Jan Palenstijn
This is a manual merge based on clone2727's merge of his branch with the sword1 subtitle changes on master.
2012-02-23SWORD1: Add some TODO's for PSX stream subtitlesMatthew Hoops
And some other minor cleanup
2012-02-23SWORD1: Add support for the PSX demo videosMatthew Hoops
2012-02-23VIDEO: Make PSX streams calculate frame timing solely from CD speedMatthew Hoops
BS2 videos now play at the proper rate and BS1 videos have improved a/v sync.
2012-02-23SWORD1: Add support for PSX stream playbackMatthew Hoops
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2012-02-13SWORD1: Silence some MSVC warnings (conversion from double to float)Filippos Karapetis
2012-01-18SWORD1: Do not look for color indexes in cutscenes when there is no subtitlesThierry Crozat
2012-01-18SWORD1: Use color for subtitles during cutsceneThierry Crozat
During the game, different colors are used for subtitles depending which character is speaking. This commit tries to use the same colors for the cutscene subtitles. The color to use has to be specified in the subtitle file between the frame end and the start of text using @1, @2, @3 or @4 (for George, George as a narrator, Nicole and Maguire respectively).
2011-11-08SWORD1: Fix bug #3431552 ("Wrong background sound in Windows demo")Torbjörn Andersson
This is a slightly updated version of the patch I attached to the bug report. Apparently, the DOS/Windows demo has a slightly different set of sound resources than the full game. (There were also some other minor differences in the sound effects list, but I didn't think them worth the trouble to implement.) I've played through the demo, and I didn't notice any problems.
2011-10-31SWORD1: Fix bug #3430793 Freeze before meeting with policeThierry Crozat
2011-10-27SWORD1: Fix crash when using cutscene subtitles with mac versionThierry Crozat
It might have been simpler to add a bool to Text::makeTextSprite() to tell it to not byteswap the frame size when called from the movie player but I was not sure it was a good idea to have frames with different endianness stored in Text depending where they came from.
2011-10-24SWORD1: Re-add GUIO_NOASPECT to Sword1, as it was erroneously removed.Strangerke
Sorry for the noise...
2011-10-24SWORD1: After discussion with clone2727 and eriktorbjorn, remove ↵Strangerke
GUIO_NOASPECT from Sword1
2011-10-24SWORD1: Add GUIO_NOASPECT to Sword1Strangerke
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-09-08SWORD1: Replace inRange with CLIP.Johannes Schickel
2011-09-08SWORD1: Made some static data const.Johannes Schickel
2011-09-07SWORD1: Made code conform a bit better to our formatting guidelines.Johannes Schickel
Most is automatically converted via astyle + some manual fixes, hopefully I did not miss anything astyle messed up...
2011-08-25SWORD1: Let the XA audio use its own loopingMatthew Hoops
2011-08-24AUDIO: Remove default rate parameter from xaMatthew Hoops
2011-08-24AUDIO: Rename Vag to XAMatthew Hoops
Vag is really an XA container, and one that we do not have a decoder for (nor need)
2011-08-07GRAPHICS: Simplify the interface of Graphics::loadThumbnail().Christoph Mallon
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'