aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
AgeCommit message (Collapse)Author
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
2014-12-30SWORD25: Change function names to use persist instead of serializeRichieSams
Same argument as in 97c35714ce3986b99848a780f6b195a63f8910b7. To match the rest of the SWORD25 code base
2014-12-30SWORD25: Add Pluto copyright message to new persistence codeRichieSams
Since the code is based off the Pluto code
2014-12-30SWORD25: Correct include guards to reflect the changes to the file namesRichieSams
2014-12-30SWORD25: Remove old lua persistence filesRichieSams
2014-12-30SWORD25: Fix how nils are persistedRichieSams
The unpersist code expects nils to be represented as an index with value 0. The persist code incorrectly wrote out this data
2014-12-30SWORD25: Rename double serialization file to better represent what it isRichieSams
AKA functions, rather than a class
2014-12-30SWORD25: Rename lua serialization functions to use 'persist' in order to ↵RichieSams
match the rest of the engine
2014-12-30SWORD25: Use new lua serialization functions to persist stateRichieSams
2014-12-30SWORD25: Update module.mk with lua serialization changesRichieSams
2014-12-30SWORD25: Move all lua serialization helper functions to their own fileRichieSams
2014-12-19SWORD25: Fix code formattingAdrian Astley
... with AStyle
2014-12-19SWORD25: Re-write the pluto unserializing function(s)Adrian Astley