%alltop{
/*
* upkg: tool for manipulating Unreal Tournament packages.
* Copyright © 2009-2011 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
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
%}
%{
#include
#include
#include
%}
%h{
#include
%}
class Engine:Texture from U:Object (dynamic)
{
private unsigned USize;
private unsigned UClamp;
private unsigned UBits;
private unsigned VSize;
private unsigned VClamp;
private unsigned VBits;
private Engine:Palette *Palette;
property UINT USize
( nick = "USize"
, blurb = "Width of the texture."
, minimum = 0
, maximum = 2048
, default_value = 0
, link
);
property UINT UClamp
( nick = "UClamp"
, blurb = "???"
, minimum = 0
, maximum = 2048
, default_value = 0
, link
);
property UINT UBits
( nick = "UBits"
, blurb = "???"
, minimum = 0
, maximum = 64
, default_value = 0
, link
);
property UINT VSize
( nick = "VSize"
, blurb = "Height of the texture."
, minimum = 0
, maximum = 2048
, default_value = 0
, link
);
property UINT VClamp
( nick = "VClamp"
, blurb = "???"
, minimum = 0
, maximum = 2048
, default_value = 0
, link
);
property UINT VBits
( nick = "VBits"
, blurb = "???"
, minimum = 0
, maximum = 64
, default_value = 0
, link
);
property OBJECT Palette
( nick = "Palette"
, blurb = "Reference to the texture's palette."
, object_type = Engine:Palette
, link
);
}