Browse Source

common: fix broken build

pull/2/head
Alibek Omarov 5 years ago
parent
commit
90038d2924
  1. 4
      common/com_model.h
  2. 2
      common/xash3d_types.h

4
common/com_model.h

@ -16,11 +16,9 @@ GNU General Public License for more details.
#ifndef COM_MODEL_H #ifndef COM_MODEL_H
#define COM_MODEL_H #define COM_MODEL_H
#include "xash3d_types.h"
#include "bspfile.h" // we need some declarations from it #include "bspfile.h" // we need some declarations from it
typedef vec_t vec2_t[2];
typedef vec_t vec4_t[4];
/* /*
============================================================================== ==============================================================================

2
common/xash3d_types.h

@ -11,7 +11,9 @@
typedef unsigned char byte; typedef unsigned char byte;
typedef int sound_t; typedef int sound_t;
typedef float vec_t; typedef float vec_t;
typedef vec_t vec2_t[2];
typedef vec_t vec3_t[3]; typedef vec_t vec3_t[3];
typedef vec_t vec4_t[4];
typedef vec_t quat_t[4]; typedef vec_t quat_t[4];
typedef byte rgba_t[4]; // unsigned byte colorpack typedef byte rgba_t[4]; // unsigned byte colorpack
typedef byte rgb_t[3]; // unsigned byte colorpack typedef byte rgb_t[3]; // unsigned byte colorpack

Loading…
Cancel
Save