Advertisement

Noobie Question Plz Help

Started by April 15, 2002 11:00 PM
4 comments, last by ModelerMan 22 years, 8 months ago
What is better to learn if i wanna code mods like quake3arena? And this may sound sorta stupid but whats the code that displays a picture in c++?
http://members.tripod.com/ussjvegeta2/09d26aa0.jpgVery Experience ModelerNewbie Coder =PLooking to work on a Good Clean Game ;)
It is C.. I don''t think much, if any, of it is C++. Also, I think there are some that code Q3 (and others) using Java.

I think Unreal Tournament has it''s own scripting language. Quake 1, had it''s own version of C (QuakeC). I [thought I] heard that Carmack was considering that way again (scripting), but I don''t know if this is true.

I'm not the brightest something or other in a group or similar.~ me ~
Advertisement
wow a reply already ^_^
but btw how do i display a picture in C++ dos?
http://members.tripod.com/ussjvegeta2/09d26aa0.jpgVery Experience ModelerNewbie Coder =PLooking to work on a Good Clean Game ;)
To display a picture, you need a graphical device. Since I sincerely doubt you''re programming in straight DOS (more likely a Win32 console, right?) then you''d need to create a window, load a bitmap from file into memory and copy the pixels to the window''s device context. It''s not hard, but it''s not trivial - yet. Either way, it''s too much code for me to be arsed to write and post here. I suggest you scour the web for tutorials on basic graphics. Perhaps you''d want to use a library in the early stages of your game programming? Allegro is a popular choice, as is SDL.

[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! | Asking Smart Questions | Internet Acronyms ]
Thanks to Kylotan for the idea!
ok thx about that
But i use DevC++ and when i compile it shows up in dos
Im getting a microsoft Compiler installed later ^_^
http://members.tripod.com/ussjvegeta2/09d26aa0.jpgVery Experience ModelerNewbie Coder =PLooking to work on a Good Clean Game ;)
quote: Original post by ModelerMan
But i use DevC++ and when i compile it shows up in dos

That''s not DOS. That''s a Win32 console.

[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! | Asking Smart Questions | Internet Acronyms ]
Thanks to Kylotan for the idea!

This topic is closed to new replies.

Advertisement