
Mam problem z description.ext
description na podstawie postu Wikinga
Ciągle mnie wywala na pulpit - gdzieś coś brakuje czy jak ?
- Kod: Zaznacz cały
onloadmission = "";
debriefing = 0;
briefing = 0;
#define FontS "tahomaB24"
#define FontM "tahomaB36"
#define FontHTML "courierNewB64"
#define FontHTMLBold "courierNewB64"
#define FontMAP "courierNewB64"
#define FontMAIN "SteelfishB64"
#define FontMAINCZ "SteelfishB64CE"
#define FontTITLE "SteelfishB128"
#define FontTITLEHalf "SteelfishB64"
#define FontBOOK "garamond64"
#define FontNOTES "AudreysHandI48"
// Control types
#define CT_STATIC 0
#define CT_HTML 9
#define CT_OBJECT 80
// #define CT_OBJECT_CONTAINER 82
// #define CT_3DSTATIC 20
// #define CT_3DHTML 23
// Static styles
#define ST_LEFT 0
#define ST_RIGHT 1
#define ST_CENTER 2
#define ST_UP 3
#define ST_DOWN 4
#define ST_VCENTER 5
#define ST_SINGLE 0
#define ST_MULTI 16
#define ST_PICTURE 48
#define ST_FRAME 64
#define ST_HUD_BACKGROUND 128
#define ST_TILE_PICTURE 144
#define ST_WITH_RECT 160
#define ST_LINE 176
#define ST_SHADOW 256
#define ST_NO_RECT 512
// -----------------------------
// Predefined control templates
// -----------------------------
// let this be as it is
// these are the default values of the parametres
class RscPicture
{
type = CT_STATIC;
idc = -1;
style = ST_PICTURE;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = FontS;
size = 0;
};
class RscText
{
type = CT_STATIC;
idc = -1;
style = ST_LEFT;
h = 0.04;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = FontS;
size = 1;
};
class RscBackground
{
type = CT_STATIC;
idc = -1;
style = ST_LEFT;
colorBackground[] = {0, 1, 0, 1};
colorText[] = {1, 1, 1, 1};
font = FontS;
size = 0;
text = "";
};
class RscObject
{
type = CT_OBJECT;
scale = 1.0;
direction[] = {0, 0, 1};
up[] = {0, 1, 0};
};
class RscHTML
{
type = CT_HTML;
idc = -1;
style = 0;
colorBackground[] = {1, 1, 1, 1};
colorText[] = {0, 0, 0, 1};
colorBold[] = {0, 0, 0.2, 1};
colorLink[] = {0.4, 0.4, 0.8, 1};
colorLinkActive[] = {0.8, 0.35, 0.48, 1};
// styles
class H1
{
font = FontHTML;
fontBold = FontHTMLBold;
size = 1.0;
};
class H2
{
font = FontHTML;
fontBold = FontHTMLBold;
size = 0.7;
};
class H3
{
font = FontHTML;
fontBold = FontHTMLBold;
size = 0.5;
};
class H4
{
font = FontHTML;
fontBold = FontHTMLBold;
size = 0.4;
};
class H5
{
font = FontBOOK;
fontBold = FontBOOK;
size = 0.6;
};
class H6
{
font = FontNOTES;
fontBold = FontNOTES;
size = 0.7;
};
class P
{
font = FontHTML;
fontBold = FontHTML;
size = 0.47;
};
};
// -----------------------------
// Your own classes will be here
// -----------------------------
class RscTitles
{
titles[]={oman1,oman2,Text1t};
class oman1
{
idd=-1;
movingEnable=0;
duration=6;
fadein=2;
fadeout=2;
name="oman1";
controls[]={"oman1"};
class oman1 : RscStdText
{
style=48;
text="o1.jpg";
x=0.35;
y=0.35;
w=0.25;
h=0.30;
};
};
class oman2
{
idd=-1;
movingEnable=0;
duration=6;
fadein=2;
fadeout=2;
name="oman2";
controls[]={"oman2",};
class oman2 : RscStdText
{
style=48;
text="o2.jpg";
x=0.35;
y=0.35;
w=0.25;
h=0.30;
};
};
class Text1
{
name = "Text1";
duration =10;
idd = -1;
movingEnable = false;
controls[]=
{
name1
};
class name1 : RscText
{
style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
lineSpacing = 1.0;
text = "DFiO \n Delta Force in Oman";
x = 0.0; y = 0.76; w = 1.0; h = 0.1;
colorText[] = {1.0, 0.0, 0.0, 1};
font = FontBOOK;
sizeEx = 0.5 * 0.05;
size = 0.6;
};
};
description na podstawie postu Wikinga
Ciągle mnie wywala na pulpit - gdzieś coś brakuje czy jak ?