summaryrefslogtreecommitdiff
path: root/src/resources/image.h
AgeCommit message (Collapse)AuthorFilesLines
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2007-11-21Merged revisions 3705-3711,3714,3718,3721-3722,3729-3731,3735,3742 via ↵Bjørn Lindeijer1-1/+15
svnmerge from https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk (dynamic recoloring of sprites and related changes) ........ r3705 | gmelquio | 2007-11-03 10:58:25 +0100 (Sat, 03 Nov 2007) | 1 line Fixed double load of hair graphics. ........ r3706 | gmelquio | 2007-11-03 22:04:51 +0100 (Sat, 03 Nov 2007) | 1 line Added automatic recoloring of images. Inspired by fungos' ideas (PR #41). ........ r3707 | gmelquio | 2007-11-03 22:08:21 +0100 (Sat, 03 Nov 2007) | 1 line Experimented recoloring on scorpions. ........ r3708 | gmelquio | 2007-11-04 12:52:44 +0100 (Sun, 04 Nov 2007) | 1 line Tightened palette handling. ........ r3709 | gmelquio | 2007-11-04 12:54:31 +0100 (Sun, 04 Nov 2007) | 1 line Experimented with scorpions again. ........ r3710 | gmelquio | 2007-11-04 16:40:37 +0100 (Sun, 04 Nov 2007) | 1 line Applied recoloring to hair styles. ........ r3711 | gmelquio | 2007-11-04 17:50:37 +0100 (Sun, 04 Nov 2007) | 1 line Converted slimes to recoloring. ........ r3742 | gmelquio | 2007-11-16 14:16:00 +0100 (Fri, 16 Nov 2007) | 1 line Sped up recoloring of transparent pixels. ........
2007-11-20Merged revisions 3642,3662-3664,3667 via svnmerge from Bjørn Lindeijer1-7/+5
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3642 | gmelquio | 2007-10-19 19:46:46 +0200 (Fri, 19 Oct 2007) | 1 line Factored code between resource handlers. Implemented failure-friendly sprite loader. ........ r3662 | gmelquio | 2007-10-21 21:01:16 +0200 (Sun, 21 Oct 2007) | 1 line Added persistent positioning. ........ r3663 | gmelquio | 2007-10-21 21:03:43 +0200 (Sun, 21 Oct 2007) | 1 line Fixed missing pixels at bottom and right. ........ r3664 | gmelquio | 2007-10-21 21:05:56 +0200 (Sun, 21 Oct 2007) | 1 line Changed to use default values when restoring missing settings. ........ r3667 | gmelquio | 2007-10-21 22:09:08 +0200 (Sun, 21 Oct 2007) | 1 line Fixed invisible text in dropboxes and shopboxes. ........
2007-10-18Merged removal of dependency on Guichan OpenGL from trunk to 0.0 branch, Bjørn Lindeijer1-0/+9
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-0/+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-03-20Reduced amount of useless logging, calculate nearest power of two in a functionBjørn Lindeijer1-0/+6
and only do the alpha check in software mode.
2006-09-24Removed unused hairstyle frames and applied patch by Rogier Polak to solve theBjørn Lindeijer1-0/+7
problem with an OpenGL related redefinition.
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-4/+4
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-7/+8
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-08-29Clean up of the ConfigListener and Resource interfaces.Björn Steinbrink1-3/+4
2005-08-18Semi-separated OpenGL and SDL graphics classes, improving OpenGL performance.Björn Steinbrink1-0/+3
2005-08-14Fully removed the useOpenGL global.Björn Steinbrink1-0/+10
2005-08-14Moved image drawing code into the graphics class.Björn Steinbrink1-44/+3
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-1/+2
2005-07-27Committing merging opengl and sdl part 3 by AndrejBjørn Lindeijer1-10/+8
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-15/+11
nicer approach after the release.
2005-07-16Made Image/SubImage being drawn by Graphics. Removed some redundant code.Björn Steinbrink1-18/+3
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-1/+0
2005-06-23Finishing resource manager ability to clean up resources. Still work to do onBjørn Lindeijer1-31/+48
resources other than images.
2005-06-21Image loader now automatically determines whether to use masked drawing orBjørn Lindeijer1-8/+1
an alpha layer.
2005-05-21Numerous things:Bjørn Lindeijer1-1/+0
* Fixed two non-virtual destructor warnings showing up with GCC 4. * Fixed OpenGL inventory text drawing that broke in last commit * Removed glClear cause screen is redrawn completely anyway * Fixed updating of buttons in inventory window * Made items.xml be loaded through resource manager.
2005-05-16Leave out OpenGL completely when not enabled.Bjørn Lindeijer1-0/+2
2005-05-13Fixed minimap transparent background to work in both SDL and OpenGL by usingBjørn Lindeijer1-11/+0
Guichan.
2005-03-26Images are now exclusively loaded through PhysFS, and Tiled maps should loadBjørn Lindeijer1-14/+4
fine again.
2005-03-13Converted ChatBox into a proper ChatWindow in response to changes by Chetic.Bjørn Lindeijer1-4/+3
2005-03-12Changed RWops constructor a bit.Eric Scrivner1-1/+1
2005-03-01Changed around recent additions to Image class a bit and fixed OpenGL compile.Bjørn Lindeijer1-22/+18
2005-02-27Functions create() and fillWithColor() into image class.Yohann Ferreira1-0/+16
2005-02-21Updates to change log, file lists, lots of doxygen comments and small changes.Bjørn Lindeijer1-4/+11
2005-02-19Fixed searching for zip files in Linux, fixed initialization of PhysFS to beBjørn Lindeijer1-1/+1
before it is used and added a start on the map reader.
2005-02-19Added load function that uses SDL_RWopsEric Scrivner1-2/+11
2005-02-18So I added this alpha attribute to images...Bjørn Lindeijer1-0/+11
2005-02-14Support for drawing using OpenGL. Don't expect it to be fast yet though.Bjørn Lindeijer1-24/+21
2005-02-13Allow preservation of alpha channel when loading image resources, which is usedBjørn Lindeijer1-1/+6
to load alpha blended mouse cursor, which is now drawn instead of using the system cursor.
2005-01-18Fixed pattern drawing and focus on Ok/Select buttons for first dialogs.Bjørn Lindeijer1-1/+18
2005-01-17Committing Allegro -> SDL switch, hugely breaking the game.Bjørn Lindeijer1-16/+28
2005-01-14Rewrote Spriteset to work with Image* instead of BITMAP*Bjørn Lindeijer1-14/+30
2005-01-14Extended Image with methods to get width, height and draw a pattern and madeBjørn Lindeijer1-2/+18
Window widget use it.
2005-01-13Added heavily modified resource manager by zenogais that is currently usingBjørn Lindeijer1-0/+125
Allegro to load/draw images. Only the login wallpaper is currently loaded using the resource manager and the resource manager still waits with searching for available files until they are asked for instead of indexing what is available.