comparison SpriteObject.h @ 1113:39eaa6b00141

something to bool cast (performance warning) mostly fixed
author Grumpy7
date Tue, 28 May 2013 00:19:45 +0200
parents c1da83d8223f
children aa706cde7fda
comparison
equal deleted inserted replaced
1112:4994eb3947ae 1113:39eaa6b00141
10 #define MAX_SPRITE_OBJECTS 1000 10 #define MAX_SPRITE_OBJECTS 1000
11 /* 72 */ 11 /* 72 */
12 #pragma pack(push, 1) 12 #pragma pack(push, 1)
13 struct SpriteObject 13 struct SpriteObject
14 { 14 {
15 inline bool AttachedToActor() const {return uAttributes & OBJECT_ATTACHED_TO_ACTOR;} 15 inline bool AttachedToActor() const {return (uAttributes & OBJECT_ATTACHED_TO_ACTOR) != 0;}
16 16
17 SpriteObject(); 17 SpriteObject();
18 int Create(int yaw, int pitch, int a4, int a5); 18 int Create(int yaw, int pitch, int a4, int a5);
19 void _46BEF1_apply_spells(); 19 void _46BEF1_apply_spells();
20 void _438E35(); 20 void _438E35();