aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
AgeCommit message (Collapse)Author
2009-11-15Added display of the rotating inventory objectsPaul Gilbert
svn-id: r45912
2009-11-15Added support for needed MADS game configuration optionsPaul Gilbert
svn-id: r45911
2009-11-12Added a staticres file with the MADS articles list, and added an article ↵Paul Gilbert
field to the MADSObject class svn-id: r45856
2009-11-11Comment out unused variable.Johannes Schickel
svn-id: r45833
2009-11-11Beginnings of support for AA file animations. The mads_anim.cpp commit is ↵Paul Gilbert
part of this, not the previous commit svn-id: r45828
2009-11-11Removed all the '- 1' from calls to get vocabs, centralising it in the ↵Paul Gilbert
getVocab method. This is correct, as the first element in the game vocab list is '1', not '0'. svn-id: r45827
2009-11-10Missing template argument for MIN (added <uint>)Lars Persson
svn-id: r45803
2009-11-04Added support for loading the game's object listPaul Gilbert
svn-id: r45651
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-18Introduced new type Common::DisposeAfterUse::FlagMax Horn
svn-id: r45233
2009-10-01Reworked of code line in changeExtension that was giving a cppcheck warningPaul Gilbert
svn-id: r44517
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-09-24Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings ↵Filippos Karapetis
and issues in compilers which don't support NORETURN svn-id: r44314
2009-09-24Fixed some more warnings about unreachable codeFilippos Karapetis
svn-id: r44300
2009-09-23Got rid of Common::File::addDefaultDirectory, instead implemented the ↵Johannes Schickel
solution proposed in "Case agnostic handling for directories (and files)" on -devel. svn-id: r44266
2009-09-11Fix compile of M4 game engine.Travis Howell
svn-id: r44028
2009-09-11M4: Seems that s1_cos and s1_sin are either misnamed, or buggy ?Max Horn
svn-id: r44026
2009-09-11Don't abuse FORCEINLINEMax Horn
svn-id: r44025
2009-09-03Fix a new/free mismatch when creating a MemoryReadStream from a ↵Matthew Hoops
MemoryWriteStreamDynamic by changing MemoryWriteStreamDynamic to use malloc/free instead of new/delete[]. This could have affected ScummEngine_v4::prepareSavegame(). svn-id: r43918
2009-08-24Add comment why the syntax for ScriptDataCache::load was changed.Johannes Schickel
svn-id: r43694
2009-08-24Small syntax change in the hope to make the motoezx target happy.Johannes Schickel
svn-id: r43692
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-06-06Added game GUI options to advancedDetector and updated all enginesEugene Sandulenko
svn-id: r41272
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-03-29Added missing parenthesis in M4Engine::delayPaul Gilbert
svn-id: r39733
2009-03-20silenced some warningsMax Horn
svn-id: r39566
2009-03-09Rewrote Common::List iterator code to ensure const correctness is preserved.Max Horn
We tried to implement the list iterators in a clever way, to reduce code duplication. But this is essentially impossible to do properly, sadly -- this is one of the places where the ugly drawbacks of C++ really show. As a consequence, our implementation had a bug which allowed one to convert any const_iterator to an iterator, thus allowing modifying elements of const lists. This rewrite reintroduces code duplication but at least ensures that no const list is written to accidentally. Also fix some places which incorrectly used iterator instead of const_iterator or (in the kyra code) accidentally wrote into a const list. svn-id: r39279
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-03-05Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match ↵Jordi Vilalta Prat
the meaning of the returned string, as discussed some time ago in scummvm-devel svn-id: r39132
2009-03-01Engines: Fused several init&go methods into a single run methodMax Horn
svn-id: r39003
2009-03-01Merged Engine::go() and ::init() into a new run() method (currently ↵Max Horn
implemented by calling the existing init&go methods; to be cleaned up by engine authors svn-id: r39002
2009-02-21Added MD5 for Orion Burger Russian versionPaul Gilbert
svn-id: r38769
2009-01-30Renamed SpecialDebugLevel to DebugChannelMax Horn
svn-id: r36142
2009-01-29Moved AdvancedDetector from common/ to engines/Max Horn
svn-id: r36132
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-21Fix warnings.Travis Howell
svn-id: r35463
2008-12-03Simplify line reading with the simpler readLine(), instead of readLine_NEWFilippos Karapetis
svn-id: r35217
2008-12-03readLine_OLD -> readLine_NEWFilippos Karapetis
svn-id: r35212
2008-11-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-10-12Don't call Common::List::size() if you don't have to (it's an expensive ↵Max Horn
operation, which has to iterate the whole List, while empty() works in constant time) svn-id: r34786
2008-10-02Merged loadHotSpotsMads() and loadHotSpotsM4()Filippos Karapetis
svn-id: r34726
2008-09-14Big patch changing semantics of ReadStream::eos():Willem Jan Palenstijn
eos() now only returns true _after_ trying to read past the end of the stream. This has a large potential for regressions. Please test! svn-id: r34549
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-09-07Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an ↵Max Horn
FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation svn-id: r34434
2008-09-07added two FIXMEs to M4 -- somehow, adding two subdirs of CWD named ↵Max Horn
'goodstuf' and 'resource' to the list of default dirs doesn't sound very sensible to me ;) svn-id: r34426
2008-09-06Got rid of File::eof()Max Horn
svn-id: r34396
2008-09-03Renamed SeekableReadStream::readLine to SeekableReadStream::readLine_OLD; ↵Max Horn
added a new alternate SeekableReadStream::readLine() instead svn-id: r34315
2008-07-08One more MSVC warningEugene Sandulenko
svn-id: r32964