summaryrefslogtreecommitdiff
path: root/src/openglgraphics.cpp
AgeCommit message (Collapse)AuthorFilesLines
2005-10-15Some small cleanups.Björn Steinbrink1-1/+1
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-5/+5
hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes.
2005-09-24Fix crash on exit after taking screenshot in OpenGL and fix compiler warning.Bjørn Lindeijer1-12/+30
2005-09-24Fix compile error and memory leak as by Nayr's patch. Verified to work on ↵Bjørn Lindeijer1-5/+6
Windows, still needs to be tested by Mac (maybe needs the byte mask stuff) and I would like the code to be verified again, too.
2005-09-23fixed opengl screenshot, made opengl smoother on macosxDuane Bailey1-47/+23
2005-09-20Fixed use of Enter for closing death and weight notices, and changed glColor4fBjørn Lindeijer1-15/+15
to glColor4ub.
2005-09-18Changed Graphics::saveScreenshot to Graphics::getScreenshot. Now using the ↵Björn Steinbrink1-0/+55
ImageWriter to save that screenshot.
2005-09-17Use gl{Push,Pop}Matrix instead of calculating offsets, cause floating point ↵Björn Steinbrink1-7/+2
maths isn't accurate enough.
2005-08-31Fix push/pop clip area, also fixes the broken scrollareas.Björn Steinbrink1-8/+8
2005-08-28Prepare our source so that it'll survive a guichan header cleanup, should it ↵Björn Steinbrink1-0/+2
ever happen...
2005-08-26Remove useless code.Björn Steinbrink1-5/+0
2005-08-26Use glTranslatef instead of glTranslated. Remove some useless code.Björn Steinbrink1-41/+4
2005-08-25Use OpenGL's translation capabilites. Small cleanups.Björn Steinbrink1-22/+23
2005-08-25Reducing the code duplication a little more.Björn Steinbrink1-96/+63
2005-08-25Reduce code duplication.Björn Steinbrink1-34/+18
2005-08-25Made our drawImage() method respect the clip area from the guichan graphics ↵Björn Steinbrink1-0/+3
part. Removed some (now) obsolete code. Fixed compilation errors.
2005-08-20Added some missing state changes and checks.Björn Steinbrink1-8/+28
2005-08-18Semi-separated OpenGL and SDL graphics classes, improving OpenGL performance.Björn Steinbrink1-0/+389