summaryrefslogtreecommitdiff
path: root/src/openglgraphics.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-12-26Restore GL_PACK_ALIGNMENT after creating screenshots in opengl modes.Andrei Karas1-0/+4
2011-11-08Fix more gcc 4.7 warnings.Andrei Karas1-1/+1
2011-10-27Add command to dump to chat main graphics settings.Andrei Karas1-0/+1
Command: /dumpg
2011-09-16Fix code style.Andrei Karas1-2/+4
2011-09-14Bit improve push cliparea functions in opengl backends.Andrei Karas1-12/+11
2011-09-14Add more checks.Andrei Karas1-0/+3
Fix error in event.cpp from last commits. Improve party members sorting.
2011-09-11Fixed OpenGLGraphics::drawRescaledImagePatternThorbjørn Lindeijer1-32/+45
This fixes overlay effects that are meant to scale with screen resolution. The problem was that the texture coordinates were not calculated correctly. They were adjusted to the scaled size of the image, and when scaling both the vertex and the texture coordinates, the image will simply not appear scaled at all. Now the texture coordinates are calculated based on the visible part of the original texture. There was also a problem with the vertex coordinates, which were not taking into account the visible part of the image. TMW-Mantis-issue: 1047 Reviewed-by: Andrei Karas <akaras@inbox.ru> Conflicts: NEWS
2011-09-08Replace most iterator to const_iterator.Andrei Karas1-4/+4
Some other minor changes.
2011-08-12Rename file names log and chatlog to correct logger and chatlogger.Andrei Karas1-1/+1
2011-07-17Optimisation in drawing map in opengl mode.Andrei Karas1-114/+67
2011-07-17Add basic tiles caching for opengl.Andrei Karas1-0/+187
2011-07-07Remove undescore from variables and defines.Andrei Karas1-1/+1
2011-07-02Replace some getters to direct member access in Image class.Andrei Karas1-4/+4
2011-05-24Add simple memory leak detector.Andrei Karas1-0/+2
Can be enabled by configure option -enable-memdebug=yes. Known issue: not all memory allocations hooked with it.
2011-04-22Small optimisation in opengl gui drawing.Andrei Karas1-12/+12
2011-04-09Improve map loading speed.Andrei Karas1-6/+6
2011-03-31Improve opengl perfomance.Andrei Karas1-2/+4
2011-03-26Precalculation vertexes for improving draw speed.Andrei Karas1-1/+211
Implemented in Software and fast OpenGL backends. Not all controls using this mode because some limitations. Known issue: impossible compile without opengl. Will be fixed in next commits.
2011-03-18Fix most old style cast except manaserv and libxml2 defines.Andrei Karas1-5/+9
2011-02-19Update copyrights.Andrei Karas1-2/+3
2011-01-02Initial commit.Andrei Karas1-0/+950
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.