aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
AgeCommit message (Collapse)Author
2016-06-08SWORD25: Use # as savefile matching patternEugene Sandulenko
2016-05-22SWORD25: Fix signed/unsigned warningFilippos Karapetis
2016-05-17ALL: Change main engine header guard defines to <directory>_<engine>_HEugene Sandulenko
Recently we started to use this as new semantics, although in the past we used simly <engine>_H. Now these guard defines are consistent with rest of the files which are used in the engines.
2016-05-06SWORD25: Bail out instead of silently leaving the object in incosistent stateEugene Sandulenko
2016-05-06SWORD25: Translate couple of commentsEugene Sandulenko
2016-05-06SWORD25: Fix class initializationEugene Sandulenko
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2016-03-14SWORD25: Fix frozen/flickering title menu movieottogin
Fixes bug #6978: Unload old movie before loading a new one
2016-03-09Merge pull request #699 from criezy/sword25-en-speechEugene Sandulenko
SWORD25: Add engine option to use English speech instead of German
2016-03-09SWORD25: Fix error after changing language in-game with the data file ↵Thierry Crozat
distributed by ScummVM Changing the language in-game causes the language to be set for the target in the scummvm.ini file. Then the next time we try to start the engine, if was causing an error (Sword25 failed to instantiate engine: Game data not found) because there was no match for the path and language in the detection table. Setting the language to Unknown in the detection table for this multilingual data file fixes the issue.
2016-03-09SWORD25: Add engine option to use English speech instead of GermanThierry Crozat
When selecting non-English language, the scripts default to using German voices. This commit edits the file path on the fly to use instead English voices for all languages other than German. This implements bug #6804 - SWORD25: add option to choose language speech. If the English voice pack is not present it falls back to using German voices. The way this is implemented here however does not allow to use German voices with English text or English voices with German text. This could be achieved with a slightly different implementation of the same idea.
2016-03-08ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.Johannes Schickel
_singleid -> _singleId _gameids -> _gameIds _guioptions -> _guiOptions
2016-03-06Merge pull request #689 from Tkachov/masterEugene Sandulenko
SWORD25: Fix "Resource not released" warnings
2016-03-05CONFIGURE: Introduced new engine dependency: highresEugene Sandulenko
Some backends like GCW0 do no support graphics >320x240 due to the hardware limitation (downscaling is possible but it will ruin the pixel hunting which is often part of the gameplay). Instead of manually updating the list of engines, we now introduce a new dependency. I marked all relevant engines, but some, like tinsel, require more work with putting their relevant high-res games under USE_HIGHRES define.
2016-03-04SWORD25: Fixed "Resource not released" warnings [GSoC]Tkachov
(Look https://sourceforge.net/p/scummvm/bugs/6980/) The warning messages were appearing because when PRECACHE_RESOURCES is not defined, ResourceManager's `requestResource()` was used to manually "cache" them. When you do that, ResourceManager "locks" the resource once, so you must `release()` it later. Resources were not released, and warnings appeared. When you `release()` resource, it still is loaded ("cached"). Resource's `getLockCount()` is 0, though, so it might be unloaded by ResourceManager if there is a lot of resources.
2016-02-28SWORD25: Remove ADGF_TESTING from Broken Sword 2.5Kirben
2016-02-21SWORD25: Fix bug #6981: High CPU usage on one coreEugene Sandulenko
The game loop is implemented in Lua, and there are no delays. Now we wait 10ms on each event pulling, as we always do.
2016-02-19SWORD25: Fixing bug #7041: SWORD25: Crash in final sceneEugene Sandulenko
The original was ignoring Lua errors in that scene and was restoring the state with longjmp. We are yet to see the platform compatibility, but Lua's code is too tangled to make simple replacement with error() work. Another possible alternative would be to rework the original game scripts. We will do it if this commit is problematic.
2016-02-15JANITORIAL: Typos detected with lintian & grepAlexandre Detiste
2016-02-02SWORD25: Remove now unused functionWillem Jan Palenstijn
2016-02-02SWORD25: Use more appropriate function for growing the stackWillem Jan Palenstijn
The call to lua_growstack in unpersistThread would unconditionally at least double the size of the stack. This caused memory usage to grow exponentially (literally) with the number of serialized threads. Bugs #6977, #6999.
2015-12-14SWORD25: Make #include follow our conventions.Johannes Schickel
2015-12-14SWORD25: Call requested pixel format by its correct name.Johannes Schickel
2015-12-14SWORD25: Cleanup.Johannes Schickel
2015-12-14SWORD25: Fix uninitialized variable usage.Johannes Schickel
When using the constructor of Panel which directly calls unpersist _color was uninitialized. However, unpersit uses setColor which assumes _color is initialized properly. Caused valgrind warnings when loading.
2015-12-14SWORD25: Plug memory leak in RenderedImage.Johannes Schickel
2015-12-14SWORD25: Let ImgLoader write into Graphics::Surface.Johannes Schickel
2015-12-09SWORD25: Fix typoJakub Wilk
2015-12-06SWORD25: Build engine by defaultStrangerke
2015-12-04SWORD25: Mark Sword 2.5 as testingEugene Sandulenko
2015-11-30SWORD25: Remove unused class variableEugene Sandulenko
2015-11-30SWORD25: Init variablesEugene Sandulenko
2015-11-19SWORD25: Added Ultimate version detectionEugene Sandulenko
2015-11-19SWORD25: Fix Hungarian version supportEugene Sandulenko
2015-11-18SWORD25: Fix tint colorEugene Sandulenko
2015-11-18SWORD25: Implement missing SWF opcodeEugene Sandulenko
2015-11-17SWORD25: Translate commentsEugene Sandulenko
2015-11-17SWORD25: Fix text renderingEugene Sandulenko
2015-11-13SWORD25: Fix comment translationWillem Jan Palenstijn
2015-11-13SWORD25: Fixing typo of typo. This time for realEugene Sandulenko
2015-11-13SWORD25: Fix typoEugene Sandulenko
2015-11-13SWORD25: Translate commentsEugene Sandulenko
2015-11-13SWORD25: Fix thumbnail generation and make it portableEugene Sandulenko
2015-05-03SWORD25: Draw next movie frame only when an update is neededChristian Krause
This fixes the problem that the movies are played too fast and get out of sync with additionally played speech samples.
2015-04-11SWORD25: Use fabs for absolute value of doublesMatthew Hoops
2015-01-07SWORD25: Remove unused codeRichieSams
The original idea was to keep the code variation and pick the best one. However, these two methods we're portable enough for our needs.
2015-01-04SWORD25: Commend unused and unportable functionsEugene Sandulenko
2015-01-04SWORD25: Hopefully fix compilation errorsEugene Sandulenko
2015-01-04SWORD25: Fix warningEugene Sandulenko
2014-12-30SWORD25: Remove the option to persist a double as a stringRichieSams
Since the current method *should* be more accurate