Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Editing QuakeC Globals
From Quake Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
datatype globalName; | datatype globalName; | ||
− | System globals are globals defined within the engine itself and must be present for the game to work. These are always defined before anything else. The end of them is denoted by the <code> | + | System globals are globals defined within the engine itself and must be present for the game to work. These are always defined before anything else. The end of them is denoted by the void <code>end_sys_globals;</code> declaration. System globals must always be declared in the order defined within the vanilla QuakeC files as they are linked by memory offsets internally. Changing the order will break logic. |
QuakeC globals are standard globals that have no internal linkage and can be defined freely anywhere. | QuakeC globals are standard globals that have no internal linkage and can be defined freely anywhere. |