The ZBuffer - Managed DirectX resources
Search ZBuffer
Links


 

1/8/2006: Moved to December SDK, fixed some bugs and added C# Express 2005 support

Published with permission from Lynn Harrison. The /Resources directory is *not* included and should be obtained from the book or the original download. Do not publish elsewhere without permission from the author or publisher.

http://www.thezbuffer.com

Lynn Harrison Code for December 2005 SDK

The code compiles and runs against the December 2005 SDK.

/SampleGame/SampleGame2003.sln is the VS2003 version.

/SampleGame/SampleGameExpress2005.sln is the C# express version
(the .Net 2.0 version is built against the managed directx 1.1 assemblies. You may get a LoaderLock error when debugging. Please see http://www.thezbuffer.com/articles/304.aspx for how to fix it)

Fixes:

  1. Fixed to compile against December SDK
  2. Fixed threading issue in Splashscreen
  3. Turned off automatic events to avoid the random mesh disposal bug
  4. Pure devices cannot read render states
  5. Checked for nulls before disposing
  6. Various others I can't remember - use diff if you really want to know

Known issues:

  1. Collisions can cause car to 'fly' or fall off world. [in original code]
  2. If the app loses focus DirectInput seems to get quite upset [unknown if I caused this]

I make no claims about perfection, all copyright is still owned by Lynn and official support is on the Apress Forums

If you have additional updates or fixes then I'm happy to incorporate bug fixes and improvements that are within the original spirit of the book, the code is still a tutorial for the book so I won't add features not described in there. email me the changed files.


Download

Updated 1/8/2006 8:00:00 AM by Zman