aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UTexture.pas (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fixed song loading in Lazarus..jaybinks2007-09-241-5/+6
| | | | | | | cant assume variables are initialized as 0 :) in UFile "Done: byte;" was no initialized on lazarus compiler. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@431 b956fd51-792f-4845-bead-9b4dfca2ff2c
* minor bug fixes to have lazarus build load resources into SDL_Image jaybinks2007-09-221-78/+172
| | | | | | | | | correctly... ( lazarus Resources are weak compared to delphi :( ) also Laz build will now run, and main loop works properly. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@429 b956fd51-792f-4845-bead-9b4dfca2ff2c
* first try to load textures with SDL_Imageb1indy2007-09-211-561/+381
| | | | | | | | | | supported texture types are: Plain, Transparent and Colorized (textures in the resource file must be typed TEX) everything else (Font Black, ...) is not implemented. So beware - it looks really broken. There seems to be a problem with The covers - I just didn't understand, what's going on there. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@428 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Adding new Resource compiler for lazarus projects..jaybinks2007-09-201-8/+14
| | | | | | | | | | | (other one did not name resources correctly) this resource compiler could be expanded by someone to Parse Ultrastar.rc and compile the lrs file, rather than having it hardcoded in USDXResCompiler other changes, include ability to read the Resource String properly in code generated by lazarus. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@422 b956fd51-792f-4845-bead-9b4dfca2ff2c
* tidy texture loading.jaybinks2007-09-201-7/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@421 b956fd51-792f-4845-bead-9b4dfca2ff2c
* remove loggingjaybinks2007-09-201-11/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@420 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed nasty bug I introduced... jaybinks2007-09-201-5/+18
| | | | | | sorry.. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@419 b956fd51-792f-4845-bead-9b4dfca2ff2c
* started re-factoring TTextureUnit.LoadTexturejaybinks2007-09-201-31/+38
| | | | | | | | only done BPM and JPEG for now. will do more as I add support for it to lazarus. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@418 b956fd51-792f-4845-bead-9b4dfca2ff2c
* minor fixes for lazarus build..jaybinks2007-09-201-1043/+1100
| | | | | | forgot file... oops.. :) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@416 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Ultrastar-DX now compiles in linux jaybinks2007-09-201-1028/+1043
| | | | | | | | | (using lazarus) Bass etc is commented out.. but it compiles, and im working through the runtime errors. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@408 b956fd51-792f-4845-bead-9b4dfca2ff2c
* minor changes..jaybinks2007-09-191-10/+24
| | | | | | links to information on lazarus scanlines. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@402 b956fd51-792f-4845-bead-9b4dfca2ff2c
* trying to fix lazarus runtime errors..jaybinks2007-09-191-4/+4
| | | | | | also adding files to make sure everything required for lazarus compile, is in svn. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@399 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixes to get working in lazarus..jaybinks2007-09-191-3/+2
| | | | | | compiling, linking, starting to run.. just fixing stuff :) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@397 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added UCommon ( in classes ) for lazarus...jaybinks2007-09-191-12/+33
| | | | | | | | | | | common functions needed for lazarus ( and others ) can be put in here. also this now compiles on lazarus.. ( dosnt link yet... but I dont get any critical compiler errors ) tested to compile in my delphi, and basic functionality is fine. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@395 b956fd51-792f-4845-bead-9b4dfca2ff2c
* changes in order to compile in lazarus...jaybinks2007-09-181-0/+5
| | | | | | minor tidy ups and removal of big old comment blocks.. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@394 b956fd51-792f-4845-bead-9b4dfca2ff2c
* major tidy up of Umusic ... jaybinks2007-09-181-2/+14
| | | | | | | | removes mplayer unit and dependency. tidy up of other units in move to compile in lazarus. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@392 b956fd51-792f-4845-bead-9b4dfca2ff2c
* re-did the colorize stuff, now no need for GraphUtilsb1indy2007-09-081-38/+112
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@378 b956fd51-792f-4845-bead-9b4dfca2ff2c
* now buttons can also have transparent colorized texturesb1indy2007-09-021-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
* finished stuff for colorized transparent textures with statics (credits to ↵b1indy2007-09-021-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
* VFX: Some pre work for an upcoming (yet unfinished) featuremogguh2007-09-021-2/+63
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@362 b956fd51-792f-4845-bead-9b4dfca2ff2c
* changed loading of transparent PNGs, should be slower now, might break with ↵b1indy2007-07-221-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
* Modified LoadTexture so that it ignores the Format parameter (for texture ↵b1indy2007-07-211-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
* some tweaking of transparency handling for PNGs to make it look more as expectedb1indy2007-07-031-1/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@272 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added support for transparency in PNG images - if a PNG with transparency is ↵b1indy2007-06-261-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
* UTexture.pas: texture-wrap-mode changed to GL_CLAMP_TO_EDGE - solves some ↵b1indy2007-04-241-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
* Bugfix: Fixed minor problem that caused artefacts to be drawn - ↵mogguh2007-04-171-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
* Copyed PNG Texture Support from UltraStar 0.5.3whiteshark02007-03-241-7/+21
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@23 b956fd51-792f-4845-bead-9b4dfca2ff2c
* git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1 ↵whiteshark02007-03-211-0/+811
b956fd51-792f-4845-bead-9b4dfca2ff2c