/* register allocator fails to resolve IMul Constraints correctly */
-
-#ifdef __GNUC__
-#define NO_INLINE __attribute__((noinline))
-#else
-#define NO_INLINE __declspec(noinline)
-#endif
-
-int LightSpriteCreate()
-{
- return 42;
-}
-
-void LightSpritePosition(int x, int y, int z)
-{
- (void) x;
- (void) y;
- (void) z;
-}
+#include <stdlib.h>
+#include <stdio.h>
typedef struct
{
short sX = pExplosion->sX;
short sY = pExplosion->sY;
- if (pExplosion->iLightID = LightSpriteCreate())
+ if (pExplosion->iLightID = rand())
{
- LightSpritePosition(pExplosion->iLightID, sX / 10, sY / 10);
+ printf("Blup: %d %d %d\n", pExplosion->iLightID, sX / 10, sY / 10);
}
}