Check out the SVN for the 2 source files. PatchTetReload.cpp is the new gameplay functions to work with the graphics a bit easier. Tetdisplay.cpp is the main function that needs work for OpenAL (audio). main.cpp is the current working source file where the functions from Patch work with (can be easily changed with Tetronimos, but I used this just for my benefit since it holds each individual pieces in the blocks rather then just one coordinate), but that is where the textures need to be worked on.
Most important is to get the textures and audio to work. Take a look at main.cpp for textures, and Tetdisplay.cpp for audio. Besides the OpenGL and OpenAL addons, there’s nothing else to add but the sources (again all gameplay functions I just made them as functions for main rather then a seperate class for ease of use).
- Get a working texture on screen
- Work with textures bigger then 256X256
- Load and properly use JPG, BMP, and PPM files
- Fix all linking errors between OpenAL and Visual Studio
All that done then the last things we would need are:
- Add the score text in the boxes.
- Add Jim’s wonderful flash beginnings to the start of the game.
After all that said and done, we can start throwing out ideas for our next project! Wouldn’t that be fun!