summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
AgeCommit message (Collapse)AuthorFilesLines
2005-07-27Committing merging opengl and sdl part 3 by AndrejBjørn Lindeijer1-6/+17
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-172/+187
nicer approach after the release.
2005-07-16Made Image/SubImage being drawn by Graphics. Removed some redundant code.Björn Steinbrink1-80/+6
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-4/+1
2005-06-23Finishing resource manager ability to clean up resources. Still work to do onBjørn Lindeijer1-4/+1
resources other than images.
2005-06-21Image loader now automatically determines whether to use masked drawing orBjørn Lindeijer1-53/+104
an alpha layer.
2005-05-27autoTarget is now a Being*, also may have fixed related crash and added labelBjørn Lindeijer1-4/+1
to show current target.
2005-05-21Fix opacity of Window titles in OpenGL and scroll areas which broke last commitBjørn Lindeijer1-0/+2
2005-05-13Fixed minimap transparent background to work in both SDL and OpenGL by usingBjørn Lindeijer1-33/+0
Guichan.
2005-05-08Somehow fixed segmentation fault which was occuring on line:Aaron Marks1-2/+2
this->alpha = alpha;
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer1-4/+4
2005-03-26Images are now exclusively loaded through PhysFS, and Tiled maps should loadBjørn Lindeijer1-29/+7
fine again.
2005-03-25Fix compile issues on Windows.Bjørn Lindeijer1-3/+3
2005-03-24Logger Implemented. (3/3)Yohann Ferreira1-3/+4
2005-03-13Converted ChatBox into a proper ChatWindow in response to changes by Chetic.Bjørn Lindeijer1-5/+2
2005-03-12Changed RWops constructor a bit.Eric Scrivner1-2/+2
2005-03-06Implemented alpha blending of Images for OpenGLBjørn Lindeijer1-2/+3
2005-03-03Separated graphic/graphic.cpp into graphics.cpp and engine.cpp.Bjørn Lindeijer1-1/+1
2005-03-01Changed around recent additions to Image class a bit and fixed OpenGL compile.Bjørn Lindeijer1-18/+24
2005-02-27Functions create() and fillWithColor() into image class.Yohann Ferreira1-0/+28
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-19Fixing PhysFS for Dev-Cpp -> WARNING: missing OpenGL codeEugenio Favalli1-1/+6
2005-02-19Added load function that uses SDL_RWopsEric Scrivner1-0/+17
2005-02-18Improve window borders and speed up alpha property by not setting alpha eachBjørn Lindeijer1-6/+5
time the images are drawn.
2005-02-18Eliminated double draw implementation, only keeping the more complete one.Bjørn Lindeijer1-102/+4
2005-02-18So I added this alpha attribute to images...Bjørn Lindeijer1-0/+25
2005-02-15Small compile fix when compiling OpenGL in Dev-C++, and hostBjørn Lindeijer1-2/+2
tmw-cvs.DevPak at SF now.
2005-02-14Support for drawing using OpenGL. Don't expect it to be fast yet though.Bjørn Lindeijer1-40/+292
2005-02-14Simplified logging for the sake of simplicity.Bjørn Lindeijer1-5/+3
2005-02-13Now the resource manager will log a bit about images and cleanup.Bjørn Lindeijer1-3/+4
2005-02-13Allow preservation of alpha channel when loading image resources, which is usedBjørn Lindeijer1-2/+9
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-2/+44
2005-01-17More standard way of converting surface.Bjørn Lindeijer1-4/+3
2005-01-17Loaded images now converted to display format for speed, and added supportBjørn Lindeijer1-1/+7
for masking on magic pink.
2005-01-17Committing Allegro -> SDL switch, hugely breaking the game.Bjørn Lindeijer1-43/+68
2005-01-16Removed datafile and configfile and any leftover old GUI drawing code.Bjørn Lindeijer1-1/+1
2005-01-14Fixed resource loading on Windows.Bjørn Lindeijer1-1/+3
2005-01-14Rewrote Spriteset to work with Image* instead of BITMAP*Bjørn Lindeijer1-8/+35
2005-01-14Extended Image with methods to get width, height and draw a pattern and madeBjørn Lindeijer1-0/+37
Window widget use it.
2005-01-13Added heavily modified resource manager by zenogais that is currently usingBjørn Lindeijer1-0/+124
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.