aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
AgeCommit message (Collapse)Author
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]*$//'
2011-06-14DETECTOR: Remove PlainGameDescriptorGUIOptsMax Horn
2011-06-14SWORD1: Cleanup music stream initializationMax Horn
2011-06-14SWORD1: Replace some sprintf usesMax Horn
2011-06-13I18N: Make many more GUI MessageDialog strings translatableThierry Crozat
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-06-02SWORD1: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-05-25ALL: armour -> armorMatthew Hoops
2011-05-25ALL: neighbour -> neighborMatthew Hoops
2011-05-22ENGINES: Further unify engine namesThierry Crozat
2011-05-17SWORD1: Const correctness, code cleanup & simplificationMax Horn
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
2011-04-14ALL: colour -> colorMax Horn
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-03-19SWORD1: Cleanup syncSoundSettings()dhewg
2011-03-13SWORD1: Don't set the same cursor on every framedhewg
Removes unnecessary overhead on the backend when the cursor has just one frame.