mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
fc82e561be
Fixes for class support. Its actually usable now. Seriously! I've even modified my menu code to use it! Why don't you believe me? Fixes for structs+pointers. Added warnings for comparisons against incompatible function etc types. This'll probably generate a load of th_pain warnings in vanilla code. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4383 fc73d0e0-1445-4013-8a0c-d673dee63da5
23 lines
314 B
C
23 lines
314 B
C
#ifndef QCLIB_PROGTYPE_H
|
|
#define QCLIB_PROGTYPE_H
|
|
|
|
#ifndef DLL_PROG
|
|
|
|
#else
|
|
typedef float vec_t;
|
|
typedef vec_t vec3_t[3];
|
|
#endif
|
|
|
|
#ifndef t_bool
|
|
#define t_bool
|
|
typedef unsigned int pbool;
|
|
|
|
#else
|
|
#define t_bool
|
|
#endif
|
|
typedef int progsnum_t;
|
|
typedef int func_t;
|
|
typedef int string_t;
|
|
|
|
#endif /* QCLIB_PROGTYPE_H */
|
|
|