aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/fontresource.cpp
AgeCommit message (Collapse)Author
2016-10-09JANITORIAL: Remove trailing spacesEugene Sandulenko
2016-03-04SWORD25: Fixed "Resource not released" warnings [GSoC]Tkachov
(Look https://sourceforge.net/p/scummvm/bugs/6980/) The warning messages were appearing because when PRECACHE_RESOURCES is not defined, ResourceManager's `requestResource()` was used to manually "cache" them. When you do that, ResourceManager "locks" the resource once, so you must `release()` it later. Resources were not released, and warnings appeared. When you `release()` resource, it still is loaded ("cached"). Resource's `getLockCount()` is 0, though, so it might be unloaded by ResourceManager if there is a lot of resources.
2014-02-18SWORD25: Make GPL headers consistent in themselves.Johannes Schickel
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-06COMMON: Remove vfprintf call from XML parserMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-01-28SWORD25: Disabled the mechanism which precaches all of the game's resources ↵Filippos Karapetis
on startup. This reduced the initial memory used by 100MB for me, though the game keeps allocating new resources in each scene without deleting them, because of the missing functionality in getUsedMemory(). This change also slightly reduces the loading time on game startup. svn-id: r55593
2011-01-23SWORD25: Replaced BS_ASSERT() with assert()Filippos Karapetis
svn-id: r55464
2011-01-23SWORD25: Removed the custom log class and replaced it with ↵Filippos Karapetis
warning/error/debugC calls svn-id: r55462
2010-10-24SWORD25: Get rid of kernel/string.hMax Horn
svn-id: r53758
2010-10-19SWORD25: Enforced code formatting rules in rest of the engineEugene Sandulenko
svn-id: r53626
2010-10-19SWORD25: Enforce code naming conventions in gfx/*Eugene Sandulenko
svn-id: r53625
2010-10-15COMMON: Add XMLParser::parseIntegerKey variant accepting a Common::StringMax Horn
Almost all places where we used XMLParser::parseIntegerKey were using it like this: XMLParser::parseIntegerKey(str.c_str(), ...) Since this makes the code harder to read, I overloaded the method to also accept Commmon::String directly. Also removed all .c_str() invocations where necessary. svn-id: r53479
2010-10-15SWORD25: Typo, cleanupMax Horn
svn-id: r53478
2010-10-15SWORD25: Do not use Kernel::GetService directly anymoreMax Horn
svn-id: r53477
2010-10-13SWORD25: Enforse code naming conventions in PackageManager and Sword25EngineEugene Sandulenko
svn-id: r53380
2010-10-12SWORD25: Comply to the code conventions for several classesEugene Sandulenko
svn-id: r53310
2010-10-12SWORD25: unsigned int -> uintEugene Sandulenko
svn-id: r53309
2010-10-12SWORD25: Fixed memory leakPaul Gilbert
svn-id: r53279
2010-10-12SWORD25: Converted FontResource to use ScummVM XML ParserPaul Gilbert
svn-id: r53277
2010-10-12SWORD25: Refactored engine to remove BS_Rect classPaul Gilbert
svn-id: r53265
2010-10-12SWORD25: Removed last traces of STLEugene Sandulenko
svn-id: r53262
2010-10-12SWORD25: removed BS_ prefix from rest of the classes.Eugene Sandulenko
The things which are intentionally left with the prefix: BS_LOG, BS_ASSERT, BS_Rect, BS_String. svn-id: r53261
2010-10-12SWORD25: eliminated BS_ prefix in all but kernel/Eugene Sandulenko
svn-id: r53259
2010-10-12SWORD25: Mass-eliminating of BS_ prefix in fmv/ and gfx/Eugene Sandulenko
svn-id: r53258
2010-10-12SWORD25: Temporarily added tinyxml codeEugene Sandulenko
To speedup linking, added the code. It has to be replaced with our XML parser. svn-id: r53230
2010-10-12SWORD25: Mass-astyle.Eugene Sandulenko
svn-id: r53222
2010-10-12SWORD25: Number of compilation and warning fixesEugene Sandulenko
svn-id: r53219
2010-10-12SWORD25: std::string -> Common::String in gfx/Eugene Sandulenko
svn-id: r53218
2010-10-12SWORD25: Mass-putting of all files in gfx/ into Sword25 namespaceEugene Sandulenko
svn-id: r53214
2010-10-12SWORD25: Replacing headers with ScummVM ones plus original (C)Eugene Sandulenko
svn-id: r53188
2010-10-12SWORD25: Fixed rest of the include pathsEugene Sandulenko
svn-id: r53181
2010-10-12SWORD25: Importing original sourcesEugene Sandulenko
svn-id: r53171