aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/text.cpp
AgeCommit message (Collapse)Author
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.
2015-11-17SWORD25: Translate commentsEugene Sandulenko
2015-11-17SWORD25: Fix text renderingEugene Sandulenko
2014-06-15SWORD25: Switch to common TransparentSurfaceEugene Sandulenko
2014-02-18SWORD25: Make GPL headers consistent in themselves.Johannes Schickel
2013-09-29SWORD25: And even more fixes for Amiga OS 4 compilation.D G Turner
2013-09-29SWORD25: Even more fixes for Amiga OS 4 compilation.D G Turner
2013-04-20SWORD25: Fix blitting codejohndoe123
- Rename collectRenderQueue to preRender - Only do forceRefresh() in Panel::setColor() and Text::setText() if the new values are different - Move child object resorting from RenderObject::render() into RenderObject::preRender()
2013-04-17SWORD25: Optimize graphics drawing codejohndoe123
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-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-14SWORD25: Simplify text rendering code slightly.Alyssa Milburn
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-28SWORD25: Start to rename read/write methods of *PersistenceBlock classesMax Horn
All should be renamed to reduce risk of accidental incorrect use. svn-id: r53899
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-18SWORD25: Fix Valgrind reported uninitialised errorsPaul Gilbert
svn-id: r53565
2010-10-15SWORD25: Do not use Kernel::GetService directly anymoreMax Horn
svn-id: r53477
2010-10-13SWORD25: Stop using class names as variable namesFilippos Karapetis
svn-id: r53408
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: unsigned char -> byteEugene Sandulenko
svn-id: r53308
2010-10-12SWORD25: Refactored engine to remove BS_Rect classPaul Gilbert
svn-id: r53265
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: Mass-eliminating of BS_ prefix in fmv/ and gfx/Eugene Sandulenko
svn-id: r53258
2010-10-12SWORD25: More compilation fixesEugene Sandulenko
Now almost everything compiles fine. Several files were tricked and there are references to tinyxml.h and of course fmod and agg. OpenGL gfx renderer removed from the project, we need to create our own from the scratch. svn-id: r53224
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: Fix warnings and compilationEugene Sandulenko
svn-id: r53217
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