Quake1-16px.png

QuakeC: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Nesciuse moved page QuakeC/en to QuakeC without leaving a redirect: Move en subpage to basepage)
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|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.
'''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]]
{{stub}}

Latest revision as of 13:55, 18 June 2025

English (en)Translate (Translate)

Info icon
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 Wikipedia icon C, which is used by Quake Quake and its various mods. Similarly to Wikipedia icon Java, QuakeC code isn't compiled into native machine code, but instead is compiled into a file called Windows Executableprogs.dat, which is interpreted into native code at runtime via a Wikipedia icon 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 Quake II dropped QuakeC in favor of native DLLs (written in regular C), and GoldSrc GoldSrc upgraded most of the codebase to Wikipedia icon 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