summaryrefslogtreecommitdiff
path: root/src/graphics.h
AgeCommit message (Collapse)AuthorFilesLines
2009-01-15Style cleanups throughout most of the code. Splitting function type fromIra Rice1-11/+9
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-2/+0
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-07-18Import of client treeLloyd Bryant1-1/+1
2007-10-18Merged removal of dependency on Guichan OpenGL from trunk to 0.0 branch, Bjørn Lindeijer1-1/+8
including optimization of OpenGL memory usage on modern OpenGL drivers. Patches by Guillaume Melquiond.
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-1/+1
to native for some files that were still missing this property. This is a feeble attempt to reduce the amount of conflicts for future merges.
2007-06-03Fixed image loading in software mode to not check for alpha layer with imagesBjørn Lindeijer1-8/+0
aren't 32-bit and removed drawImageTransparent from Graphics class, should be set on image.
2007-05-04Merged particle engine into main eAthena branch.Philipp Sehmisch1-0/+8
2006-12-12Merged r2829 from trunk (Merged the definition of ImageRect into graphics.h)Bjørn Lindeijer1-0/+21
2006-01-31Various small cleanups.Björn Steinbrink1-2/+0
2005-09-19Mostly code cleanups related to commits in past two days.Bjørn Lindeijer1-2/+2
* Replaced custom function FIND_PATH with AC_PATH_PROG, used for finding sdl-config. * Removed -lphysfs from Makefile.am which should be added automatically already. * Actually show the overweight message, and only show it once for each time weight goes above half the max weight. * Surfaces passed to SDL_BlitSurface shouldn't be locked according to the manual. * Minimal fps limit is now 10 fps. * Reverted change by Bertram that hardcoded the updatehost value.
2005-09-18Move the writing logic out of the Graphics class once again... Some cleanups ↵Björn Steinbrink1-7/+0
in the screenshot filename selection code.
2005-09-18Made the saveScreenShot makes its screenshots under user home dir in *nices, ↵Yohann Ferreira1-0/+7
made it more C++ way to avoid a leak, and made it check for existence of a file with same name before writing; In that case the screenshot's number is incremented until it finds an adequate name.
2005-09-18Changed Graphics::saveScreenshot to Graphics::getScreenshot. Now using the ↵Björn Steinbrink1-2/+2
ImageWriter to save that screenshot.
2005-09-172005-09-17 Duane Bailey <nayryeliab@gmail.com>Duane Bailey1-0/+5
* src/net/messagin.cpp, src/net/messageout.cpp, src/net/network.cpp: removed replaced MACOSX defines with big endian defines * src/graphics.cpp, src/graphics.h: added screenshot method * src/game.cpp: added code, so that when one presses 'alt-p' (for picture), it takes a screenshot and saves it to a png * src/Makefile.am, config.ac: added png library stuff
2005-09-08Removed inclusion of malloc.h header as it doens't seem necessary and wasBjørn Lindeijer1-3/+10
problematic on FreeBSD.
2005-08-18Semi-separated OpenGL and SDL graphics classes, improving OpenGL performance.Björn Steinbrink1-45/+7
2005-08-15Made the OpenGL related code fully #ifdef'ed.Björn Steinbrink1-1/+8
2005-08-14Started to fade out the useOpenGL global variable.Björn Steinbrink1-2/+2
2005-08-14Moved image drawing code into the graphics class.Björn Steinbrink1-1/+16
2005-08-14Make the wrapper functions in the Graphics class conditional on OpenGL support.Björn Steinbrink1-3/+10
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-27/+8
2005-08-10Moved knowledge about whether we use OpenGL into the Graphics class. Added ↵Björn Steinbrink1-0/+5
helper function for being creation to reduce code duplication. Some code simplifications.
2005-08-02Moved graphics setup code into the graphics class.Björn Steinbrink1-8/+15
2005-07-27Committing merging opengl and sdl part 3 by AndrejBjørn Lindeijer1-2/+8
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-8/+13
nicer approach after the release.
2005-07-16Updated changelog, got rid of remaining extern SDL_Surface *screen cases,Bjørn Lindeijer1-1/+11
fixed double free and cleaned up a bit.
2005-07-16Made Image/SubImage being drawn by Graphics. Removed some redundant code.Björn Steinbrink1-2/+3
2005-07-14Committed resource manager cleanup patch by Doener, and properly implementedBjørn Lindeijer1-3/+0
the custom mouse cursor option, which is now also dynamically changeable through the setup window.
2005-07-13* Committing some cleanups by DoenerBjørn Lindeijer1-0/+2
* Fixed some compiler warnings * Restored a USE_OPENGL check around OpenGL headers * Fixed error about FALSE not being defined * Fixed issue with font to become speechFont when the latter is not installed
2005-07-13- Adding the wonderful new font by Bjorn to speech and player namesEugenio Favalli1-2/+0
- Way to system cursor (now you can choose the original sdl cursor in config)
2005-05-16Leave out OpenGL completely when not enabled.Bjørn Lindeijer1-1/+3
2005-03-03Fixing Windows compile (second try)Bjørn Lindeijer1-4/+4
2005-03-03Separated graphic/graphic.cpp into graphics.cpp and engine.cpp.Bjørn Lindeijer1-0/+115