This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
int right;
} portable_samplepair_t;
-typedef struct sfx_s
-{
- char name[MAX_QPATH];
- cache_user_t cache;
-} sfx_t;
-
typedef struct
{
int length;
byte data[1]; // variable sized
} sfxcache_t;
+typedef struct sfx_s
+{
+ char name[MAX_QPATH];
+ mempool_t *mempool;
+ sfxcache_t *sfxcache;
+} sfx_t;
+
typedef struct
{
qboolean gamealive;