Home   Help Search Login Register  

Author Topic: Dialog troubles  (Read 458 times)

0 Members and 1 Guest are viewing this topic.

Offline Ding

  • Contributing Member
  • **
  • Jurassic Park
Dialog troubles
« on: 23 Jul 2005, 07:46:51 »
hmm, when ever i run this dialog i get a flashpoint error which crashes the game? i have a feeling it may be somthing to do with the paa file i have used, the only reason i have used this is because it has alpha channels.

Code: [Select]
#define FontM "tahomaB36"

#define ST_LEFT      0
#define ST_RIGHT     1
#define ST_CENTER    2
#define ST_PICTURE   48
 

#define CT_STATIC    0

class RscText
{
        type = CT_STATIC;
        idc = -1;
        style = ST_LEFT;
        colorBackground[] = {0, 0, 0, 0};
        colorText[] = {1, 1, 1, 1};
        font = FontM;
        sizeEx = 0.04;
};

class Letter1
{
  idd = -1;
  movingEnable = true;
  controlsBackground[] = { };
  objects[] = { };
  controls[] = { Letter_1 };
  class Letter_1 : RscText
  {
    idc = 100;
    style = ST_PICTURE;
    x = 0.3;
    y = 0.2;
    w = 0.4;
    h = 0.2;
    text = "Letter.Jpg";
  };
};
class PhoneText1
{
  idd = -1;
  movingEnable = true;
  controlsBackground[] = { };
  objects[] = { };
  controls[] = { PhoneText1_1 };
  class PhoneText1_1 : RscText
  {
    idc = 100;
    style = ST_PICTURE;
    x = 0.3;
    y = 0.2;
    w = 0.4;
    h = 0.2;
    text = "PhoneText1.paa";
  };
};

gahh im the fool who forgot to make it the right image size  ::)
« Last Edit: 23 Jul 2005, 07:58:17 by Ding »
"If I remain lost and die on a cross, atleast I wasn't born in a manger"

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Dialog troubles
« Reply #1 on: 23 Jul 2005, 19:22:16 »
Click the unsolve button ( ) if you wish to unsolve and unlock your own topic.
Not all is lost.