GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
exshade(3) Allegro manual exshade(3)

exshade - Gouraud shaded sprites. Allegro game programming library.

#include <allegro.h>

Example exshade

This program demonstrates how to draw Gouraud shaded (lit) sprites. In an apparently black screen, a planet like sprite is drawn close to the middle of the screen. In a similar way to how the first test of extrans works, you move the cursor on the screen with the mouse. Attached to this mouse you can imagine a virtual spotlight illuminating the scene around. Depending on where the mouse is, the Gouraud shaded sprite will show the direction of the light.

BITMAP(3), COLOR_MAP(3), END_OF_MAIN(3), PALETTE(3), RGB(3), RGB_MAP(3), SCREEN_H(3), SCREEN_W(3), allegro_error(3), allegro_init(3), allegro_message(3), blit(3), clear_bitmap(3), color_map(3), create_bitmap(3), create_light_table(3), create_rgb_table(3), destroy_bitmap(3), draw_gouraud_sprite(3), font(3), install_keyboard(3), install_mouse(3), keypressed(3), line(3), load_bitmap(3), mouse_x(3), mouse_y(3), palette_color(3), poll_mouse(3), replace_filename(3), rgb_map(3), screen(3), set_gfx_mode(3), set_palette(3), set_trans_blender(3), show_mouse(3), textout_ex(3)
version 4.4.3 Allegro

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.