-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
3,825 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
../csprogs.dat | ||
client/csdefs.qc | ||
client/math.qc | ||
client/customdefs.qc | ||
client/menu.qc | ||
client/main.qc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
//Various globals that are used in this FTEQW example are defined here, they are not used by the engine itself | ||
|
||
#pragma warning disable Q302 | ||
vector cursor_pos; /* Current mouse cursor position, updated in csqc_inputevent */ | ||
float g_width, g_height; /* Globals for screen width and height */ | ||
|
||
float walk; | ||
|
||
//Menu stuff | ||
float in_menu; //what menu are we in | ||
float time_in_menu; | ||
|
||
entity player; | ||
entity vmodel; | ||
entity mzlflash; | ||
entity dummy; | ||
|
||
float weapon; | ||
|
||
float tracercounter; | ||
.float rate; | ||
.vector targetpos; | ||
|
||
vector vmodel_targetpos; | ||
vector vmodel_currentpos; | ||
vector vmodel_velocity; | ||
vector vmodel_avelocity; | ||
vector vmodel_muzzleoffset; | ||
|
||
const float MENU_NONE = 0; | ||
const float MENU_MAIN = 1; | ||
const float MENU_SINGLE = 2; | ||
const float MENU_MULTI = 4; | ||
const float MENU_SETTINGS = 8; | ||
const float MENU_ABOUT = 16; | ||
const float MENU_JOIN = 32; |
Oops, something went wrong.