What language does Quake3 use?

Uuplaku

Member
Oct 12, 2001
122
0
0
I was just kinda wondering what language that Quake3 is compiled in. Does anyone know?
 

Maverick

Diamond Member
Jun 14, 2000
5,900
0
76
C++, I don't think the OpenGL libraries that they use are written for C.

Unreal Tournament on the other hand is coded entirely in ANSI C (arguably better).
 

vash

Platinum Member
Feb 13, 2001
2,510
0
0
If anyone's kept up with the development of id games throughout the years (especially Quake3), you will find out that a majority of the game is written in assembly and C/C++ (mainly C). The assembly code is used for a lot of the graphics, sound, controls, etc simply because its the fastest and most accurate way to get information to and from the system. The C/C++ code deals with interface, specific OS handles, etc. The only time the assembly gets changed is when the platform is the Mac. With Win32/Linux, assembly is the same, so the hand optimization is really, really key.

For Unreal/Unreal Tournament, its Win32 C++ -- all the interviews from the authors state that Win32/C++ was the development OS. Its no surprise that it was ported to Linux though -- good code can be ported pretty quickly.

vash
 

RudeBoie

Platinum Member
Feb 28, 2000
2,017
0
0
I remember Carmack saying once (years ago) that it was C++ with tons of of assembly optimization.
 

Cat

Golden Member
Oct 10, 1999
1,059
0
0
LOL. Tons of misinformation being passed around.

Doom : C and assembly (source has been released)
Quake 1: Renderer: C and assembly (source has been released), QuakeC for making mods
Quake 2: Renderer: C and assembly (source has been released), some java utilities, DLLs for Win32, .so? for *nix (so you could technically use C or C++ to compile the DLLs)
Quake 3: Renderer: C (source has not been released to the public), Java-like byte-code for game code (or directly compiled to DLLs)

Most of the Unreal engine: C++, much of the scripting done in UnrealScript

OpenGL is an API. You use it with almost any language. C. C++. It can be thought of as C (most of it is compiled from C)