OS4 DepotLogo by Liksmaskaren 
(anonymous IP: 23.22.194.120,83) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Categories

   o Audio (322)
   o Datatype (47)
   o Demo (176)
   o Development (487)
      o Cross (35)
      o Debug (8)
      o Edit (5)
      o Example (31)
      o Game (19)
      o Guitool (5)
      o Ide (6)
      o Install (0)
      o Language (34)
      o Library (243)
         o Audio (54)
         o Graphics (63)
         o Gui (6)
         o Math (8)
         o Misc (103)
         o Toolkit (8)
      o Misc (26)
      o Utility (75)
      o Webtool (0)
   o Document (19)
   o Driver (82)
   o Emulation (131)
   o Game (786)
   o Graphics (422)
   o Library (74)
   o Network (185)
   o Office (50)
   o Utility (735)
   o Video (56)

Total files: 3572

Full index file. Download
Recent index file. Download




 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


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 06
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
Downloads: 190  (Current version)
190  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

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
libsdl_draw.lha1.2.11421kb07 Oct 064.0200¤ Libsdl_draw - Simple SDL library to draw basic elements
libsdl_image.lha1.2.12987kb29 Sep 144.035¤ libsdl_image - SDL image file loading library
libsdl_rtf.lha0.1.0571kb15 Oct 064.0182¤ Libsdl_rtf - Display simple RTF files
libsdl_ttf.lha2.0.111Mb06 Feb 144.048¤ Libsdl_ttf - A Freetype 2.0 wrapper for SDL.
Copyright (c) 2004-2014 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment