]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/main.qh
take3: format 903 files
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / main.qh
index a2f4d18bba97e2ef4070fe83ac362d83dd462404..39cd863613adb3efa49e041cd3dccaedfab58704 100644 (file)
@@ -36,18 +36,30 @@ entity teamslots[17];    // 17 teams (including "spectator team")
 
 .void(entity) draw;
 IntrusiveList g_drawables;
-STATIC_INIT(g_drawables) { g_drawables = IL_NEW(); }
+STATIC_INIT(g_drawables)
+{
+       g_drawables = IL_NEW();
+}
 .void(entity) draw2d;
 IntrusiveList g_drawables_2d;
-STATIC_INIT(g_drawables_2d) { g_drawables_2d = IL_NEW(); }
+STATIC_INIT(g_drawables_2d)
+{
+       g_drawables_2d = IL_NEW();
+}
 .void(entity) entremove;
 float drawframetime;
 vector view_origin, view_forward, view_right, view_up;
 
 IntrusiveList g_radarlinks;
-STATIC_INIT(g_radarlinks) { g_radarlinks = IL_NEW(); }
+STATIC_INIT(g_radarlinks)
+{
+       g_radarlinks = IL_NEW();
+}
 IntrusiveList g_radaricons;
-STATIC_INIT(g_radaricons) { g_radaricons = IL_NEW(); }
+STATIC_INIT(g_radaricons)
+{
+       g_radaricons = IL_NEW();
+}
 
 bool button_zoom;
 bool spectatorbutton_zoom;
@@ -74,7 +86,7 @@ float current_zoomfraction;
 float cs_project_is_b0rked;
 float vid_width, vid_height, vid_pixelheight;
 
-float camera_active;           // Demo camera is active if set to true
+float camera_active; // Demo camera is active if set to true
 float chase_active_backup;
 float camera_roll;
 vector camera_direction;
@@ -88,7 +100,7 @@ const float ALPHA_MIN_VISIBLE = 0.003;
 float armorblockpercent;
 float damagepush_speedfactor;
 
-//hooks
+// hooks
 int calledhooks;
 const int HOOK_START =    1;
 const int HOOK_END =      2;