OS4 DepotLogo by Liksmaskaren 
(anonymous IP: 3.145.180.152,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 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
  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
Videos: 0
Downloads:  (Current version)
 (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
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 244.1¤ sdl2_gfx - Drawing and graphical effects extension for SDL2
libsdl2_image.lha2.8.22Mb20 Mar 244.11¤ libsdl2_image - SDL2 image file loading library
libsdl2_ttf.lha2.22.04Mb20 Apr 244.1¤ Libsdl2_ttf - A Freetype 2.0 wrapper for SDL2
libsdl_draw.lha1.2.11421kb07 Oct 064.07¤ Libsdl_draw - Simple SDL library to draw basic elements
libsdl_image.lha1.2.122Mb26 Jul 234.11¤ libsdl_image - SDL image file loading library
libsdl_rtf.lha0.1.0571kb15 Oct 064.05¤ Libsdl_rtf - Display simple RTF files
libsdl_ttf.lha2.0.112Mb06 Aug 234.11¤ Libsdl_ttf - A Freetype 2.0 wrapper for SDL
Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment