aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
AgeCommit message (Collapse)Author
2010-03-23Added further code for the game dialog frameworkPaul Gilbert
svn-id: r48368
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-21Fix shadow member of this warnings of gcc.Johannes Schickel
svn-id: r48355
2010-03-21Added framework for displaying game dialogsPaul Gilbert
svn-id: r48353
2010-03-19Beginnings of hooking up the new logic for current action displayPaul Gilbert
svn-id: r48298
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-03-16Further code implemented for the current action displayPaul Gilbert
svn-id: r48266
2010-03-14Further separation of MADS and M4 scene logicPaul Gilbert
svn-id: r48257
2010-03-14Further work on separating M4 specific scene code into the m4_scene.cpp filePaul Gilbert
svn-id: r48256
2010-03-10Split up the SceneResources class into a generic common set, with specific ↵Paul Gilbert
versions each for M4 and Mads, and merged the MadsSceneInfo data into it svn-id: r48223
2010-03-10Silenced some harmless cppcheck warnings about unreachable code after a return.Torbjörn Andersson
In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218
2010-03-07Split up the scene.cpp file into separate files for M4 and MADS specific ↵Paul Gilbert
scene code and support classes. Also have started adding code for textual display and proper current action display svn-id: r48172
2010-02-28Fix gcc warning.Johannes Schickel
svn-id: r48151
2010-02-28Implemented loading of the Rex Nebular walkable areasPaul Gilbert
svn-id: r48150
2010-02-27Beginnings of code for scene info loadingPaul Gilbert
svn-id: r48143
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-02-21Implemented some of the sprite animations loading logic for the first scene ↵Paul Gilbert
(no display yet) svn-id: r48099
2010-02-17Implemented player sprite loading portion of scene enter codePaul Gilbert
svn-id: r48076
2010-02-13Added the beginnings of scene set-up logicPaul Gilbert
svn-id: r48039
2010-02-13Added command variation for dumping quotes and vocabPaul Gilbert
svn-id: r48038
2010-02-10Fix warningWillem Jan Palenstijn
svn-id: r48031
2010-02-10Separated scene info console method between M4 and MADS classes, and cleaned ↵Paul Gilbert
up the message method svn-id: r48030
2010-02-10Bugfix for crash when view gets focus based on a key eventPaul Gilbert
svn-id: r48029
2010-01-31Formatting corrections to conform to ScummVM formatting guidelinesPaul Gilbert
svn-id: r47733
2010-01-31Further work on separating the scene logic for MADS and M4Paul Gilbert
svn-id: r47732
2010-01-30Worked on separating scene logic into separate classes for M4 and MADSPaul Gilbert
svn-id: r47728
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-30Beginnings of a separation of the MADS and M4 engines into separate classes. ↵Paul Gilbert
This will be cleaner then having checks everywhere for whether the game mode is MADS or M4. svn-id: r47705
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-22Silenced some more cppcheck warnings. Some of these may seem silly, but the wayTorbjörn Andersson
I figure it the changes are harmless at worst, and making them will make it easier to find real errors in the (still quite long) list of warnings. svn-id: r47443
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-19Fixed some cppcheck warnings.Torbjörn Andersson
svn-id: r47393
2010-01-19Remove loop start/end params from Mixer::playRaw; convert some code from ↵Max Horn
Mixer::playRaw to Mixer::playInputStream svn-id: r47375
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-16cleanupMax Horn
svn-id: r47333
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ company. Check this for reference: http://en.wikipedia.org/wiki/Ad_Lib,_Inc. http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card) This commit does not touch "adlib" and "ADLIB" uses! Also it does not update all the SCUMM detection entries, which still use "Adlib". svn-id: r47279
2010-01-08Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵Max Horn
header common/types.h svn-id: r47180
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-12-20Started implementation of the original game's cheat modePaul Gilbert
svn-id: r46425
2009-12-20Changed the M4 event handler to encode the keyboard flags into KEVENT_KEY eventsPaul Gilbert
svn-id: r46424
2009-12-19Further implementation of dialog/message script languagePaul Gilbert
svn-id: r46418
2009-12-19Added an extra assertPaul Gilbert
svn-id: r46417
2009-12-17Implemented basic message parsingPaul Gilbert
svn-id: r46402
2009-12-12Implemented the rendering section of dialog displayPaul Gilbert
svn-id: r46338
2009-12-11Renamed line() to drawLine() to silence warning about function parameters inTorbjörn Andersson
dialogs.cpp shadowing it. Actually, the function doesn't seem to be used anywhere at the moment, but perhaps someone has future plans for it? svn-id: r46331
2009-12-11Beginnings of a dialog display classPaul Gilbert
svn-id: r46330