summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-06-17Replace SDL int types to C++ types.Andrei Karas1-28/+28
2012-06-10Split ImageHelper to ImageHelper, SDLImageHelper, OpenGLImageHelper.Andrei Karas1-8/+9
2012-06-09Move static methods from Image class to ImageHelper class.Andrei Karas1-8/+10
Remove SDL merge method. It was very slow and unused.
2012-06-06Dump surface format at start.Andrei Karas1-5/+1
2012-05-23OpenGL fix for mac version.Andrei Karas1-1/+13
2012-05-06Fix code style.Andrei Karas1-2/+2
2012-05-06Add const to images in drawing functions.Andrei Karas1-4/+4
2012-05-05Improve images drawing and remove some useless code.Andrei Karas1-14/+1
2012-04-29Add graphicsmanager class and move some code to it.Andrei Karas1-12/+164
2012-04-28Fix code style and add some checks.Andrei Karas1-1/+1
2012-04-26Add to log draw backend name.Andrei Karas1-0/+1
Add ability to get free video memory (fast openg with NVIDIA). Add test with id 100 for long perfomance testing.
2012-04-25Improve iterators part 2.Andrei Karas1-2/+4
2012-04-23Remove outdated fix for windows builds.Andrei Karas1-2/+1
2012-04-21Extract SDL video info to separate method.Andrei Karas1-0/+5
2012-04-12Fix fast fill rectangle function.Andrei Karas1-4/+4
2012-04-05Improve fillrectangle speed.Andrei Karas1-1/+53
2012-02-25Fix old casts.Andrei Karas1-9/+14
2012-02-18Fix code style.Andrei Karas1-1/+1
2012-02-11Remove some unneeded includes.Andrei Karas1-1/+0
2012-02-08Fix code style with new tool.Andrei Karas1-3/+3
2012-02-02Add "no frame" option to hide window frame. Disabled by default.Andrei Karas1-5/+11
2012-01-30Add option for enable/disable window resize.Andrei Karas1-8/+15
2012-01-30Allow resizing of the game in windowed modeThorbjørn Lindeijer1-0/+27
Window positions are semi-smartly corrected as a result of the resize. Not supported when using OpenGL on Windows for now. Reviewed-by: Yohann Ferreira Conflicts: src/client.cpp src/client.h src/game.cpp src/gui/gui.cpp src/gui/widgets/window.cpp
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-11-07Fix some warnings under gcc 4.7.Andrei Karas1-3/+3
2011-10-27Add command to dump to chat main graphics settings.Andrei Karas1-0/+4
Command: /dumpg
2011-09-13Add missing checks to some files and style fixes.Andrei Karas1-7/+6
2011-09-10Remove some push/pop clip areas.Andrei Karas1-12/+12
2011-09-08Fix compilation errors.Andrei Karas1-2/+2
2011-09-08Fix code style.Andrei Karas1-4/+4
2011-09-08Replace most iterator to const_iterator.Andrei Karas1-3/+3
Some other minor changes.
2011-09-01Eliminate asserts from most files.Andrei Karas1-2/+0
2011-08-15Add option to hide ip addresses on screenshots.Andrei Karas1-1/+2
2011-08-12Rename file names log and chatlog to correct logger and chatlogger.Andrei Karas1-1/+1
2011-07-23Fix some code style and compilation warnings.Andrei Karas1-1/+2
2011-07-18Remove unused parameters.Andrei Karas1-5/+0
2011-07-16Add tiles caching for software mode.Andrei Karas1-0/+49
2011-07-15Fix bug in fillRectangle in software mode for 16 bit pixel screens.Andrei Karas1-7/+8
2011-07-13Disable software fast fillRectangle in windows.Andrei Karas1-0/+2
2011-07-11Bit improve draw speed with double buffer disabled in software mode.Andrei Karas1-2/+22
2011-07-07Remove undescore from variables and defines.Andrei Karas1-1/+1
2011-07-04Improve fillRectangle speed in SDL mode.Andrei Karas1-30/+20
2011-07-02Replace some getters to direct member access in Image class.Andrei Karas1-6/+6
2011-07-01Replace some lists to vectors.Andrei Karas1-2/+2
2011-06-10Fix code style.Andrei Karas1-9/+14
2011-06-10Improve fill rectangle speed in Software mode.Andrei Karas1-0/+127
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-22Add missing variable initialisation in Graphics constructor.Andrei Karas1-1/+2
2011-04-09Small fix to code style and compilation warning.Andrei Karas1-7/+8
2011-04-09Improve SDL gui draw speed.Andrei Karas1-2/+105