X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=model_sprite.h;h=e6df9e48438f4c1f4c69dae9c98e0bbd90fc3603;hp=595f226610c58fbf3d73d791826408ca2583bab9;hb=cb872df2ca589d4b30c733dc239986dfd64f0c12;hpb=e4b3858e7aca0ead91be1d8f675db084d025abad diff --git a/model_sprite.h b/model_sprite.h index 595f2266..e6df9e48 100644 --- a/model_sprite.h +++ b/model_sprite.h @@ -8,7 +8,7 @@ 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. +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -18,6 +18,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef MODEL_SPRITE_H +#define MODEL_SPRITE_H + /* ============================================================================== @@ -31,19 +34,9 @@ SPRITE MODELS // FIXME: shorten these? typedef struct mspriteframe_s { -// int width; -// int height; float up, down, left, right; - rtexture_t *texture, *fogtexture; + skinframe_t skin; } mspriteframe_t; -typedef struct -{ - int type; -// int maxwidth; -// int maxheight; -// int numframes; -// float beamlength; // remove? -// void *cachespot; // remove? - int ofs_frames; -} msprite_t; +#endif +