X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/76b8a4bf05701afcd1be69ff4490a7c6be431dc4..82568fc97fa528e92f2de5e97717b542b921ccf3:/src/engine/texture.gob diff --git a/src/engine/texture.gob b/src/engine/texture.gob index 8e7bb4a..981c898 100644 --- a/src/engine/texture.gob +++ b/src/engine/texture.gob @@ -1,7 +1,7 @@ %alltop{ /* * upkg: tool for manipulating Unreal Tournament packages. - * Copyright © 2009-2011 Nick Bowler + * Copyright © 2009-2012, 2020 Nick Bowler * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -117,7 +117,10 @@ class Engine:Texture from U:Object (dynamic) private unsigned VClamp; private unsigned VBits; - private Engine:Palette *Palette; + private float DrawScale; + + private Engine:Palette *Palette = NULL destroywith g_object_unref; + private Engine:Texture *DetailTexture = NULL destroywith g_object_unref; private struct engine_texture_data **mipmap_data; private unsigned char mipmap_count; @@ -269,10 +272,23 @@ class Engine:Texture from U:Object (dynamic) , link ); + property FLOAT DrawScale + ( nick = "Draw Scale" + , blurb = "Relative size to parent surface" + , link + ); + property OBJECT Palette ( nick = "Palette" , blurb = "Reference to the texture's palette." , object_type = Engine:Palette , link ); + + property OBJECT DetailTexture + ( nick = "Detail Texture" + , blurb = "Reference to the corresponding detail texture." + , object_type = Engine:Texture + , link + ); }