OS4 DepotLogo by McFly 
(anonymous IP: 18.223.195.127,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Development » Library » Graphics » libsdl_anim.lha

Libsdl_anim

Description: libSDL_anim displays anim files
Download: libsdl_anim.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 709kb
Version: 0.5.0
Date: 25 Oct 2006
Author: Michael Leonhard, AmigaOS 4.0 compile by Spot / Up Rough
Submitter: Spot / Up Rough
Email: spot/triad se
Homepage: http://tamale.net/SDL_anim/
Category: development/library/graphics
License: GPL
Distribute: yes
Min OS Version: 4.0
FileID: 2229
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 311  (Current version)
311  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
SDL_anim 0.5

The latest version of this library is available from:
http://tamale.net/SDL_anim/

This is a simple library to load animations and blit them to SDL surfaces.

API:
#include "SDL_anim.h"

SDL_Animation *ANIM_Load( const char *file, ANIM_ImageLoader loader );
void ANIM_Free(   SDL_Animation *anim );
int ANIM_GetFrameNum( SDL_Animation *anim, Uint32 start, Uint32 now );
int ANIM_BlitFrame(  SDL_Animation *anim, Uint32 start, Uint32 now, SDL_Surface
*dest, SDL_Rect *dr );
void ANIM_GetFrameRect( SDL_Animation *anim, int frame, SDL_Rect *rect );
int ANIM_BlitFrameNum( SDL_Animation *anim, int frame, SDL_Surface *dest,
SDL_Rect *dr );
int ANIM_DisplayFormat( SDL_Animation *anim );
char *SDL_GetError();

An example program, showanim, is included.

For the .anim format look in the included planet.anim.
To create an animation image try ImageMagick's convert program:
convert +append planet??.png planet.png

This library is under the GNU Library General Public License, see the file
"COPYING" for details.
   .___________________________________________________________.
   |                                                           |
   |       A M I G A   O S   4 . 0   C O M P I L E   B Y       |
  ._______                                        .______.     |
  |  ____/________________________________________|      |__   .
._|____._         |      ._       |      ._       |       _/______.
|      |/         |      |/       |      |/       |      |/       |
|                 |      _________|               |               |
|_________________|______|spt/up  |_______________|_______________| 
   .                                                           .
   |                                                           | 
   |   I am in a shitty economical situation, so if you feel   | 
   |  that what I do is  worth anything, use paypal to donate  |  
   |         to my email addy, spotATtriadDOTse, thanx!        | 
   |                                                           | 
   |                    Spot / Up Rough 2006                   | 
   |___________________________________________________________|




File Version Size Date OS Dls Readme
libsdl2_gfx.lha1.0.42Mb20 Mar 20244.171¤ sdl2_gfx - Drawing and graphical effects extension for SDL2
libsdl2_image.lha2.8.22Mb20 Mar 20244.1144¤ libsdl2_image - SDL2 image file loading library
libsdl2_ttf.lha2.22.04Mb20 Apr 20244.186¤ Libsdl2_ttf - A Freetype 2.0 wrapper for SDL2
libsdl_draw.lha1.2.11421kb07 Oct 20064.0345¤ Libsdl_draw - Simple SDL library to draw basic elements
libsdl_image.lha1.2.122Mb26 Jul 20234.178¤ libsdl_image - SDL image file loading library
libsdl_rtf.lha0.1.0571kb15 Oct 20064.0306¤ Libsdl_rtf - Display simple RTF files
libsdl_ttf.lha2.0.112Mb06 Aug 20234.1125¤ Libsdl_ttf - A Freetype 2.0 wrapper for SDL
Copyright © 2004-2024 by Björn Hagström All Rights Reserved