aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/script_pn.cpp
AgeCommit message (Collapse)Author
2013-08-23AGOS: Use Common::String for savegame filenamesWillem Jan Palenstijn
2013-08-23AGOS: Use Common::strlcpy() instead of strncpy()Torbjörn Andersson
As suggested by LordHoto.
2013-08-23AGOS: Use strncpy() instead of strcpy(). CID 1003679, 1003681Torbjörn Andersson
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2011-08-06AGOS: Reduced header dependencyEugene Sandulenko
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-10-15AGOS: Fixed code analysis warnings - bug #3087828Filippos Karapetis
svn-id: r53503
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
2009-12-01Removed unnecessary semi-colons.Torbjörn Andersson
svn-id: r46232
2009-08-12Enable Personal Nightmare by default.Travis Howell
svn-id: r43304
2009-08-12Fix building with specific games disabled in MSVC.Travis Howell
svn-id: r43294
2009-07-20AGOS: Fixed badload(); some whitespace cleanupMax Horn
svn-id: r42624
2009-07-19Change generic save game name.Travis Howell
svn-id: r42614
2009-07-18AGOS: Removed second setjmp in PN code (untested!)Max Horn
svn-id: r42593
2009-07-18AGOS: Get rid of one setjmp in PN code (needs testing)Max Horn
svn-id: r42592
2009-07-14AGOS: Some more cleanup and added some comments to the PN codeMax Horn
svn-id: r42494
2009-07-14AGOS: Fixed potential OOBA crash in AGOSEngine_PN::opn_opcode26Max Horn
svn-id: r42492
2009-07-14AGOS: Cleanup PN code a bit, trying to make sense out of itMax Horn
svn-id: r42491
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-14Fixed various GCC 4.2 warnings, among them an actual longstanding bug (3 ↵Max Horn
years :) in the quicktime midi code svn-id: r40577
2009-03-19Silenced some warnings about potentially uninitialized variablesFilippos Karapetis
svn-id: r39536
2009-03-09Changed _inputting & _inputReady from uint8 to bool.Travis Howell
svn-id: r39258
2009-03-09cleanup ;-)Max Horn
svn-id: r39254
2009-03-09Change Personal Nightmare support to optional, until setjmp/longjmp code is ↵Travis Howell
converted. svn-id: r39253
2009-03-09Add comment to getlong().Travis Howell
svn-id: r39252
2009-03-08Replace samewrd() function, with scumm_strnicmp.Travis Howell
svn-id: r39248
2009-03-08some cleanupMax Horn
svn-id: r39241
2009-03-08Clarify several errors messages.Travis Howell
svn-id: r39219
2009-03-08Don't attempt to load save game slot in PN, if no match found.Travis Howell
svn-id: r39218
2009-03-08Re-use save game slot, if the name matches, when saving in PN.Travis Howell
svn-id: r39217
2009-03-08Add initial support for Personal Nightmare.Travis Howell
Thanks to dreammaster for file decompression and icon decoding code. NOTE: setjmp/longjmp code will require conversion for portability. svn-id: r39216