//--------------------------------------------------------------------------- __fastcall TfraTopBar::TfraTopBar(TComponent* Owner) : TFrame(Owner) { ebActionSelect->Tag = etaSelect; ebActionAdd->Tag = etaAdd; ebActionMove->Tag = etaMove; ebActionRotate->Tag = etaRotate; ebActionScale->Tag = etaScale; ebAxisX->Tag = etAxisX; ebAxisY->Tag = etAxisY; ebAxisZ->Tag = etAxisZ; ebAxisZX->Tag = etAxisZX; ebCSParent->Tag = etfCSParent; ebNUScale->Tag = etfNUScale; ebNormalAlign->Tag = etfNormalAlign; ebGSnap->Tag = etfGSnap; ebOSnap->Tag = etfOSnap; ebMTSnap->Tag = etfMTSnap; ebVSnap->Tag = etfVSnap; ebASnap->Tag = etfASnap; ebMSnap->Tag = etfMSnap; DEFINE_INI(fsStorage); }
//--------------------------------------------------------------------------- __fastcall TfraLeftBar::TfraLeftBar(TComponent* Owner) : TFrame(Owner) { DEFINE_INI(fsStorage); frmMain->paLeftBar->Width = paLeftBar->Width+2; frmMain->sbToolsMin->Left = paLeftBar->Width-frmMain->sbToolsMin->Width-3; }
//--------------------------------------------------------------------------- __fastcall TfrmEditLightAnim::TfrmEditLightAnim(TComponent* Owner) : TForm(Owner) { DEFINE_INI(fsStorage); bFinalClose = false; m_CurrentItem = 0; m_CurrentOwner = 0; iMoveKey = -1; m_Props = 0; m_Items = 0; }
__fastcall TClipMaker::TClipMaker(TComponent* Owner) : TForm(Owner) { DEFINE_INI (fsStorage); m_LB[0] = lbBPName0; m_LB[1] = lbBPName1; m_LB[2] = lbBPName2; m_LB[3] = lbBPName3; m_TotalLength = 0.f; m_Zoom = 24.f; m_CurrentPlayTime=0.f; }
//--------------------------------------------------------------------------- __fastcall TfrmImageLib::TfrmImageLib(TComponent* Owner) : TForm(Owner) { DEFINE_INI(fsStorage); bImportMode = false; ttImage->Tag = STextureParams::ttImage; ttCubeMap->Tag = STextureParams::ttCubeMap; ttBumpMap->Tag = STextureParams::ttBumpMap; ttNormalMap->Tag= STextureParams::ttNormalMap; ttTerrain->Tag = STextureParams::ttTerrain; }
//--------------------------------------------------------------------------- __fastcall TfraLeftBar::TfraLeftBar(TComponent* Owner) : TFrame(Owner) { m_TargetButtons.resize (OBJCLASS_COUNT); m_TargetButtons[OBJCLASS_GROUP ] = ebTargetGroup; m_TargetButtons[OBJCLASS_SCENEOBJECT] = ebTargetObject; m_TargetButtons[OBJCLASS_LIGHT ] = ebTargetLight; m_TargetButtons[OBJCLASS_SHAPE ] = ebTargetShape; m_TargetButtons[OBJCLASS_SOUND_SRC ] = ebTargetSoundSrc; m_TargetButtons[OBJCLASS_SOUND_ENV ] = ebTargetSoundEnv; m_TargetButtons[OBJCLASS_GLOW ] = ebTargetGlow; m_TargetButtons[OBJCLASS_SPAWNPOINT ] = ebTargetSpawnPoint; m_TargetButtons[OBJCLASS_WAY ] = ebTargetWay; m_TargetButtons[OBJCLASS_SECTOR ] = ebTargetSector; m_TargetButtons[OBJCLASS_PORTAL ] = ebTargetPortal; m_TargetButtons[OBJCLASS_PS ] = ebTargetPS; m_TargetButtons[OBJCLASS_DO ] = ebTargetDO; m_TargetButtons[OBJCLASS_AIMAP ] = ebTargetAIMap; m_TargetButtons[OBJCLASS_WM ] = ebTargetWallmarks; for (ObjClassID k=OBJCLASS_FIRST_CLASS; k<OBJCLASS_COUNT; k++) m_TargetButtons[k]->Tag = k; DEFINE_INI (fsStorage); }
//--------------------------------------------------------------------------- void __fastcall TfrmMain::FormCreate(TObject *Sender) { DEFINE_INI(fsStorage); Application->OnIdle = IdleHandler; }
//--------------------------------------------------------------------------- __fastcall TfraWayPoint::TfraWayPoint(TComponent* Owner) : TForm(Owner) { DEFINE_INI(fsStorage); }
//--------------------------------------------------------------------------- __fastcall TfraDetailObject::TfraDetailObject(TComponent* Owner, EDetailManager* dm_tools) : TForm(Owner) { DM = dm_tools; VERIFY(DM); DEFINE_INI(fsStorage); }
//--------------------------------------------------------------------------- __fastcall TfraShape::TfraShape(TComponent* Owner) : TForm(Owner) { DEFINE_INI(fsStorage); }
//--------------------------------------------------------------------------- __fastcall TfrmSoundLib::TfrmSoundLib(TComponent* Owner) : TForm(Owner) { DEFINE_INI(fsStorage); bFormLocked = false; }
//--------------------------------------------------------------------------- __fastcall TfraBottomBar::TfraBottomBar(TComponent* Owner) : TFrame(Owner) { DEFINE_INI(fsStorage); }