aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/converse.cpp
AgeCommit message (Collapse)Author
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.
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-18M4: Do not use Common::SubReadStream where ReadStream sufficesMax Horn
svn-id: r54342
2010-11-03M4: Changed debug calls to debugCN since they all have newlinesPaul Gilbert
svn-id: r54047
2010-11-02M4: Convert last few printfs to debugMax Horn
svn-id: r54039
2010-11-02M4: Converted all printf's to debugPaul Gilbert
svn-id: r54035
2010-10-15M4: Fixed code analysis warnings - bug #3087845Filippos Karapetis
svn-id: r53500
2010-07-14The new buffer has to be one byte longer than the length of the 'buffer'Torbjörn Andersson
string. (Error spotted by cppcheck.) Also, there's no need to use sprintf() where a strcpy() will do just as well. (It's tempting, but probably not appropriate, to use strdup(). I'm guessing the buffer *has* to be allocated with 'new'.) svn-id: r50872
2010-05-25Changed the font system to allow for multiple fonts to be loaded simultaneouslyPaul Gilbert
svn-id: r49209
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-01-31Further work on separating the scene logic for MADS and M4Paul Gilbert
svn-id: r47732
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
2009-12-20Changed the M4 event handler to encode the keyboard flags into KEVENT_KEY eventsPaul Gilbert
svn-id: r46424
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
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-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-07-08Shut couple of MSVC warningsEugene Sandulenko
svn-id: r32961
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-04-20Removed unused variables.Torbjörn Andersson
svn-id: r31608
2008-04-20Initial import of the work in progress M4 engineFilippos Karapetis
svn-id: r31600