摘要: 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) 编辑
摘要: This function load a LithTech*.dtx texture file and convert to OpenGL pixel format,compressedsupport.Use FileSystem interface. :D 1 #pragma pack(1) 2 ... 阅读全文
posted @ 2015-08-04 19:24 Akatsuki- 阅读(559) 评论(0) 推荐(0) 编辑