aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/converse.cpp
AgeCommit message (Collapse)Author
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