aboutsummaryrefslogtreecommitdiff
path: root/engines/made/resource.cpp
AgeCommit message (Collapse)Author
2015-01-27MADE: Initialize some more variables, remove an useless variableStrangerke
2014-07-11MADE: Error out when a blocks file fails to openMatthew Hoops
2014-02-18MADE: Make GPL headers consistent in themselves.Johannes Schickel
2011-10-09MADE: Minimize #include usage.Johannes Schickel
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17MADE: Prefer Surface::create taking a PixelFormat over the one taking a byte ↵Johannes Schickel
depth.
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-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-02MADE Remove now redundant fflush callMax Horn
svn-id: r54036
2010-07-16Cleanup.Torbjörn Andersson
svn-id: r50950
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492
2010-01-19Started to get rid of Audio::FLAG_LOOPMax Horn
svn-id: r47397
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
2010-01-19Get rid of Mixer::FLAG_AUTOFREE.Max Horn
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369
2010-01-19Move raw audio streams to new header sound/raw.hMax Horn
svn-id: r47368
2010-01-19Rename 'Linear' audio streams to 'raw'Max Horn
svn-id: r47367
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-10-06Fix regression introduced by r44459; LGoP2 crashed after Infocom logoBenjamin Haisch
svn-id: r44688
2009-10-04Applied patch #2872409 "MADE engine fixes" by agent-q, with one small ↵Filippos Karapetis
modification (initialized _soundStarted in the ScriptFunctions constructor) svn-id: r44589
2009-09-29Fixed bug #2868938Benjamin Haisch
svn-id: r44459
2009-08-23Fix bug #2843050 (RTZ: Crash to desktop with demo). Don't assert out when a ↵Matthew Hoops
resource slot can't be found. svn-id: r43676
2009-05-31MADE: cleanupMax Horn
svn-id: r41070
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-01-25- Implemented sound decompression for Manhole EGABenjamin Haisch
svn-id: r36048
2009-01-22Silenced MSVC warningsFilippos Karapetis
svn-id: r36002
2009-01-22Fix warningMax Horn
svn-id: r36000
2009-01-22- Added support for The Manhole EGA versionBenjamin Haisch
- Support for 'chunked' picture resources and EGA pictures - Improved the mouth sync in RtZ (still not perfect, though) - Removed obsolete TODOs - Fixed sfPlayMovie to return if the movie playback was aborted or not; this is used by RtZ to determine if it should display the credits screen after the intro movie svn-id: r35997
2009-01-16- Removed _gameVersion, engine versions are set in the game detection ↵Filippos Karapetis
entries now - Renamed ProjectReader -> ResourceReader - Added some WIP code for the EGA version of the Manhole (still not working/disabled) - The resource reader now closes the files it has opened correctly when it's deleted svn-id: r35877
2009-01-13Reworked the sound energy codeBenjamin Haisch
svn-id: r35845
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-05-26Fixed graphics decoding bug in Manhole: N&EBenjamin Haisch
svn-id: r32281
2008-05-20Delete animation frames in AnimationResource destructor.Benjamin Haisch
svn-id: r32201
2008-05-09- Fixed a bug which sometimes caused crashes when ↵Benjamin Haisch
ProjectReader::purgeCache() was called - Some cleanup svn-id: r31961
2008-05-05- Renamed XmidiResource to GenericResourceBenjamin Haisch
- Added MIDI resource type - Added ScriptFunctionsLgop2 and ScriptFunctionsMhne (for Leather Goddesses of Phobos 2 and The Manhole: New and Enhanced, resp.) - Many changes for LGOP2 and The Manhole: N&E Note about the new ScriptFunctions classes: I copied the ScriptFunctionsRtz class and so duplicated a lot of code. Most of the opcode functions are the same in all games but there might be differences. Once all common opcode functions have been figured out, they'll be moved to a common place (like the ScriptFunctions class). svn-id: r31871
2008-04-28Implemented text drawing and cleanup.Benjamin Haisch
svn-id: r31756
2008-04-25Added FontResource typeBenjamin Haisch
svn-id: r31717
2008-04-24Some initial code for font loadingFilippos Karapetis
Implemented opcode o1_LOADANIM svn-id: r31698
2008-04-23Added (early) midi player code.Benjamin Haisch
Added "screen flash" effect. Implemented opcodes: - o1_PLAYMUS - o1_STOPMUS - o1_ISMUS - o1_FLASH - o1_LOADSND - o1_LOADMUS svn-id: r31682
2008-04-23Fixed signed/unsigned warning.Torbjörn Andersson
svn-id: r31677
2008-04-23Fixed palette issues when showing the inventory and the menu.Benjamin Haisch
Moved drawing code from drawFlex/drawAnimFrame to drawSurface. Implemented opcodes: - o1_VISUALFX - o1_SCREENLOCK - o1_SETTIMER - o1_SETGROUND - o1_SETCLIP - o1_SETEXCLUDE svn-id: r31675
2008-04-23In-game sound effects and voices should be working correctly now.Filippos Karapetis
Implemented the following opcodes: - o1_PLAYSND - o1_ISSND - o1_STOPSND - o1_PLAYVOICE - o1_SOUNDRATE - o1_SETVOLUME svn-id: r31666
2008-04-21Some palette related fixesFilippos Karapetis
svn-id: r31650
2008-04-20Compilation fixes by lordhotoFilippos Karapetis
svn-id: r31619
2008-04-20Changed spaces to tabs.Torbjörn Andersson
svn-id: r31610