QuakeC: Difference between revisions
Jump to navigation
Jump to search

Le Glaconus (talk | contribs) mNo edit summary |
|||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
{{quake topicon}} | {{quake topicon}} | ||
{{non-valve engine|engine}} | {{non-valve engine|engine}} | ||
'''QuakeC''' is a programming language based on {{w|C (programming language)|C}}, which is used by {{quake|4.1}} and its various mods. Similarly to {{w|Java (programming language)|Java}}, QuakeC code isn't compiled into native machine code, but instead is compiled into a file called {{file|progs | '''QuakeC''' is a programming language based on {{w|C (programming language)|C}}, which is used by {{quake|4.1}} and its various mods. Similarly to {{w|Java (programming language)|Java}}, QuakeC code isn't compiled into native machine code, but instead is compiled into a file called {{file|icon=exe|progs.dat}}, which is interpreted into native code at runtime via a {{w|virtual machine}} built into the game engine. This allows the same mods to work across multiple platforms, regardless of operating system and architecture. | ||
{{quake2|4.1}} dropped QuakeC in favor of native DLLs (written in regular C), and {{gldsrc|4.1}} upgraded most of the codebase to {{w|C++}}. Despite this, remnants remain, with the model code having been reworked into the [[QC]] files used by the {{gldsrc|3.1}} and {{src|3.1}} versions of [[StudioMDL]]. | {{quake2|4.1}} dropped QuakeC in favor of native DLLs (written in regular C), and {{gldsrc|4.1}} upgraded most of the codebase to {{w|C++}}. Despite this, remnants remain, with the model code having been reworked into the [[QC]] files used by the {{gldsrc|3.1}} and {{src|3.1}} versions of [[StudioMDL]]. | ||
Line 8: | Line 8: | ||
== External links == | == External links == | ||
* {{w|QuakeC}} on Wikipedia | * {{w|QuakeC}} on Wikipedia | ||
* [https://github.com/id-Software/quake-rerelease-qc quake-rerelease-qc] - QuakeC source code for the progs.dat files used by the 2021 {{quake|4}} remaster. | * [https://github.com/id-Software/quake-rerelease-qc quake-rerelease-qc] - QuakeC source code for the {{mono|progs.dat}} files used by the 2021 {{quake|4}} remaster. | ||
[[Category:Glossary]] | [[Category:Glossary]] | ||
[[Category:Programming]] | [[Category:Programming]] | ||
Latest revision as of 13:55, 18 June 2025



This page documents information about an engine not developed by Valve. This information is documented here because it has technical and/or historical relevance to Valve's engines.
QuakeC is a programming language based on C, which is used by
Quake and its various mods. Similarly to
Java, QuakeC code isn't compiled into native machine code, but instead is compiled into a file called
progs.dat
, which is interpreted into native code at runtime via a virtual machine built into the game engine. This allows the same mods to work across multiple platforms, regardless of operating system and architecture.
Quake II dropped QuakeC in favor of native DLLs (written in regular C), and
GoldSrc upgraded most of the codebase to
C++. Despite this, remnants remain, with the model code having been reworked into the QC files used by the GoldSrc and Source versions of StudioMDL.
External links
QuakeC on Wikipedia
- quake-rerelease-qc - QuakeC source code for the progs.dat files used by the 2021
Quake remaster.