/************************************************************************************ AstroMenace (Hardcore 3D space shooter with spaceship upgrade possibilities) Copyright © 2006-2013 Michael Kurinnoy, Viewizard AstroMenace 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. AstroMenace 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 AstroMenace. If not, see . Web Site: http://www.viewizard.com/ Project: http://sourceforge.net/projects/openastromenace/ E-mail: viewizard@viewizard.com *************************************************************************************/ #ifndef STAR_H #define STAR_H #include "../../Core/Core.h" #include "../../Struct.h" //----------------------------------------------------------------------------- // Класс CStar //----------------------------------------------------------------------------- struct CStar { // конструктор и деструктор CStar(); ~CStar(); // обновление информации в частице bool Update(float TimeDelta); // переносим положение частицы на указаное растояние void Move(VECTOR3D NewLocationDelta); // текущее место расположения частицы VECTOR3D Location; // прозрачность float Alpha; // изменение прозрачности float AlphaDelta; // какой цикл - затухаем, или только появляемся bool Show; // указатели на цепь частиц CStar *Next; CStar *Prev; }; #endif // STAR_H