QuakeC Names

From Quake Wiki

Revision as of 15:08, 8 May 2008 by ShoTro (talk | contribs) (New page: == Names == Names of variable, fields, or functions have a maximum of 64 characters, must begin with A-Z,a-z, or _, and can continue with those characters or 0-9. Definition of new types...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Names[edit]

Names of variable, fields, or functions have a maximum of 64 characters, must begin with A-Z,a-z, or _, and can continue with those characters or 0-9. Definition of new types

Example:

 String name

Let's start with the bad news: it is impossible, in Quake-C, to define new types. That means for instance that you cannot create a type named ammo, derived from float, that will only be used to store ammo count. So much for the clean programming habits.