Home > Store

Tricks of the Windows Game Programming Gurus

Register your product to gain access to bonus material or receive a coupon.

Tricks of the Windows Game Programming Gurus

Book

  • Sorry, this book is no longer in print.
Not for Sale

About

FAQs

Question 1: When I try to run demo2_2.cpp under visual c++, I get this error:
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/demo2_2.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.

Solution 1: Please see the introduction and appendix on compiling. The compiler is set (by default) for console app, and it needs to be set for Win32.EXE application.



Question 2: There is a problem with the CD in the first run of the book. The CD was provided to us in a format that is not completely acceptable with standard replication processes.

Solution 2: We apologize for the problems that you are having. We would be happy to send you a remastered CD that will correct any problems you are experiencing. Please send us your name, address, and phone number.



Description

  • Copyright 1999
  • Dimensions: 7.375 X 9.125
  • Pages: 1040
  • Edition: 1st
  • Book
  • ISBN-10: 0-672-31361-8
  • ISBN-13: 978-0-672-31361-5

Tricks of the 3D Game Programming Gurus takes game programmers to the next level of programming, teaching them the latest techniques and tools: DirectX, 3D acceleration, Artificial Intelligence and explains, in detail, 3D algorithms including texture mapping and lighting.

Updates

Updates & Corrections

Errata for Printing #2 as of October 20, 2001
Page 17 - "Collision Protection" should be "Collision Detection"

Page 56 - " // a global y-position" should be "// a global timer"

Page 61 - "TEST.EXE one" should be "TEST.EXE one two three"

Page 79 - "hwnd 2" should be "hwnd 3"
          "CALLBCK" should be "CALLBACK"

Page 85 - "wm-Create" should be "WM_CREATE"
          "wm-Paint" should be "WM_PAINT"

Page 174 - "right to left" should "left to right"

Page 215 - "Direct3DROM" should be "Direct3DRM"
           "DirectDIM" should be "Direct3DIM"

Page 229 - "interaface!" should be "interface!"

Page 235 - "like" should be "the"

Page 238 - "COBRA" should be "CORBA"
           "Common Object Broker Architecture" should be "Common Object Request Broker Architecture"

Page 253 - "LPDIRECTDRAW" should be "LPDIRECTDRAW4"

Page 267 - "LP Surface" should be "LP_Surface"

Page 304 - "Mem ditch" should be "Mem Pitch"

Page 305 - The little squiggily lines should be "..." vertically, as shown by the marks on the hardcopy.

Page 326 - "(641, 481)" should be "(640, 480)"

Page 355 - "green = (bitmap.buffer[index*3 + 1]) >> 3" should be "green = (bitmap.buffer[index*3 + 1]) >> 2"
           "_RGB32BIcxT(0,red,green,blue);" should be "_RGB32BIT(0,red,green,blue);"

Page 356 - "#define _RGB32BIT(a,r,g,b) ( + ((g) << 8) + ((r) << 16) + ( << 24))" should be 
           "#define _RGB32BIT(a,r,g,b) ((B) + ((g) << 8) + ((r) << 16) + ((a) << 24))"

Page 414 - "Point of intersection" should be "Point of intersection (x,y)"

Page 455 - The rotation matrix at the bottom of the page:

|cos  x sin x|
|-sin x cos x|
|0    0     1|

should be:

| cos x sin x  0|
|-sin x cos x  0|
|0      0      1|

Page 480 - The code for min max at the top of the page:

#define MIN(a,b) (( < ) ? :)
#define MAX(a,b) (( > ) ? :)

Should be:

#define MIN(a,b) ((a < b) ? a : b)
#define MAX(a,b) ((a > b) ? a : b)

Page 919 - The mathematical vector subtraction in the center of the page:

U - V =  +  = 

Should be:

U - V =  -  = 

Page 919 - The section header at the top of the page should read: "Vector Subtraction"

Page 919 - The section header at the bottom of the page should read: "The Inner Product, or the "Dot" Product"
 
Page 922 - "3-spale" should be "3-space"

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.