Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

DarkMage139

oops...

This topic is 6915 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I made a post about "Message boards support HTML". I had several window browsers up and forgot that the one I was currently using was the General and Game Programming discussion, not the GDNet lounge. In a frantic move, I deleted my message, and rendered the entire thread worthless. oops. ---- NOTE: I realize that since this doesn''t have much about game programming, so here''s my peace offering: ---- TOTWGPG Freakout: The Tricks of the Windows Game Programming Gurus has that example game "Freakout." However, Andre LaMothe didn''t make it very object oriented, and it resemble a C program and not much of a C++ program. I''ve rewritten the game to have classes, here they are: CBall, CBlock, CPaddle, CGame
Instead of having Game_Main, it''s now Game->Main();

OK, so that wasn''t very useful, but at least I''ve analyzed Andre LaMothe''s coding style. He''s hooked on C.
No offense meant by that comment.

----
Oh, BTW, I need an opensource landscape engine. Anyone willing to give a link? - DarkMage139 "Real game developers don't change the rules. Real game developers don't break the rules. Real game developers make the rules!" "Originality (in games) is the spice of life!"

Share this post


Link to post
Share on other sites
Advertisement
I believe one of the reasons that Andre wrote his examples in the book in C is simply to make the examples easier to read and also so that the book would appeal to non c++ programmers. It is more difficult to show small code snippets and quick examples when writing in C++. Im my opinion anyway

Share this post


Link to post
Share on other sites
Yeah, Steveo, you''re probably right.

Still, I''ve changed the way the program does things now. I''m an Object Oriented kind of guy!!!

- DarkMage139
"Real game developers don't change the rules. Real game developers don't break the rules. Real game developers make the rules!"
"Originality (in games) is the spice of life!"

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!