• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
nebrad

Quake 3 Arena source code

22 posts in this topic

Where can I find quake 3 arena source code for windows, that isn't a point release? And can I compile it with Dev-C++?
0

Share this post


Link to post
Share on other sites
Everything's at ftp://ftp.idsoftware.com/
What do you mean by "not point release"? Do you want a 1.0 or prerelease version?!

As far as Dev-C++ is concerned, no idea. Dev-C++ is old and generally Code::Blocks or Visual Studio Express (it's free) is recommended instead. For compiling older sources, it should still be possible to get hold of Visual C++ Toolkit 2003.
0

Share this post


Link to post
Share on other sites
Don't expect to learn good programming practices from the Quake 3 source. As far as I can tell, it's a bloody mess.
0

Share this post


Link to post
Share on other sites
Quote:
Original post by DevFred
Don't expect to learn good programming practices from the Quake 3 source. As far as I can tell, it's a bloody mess.


I found the source code awesome because it was so lean. I also learned a lot about pragmatic programming from it.
0

Share this post


Link to post
Share on other sites
Can I use "CodeGear RAD Studio C++ Builder 2007" instead of Dev-C++ to compile Quake 3 arena source code?

What I mean for "not point release", is that there is an 1.32b release for linux but not for windows.
0

Share this post


Link to post
Share on other sites
I guess that's a patch for the game or SDK, not the source code (which is at version 1.32c).

Quote:
Can I use "CodeGear RAD Studio C++ Builder 2007" instead of Dev-C++ to compile Quake 3 arena source code?

It should be most compatible with gcc or Visual C++, but I found this which indicates it also compiles using Borland compilers. I have no idea, though, if C++ Builder is still technically Borland C++.
0

Share this post


Link to post
Share on other sites
Ok, I have found visual c++ 6 on one of my cd's, can someone tell me how to compile q3a source code with this version, I have difficulties with this?
0

Share this post


Link to post
Share on other sites
Quote:
Ok, I have found visual c++ 6 on one of my cd's, can someone tell me how to compile q3a source code with this version, I have difficulties with this?
Don't use Visual Studio 6 (it's over ten years old). Instead, download the current version of Visual C++ Express (which is free).

As for the difficulties you're having compiling the source, you'll probably need to provide some more details.
0

Share this post


Link to post
Share on other sites
Here is the thing I want to compile quake 3 arena source code but I can't download and install newest version of the visual c++, becouse of my slow-as-hell internet connection, and I have visual c++ 6.0 version. I know that the program has changed more or less but it is still one the same program. So how can I do this?
0

Share this post


Link to post
Share on other sites
Quote:

Here is the thing I want to compile quake 3 arena source code but I can't download and install newest version of the visual c++, becouse of my slow-as-hell internet connection, and I have visual c++ 6.0 version. I know that the program has changed more or less but it is still one the same program. So how can I do this?

Actually, it's a fundamentally different program -- Visual C++ 6.0 existed before C++ was standardized, so the "C++" it understands and compiles is very different from the C++ that began to exist after the standard was introduced -- including, likely, whatever C++ that exists in the Q3A code. You are probably going to have a difficult time of it. Most of it's C, but you're still likely to have issues.

But still, we can't help you unless you tell us what specifically you are having trouble doing. Getting specific compiler errors? Don't even know where to start? What parts of the documentation have you read? What have you tried?
0

Share this post


Link to post
Share on other sites
Check to see if there is a file with .dsw extension. This would be a VC++6 project file.
If three isn't, there is probably a makefile.
I wonder what ID used to compile Quake 3 back in 1999.
0

Share this post


Link to post
Share on other sites
The thing is I have finally get an microsoft visual c++ program, and I don't know where to start, there aren't any dsp or dsw files, but there is an sln, and vcproj files that are designed for VC7 / viusal c++ 2003 expresds edition. So what now?
0

Share this post


Link to post
Share on other sites
Just a heads up: Quake 3 Arena was/is straight C, no C++. An existing project, ioquake3 at [link] http://ioquake3.org/ [/link] also exists.

0

Share this post


Link to post
Share on other sites
is it good or bad if that is C and not C++, becouse I still can't compile this code?
0

Share this post


Link to post
Share on other sites
Quote:
Original post by nebrad
is it good or bad if that is C and not C++, becouse I still can't compile this code?
None of us are psychics. Tell us the specific errors you are getting and we can help you (e.g. "a.cs(170,30): error CS1026: ) expected"), otherwise you'll have an easier time praying to the programming gods.
0

Share this post


Link to post
Share on other sites
You should download Visual Studio 2003 Toolkit (that's the free Visual Studio 2003 compiler). I think you can compile the project using the MSBuild software.
0

Share this post


Link to post
Share on other sites
finally, I have found prjconverter.exe program that converts VC 7 to VC6 project files, and I can compile much of the code, but I can't compile quake 3 project, all other projects can be compiled.

I get 4 errors:

unresolved external symbol _glConfig

unresolved external symbol _GetRefAPI

unresolved external symbol _GetBotLibAPI

fatal error LNK1120: 3 unresolved externals

How can I fix this?
0

Share this post


Link to post
Share on other sites
Quote:
Original post by DevFred
Don't expect to learn good programming practices from the Quake 3 source. As far as I can tell, it's a bloody mess.


you're absolutely right. Carmack & co. has odd style - something like "just do it".

btw, they're still using C (not C++) ?
0

Share this post


Link to post
Share on other sites
Quote:
Original post by DevFred
Don't expect to learn good programming practices from the Quake 3 source. As far as I can tell, it's a bloody mess.


Indeed. I was amazed at how bad the code was considering Carmack's reputation.

IIRC it was full of one letter variable names, gotos and had a real dearth of comments. It was spaghetti.
0

Share this post


Link to post
Share on other sites
Quote:
Original post by VirtualVoid
Quote:
Original post by DevFred
Don't expect to learn good programming practices from the Quake 3 source. As far as I can tell, it's a bloody mess.


you're absolutely right. Carmack & co. has odd style - something like "just do it".

btw, they're still using C (not C++) ?

Yes, he just gets the job done;)
He just made a post not long ago to that effect when he was trying to get wolfenstein ported to the iphone. I guess they contracted it out to some 3rd party and they responded that it would take them like 3 months or so to do the work and he replied forget it and did it himself in like a week!

"The developers came back and said it would take two months and exceed their budget...As usual, my off the cuff estimate of "Two days!" was optimistic, but I did get it done in four, and the game is definitely more pleasant at 8x the frame rate"-Carmack
Showoff LOL!
He also mentions that anyone is welcome to clean up his messy source so yeah I think he's aware of it:
"
In the end, I decided to stick with the Redux codebase, but I got a lot more free with hacking big chunks of it out. I reimplemented load / save game (fixing the inevitable pointer bugs involved), and by littering asserts throughout the code, I tracked the other problem down to an issue with making a signed comparison against one of the new enum types that compare as unsigned. I'm still not positive if this was the right call, since the codebase is sort of a mess with lots of vestigial code that doesn't really do anything, and I don't have time to clean it all up right now.

Of course, someone else is welcome to do that.
"
The rest of the article at iphone development

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0