TEAMFLY
Team-Fly
®
Programming
Role Playing
Games with
DirectX
®
This page intentionally left blank
Programming
Role Playing
Games with
DirectX
®
Jim Adams
© 2002 by Premier Press, Inc. All rights reserved. No part of this book may be reproduced or trans-
mitted in any form or by any means, electronic or mechanical, including photocopying, recording, or
by any information storage or retrieval system without written permission from Premier Press, except
for the inclusion of brief quotations in a review.
The Premier Press logo, top edge printing, and related trade dress are trade-
marks of Premier Press, Inc., and may not be used without written permission.
All other trademarks are the property of their respective owners.
Publisher: Stacy L. Hiquet Editorial Assistant: Margaret Bauer
Marketing Manager: Heather Buzzingham Technical Reviewer: Ernest Pazera
Managing Editor: Sandy Doell Interior Layout: Shawn Morningstar
Acquisitions Editor: Emi Smith Illustrator: Susan Honeywell
Series Editor: André LaMothe Cover Design: Phil Velikan
Project Editor: Melba Hopper Indexer: Katherine Stimson
Proofreader: Jenny Davidson
DirectX, DirectPlay, DirectSound, DirectMusic, DirectInput, Direct3D, DirectDraw, and Windows are
registered trademarks of Microsoft. MilkShape 3-D is a registered trademark of chUmbaLum sOft.
GoldWave is a registered trademark of GoldWave Inc. trueSpace is a registered trademark of Caligari
Corporation. Poser is a registered trademark of Curious Labs, Inc. Paint Shop Pro is a trademark of
Jasc Software, Inc.
Important: Premier Press cannot provide software support. Please contact the appropriate software
manufacturer’s technical support line or Web site for assistance.
Premier Press and the author have attempted throughout this book to distinguish proprietary trade-
marks from descriptive terms by following the capitalization style used by the manufacturer.
Information contained in this book has been obtained by Premier Press from sources believed to be
reliable. However, because of the possibility of human or mechanical error by our sources, Premier
Press, or others, the Publisher does not guarantee the accuracy, adequacy, or completeness of any
information and is not responsible for any errors or omissions or the results obtained from use of
such information. Readers should be particularly aware of the fact that the Internet is an ever-chang-
ing entity. Some facts may have changed since this book went to press.
ISBN: 1-931841-09-8
Library of Congress Catalog Card Number: 2001096217
Printed in the United States of America
02 03 04 05 06 RI 10 9 8 7 6 5 4 3 2 1