Skip to content

Commit

Permalink
Actual initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
shpuld committed Feb 8, 2015
1 parent 6717e2c commit c679314
Show file tree
Hide file tree
Showing 14 changed files with 3,825 additions and 0 deletions.
1,432 changes: 1,432 additions & 0 deletions client/csdefs.qc

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions client/csprogs.src
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
36 changes: 36 additions & 0 deletions client/customdefs.qc
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;
Loading

0 comments on commit c679314

Please sign in to comment.