aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/resman.cpp
AgeCommit message (Collapse)Author
2017-08-06SWORD1: Silence GCC warning about potential overflowTorbjörn Andersson
Probably doesn't ever happen, but now 'fileName' is as large as it needs to be if 'label' is as long as it can be.
2016-05-14SWORD1: Remove redundant check.Eugene Sandulenko
We're doing assert() in the same function.
2014-02-18SWORD1: Make GPL headers consistent in themselves.Johannes Schickel
2013-04-24SWORD1: Error our in case the resource handle is not found in lockScriptThierry Crozat
This should never happen, so as per wjp suggestion makes this an error.
2013-04-24SWORD1: Avoid possible dereferencing of a null pointerThierry Crozat
CID 1003605
2011-09-07SWORD1: Made code conform a bit better to our formatting guidelines.Johannes Schickel
Most is automatically converted via astyle + some manual fixes, hopefully I did not miss anything astyle messed up...
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-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-10-15SWORD1: Fixed bug #3087855 - "SWORD1: Code analysis warnings"Filippos Karapetis
svn-id: r53488
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-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-07-29SWORD1 & SWORD2: Replaced ioFailed by err+eosMax Horn
svn-id: r42912
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-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-02-27Committed patch #2606844 ("Fix crash when using BS1 without portuguese data").Torbjörn Andersson
Admittedly, I'm not really that familiar with BS1 resource management, but as far as I can tell the patch just adds sanity checking, so it shouldn't hurt. svn-id: r38925
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2008-11-16Fixed various g++ warnings ("format not a string literal and no format ↵Johannes Schickel
arguments"). svn-id: r35096
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2006-11-12Slighty modified Patch #1571787: "Support for Mac Broken Sword 1". sword1macdemoEugene Sandulenko
target was commented out until existence of the demo is confirmed. svn-id: r24697
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582