TOTWGPG problem
I have a blank DirectX screen setup waiting for the actual game code to be added.
What I''m confused about is, I''m now using the T3DLIB1,2 and 3 modules created with the book. Only thing is I''m confused as too what to include in the main program.cpp and what not to? Example I am adding a bitmap to the main program, do I need all the code I used in the early bitmap loading tutorials in chapter 7 or not, if so what do I need to include and not include? Once I can grasp the concept I''ll be right with everything else, I think.
Thanks,
Paul.
The bitmap loading functions he showed in Chapter 7 are part of his library. If you look in Chapter 8, it has a reference for each the functions he created. I found that all his stuff was more complicated than necessary. For easier bitmap loading, you can go here. This one is way easier, because it uses the Win32 API to load the bitmap. You don''t even have to understand the Win32 API. Just copy the function, pass your DirectDraw surface and give it a file name. That''s it. Later when you have a better grasp of things, you will understand the funciton better.
---
Make it work.
Make it fast.
"Commmmpuuuuterrrr.." --Scotty Star Trek IV:The Voyage Home
---
Make it work.
Make it fast.
"Commmmpuuuuterrrr.." --Scotty Star Trek IV:The Voyage Home
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement