Fixed TE_GLOWSPRITE (vittu) & TE_PLAYERSPRITES examples

This commit is contained in:
Orangutanz 2007-01-18 00:18:31 +00:00
parent a682ec6b7a
commit 8341e41f04

View File

@ -323,6 +323,8 @@ enum
// write_coord(position.z) // write_coord(position.z)
// write_short(model index) // write_short(model index)
// write_byte(scale / 10) // write_byte(scale / 10)
// write_byte(size)
// write_byte(brightness)
#define TE_BEAMRING 24 // Connect a beam ring to two entities #define TE_BEAMRING 24 // Connect a beam ring to two entities
// write_byte(TE_BEAMRING) // write_byte(TE_BEAMRING)
@ -647,7 +649,7 @@ enum
#define TE_PLAYERSPRITES 121 // Sprites emit from a player's bounding box (ONLY use for players!) #define TE_PLAYERSPRITES 121 // Sprites emit from a player's bounding box (ONLY use for players!)
// write_byte(TE_PLAYERSPRITES) // write_byte(TE_PLAYERSPRITES)
// write_byte(playernum) // write_short(playernum)
// write_short(sprite modelindex) // write_short(sprite modelindex)
// write_byte(count) // write_byte(count)
// write_byte(variance) (0 = no variance in size) (10 = 10% variance in size) // write_byte(variance) (0 = no variance in size) (10 = 10% variance in size)