]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
changed all references to entity_render_t->frame to frame2 to eliminate
[xonotic/darkplaces.git] / client.h
index 52a9ce064d28248f6f998da9fd3d106f205f4297..e30360b74b31473a1c6f1b6d5518fb21f38b6f67 100644 (file)
--- a/client.h
+++ b/client.h
@@ -243,8 +243,6 @@ typedef struct entity_render_s
 
        // NULL = no model
        model_t *model;
-       // current uninterpolated animation frame (for things which do not use interpolation)
-       int frame;
        // number of the entity represents, or 0 for non-network entities
        int entitynumber;
        // entity shirt and pants colors (-1 if not colormapped)
@@ -1408,6 +1406,9 @@ typedef struct r_view_s
        mplane_t frustum[5];
        float frustum_x, frustum_y;
        vec3_t frustumcorner[4];
+       // if turned off it renders an ortho view
+       int useperspective;
+       float ortho_x, ortho_y;
 
        // screen area to render in
        int x;