aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
AgeCommit message (Collapse)Author
2011-05-25SWORD25: Remove more unused loadlib code + use of fopenMax Horn
The functions loader_C and loader_Croot provably did not do anything besides returning an error, so removing them was safe. For loader_Lua, this was using luaL_loadfile. But that in turn now uses Sword25FileProxy, which only supports loading config.lua, and config.lua is not used via the loadlib mechanism. Therefore, I deemed it safe to also remove this third loader. This leaves loader_preload as only remaining loader. It is probably unused, too, but I did not both to investigate further, as I already achieved my primary goal (getting rid of fopen/fclose use). All other removed functions were unused due to the removal of the first three loader_* functions.
2011-05-24SWORD25: Remove unused Lua print stuffMax Horn
2011-05-23SWORD25: Remove obsolete FORBIDDEN_SYMBOL_ALLOW_ALL definesMax Horn
2011-05-23COMMON: Add exit() to list of forbidden symbolsMax Horn
2011-05-23SWORD25: Include scummsys.h from lua.h, partially deal with the consequencesMax Horn
This should help mark the spots that are still non-portable, just follow the FIXMEs.
2011-05-23SWORD25: Avoid including lua headers in other headersMax Horn
2011-05-23SWORD25: Replace some non-portable calls, add FIXMEsMax Horn
2011-05-23SWORD25: Fix Theora audio endianismAlyssa Milburn
2011-05-23SWORD25: Properly use Theora picture offset/dimensionsMatthew Hoops
2011-05-23SWORD25: Fix ambiguous typingMax Horn
2011-05-23SWORD25: Fix screenshot endianism issueAlyssa Milburn
2011-05-23SWORD25: De-hardcode target name in thumbnail codeAlyssa Milburn
This just uses the provided filename rather than trying to recreate it with a hard-coded target (causing crashes with other targets). (Also, add an error check rather then crashing there, just in case.)
2011-05-23SWORD25: Fix error string parameterAlyssa Milburn
2011-05-23SWORD25: Replaced accidental backslash in include filenamePaul Gilbert
2011-05-23SWORD25: Moved detection entries into detection_tables.hPaul Gilbert
2011-05-23SWORD25: Added detection entries for other languagesPaul Gilbert
This is needed now, since changing the language in-game updates the ScummVM language setting, and there must be a matching detection entry for each language.
2011-05-23SWORD25: Added proxy code for converting writing config.lua to update the ↵Paul Gilbert
ScummVM game settings
2011-05-23SWORD25: Created proxy class that presents ScumMVM settings as a valid ↵Paul Gilbert
config.lua file
2011-05-22ENGINES: Further unify engine namesThierry Crozat
2011-05-20SWORD25: Don't assume that all locales use decimal pointeriktorbjorn
The trydecpoint() function *is* used, though probably only in countries which don't use a decimal point. We can't use the ISO C locale functions here because they're not fully implemented on some platforms, e.g. Android. Hopefully this method will work.
2011-05-20SWORD25: Re-implement two LUA library I/O functions necessary for detecting ↵Paul Gilbert
and creating the config.lua configuration file
2011-05-19SWORD25: Fix to properly signal when movie playback has endedPaul Gilbert
2011-05-18SWORD25: Implement TheoraDecoder::pauseVideoIntern()Matthew Hoops
2011-05-18SWORD25: Properly use endOfVideo()Matthew Hoops
2011-05-18SWORD25: Make Theora handle the case when the packet eos is not setMatthew Hoops
2011-05-18GRAPHICS: Add a YUV to RGB table lookup for use with TheoraMatthew Hoops
Based on the video/mpeg_player.* one, which is based on lots of other things (too many to name, go see the file)
2011-05-18SWORD25: Fix a/v sync with using the TheoraDecoder standaloneMatthew Hoops
Hopefully should fix a/v sync from in-game. If not, the engine needs to be changed slightly
2011-05-17SWORD25: Name the random sourceMax Horn
2011-05-16ENGINES: Unify engine namesThierry Crozat
This unifies the engine names in MetaEngine::getName() and the credits. In particular drop "Engine" or "engine" from the names when it was present and use expanded names in credits when the MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-15SWORD25 (LUA): Removed unused non-portable locale codemd5
2011-05-15SWORD25 (LUA): Clarified the use of os_remove()md5
2011-05-15SWORD25: Begin fixing the TheoraDecoder implementationMatthew Hoops
getFrameRate() and endOfVideo() have been fixed so it can be used as a standalone decoder. a/v sync still needs to be fixed
2011-05-14SWORD25: Fix format string warning.eriktorbjorn
2011-05-14SWORD25 (LUA): Disabled a lot of non-portable LUA functionsmd5
sword25 doesn't use these (thankfully)
2011-05-14SWORD25 (LUA): Some compilation optimizationsmd5
For Android, define stroll() inside luaconf.h For PS2, don't use the visibility attribute, as the PS2 gcc isn't particularly happy about it...
2011-05-13SWORD25: Stop linking directly against zlib.md5
Also, don't compress game data in newer saves, as the whole saved game is compressed anyway
2011-05-13SWORD25: Fix compilation when libvorbis is not presentmd5
2011-05-13SWORD25 (LUA): Whitespace fixesmd5
2011-05-13SWORD25 (LUA): Hopefully fixed compilation for the Android platformmd5
2011-05-13SWORD25: Added a version field for savegame thumbnailsmd5
2011-05-13SWORD25: Replaced the PNG thumbnail encoding code, used in saved gamesmd5
- Savegame thumbnails are now created using a flat image format, instead of PNG. This allows us to remove the PNG encoding code used in the engine. Note that the saved games we create cannot be used with the original engine anyway, so this change does not break savegame compatibility with the original game (it's already broken). - Compatibility is preserved with older saved games that were made with ScummVM. - Moved the embedded thumbnail reading code out of the PNG loader class, to stop it from needlessly checking every PNG file. - With this change, libpng is no longer required for the sword25 engine
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-05SWORD25: Disabled code which isn't necessary with our PNG decodermd5
2011-05-05SWORD25: Moved the thumbnail handling code to its appropriate placemd5
PNGLoader is able to load images embedded in saved games already. This helps remove some duplicate code
2011-05-05SWORD25: Marked more functions as unusedmd5
2011-05-05SWORD25: Remove thumbnails from the cache when saving a new gamemd5
2011-05-05SWORD25: Fixed the thumbnail creation code, and removed a hackmd5
2011-05-05SWORD25: Initial code for showing savegame thumbnailsmd5
There is currently a bug and only the thumbnail of the first save slot is shown
2011-05-05SWORD25: Removed the saved game filename from the savegame meta info structmd5
2011-05-05SWORD25: Added some FIXMEs in the save game and thumbnail codemd5
Also, translated some comments