05-08-2013
UHm...
I though i said everything compiled good, but I found out a stupid way I thought of myself. So its solved by myself...
Thank you anyway
7 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
To the administrator
I have created this global account "synamics" for our support team but have also tried creating a personal account "asayers" with the correct email address but the system has never emailed me my username and password when I request it and so cannot log in. My email address... (1 Reply)
Discussion started by: synamics
1 Replies
2. Programming
Friends I'm facing a big problem trying to extend the netfilter. Somone please help me with your quick reply (any hint) as I've to meet a deadline.
My problem is that I've written a new netfilter target module and its corresponding userspace program for iptables to change the packet type of a... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies
3. Shell Programming and Scripting
I have a site with a few hundred pages.
I want to know which pages load in more than 6 seconds.
Is it possible? Is there any shell script or tool for this purpose? (0 Replies)
Discussion started by: shantanuo
0 Replies
4. Solaris
Hello guys,
I made a loginlog file to register failed login attempts on my sun-blade 1500 server ( just studying at home) . The code below is how I created the file :
# touch /var/adm/loginlog
# chmod 600 /var/adm/loginlog
# chgrp sys /var/adm/loginlog
After creating the file, I... (1 Reply)
Discussion started by: cjashu
1 Replies
5. Forum Support Area for Unregistered Users & Account Problems
The forums have been seeing a sharp increase in spam bots, forum robots, and malicious registrations from certain countries. If you have been directed to this thread due to a "No Permission Error" when trying to register please post in this thread and request permission to register, including... (1 Reply)
Discussion started by: Neo
1 Replies
6. Red Hat
Hi,
A registered a new system the other day using the subscription-manager (RedHat ES6, Academic edition) but it's not showing up on the web site so that I can entitle it and get updates, etc.
Any ideas?
~ Rob (1 Reply)
Discussion started by: caspersgrin
1 Replies
7. Forum Support Area for Unregistered Users & Account Problems
Hi, I'm come from Vietnam and want to join to Unix forum just because I like Unix programming and want to learning more.
My IP is allocate by DHCP server so it is dynamic.
Here is my desired username and my email:
Username: lucasdo
Email: rennersstar@gmail.com
Thank you very much for... (0 Replies)
Discussion started by: lucasdo
0 Replies
LEARN ABOUT SUSE
get_compiled_sprite
get_compiled_sprite(3alleg4) Allegro manual get_compiled_sprite(3alleg4)
NAME
get_compiled_sprite - Creates a compiled sprite using a bitmap as source. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
COMPILED_SPRITE *get_compiled_sprite(BITMAP *bitmap, int planar);
DESCRIPTION
Creates a compiled sprite based on the specified bitmap (which must be a memory bitmap). Compiled sprites are device-dependent, so you have
to specify whether to compile it into a linear or planar format. Pass FALSE as the second parameter if you are going to be drawing it onto
memory bitmaps or mode 13h and SVGA screen bitmaps, and pass TRUE if you are going to draw it onto mode-X or Xtended mode screen bitmaps.
Example:
COMPILED_SPRITE *cspr;
BITMAP *bmp;
...
/* Create compiled sprite from an existent bitmap. */
cspr = get_compiled_sprite(bmp, 0);
if (!cspr)
abort_on_error("Couldn't create compiled sprite!");
/* We don't need the bitmap any more.*/
destroy_bitmap(bmp);
/* Use the compiled sprite. */
...
/* Destroy it when we don't need it any more. */
destroy_compiled_sprite(cspr);
Returns a pointer to the created compiled sprite, or NULL if the compiled sprite could not be created. Remember to free this compiled
sprite later to avoid memory leaks.
SEE ALSO
draw_compiled_sprite(3alleg4), destroy_compiled_sprite(3alleg4)
Allegro version 4.4.2 get_compiled_sprite(3alleg4)