摘要: CFMOD.h 1 #ifndef CFMOD_H 2 #define CFMOD_H 3 4 #include "qfmod.h" 5 6 struct Sound_t 7 { 8 char *pszName; 9 FMOD_SOUND *pSound;10 FMOD_... 阅读全文
posted @ 2015-08-06 21:09 Akatsuki- 阅读(389) 评论(0) 推荐(0) 编辑
摘要: QFMOD.h 1 #ifndef QFMOD_H 2 #define QFMOD_H 3 4 #include "fmod.h" 5 6 extern FMOD_RESULT (F_API *qFMOD_Memory_Initialize)(void *poolmem, int p... 阅读全文
posted @ 2015-08-06 16:30 Akatsuki- 阅读(462) 评论(0) 推荐(0) 编辑
摘要: This function load a *.tga texture file and convert to OpenGL pixel format, uncompress only. 1 #pragma pack(1) 2 3 struct TgaHeader 4 { 5 unsigne... 阅读全文
posted @ 2015-08-06 00:52 Akatsuki- 阅读(484) 评论(0) 推荐(0) 编辑
摘要: By hzqst 1 void R_RicochetSprite(float *pos, model_t *pmodel, float duration, float scale) 2 { 3 TEMPENTITY *tent; 4 5 tent = efx.CL_TempEntA... 阅读全文
posted @ 2015-08-04 20:53 Akatsuki- 阅读(223) 评论(0) 推荐(0) 编辑
摘要: By hzqst 1 void R_SparkStreaks(vec_t *pos, int count, int velocityMin, int velocityMax) 2 { 3 int i; 4 particle_t *p, *p2; 5 6 i = 0; 7 ... 阅读全文
posted @ 2015-08-04 20:47 Akatsuki- 阅读(198) 评论(0) 推荐(0) 编辑
摘要: By hzqst1 void R_SparkEffect(float *pos, int count, int velocityMin, int velocityMax)2 {3 efx.R_SparkStreaks(pos, count, velocityMin, velocityMax)... 阅读全文
posted @ 2015-08-04 20:39 Akatsuki- 阅读(157) 评论(0) 推荐(0) 编辑
摘要: By hzqst 1 void R_SparkShower(float *pos) 2 { 3 TEMPENTITY *tent; 4 5 tent = efx.CL_TempEntAllocNoModel(pos); 6 if ( tent ) 7 { 8 ... 阅读全文
posted @ 2015-08-04 20:33 Akatsuki- 阅读(251) 评论(0) 推荐(0) 编辑
摘要: We need hook "GL_LoadTexture"engine function.GL_LOADTEXTURE_SIG from hw.dll(3266) engine, can not use for other engine version. 1 #include 2 #include... 阅读全文
posted @ 2015-08-04 20:18 Akatsuki- 阅读(335) 评论(0) 推荐(0) 编辑
摘要: If you want to play Bink video in game, maybe you need this code.QBink.h 1 #ifndef QBINK_H 2 #define QBINK_H 3 4 #include "bink.h" 5 6 extern void P... 阅读全文
posted @ 2015-08-04 19:51 Akatsuki- 阅读(291) 评论(0) 推荐(0) 编辑
摘要: Quake OpenGL function for MetaHook plugin.Thank hzqst :DQGL.h 1 #ifndef QGL_H 2 #define QGL_H 3 4 #include 5 #include 6 7 extern void (APIE... 阅读全文
posted @ 2015-08-04 19:31 Akatsuki- 阅读(322) 评论(0) 推荐(0) 编辑