AminetAminet
Search:
84741 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/lib/sdl_sprite-os4.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:SDLSprite - Display animated sprites
Author:Edorul, AmigaOS 4.0 compile by Spot / Up Rough
Uploader:Varthall / Up Rough <varti02 hotpop com>
Type:dev/lib
Version:1.2b
Architecture:ppc-amigaos
Date:2008-02-13
Download:dev/lib/sdl_sprite-os4.lha - View contents
Readme:dev/lib/sdl_sprite-os4.readme
Downloads:781

SDLSprite ? What's this ?

 The SDLSprite library in based on the CDXSprite library from the excellent CDX
project (but unlikely it's only for Windows...).

 This C++ class contains the datas and functions required to display animated
sprites. A SDLSprite object is created from 
 BMP picture which is used to strore data for the sprite.
 Beware : All the sprite's frames must be the same width and height and stored
in the same BMP file.

 Download SDLSprite 1.2b (20Ko)

 The SDLSprite-1.2.tar.gz file also contains another class : SDLSpriteList 1.1
which permits to store sprites in a dynamic fashion.
 A SDLSpriteList is a linked list of SDLSprite objects, which can be added and
removed at run-time.

How to use it ? It's simple :

1) Put SDLSprite.cpp, SDLSprite.h,  SDLSpriteList.cpp and SDLSpriteList.h in
your source directory.
2) Add this line at the beginning of your code :
   #include "SDLSprite.h"
   #include "SDLSpriteList.h"
3) Add SDLSprite.cpp and SDLSpriteList.cpp to your project (for example, if you
use KDevelop just go to Project choose Add a file to 
   project and choose SDLSprite.cpp and SDLSpriteList.cpp in your source
directory)
4) Compile and it works !

To install the AmigaOS 4.0 version copy everything in SDL/ to SDK: 

.. Spot / Up Rough 2006


Contents of dev/lib/sdl_sprite-os4.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 4110   17305  23.8% -lh5- 49e4 Mar 10  2001 SDLSprite-1.2b/Docs/SDLSprite.htm
[generic]                 1823    5691  32.0% -lh5- 0c26 Mar 10  2001 SDLSprite-1.2b/Docs/SDLSpriteList.htm
[generic]                  650    1280  50.8% -lh5- 4179 Oct  9  2006 SDLSprite-1.2b/ReadMe
[generic]                 7028   24988  28.1% -lh5- 1799 Oct  9  2006 SDLSprite-1.2b/SDK/local/clib2/lib/libSDLSprite.a
[generic]                 2038    5858  34.8% -lh5- 1144 Mar 10  2001 SDLSprite-1.2b/SDK/local/common/include/SDLSprite.h
[generic]                 1118    3194  35.0% -lh5- a569 Mar 10  2001 SDLSprite-1.2b/SDK/local/common/include/SDLSpriteList.h
[generic]                  257     627  41.0% -lh5- 855a Oct  9  2006 SDLSprite-1.2b/Source/Makefile
[generic]                 6284   33986  18.5% -lh5- 79b7 Mar 10  2001 SDLSprite-1.2b/Source/SDLSprite.cpp
[generic]                 2038    5858  34.8% -lh5- 1144 Mar 10  2001 SDLSprite-1.2b/Source/SDLSprite.h
[generic]                 1097    4365  25.1% -lh5- 3328 Mar 10  2001 SDLSprite-1.2b/Source/SDLSpriteList.cpp
[generic]                 1118    3194  35.0% -lh5- a569 Mar 10  2001 SDLSprite-1.2b/Source/SDLSpriteList.h
[generic]                 7027   24988  28.1% -lh5- 3fbf Oct  9  2006 SDLSprite-1.2b/SDK/local/newlib/lib/libSDLSprite.a
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        12 files   34588  131334  26.3%            Feb 12 17:36
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>