aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UTexture.pas (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-09-08re-did the colorize stuff, now no need for GraphUtilsb1indy1-38/+112
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@378 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-02now buttons can also have transparent colorized texturesb1indy1-4/+0
POC-Pic: http://imageshock.eu/img/colorizedbuttons-ao81.jpg git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@365 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-02finished stuff for colorized transparent textures with statics (credits to ↵b1indy1-1/+5
mog, who started it) still to do: same thing with buttons and maybe everything else ;) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@363 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-02VFX: Some pre work for an upcoming (yet unfinished) featuremogguh1-2/+63
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@362 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-07-22changed loading of transparent PNGs, should be slower now, might break with ↵b1indy1-18/+24
some PNG types but gives nice correct transparency for 24bit transparent PNGs git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@320 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-07-21Modified LoadTexture so that it ignores the Format parameter (for texture ↵b1indy1-246/+215
files, if supplied) but detects the file format by looking at the file's extension. Now any supported filetype can be used to skin USDX (not only JPG or BMP, which was hardcoded default everywhere) The remains of this former misguided policy are still in many places of the code and have to be removed over time. Also tried to remove most of the non-english comments and variable names git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@314 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-07-03some tweaking of transparency handling for PNGs to make it look more as expectedb1indy1-1/+11
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@272 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-06-26Added support for transparency in PNG images - if a PNG with transparency is ↵b1indy1-2/+34
loaded as 'Transparent' texture type, then the alpha-channel is set according to the transparency information in the file git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@270 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-04-24UTexture.pas: texture-wrap-mode changed to GL_CLAMP_TO_EDGE - solves some ↵b1indy1-4/+4
problems where edges of textures were drawn incorrectly UDisplay.pas: simplified generation of fade texture (a little) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@134 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-04-17Bugfix: Fixed minor problem that caused artefacts to be drawn - ↵mogguh1-1/+1
'transparent' now works with #ffffff and #fefefe (UTexture.pas) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@104 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-03-24Copyed PNG Texture Support from UltraStar 0.5.3whiteshark01-7/+21
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@23 b956fd51-792f-4845-bead-9b4dfca2ff2c