7
edits
Changes
no edit summary
INSTALLATION
1) Add the following files to your project:
* [http://matrix.senecac.on.ca/~dacallow/DPS905/Particle.cpp Particle.cpp]
2) Append onto the bottom of your existing Effects.fx file the contents of the following file:
* [http://matrix.senecac.on.ca/~dacallow/DPS905/effects.fx Effects.fx]
3) Modify iObject.h:
* Add to Class iObject...
4)Modify Object.h
* Add to Class Object...
void update(int now) { /* do nothing, added for particle effects & animations */ }
5) Modify Display.cpp
* Inside of method: bool Display::setup(void* hwnd)
near line 360 (beneath the comment "// setup successful") add...
ParticleVertex::device = d3dd;
ParticleVertexList::connectDevice(d3dd);
6)