mirror of
https://github.com/gwdevhub/gMod.git
synced 2026-07-24 03:56:34 +00:00
69b06d94a2
* use directxtex for dds textures * use d3dx sdk for wic texture loading until we figure out how to load volume/cube textures without it * update d3d9 loading
20 lines
284 B
C++
20 lines
284 B
C++
#pragma once
|
|
|
|
//#define HashType DWORD64
|
|
using HashType = DWORD32;
|
|
|
|
#ifdef LOG_MESSAGE
|
|
#include <iostream>
|
|
|
|
#ifdef _DEBUG
|
|
#define Message(...) { printf(__VA_ARGS__); }
|
|
#else
|
|
#define Message(...)
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#ifndef _countof
|
|
#define _countof(arr) sizeof(arr) / sizeof(*arr)
|
|
#endif
|