aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
AgeCommit message (Collapse)Author
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
2008-07-08Shut couple of MSVC warningsEugene Sandulenko
svn-id: r32961
2008-07-07Some fixes for warnings under GCC 2.95Filippos Karapetis
svn-id: r32948
2008-07-01Fixed unitialized variablesMax Horn
svn-id: r32865
2008-06-18Renamed M4Surface::empty() to clear() (two reason: empty is not a verb, and ↵Max Horn
in class String it is used for a bool property) svn-id: r32733
2008-06-09Fixed warnings. (Mainly, GCC 4.3 doesn't want you to use "char" as an arrayTorbjörn Andersson
index. Probably because it's undefined whether or not it's signed.) svn-id: r32637
2008-05-26Formatting.Johannes Schickel
svn-id: r32285
2008-05-26Possible fix for bug #1949230: "M4: compilation error"Filippos Karapetis
svn-id: r32277
2008-05-14Fixed menu background loading in Riddle of Master LuFilippos Karapetis
svn-id: r32122
2008-05-06Allow static and dynamic plugins to be used at the same timeJordi Vilalta Prat
svn-id: r31888
2008-04-21Add detection of Orion Burger demos.Travis Howell
svn-id: r31643
2008-04-20Added information about spanish riddleJordi Vilalta Prat
svn-id: r31630
2008-04-20Cleanup.Johannes Schickel
svn-id: r31626
2008-04-20Implicit casts are causing problems for CodeWarrior compilers, added C casts.Lars Persson
svn-id: r31623
2008-04-20unlink function name causing conflicts. Renaming to unlinkItem.Lars Persson
svn-id: r31622
2008-04-20More compilation fixes by lordhotoFilippos Karapetis
svn-id: r31621